Autogenerated update (2019-03-21)
Update: - binaryauthorization_v1beta1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudsearch_v1 - containeranalysis_v1beta1 - firebaserules_v1 - ml_v1 - youtube_partner_v1
This commit is contained in:
parent
56df9903e1
commit
93bf7cdf49
|
@ -12175,6 +12175,7 @@
|
|||
"/binaryauthorization:v1beta1/AttestorPublicKey/asciiArmoredPgpPublicKey": ascii_armored_pgp_public_key
|
||||
"/binaryauthorization:v1beta1/AttestorPublicKey/comment": comment
|
||||
"/binaryauthorization:v1beta1/AttestorPublicKey/id": id
|
||||
"/binaryauthorization:v1beta1/AttestorPublicKey/pkixPublicKey": pkix_public_key
|
||||
"/binaryauthorization:v1beta1/Binding": binding
|
||||
"/binaryauthorization:v1beta1/Binding/condition": condition
|
||||
"/binaryauthorization:v1beta1/Binding/members": members
|
||||
|
@ -12195,6 +12196,9 @@
|
|||
"/binaryauthorization:v1beta1/ListAttestorsResponse/attestors": attestors
|
||||
"/binaryauthorization:v1beta1/ListAttestorsResponse/attestors/attestor": attestor
|
||||
"/binaryauthorization:v1beta1/ListAttestorsResponse/nextPageToken": next_page_token
|
||||
"/binaryauthorization:v1beta1/PkixPublicKey": pkix_public_key
|
||||
"/binaryauthorization:v1beta1/PkixPublicKey/publicKeyPem": public_key_pem
|
||||
"/binaryauthorization:v1beta1/PkixPublicKey/signatureAlgorithm": signature_algorithm
|
||||
"/binaryauthorization:v1beta1/Policy": policy
|
||||
"/binaryauthorization:v1beta1/Policy/admissionWhitelistPatterns": admission_whitelist_patterns
|
||||
"/binaryauthorization:v1beta1/Policy/admissionWhitelistPatterns/admission_whitelist_pattern": admission_whitelist_pattern
|
||||
|
@ -12202,6 +12206,7 @@
|
|||
"/binaryauthorization:v1beta1/Policy/clusterAdmissionRules/cluster_admission_rule": cluster_admission_rule
|
||||
"/binaryauthorization:v1beta1/Policy/defaultAdmissionRule": default_admission_rule
|
||||
"/binaryauthorization:v1beta1/Policy/description": description
|
||||
"/binaryauthorization:v1beta1/Policy/globalPolicyEvaluationMode": global_policy_evaluation_mode
|
||||
"/binaryauthorization:v1beta1/Policy/name": name
|
||||
"/binaryauthorization:v1beta1/Policy/updateTime": update_time
|
||||
"/binaryauthorization:v1beta1/SetIamPolicyRequest": set_iam_policy_request
|
||||
|
@ -40866,6 +40871,7 @@
|
|||
"/containeranalysis:v1beta1/Artifact/names": names
|
||||
"/containeranalysis:v1beta1/Artifact/names/name": name
|
||||
"/containeranalysis:v1beta1/Attestation": attestation
|
||||
"/containeranalysis:v1beta1/Attestation/genericSignedAttestation": generic_signed_attestation
|
||||
"/containeranalysis:v1beta1/Attestation/pgpSignedAttestation": pgp_signed_attestation
|
||||
"/containeranalysis:v1beta1/AuditConfig": audit_config
|
||||
"/containeranalysis:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs
|
||||
|
@ -40999,6 +41005,11 @@
|
|||
"/containeranalysis:v1beta1/FixableTotalByDigest/resource": resource
|
||||
"/containeranalysis:v1beta1/FixableTotalByDigest/severity": severity
|
||||
"/containeranalysis:v1beta1/FixableTotalByDigest/totalCount": total_count
|
||||
"/containeranalysis:v1beta1/GenericSignedAttestation": generic_signed_attestation
|
||||
"/containeranalysis:v1beta1/GenericSignedAttestation/contentType": content_type
|
||||
"/containeranalysis:v1beta1/GenericSignedAttestation/serializedPayload": serialized_payload
|
||||
"/containeranalysis:v1beta1/GenericSignedAttestation/signatures": signatures
|
||||
"/containeranalysis:v1beta1/GenericSignedAttestation/signatures/signature": signature
|
||||
"/containeranalysis:v1beta1/GerritSourceContext": gerrit_source_context
|
||||
"/containeranalysis:v1beta1/GerritSourceContext/aliasContext": alias_context
|
||||
"/containeranalysis:v1beta1/GerritSourceContext/gerritProject": gerrit_project
|
||||
|
@ -41143,6 +41154,9 @@
|
|||
"/containeranalysis:v1beta1/SetIamPolicyRequest": set_iam_policy_request
|
||||
"/containeranalysis:v1beta1/SetIamPolicyRequest/policy": policy
|
||||
"/containeranalysis:v1beta1/SetIamPolicyRequest/updateMask": update_mask
|
||||
"/containeranalysis:v1beta1/Signature": signature
|
||||
"/containeranalysis:v1beta1/Signature/publicKeyId": public_key_id
|
||||
"/containeranalysis:v1beta1/Signature/signature": signature
|
||||
"/containeranalysis:v1beta1/Source": source
|
||||
"/containeranalysis:v1beta1/Source/additionalContexts": additional_contexts
|
||||
"/containeranalysis:v1beta1/Source/additionalContexts/additional_context": additional_context
|
||||
|
@ -82944,6 +82958,7 @@
|
|||
"/ml:v1/GoogleCloudMlV1__Model/labels": labels
|
||||
"/ml:v1/GoogleCloudMlV1__Model/labels/label": label
|
||||
"/ml:v1/GoogleCloudMlV1__Model/name": name
|
||||
"/ml:v1/GoogleCloudMlV1__Model/onlinePredictionConsoleLogging": online_prediction_console_logging
|
||||
"/ml:v1/GoogleCloudMlV1__Model/onlinePredictionLogging": online_prediction_logging
|
||||
"/ml:v1/GoogleCloudMlV1__Model/regions": regions
|
||||
"/ml:v1/GoogleCloudMlV1__Model/regions/region": region
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/binary-authorization/
|
||||
module BinaryauthorizationV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190301'
|
||||
REVISION = '20190320'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -161,6 +161,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# A public key in the PkixPublicKey format (see
|
||||
# https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
|
||||
# Public keys of this type are typically textually encoded using the PEM
|
||||
# format.
|
||||
# Corresponds to the JSON property `pkixPublicKey`
|
||||
# @return [Google::Apis::BinaryauthorizationV1beta1::PkixPublicKey]
|
||||
attr_accessor :pkix_public_key
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -170,6 +178,7 @@ module Google
|
|||
@ascii_armored_pgp_public_key = args[:ascii_armored_pgp_public_key] if args.key?(:ascii_armored_pgp_public_key)
|
||||
@comment = args[:comment] if args.key?(:comment)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@pkix_public_key = args[:pkix_public_key] if args.key?(:pkix_public_key)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -391,6 +400,39 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A public key in the PkixPublicKey format (see
|
||||
# https://tools.ietf.org/html/rfc5280#section-4.1.2.7 for details).
|
||||
# Public keys of this type are typically textually encoded using the PEM
|
||||
# format.
|
||||
class PkixPublicKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A PEM-encoded public key, as described in
|
||||
# https://tools.ietf.org/html/rfc7468#section-13
|
||||
# Corresponds to the JSON property `publicKeyPem`
|
||||
# @return [String]
|
||||
attr_accessor :public_key_pem
|
||||
|
||||
# The signature algorithm used to verify a message against a signature using
|
||||
# this key.
|
||||
# These signature algorithm must match the structure and any object
|
||||
# identifiers encoded in `public_key_pem` (i.e. this algorithm must match
|
||||
# that of the public key).
|
||||
# Corresponds to the JSON property `signatureAlgorithm`
|
||||
# @return [String]
|
||||
attr_accessor :signature_algorithm
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@public_key_pem = args[:public_key_pem] if args.key?(:public_key_pem)
|
||||
@signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm)
|
||||
end
|
||||
end
|
||||
|
||||
# A policy for container image binary authorization.
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -429,6 +471,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Optional. Controls the evaluation of a Google-maintained global admission
|
||||
# policy for common system-level images. Images not covered by the global
|
||||
# policy will be subject to the project admission policy. This setting
|
||||
# has no effect when specified inside a global admission policy.
|
||||
# Corresponds to the JSON property `globalPolicyEvaluationMode`
|
||||
# @return [String]
|
||||
attr_accessor :global_policy_evaluation_mode
|
||||
|
||||
# Output only. The resource name, in the format `projects/*/policy`. There is
|
||||
# at most one policy per project.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -450,6 +500,7 @@ module Google
|
|||
@cluster_admission_rules = args[:cluster_admission_rules] if args.key?(:cluster_admission_rules)
|
||||
@default_admission_rule = args[:default_admission_rule] if args.key?(:default_admission_rule)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@global_policy_evaluation_mode = args[:global_policy_evaluation_mode] if args.key?(:global_policy_evaluation_mode)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@update_time = args[:update_time] if args.key?(:update_time)
|
||||
end
|
||||
|
|
|
@ -76,6 +76,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PkixPublicKey
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -139,6 +145,8 @@ module Google
|
|||
property :ascii_armored_pgp_public_key, as: 'asciiArmoredPgpPublicKey'
|
||||
property :comment, as: 'comment'
|
||||
property :id, as: 'id'
|
||||
property :pkix_public_key, as: 'pkixPublicKey', class: Google::Apis::BinaryauthorizationV1beta1::PkixPublicKey, decorator: Google::Apis::BinaryauthorizationV1beta1::PkixPublicKey::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -187,6 +195,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class PkixPublicKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :public_key_pem, as: 'publicKeyPem'
|
||||
property :signature_algorithm, as: 'signatureAlgorithm'
|
||||
end
|
||||
end
|
||||
|
||||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -197,6 +213,7 @@ module Google
|
|||
property :default_admission_rule, as: 'defaultAdmissionRule', class: Google::Apis::BinaryauthorizationV1beta1::AdmissionRule, decorator: Google::Apis::BinaryauthorizationV1beta1::AdmissionRule::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :global_policy_evaluation_mode, as: 'globalPolicyEvaluationMode'
|
||||
property :name, as: 'name'
|
||||
property :update_time, as: 'updateTime'
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190227'
|
||||
REVISION = '20190318'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1031,14 +1031,14 @@ module Google
|
|||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -1710,14 +1710,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190304'
|
||||
REVISION = '20190318'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190227'
|
||||
REVISION = '20190318'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -422,14 +422,14 @@ module Google
|
|||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -657,10 +657,9 @@ module Google
|
|||
# |displayName=Test* | Folders whose display name starts with "Test".|
|
||||
# |lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.|
|
||||
# |parent=folders/123 | Folders whose parent is "folders/123".|
|
||||
# |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent is
|
||||
# "folders/123".|
|
||||
# |displayName=\\"Test String\\"|Folders whose display name includes both "Test"
|
||||
# and "String".|
|
||||
# |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose parent
|
||||
# is "folders/123".| |displayName=\\"Test String\\"|Folders whose display
|
||||
# name includes both "Test" and "String".|
|
||||
# Corresponds to the JSON property `query`
|
||||
# @return [String]
|
||||
attr_accessor :query
|
||||
|
@ -770,14 +769,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://gsuite.google.com/products/cloud-search/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190305'
|
||||
REVISION = '20190314'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
|
|
@ -147,10 +147,9 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Frontend protos implement autoconverters for this message type. If you add
|
||||
# fields to this proto, please add corresponding fields to the frontend proto
|
||||
# with the same names.
|
||||
# LINT.IfChange
|
||||
# Datasource is a logical namespace for items to be indexed.
|
||||
# All items must belong to a datasource. This is the prerequisite before
|
||||
# items can be indexed into Cloud Search.
|
||||
class DataSource
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -197,7 +196,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# IDs of the Long Running Operations (LROs) currently running for this schema.
|
||||
# IDs of the Long Running Operations (LROs) currently running for this
|
||||
# schema.
|
||||
# Corresponds to the JSON property `operationIds`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :operation_ids
|
||||
|
@ -2517,14 +2517,14 @@ module Google
|
|||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -4312,14 +4312,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -4766,10 +4766,9 @@ module Google
|
|||
# @return [Google::Apis::CloudsearchV1::DebugOptions]
|
||||
attr_accessor :debug_options
|
||||
|
||||
# Frontend protos implement autoconverters for this message type. If you add
|
||||
# fields to this proto, please add corresponding fields to the frontend proto
|
||||
# with the same names.
|
||||
# LINT.IfChange
|
||||
# Datasource is a logical namespace for items to be indexed.
|
||||
# All items must belong to a datasource. This is the prerequisite before
|
||||
# items can be indexed into Cloud Search.
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [Google::Apis::CloudsearchV1::DataSource]
|
||||
attr_accessor :source
|
||||
|
|
|
@ -1330,7 +1330,9 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets indexed item statistics aggreggated across all data sources.
|
||||
# Gets indexed item statistics aggreggated across all data sources. This
|
||||
# API only returns statistics for previous dates; it doesn't return
|
||||
# statistics for the current day.
|
||||
# @param [Fixnum] from_date_day
|
||||
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
||||
# @param [Fixnum] from_date_month
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
||||
module ContaineranalysisV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190308'
|
||||
REVISION = '20190315'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -95,6 +95,14 @@ module Google
|
|||
class Attestation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An attestation wrapper that uses the Grafeas `Signature` message.
|
||||
# This attestation must define the `plaintext` that the `signatures` verify
|
||||
# and any metadata necessary to interpret that plaintext. The signatures
|
||||
# should always be over the `plaintext` bytestring.
|
||||
# Corresponds to the JSON property `genericSignedAttestation`
|
||||
# @return [Google::Apis::ContaineranalysisV1beta1::GenericSignedAttestation]
|
||||
attr_accessor :generic_signed_attestation
|
||||
|
||||
# An attestation wrapper with a PGP-compatible signature. This message only
|
||||
# supports `ATTACHED` signatures, where the payload that is signed is included
|
||||
# alongside the signature itself in the same file.
|
||||
|
@ -108,6 +116,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@generic_signed_attestation = args[:generic_signed_attestation] if args.key?(:generic_signed_attestation)
|
||||
@pgp_signed_attestation = args[:pgp_signed_attestation] if args.key?(:pgp_signed_attestation)
|
||||
end
|
||||
end
|
||||
|
@ -1199,6 +1208,49 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An attestation wrapper that uses the Grafeas `Signature` message.
|
||||
# This attestation must define the `plaintext` that the `signatures` verify
|
||||
# and any metadata necessary to interpret that plaintext. The signatures
|
||||
# should always be over the `plaintext` bytestring.
|
||||
class GenericSignedAttestation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Type (for example schema) of the attestation payload that was signed.
|
||||
# The verifier must ensure that the provided type is one that the verifier
|
||||
# supports, and that the attestation payload is a valid instantiation of that
|
||||
# type (for example by validating a JSON schema).
|
||||
# Corresponds to the JSON property `contentType`
|
||||
# @return [String]
|
||||
attr_accessor :content_type
|
||||
|
||||
# The serialized payload that is verified by one or more `signatures`.
|
||||
# The encoding and semantic meaning of this payload must match what is set in
|
||||
# `content_type`.
|
||||
# Corresponds to the JSON property `serializedPayload`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :serialized_payload
|
||||
|
||||
# One or more signatures over `serialized_payload`. Verifier implementations
|
||||
# should consider this attestation message verified if at least one
|
||||
# `signature` verifies `serialized_payload`. See `Signature` in common.proto
|
||||
# for more details on signature structure and verification.
|
||||
# Corresponds to the JSON property `signatures`
|
||||
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Signature>]
|
||||
attr_accessor :signatures
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@content_type = args[:content_type] if args.key?(:content_type)
|
||||
@serialized_payload = args[:serialized_payload] if args.key?(:serialized_payload)
|
||||
@signatures = args[:signatures] if args.key?(:signatures)
|
||||
end
|
||||
end
|
||||
|
||||
# A SourceContext referring to a Gerrit project.
|
||||
class GerritSourceContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2408,6 +2460,70 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Verifiers (e.g. Kritis implementations) MUST verify signatures
|
||||
# with respect to the trust anchors defined in policy (e.g. a Kritis policy).
|
||||
# Typically this means that the verifier has been configured with a map from
|
||||
# `public_key_id` to public key material (and any required parameters, e.g.
|
||||
# signing algorithm).
|
||||
# In particular, verification implementations MUST NOT treat the signature
|
||||
# `public_key_id` as anything more than a key lookup hint. The `public_key_id`
|
||||
# DOES NOT validate or authenticate a public key; it only provides a mechanism
|
||||
# for quickly selecting a public key ALREADY CONFIGURED on the verifier through
|
||||
# a trusted channel. Verification implementations MUST reject signatures in any
|
||||
# of the following circumstances:
|
||||
# * The `public_key_id` is not recognized by the verifier.
|
||||
# * The public key that `public_key_id` refers to does not verify the
|
||||
# signature with respect to the payload.
|
||||
# The `signature` contents SHOULD NOT be "attached" (where the payload is
|
||||
# included with the serialized `signature` bytes). Verifiers MUST ignore any
|
||||
# "attached" payload and only verify signatures with respect to explicitly
|
||||
# provided payload (e.g. a `payload` field on the proto message that holds
|
||||
# this Signature, or the canonical serialization of the proto message that
|
||||
# holds this signature).
|
||||
class Signature
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The identifier for the public key that verifies this signature.
|
||||
# * The `public_key_id` is required.
|
||||
# * The `public_key_id` MUST be an RFC3986 conformant URI.
|
||||
# * When possible, the `public_key_id` SHOULD be an immutable reference,
|
||||
# such as a cryptographic digest.
|
||||
# Examples of valid `public_key_id`s:
|
||||
# OpenPGP V4 public key fingerprint:
|
||||
# * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA"
|
||||
# See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more
|
||||
# details on this scheme.
|
||||
# RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER
|
||||
# serialization):
|
||||
# * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
|
||||
# * "nih:///sha-256;
|
||||
# 703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
|
||||
# Corresponds to the JSON property `publicKeyId`
|
||||
# @return [String]
|
||||
attr_accessor :public_key_id
|
||||
|
||||
# The content of the signature, an opaque bytestring.
|
||||
# The payload that this signature verifies MUST be unambiguously provided
|
||||
# with the Signature during verification. A wrapper message might provide
|
||||
# the payload explicitly. Alternatively, a message might have a canonical
|
||||
# serialization that can always be unambiguously computed to derive the
|
||||
# payload.
|
||||
# Corresponds to the JSON property `signature`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :signature
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@public_key_id = args[:public_key_id] if args.key?(:public_key_id)
|
||||
@signature = args[:signature] if args.key?(:signature)
|
||||
end
|
||||
end
|
||||
|
||||
# Source describes the location of the source used for the build.
|
||||
class Source
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -202,6 +202,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GenericSignedAttestation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GerritSourceContext
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -394,6 +400,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Signature
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Source
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -474,6 +486,8 @@ module Google
|
|||
class Attestation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :generic_signed_attestation, as: 'genericSignedAttestation', class: Google::Apis::ContaineranalysisV1beta1::GenericSignedAttestation, decorator: Google::Apis::ContaineranalysisV1beta1::GenericSignedAttestation::Representation
|
||||
|
||||
property :pgp_signed_attestation, as: 'pgpSignedAttestation', class: Google::Apis::ContaineranalysisV1beta1::PgpSignedAttestation, decorator: Google::Apis::ContaineranalysisV1beta1::PgpSignedAttestation::Representation
|
||||
|
||||
end
|
||||
|
@ -752,6 +766,16 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GenericSignedAttestation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :content_type, as: 'contentType'
|
||||
property :serialized_payload, :base64 => true, as: 'serializedPayload'
|
||||
collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1beta1::Signature, decorator: Google::Apis::ContaineranalysisV1beta1::Signature::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GerritSourceContext
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1082,6 +1106,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class Signature
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :public_key_id, as: 'publicKeyId'
|
||||
property :signature, :base64 => true, as: 'signature'
|
||||
end
|
||||
end
|
||||
|
||||
class Source
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/storage/security
|
||||
module FirebaserulesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181005'
|
||||
REVISION = '20190319'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -464,7 +464,7 @@ module Google
|
|||
# `Ruleset.name`.
|
||||
# Filters on `Ruleset.create_time` should use the `date` function which
|
||||
# parses strings that conform to the RFC 3339 date/time specifications.
|
||||
# Example: `create_time > date("2017-01-01") AND name=UUID-*`
|
||||
# Example: `create_time > date("2017-01-01T00:00:00Z") AND name=UUID-*`
|
||||
# @param [Fixnum] page_size
|
||||
# Page size to load. Maximum of 100. Defaults to 10.
|
||||
# Note: `page_size` is just a hint and the service may choose to load less
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190313'
|
||||
REVISION = '20190316'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -456,7 +456,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Represents a training or prediction job.
|
||||
# Represents a training, prediction or explanation job.
|
||||
class GoogleCloudMlV1Job
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -722,7 +722,7 @@ module Google
|
|||
# information about all of the versions of a given model by calling
|
||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Next ID: 29
|
||||
# Next ID: 30
|
||||
# Corresponds to the JSON property `defaultVersion`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
attr_accessor :default_version
|
||||
|
@ -759,7 +759,24 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Optional. If true, enables StackDriver Logging for online prediction.
|
||||
# Optional. If true, enables logging of stderr and stdout streams
|
||||
# for online prediction in Stackdriver Logging. These can be more verbose
|
||||
# than the standard access logs (see `online_prediction_logging`) and thus
|
||||
# can incur higher cost. However, they are helpful for debugging. Note that
|
||||
# since Stackdriver logs may incur a cost, particularly if the total QPS
|
||||
# in your project is high, be sure to estimate your costs before enabling
|
||||
# this flag.
|
||||
# Default is false.
|
||||
# Corresponds to the JSON property `onlinePredictionConsoleLogging`
|
||||
# @return [Boolean]
|
||||
attr_accessor :online_prediction_console_logging
|
||||
alias_method :online_prediction_console_logging?, :online_prediction_console_logging
|
||||
|
||||
# Optional. If true, online prediction access logs are sent to StackDriver
|
||||
# Logging. These logs are like standard server access logs, containing
|
||||
# information like timestamp and latency for each request. Note that
|
||||
# Stackdriver logs may incur a cost, particular if the total QPS in your
|
||||
# project is high.
|
||||
# Default is false.
|
||||
# Corresponds to the JSON property `onlinePredictionLogging`
|
||||
# @return [Boolean]
|
||||
|
@ -792,6 +809,7 @@ module Google
|
|||
@etag = args[:etag] if args.key?(:etag)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@online_prediction_console_logging = args[:online_prediction_console_logging] if args.key?(:online_prediction_console_logging)
|
||||
@online_prediction_logging = args[:online_prediction_logging] if args.key?(:online_prediction_logging)
|
||||
@regions = args[:regions] if args.key?(:regions)
|
||||
end
|
||||
|
@ -849,7 +867,7 @@ module Google
|
|||
# information about all of the versions of a given model by calling
|
||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Next ID: 29
|
||||
# Next ID: 30
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
attr_accessor :version
|
||||
|
@ -1003,7 +1021,8 @@ module Google
|
|||
attr_accessor :data_format
|
||||
|
||||
# Required. The Google Cloud Storage location of the input data files.
|
||||
# May contain wildcards.
|
||||
# May contain wildcards. See <a href="https://cloud.google.com/storage/docs/
|
||||
# gsutil/addlhelp/WildcardNames</a>
|
||||
# Corresponds to the JSON property `inputPaths`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :input_paths
|
||||
|
@ -1502,7 +1521,7 @@ module Google
|
|||
# information about all of the versions of a given model by calling
|
||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Next ID: 29
|
||||
# Next ID: 30
|
||||
class GoogleCloudMlV1Version
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -2055,14 +2074,14 @@ module Google
|
|||
attr_accessor :done
|
||||
alias_method :done?, :done
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
@ -2158,14 +2177,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
# - Simple to use and understand for most users
|
||||
# - Flexible enough to meet unexpected needs
|
||||
# # Overview
|
||||
# The `Status` message contains three pieces of data: error code, error message,
|
||||
# and error details. The error code should be an enum value of
|
||||
# The `Status` message contains three pieces of data: error code, error
|
||||
# message, and error details. The error code should be an enum value of
|
||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||
# error message should be a developer-facing English message that helps
|
||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||
|
|
|
@ -455,6 +455,7 @@ module Google
|
|||
property :etag, :base64 => true, as: 'etag'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :online_prediction_console_logging, as: 'onlinePredictionConsoleLogging'
|
||||
property :online_prediction_logging, as: 'onlinePredictionLogging'
|
||||
collection :regions, as: 'regions'
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190312'
|
||||
REVISION = '20190318'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue