Autogenerated update (2019-06-26)
Update: - drive_v2 - drive_v3 - run_v1alpha1 - speech_v1 - speech_v1p1beta1 - storage_v1 - texttospeech_v1 - vault_v1
This commit is contained in:
parent
8100dd36ea
commit
99b76788c5
|
@ -604,7 +604,7 @@ module Google
|
|||
attr_accessor :id
|
||||
|
||||
# Identifies this as a notification channel used to watch for changes to a
|
||||
# resource. Value: the fixed string "api#channel".
|
||||
# resource, which is "api#channel".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -340,7 +340,7 @@ module Google
|
|||
attr_accessor :id
|
||||
|
||||
# Identifies this as a notification channel used to watch for changes to a
|
||||
# resource. Value: the fixed string "api#channel".
|
||||
# resource, which is "api#channel".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190501'
|
||||
REVISION = '20190613'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -885,7 +885,7 @@ module Google
|
|||
attr_accessor :id
|
||||
|
||||
# Identifies this as a notification channel used to watch for changes to a
|
||||
# resource. Value: the fixed string "api#channel".
|
||||
# resource, which is "api#channel".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20190501'
|
||||
REVISION = '20190613'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -363,7 +363,7 @@ module Google
|
|||
attr_accessor :id
|
||||
|
||||
# Identifies this as a notification channel used to watch for changes to a
|
||||
# resource. Value: the fixed string "api#channel".
|
||||
# resource, which is "api#channel".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/run/
|
||||
module RunV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190522'
|
||||
REVISION = '20190614'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -31,6 +31,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :hostname
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -38,6 +43,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@hostname = args[:hostname] if args.key?(:hostname)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2746,7 +2752,10 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :generation
|
||||
|
||||
# Not currently used by Cloud Run.
|
||||
# Email address of the IAM service account associated with the revision
|
||||
# of the service. The service account represents the identity of the
|
||||
# running revision, and determines what permissions the revision has. If
|
||||
# not provided, the revision will use the project's default service account.
|
||||
# Corresponds to the JSON property `serviceAccountName`
|
||||
# @return [String]
|
||||
attr_accessor :service_account_name
|
||||
|
@ -3067,6 +3076,13 @@ module Google
|
|||
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
||||
attr_accessor :traffic
|
||||
|
||||
# URL holds the url that will distribute traffic over the provided traffic
|
||||
# targets. It generally has the form
|
||||
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -3079,6 +3095,7 @@ module Google
|
|||
@domain_internal = args[:domain_internal] if args.key?(:domain_internal)
|
||||
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
||||
@traffic = args[:traffic] if args.key?(:traffic)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -3641,6 +3658,14 @@ module Google
|
|||
# @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
|
||||
attr_accessor :traffic
|
||||
|
||||
# From RouteStatus.
|
||||
# URL holds the url that will distribute traffic over the provided traffic
|
||||
# targets. It generally has the form
|
||||
# https://`route-hash`-`project-hash`-`cluster-level-suffix`.a.run.app
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -3654,6 +3679,7 @@ module Google
|
|||
@latest_ready_revision_name = args[:latest_ready_revision_name] if args.key?(:latest_ready_revision_name)
|
||||
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
||||
@traffic = args[:traffic] if args.key?(:traffic)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -560,6 +560,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :hostname, as: 'hostname'
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1260,6 +1261,7 @@ module Google
|
|||
property :observed_generation, as: 'observedGeneration'
|
||||
collection :traffic, as: 'traffic', class: Google::Apis::RunV1alpha1::TrafficTarget, decorator: Google::Apis::RunV1alpha1::TrafficTarget::Representation
|
||||
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1400,6 +1402,7 @@ module Google
|
|||
property :observed_generation, as: 'observedGeneration'
|
||||
collection :traffic, as: 'traffic', class: Google::Apis::RunV1alpha1::TrafficTarget, decorator: Google::Apis::RunV1alpha1::TrafficTarget::Representation
|
||||
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190610'
|
||||
REVISION = '20190624'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -205,38 +205,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SpeechV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::SpeechV1::Operation::Representation
|
||||
command.response_class = Google::Apis::SpeechV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Performs asynchronous speech recognition: receive results via the
|
||||
# google.longrunning.Operations interface. Returns either an
|
||||
# `Operation.error` or an `Operation.response` which contains
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190610'
|
||||
REVISION = '20190624'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -205,38 +205,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest state of a long-running operation. Clients can use this
|
||||
# method to poll the operation result at intervals as recommended by the API
|
||||
# service.
|
||||
# @param [String] name
|
||||
# The name of the operation resource.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SpeechV1p1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SpeechV1p1beta1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_operation_manual_recognition_task(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1p1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::SpeechV1p1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::SpeechV1p1beta1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Performs asynchronous speech recognition: receive results via the
|
||||
# google.longrunning.Operations interface. Returns either an
|
||||
# `Operation.error` or an `Operation.response` which contains
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190523'
|
||||
REVISION = '20190620'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -828,7 +828,7 @@ module Google
|
|||
attr_accessor :id
|
||||
|
||||
# Identifies this as a notification channel used to watch for changes to a
|
||||
# resource. Value: the fixed string "api#channel".
|
||||
# resource, which is "api#channel".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/text-to-speech/
|
||||
module TexttospeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190614'
|
||||
REVISION = '20190621'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -34,9 +34,9 @@ module Google
|
|||
# Input only. Optional. An identifier which selects 'audio effects' profiles
|
||||
# that are applied on (post synthesized) text to speech. Effects are applied
|
||||
# on top of each other in the order they are given. See
|
||||
# [audio-profiles](https:
|
||||
# //cloud.google.com/text-to-speech/docs/audio-profiles)
|
||||
# for current supported profile ids.
|
||||
# [audio
|
||||
# profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for
|
||||
# current supported profile ids.
|
||||
# Corresponds to the JSON property `effectsProfileId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :effects_profile_id
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/vault
|
||||
module VaultV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190610'
|
||||
REVISION = '20190614'
|
||||
|
||||
# Manage your eDiscovery data
|
||||
AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'
|
||||
|
|
|
@ -54,43 +54,10 @@ module Google
|
|||
|
||||
# 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
|
||||
# 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
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
# three pieces of data: error code, error message, and error details.
|
||||
# You can find out more about this error model and how to work with it in the
|
||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [Google::Apis::VaultV1::Status]
|
||||
attr_accessor :status
|
||||
|
@ -1404,43 +1371,10 @@ module Google
|
|||
|
||||
# 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
|
||||
# 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
|
||||
# error message is needed, put the localized message in the error details or
|
||||
# localize it in the client. The optional error details may contain arbitrary
|
||||
# information about the error. There is a predefined set of error detail types
|
||||
# in the package `google.rpc` that can be used for common error conditions.
|
||||
# # Language mapping
|
||||
# The `Status` message is the logical representation of the error model, but it
|
||||
# is not necessarily the actual wire format. When the `Status` message is
|
||||
# exposed in different client libraries and different wire protocols, it can be
|
||||
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||
# in Java, but more likely mapped to some error codes in C.
|
||||
# # Other uses
|
||||
# The error model and the `Status` message can be used in a variety of
|
||||
# environments, either with or without APIs, to provide a
|
||||
# consistent developer experience across different environments.
|
||||
# Example uses of this error model include:
|
||||
# - Partial errors. If a service needs to return partial errors to the client,
|
||||
# it may embed the `Status` in the normal response to indicate the partial
|
||||
# errors.
|
||||
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||
# have a `Status` message for error reporting.
|
||||
# - Batch operations. If a client uses batch request and batch response, the
|
||||
# `Status` message should be used directly inside batch response, one for
|
||||
# each error sub-response.
|
||||
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||
# results in its response, the status of those operations should be
|
||||
# represented directly using the `Status` message.
|
||||
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||
# be used directly after any stripping needed for security/privacy reasons.
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
# three pieces of data: error code, error message, and error details.
|
||||
# You can find out more about this error model and how to work with it in the
|
||||
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
||||
class Status
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
Loading…
Reference in New Issue