From 9eb7402fd8161880dfe9a1a7d032b5bac8c0e2fa Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 27 Mar 2019 00:37:41 +0000 Subject: [PATCH] Autogenerated update (2019-03-27) Update: - dialogflow_v2 - iap_v1 - oauth2_v1 - plus_domains_v1 - speech_v1 - speech_v1p1beta1 - sqladmin_v1beta4 - testing_v1 --- api_names_out.yaml | 8 + generated/google/apis/dialogflow_v2.rb | 2 +- .../google/apis/dialogflow_v2/classes.rb | 2 +- generated/google/apis/iap_v1.rb | 2 +- generated/google/apis/oauth2_v1.rb | 2 +- generated/google/apis/plus_domains_v1.rb | 5 +- .../google/apis/plus_domains_v1/service.rb | 292 ------------------ generated/google/apis/speech_v1.rb | 2 +- generated/google/apis/speech_v1/classes.rb | 2 +- generated/google/apis/speech_v1/service.rb | 2 + generated/google/apis/speech_v1p1beta1.rb | 2 +- .../google/apis/speech_v1p1beta1/classes.rb | 2 +- .../google/apis/speech_v1p1beta1/service.rb | 2 + generated/google/apis/sqladmin_v1beta4.rb | 2 +- .../google/apis/sqladmin_v1beta4/classes.rb | 62 ++++ .../apis/sqladmin_v1beta4/representations.rb | 32 ++ generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 14 - .../google/apis/testing_v1/representations.rb | 1 - 19 files changed, 117 insertions(+), 321 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index ee0dd2ca0..f78afdf50 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/dialogflow_v2.rb b/generated/google/apis/dialogflow_v2.rb index 6b207a6cc..65be3d02e 100644 --- a/generated/google/apis/dialogflow_v2.rb +++ b/generated/google/apis/dialogflow_v2.rb @@ -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' diff --git a/generated/google/apis/dialogflow_v2/classes.rb b/generated/google/apis/dialogflow_v2/classes.rb index 6b7bd24a9..05f34bf5b 100644 --- a/generated/google/apis/dialogflow_v2/classes.rb +++ b/generated/google/apis/dialogflow_v2/classes.rb @@ -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` diff --git a/generated/google/apis/iap_v1.rb b/generated/google/apis/iap_v1.rb index f6931a058..e463748ae 100644 --- a/generated/google/apis/iap_v1.rb +++ b/generated/google/apis/iap_v1.rb @@ -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' diff --git a/generated/google/apis/oauth2_v1.rb b/generated/google/apis/oauth2_v1.rb index 1f5c2f73d..aeb11873a 100644 --- a/generated/google/apis/oauth2_v1.rb +++ b/generated/google/apis/oauth2_v1.rb @@ -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 diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index 2acb39a66..756dd4e3d 100644 --- a/generated/google/apis/plus_domains_v1.rb +++ b/generated/google/apis/plus_domains_v1.rb @@ -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' diff --git a/generated/google/apis/plus_domains_v1/service.rb b/generated/google/apis/plus_domains_v1/service.rb index 7313c3dcf..aec766329 100644 --- a/generated/google/apis/plus_domains_v1/service.rb +++ b/generated/google/apis/plus_domains_v1/service.rb @@ -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] email - # Email of the people to add to the circle. Optional, can be repeated. - # @param [Array, 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] email - # Email of the people to add to the circle. Optional, can be repeated. - # @param [Array, 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. diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 5b8cdab48..09ecf3c22 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -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' diff --git a/generated/google/apis/speech_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb index eef6437dc..2f102342d 100644 --- a/generated/google/apis/speech_v1/classes.rb +++ b/generated/google/apis/speech_v1/classes.rb @@ -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] diff --git a/generated/google/apis/speech_v1/service.rb b/generated/google/apis/speech_v1/service.rb index d7e628ffc..c8ab42872 100644 --- a/generated/google/apis/speech_v1/service.rb +++ b/generated/google/apis/speech_v1/service.rb @@ -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. diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index ae5c4de55..d3a1a7d4d 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -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' diff --git a/generated/google/apis/speech_v1p1beta1/classes.rb b/generated/google/apis/speech_v1p1beta1/classes.rb index 89abeab1d..48d736cad 100644 --- a/generated/google/apis/speech_v1p1beta1/classes.rb +++ b/generated/google/apis/speech_v1p1beta1/classes.rb @@ -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] diff --git a/generated/google/apis/speech_v1p1beta1/service.rb b/generated/google/apis/speech_v1p1beta1/service.rb index 0afde4b2f..c1739a9bd 100644 --- a/generated/google/apis/speech_v1p1beta1/service.rb +++ b/generated/google/apis/speech_v1p1beta1/service.rb @@ -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. diff --git a/generated/google/apis/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index f8d939f3b..e24787a95 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -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' diff --git a/generated/google/apis/sqladmin_v1beta4/classes.rb b/generated/google/apis/sqladmin_v1beta4/classes.rb index f31e888c3..6256865d8 100644 --- a/generated/google/apis/sqladmin_v1beta4/classes.rb +++ b/generated/google/apis/sqladmin_v1beta4/classes.rb @@ -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 diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb index 7d9cff07f..3f2a79308 100644 --- a/generated/google/apis/sqladmin_v1beta4/representations.rb +++ b/generated/google/apis/sqladmin_v1beta4/representations.rb @@ -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 diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 10195f091..8d0a6b0db 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -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' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 1d48331d7..c28efca25 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -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) diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb index 86e60110c..c9ad0ae3a 100644 --- a/generated/google/apis/testing_v1/representations.rb +++ b/generated/google/apis/testing_v1/representations.rb @@ -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