Autogenerated update (2019-03-27)
Update: - dialogflow_v2 - iap_v1 - oauth2_v1 - plus_domains_v1 - speech_v1 - speech_v1p1beta1 - sqladmin_v1beta4 - testing_v1
This commit is contained in:
parent
cc9602f602
commit
9eb7402fd8
|
@ -98629,6 +98629,8 @@
|
|||
"/sqladmin:v1beta4/DatabaseInstance/connectionName": connection_name
|
||||
"/sqladmin:v1beta4/DatabaseInstance/currentDiskSize": current_disk_size
|
||||
"/sqladmin:v1beta4/DatabaseInstance/databaseVersion": database_version
|
||||
"/sqladmin:v1beta4/DatabaseInstance/diskEncryptionConfiguration": disk_encryption_configuration
|
||||
"/sqladmin:v1beta4/DatabaseInstance/diskEncryptionStatus": disk_encryption_status
|
||||
"/sqladmin:v1beta4/DatabaseInstance/etag": etag
|
||||
"/sqladmin:v1beta4/DatabaseInstance/failoverReplica": failover_replica
|
||||
"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/available": available
|
||||
|
@ -98674,6 +98676,12 @@
|
|||
"/sqladmin:v1beta4/DemoteMasterMySqlReplicaConfiguration/kind": kind
|
||||
"/sqladmin:v1beta4/DemoteMasterMySqlReplicaConfiguration/password": password
|
||||
"/sqladmin:v1beta4/DemoteMasterMySqlReplicaConfiguration/username": username
|
||||
"/sqladmin:v1beta4/DiskEncryptionConfiguration": disk_encryption_configuration
|
||||
"/sqladmin:v1beta4/DiskEncryptionConfiguration/kind": kind
|
||||
"/sqladmin:v1beta4/DiskEncryptionConfiguration/kmsKeyName": kms_key_name
|
||||
"/sqladmin:v1beta4/DiskEncryptionStatus": disk_encryption_status
|
||||
"/sqladmin:v1beta4/DiskEncryptionStatus/kind": kind
|
||||
"/sqladmin:v1beta4/DiskEncryptionStatus/kmsKeyVersionName": kms_key_version_name
|
||||
"/sqladmin:v1beta4/ExportContext": export_context
|
||||
"/sqladmin:v1beta4/ExportContext/csvExportOptions": csv_export_options
|
||||
"/sqladmin:v1beta4/ExportContext/csvExportOptions/selectQuery": select_query
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190318'
|
||||
REVISION = '20190326'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -800,7 +800,7 @@ module Google
|
|||
# Required. The language of the supplied audio. Dialogflow does not do
|
||||
# translations. See [Language
|
||||
# Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
||||
# languages)
|
||||
# language)
|
||||
# for a list of the currently supported language codes. Note that queries in
|
||||
# the same session do not necessarily need to specify the same language.
|
||||
# Corresponds to the JSON property `languageCode`
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/iap
|
||||
module IapV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190306'
|
||||
REVISION = '20190323'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -33,7 +33,7 @@ module Google
|
|||
# View your email address
|
||||
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||
|
||||
# See your personal info, including any personal info you've made publically available
|
||||
# See your personal info, including any personal info you've made publicly available
|
||||
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,14 +25,11 @@ module Google
|
|||
# @see https://developers.google.com/+/domains/
|
||||
module PlusDomainsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190313'
|
||||
REVISION = '20190322'
|
||||
|
||||
# View your circles and the people and pages in them
|
||||
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
||||
|
||||
# Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.
|
||||
AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write'
|
||||
|
||||
# View your basic profile info, including your age range and language
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
||||
|
|
|
@ -84,48 +84,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new activity for the authenticated user.
|
||||
# @param [String] user_id
|
||||
# The ID of the user to create the activity on behalf of. Its value should be "
|
||||
# me", to indicate the authenticated user.
|
||||
# @param [Google::Apis::PlusDomainsV1::Activity] activity_object
|
||||
# @param [Boolean] preview
|
||||
# If "true", extract the potential media attachments for a URL. The response
|
||||
# will include all possible attachments for a URL, including video, photos, and
|
||||
# articles based on the content of the page.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PlusDomainsV1::Activity] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PlusDomainsV1::Activity]
|
||||
#
|
||||
# @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 insert_activity(user_id, activity_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'people/{userId}/activities', options)
|
||||
command.request_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
||||
command.request_object = activity_object
|
||||
command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
||||
command.response_class = Google::Apis::PlusDomainsV1::Activity
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.query['preview'] = preview unless preview.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List all of the activities in the specified collection for a particular user.
|
||||
# @param [String] user_id
|
||||
# The ID of the user to get activities for. The special value "me" can be used
|
||||
|
@ -217,116 +175,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Add a person to a circle. Google+ limits certain circle operations, including
|
||||
# the number of circle adds. Learn More.
|
||||
# @param [String] circle_id
|
||||
# The ID of the circle to add the person to.
|
||||
# @param [Array<String>, String] email
|
||||
# Email of the people to add to the circle. Optional, can be repeated.
|
||||
# @param [Array<String>, String] user_id
|
||||
# IDs of the people to add to the circle. Optional, can be repeated.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PlusDomainsV1::Circle]
|
||||
#
|
||||
# @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 add_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'circles/{circleId}/people', options)
|
||||
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
||||
command.params['circleId'] = circle_id unless circle_id.nil?
|
||||
command.query['email'] = email unless email.nil?
|
||||
command.query['userId'] = user_id unless user_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get a circle.
|
||||
# @param [String] circle_id
|
||||
# The ID of the circle to get.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PlusDomainsV1::Circle]
|
||||
#
|
||||
# @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_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'circles/{circleId}', options)
|
||||
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
||||
command.params['circleId'] = circle_id unless circle_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Create a new circle for the authenticated user.
|
||||
# @param [String] user_id
|
||||
# The ID of the user to create the circle on behalf of. The value "me" can be
|
||||
# used to indicate the authenticated user.
|
||||
# @param [Google::Apis::PlusDomainsV1::Circle] circle_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PlusDomainsV1::Circle]
|
||||
#
|
||||
# @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 insert_circle(user_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'people/{userId}/circles', options)
|
||||
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.request_object = circle_object
|
||||
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
||||
command.params['userId'] = user_id unless user_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List all of the circles for a user.
|
||||
# @param [String] user_id
|
||||
# The ID of the user to get circles for. The special value "me" can be used to
|
||||
|
@ -371,146 +219,6 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update a circle's description. This method supports patch semantics.
|
||||
# @param [String] circle_id
|
||||
# The ID of the circle to update.
|
||||
# @param [Google::Apis::PlusDomainsV1::Circle] circle_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PlusDomainsV1::Circle]
|
||||
#
|
||||
# @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 patch_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'circles/{circleId}', options)
|
||||
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.request_object = circle_object
|
||||
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
||||
command.params['circleId'] = circle_id unless circle_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Delete a circle.
|
||||
# @param [String] circle_id
|
||||
# The ID of the circle to delete.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @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 remove_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'circles/{circleId}', options)
|
||||
command.params['circleId'] = circle_id unless circle_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Remove a person from a circle.
|
||||
# @param [String] circle_id
|
||||
# The ID of the circle to remove the person from.
|
||||
# @param [Array<String>, String] email
|
||||
# Email of the people to add to the circle. Optional, can be repeated.
|
||||
# @param [Array<String>, String] user_id
|
||||
# IDs of the people to remove from the circle. Optional, can be repeated.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [NilClass] No result returned for this method
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [void]
|
||||
#
|
||||
# @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 remove_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'circles/{circleId}/people', options)
|
||||
command.params['circleId'] = circle_id unless circle_id.nil?
|
||||
command.query['email'] = email unless email.nil?
|
||||
command.query['userId'] = user_id unless user_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update a circle's description.
|
||||
# @param [String] circle_id
|
||||
# The ID of the circle to update.
|
||||
# @param [Google::Apis::PlusDomainsV1::Circle] circle_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::PlusDomainsV1::Circle]
|
||||
#
|
||||
# @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 update_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'circles/{circleId}', options)
|
||||
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.request_object = circle_object
|
||||
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
||||
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
||||
command.params['circleId'] = circle_id unless circle_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get a comment.
|
||||
# @param [String] comment_id
|
||||
# The ID of the comment to get.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190309'
|
||||
REVISION = '20190321'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -400,7 +400,7 @@ module Google
|
|||
# 16000 is optimal. For best results, set the sampling rate of the audio
|
||||
# source to 16000 Hz. If that's not possible, use the native sample rate of
|
||||
# the audio source (instead of re-sampling).
|
||||
# This field is optional for `FLAC`, `WAV`. and 'MP3' audio files, and is
|
||||
# This field is optional for FLAC and WAV audio files, but is
|
||||
# required for all other audio formats. For details, see AudioEncoding.
|
||||
# Corresponds to the JSON property `sampleRateHertz`
|
||||
# @return [Fixnum]
|
||||
|
|
|
@ -241,6 +241,8 @@ module Google
|
|||
# google.longrunning.Operations interface. Returns either an
|
||||
# `Operation.error` or an `Operation.response` which contains
|
||||
# a `LongRunningRecognizeResponse` message.
|
||||
# For more information on asynchronous speech recognition, see the
|
||||
# [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
|
||||
# @param [Google::Apis::SpeechV1::LongRunningRecognizeRequest] long_running_recognize_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190309'
|
||||
REVISION = '20190321'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -454,7 +454,7 @@ module Google
|
|||
# 16000 is optimal. For best results, set the sampling rate of the audio
|
||||
# source to 16000 Hz. If that's not possible, use the native sample rate of
|
||||
# the audio source (instead of re-sampling).
|
||||
# This field is optional for `FLAC`, `WAV`. and 'MP3' audio files, and is
|
||||
# This field is optional for FLAC and WAV audio files, but is
|
||||
# required for all other audio formats. For details, see AudioEncoding.
|
||||
# Corresponds to the JSON property `sampleRateHertz`
|
||||
# @return [Fixnum]
|
||||
|
|
|
@ -241,6 +241,8 @@ module Google
|
|||
# google.longrunning.Operations interface. Returns either an
|
||||
# `Operation.error` or an `Operation.response` which contains
|
||||
# a `LongRunningRecognizeResponse` message.
|
||||
# For more information on asynchronous speech recognition, see the
|
||||
# [how-to](https://cloud.google.com/speech-to-text/docs/async-recognize).
|
||||
# @param [Google::Apis::SpeechV1p1beta1::LongRunningRecognizeRequest] long_running_recognize_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/sql/docs/reference/latest
|
||||
module SqladminV1beta4
|
||||
VERSION = 'V1beta4'
|
||||
REVISION = '20190213'
|
||||
REVISION = '20190313'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -449,6 +449,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :database_version
|
||||
|
||||
# Disk encryption configuration.
|
||||
# Corresponds to the JSON property `diskEncryptionConfiguration`
|
||||
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration]
|
||||
attr_accessor :disk_encryption_configuration
|
||||
|
||||
# Disk encryption status.
|
||||
# Corresponds to the JSON property `diskEncryptionStatus`
|
||||
# @return [Google::Apis::SqladminV1beta4::DiskEncryptionStatus]
|
||||
attr_accessor :disk_encryption_status
|
||||
|
||||
# This field is deprecated and will be removed from a future version of the API.
|
||||
# Use the settings.settingsVersion field instead.
|
||||
# Corresponds to the JSON property `etag`
|
||||
|
@ -585,6 +595,8 @@ module Google
|
|||
@connection_name = args[:connection_name] if args.key?(:connection_name)
|
||||
@current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
|
||||
@database_version = args[:database_version] if args.key?(:database_version)
|
||||
@disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
|
||||
@disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@failover_replica = args[:failover_replica] if args.key?(:failover_replica)
|
||||
@gce_zone = args[:gce_zone] if args.key?(:gce_zone)
|
||||
|
@ -786,6 +798,56 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Disk encryption configuration.
|
||||
class DiskEncryptionConfiguration
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# This is always sql#diskEncryptionConfiguration.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# KMS key resource name
|
||||
# Corresponds to the JSON property `kmsKeyName`
|
||||
# @return [String]
|
||||
attr_accessor :kms_key_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
||||
end
|
||||
end
|
||||
|
||||
# Disk encryption status.
|
||||
class DiskEncryptionStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# This is always sql#diskEncryptionStatus.
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# KMS key version used to encrypt the Cloud SQL instance disk
|
||||
# Corresponds to the JSON property `kmsKeyVersionName`
|
||||
# @return [String]
|
||||
attr_accessor :kms_key_version_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@kms_key_version_name = args[:kms_key_version_name] if args.key?(:kms_key_version_name)
|
||||
end
|
||||
end
|
||||
|
||||
# Database instance export context.
|
||||
class ExportContext
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -112,6 +112,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DiskEncryptionConfiguration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DiskEncryptionStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExportContext
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -488,6 +500,10 @@ module Google
|
|||
property :connection_name, as: 'connectionName'
|
||||
property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
|
||||
property :database_version, as: 'databaseVersion'
|
||||
property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
|
||||
|
||||
property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionStatus::Representation
|
||||
|
||||
property :etag, as: 'etag'
|
||||
property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
|
||||
|
||||
|
@ -567,6 +583,22 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DiskEncryptionConfiguration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :kms_key_name, as: 'kmsKeyName'
|
||||
end
|
||||
end
|
||||
|
||||
class DiskEncryptionStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
property :kms_key_version_name, as: 'kmsKeyVersionName'
|
||||
end
|
||||
end
|
||||
|
||||
class ExportContext
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190301'
|
||||
REVISION = '20190325'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2057,19 +2057,6 @@ module Google
|
|||
# @return [Google::Apis::TestingV1::AndroidTestLoop]
|
||||
attr_accessor :android_test_loop
|
||||
|
||||
# Enables automatic Google account login.
|
||||
# If set, the service will automatically generate a Google test account and
|
||||
# add it to the device, before executing the test. Note that test accounts
|
||||
# might be reused.
|
||||
# Many applications show their full set of functionalities when an account is
|
||||
# present on the device. Logging into the device with these generated
|
||||
# accounts allows testing more functionalities.
|
||||
# Default is false.
|
||||
# Corresponds to the JSON property `autoGoogleLogin`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_google_login
|
||||
alias_method :auto_google_login?, :auto_google_login
|
||||
|
||||
# Disables performance metrics recording; may reduce test latency.
|
||||
# Corresponds to the JSON property `disablePerformanceMetrics`
|
||||
# @return [Boolean]
|
||||
|
@ -2118,7 +2105,6 @@ module Google
|
|||
@android_instrumentation_test = args[:android_instrumentation_test] if args.key?(:android_instrumentation_test)
|
||||
@android_robo_test = args[:android_robo_test] if args.key?(:android_robo_test)
|
||||
@android_test_loop = args[:android_test_loop] if args.key?(:android_test_loop)
|
||||
@auto_google_login = args[:auto_google_login] if args.key?(:auto_google_login)
|
||||
@disable_performance_metrics = args[:disable_performance_metrics] if args.key?(:disable_performance_metrics)
|
||||
@disable_video_recording = args[:disable_video_recording] if args.key?(:disable_video_recording)
|
||||
@ios_test_setup = args[:ios_test_setup] if args.key?(:ios_test_setup)
|
||||
|
|
|
@ -962,7 +962,6 @@ module Google
|
|||
|
||||
property :android_test_loop, as: 'androidTestLoop', class: Google::Apis::TestingV1::AndroidTestLoop, decorator: Google::Apis::TestingV1::AndroidTestLoop::Representation
|
||||
|
||||
property :auto_google_login, as: 'autoGoogleLogin'
|
||||
property :disable_performance_metrics, as: 'disablePerformanceMetrics'
|
||||
property :disable_video_recording, as: 'disableVideoRecording'
|
||||
property :ios_test_setup, as: 'iosTestSetup', class: Google::Apis::TestingV1::IosTestSetup, decorator: Google::Apis::TestingV1::IosTestSetup::Representation
|
||||
|
|
Loading…
Reference in New Issue