diff --git a/api_names_out.yaml b/api_names_out.yaml index 9b4ed6527..9ec8dd2ef 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -8744,6 +8744,10 @@ "/androidpublisher:v3/androidpublisher.inappproducts.update/autoConvertMissingPrices": auto_convert_missing_prices "/androidpublisher:v3/androidpublisher.inappproducts.update/packageName": package_name "/androidpublisher:v3/androidpublisher.inappproducts.update/sku": sku +"/androidpublisher:v3/androidpublisher.internalappsharingartifacts.uploadapk": uploadapk_internalappsharingartifact +"/androidpublisher:v3/androidpublisher.internalappsharingartifacts.uploadapk/packageName": package_name +"/androidpublisher:v3/androidpublisher.internalappsharingartifacts.uploadbundle": uploadbundle_internalappsharingartifact +"/androidpublisher:v3/androidpublisher.internalappsharingartifacts.uploadbundle/packageName": package_name "/androidpublisher:v3/androidpublisher.orders.refund": refund_order "/androidpublisher:v3/androidpublisher.orders.refund/orderId": order_id "/androidpublisher:v3/androidpublisher.orders.refund/packageName": package_name @@ -72871,6 +72875,9 @@ "/docs:v1/InsertPageBreakRequest": insert_page_break_request "/docs:v1/InsertPageBreakRequest/endOfSegmentLocation": end_of_segment_location "/docs:v1/InsertPageBreakRequest/location": location +"/docs:v1/InsertTableColumnRequest": insert_table_column_request +"/docs:v1/InsertTableColumnRequest/insertRight": insert_right +"/docs:v1/InsertTableColumnRequest/tableCellLocation": table_cell_location "/docs:v1/InsertTableRequest": insert_table_request "/docs:v1/InsertTableRequest/columns": columns "/docs:v1/InsertTableRequest/endOfSegmentLocation": end_of_segment_location @@ -73077,10 +73084,13 @@ "/docs:v1/Request/insertInlineImage": insert_inline_image "/docs:v1/Request/insertPageBreak": insert_page_break "/docs:v1/Request/insertTable": insert_table +"/docs:v1/Request/insertTableColumn": insert_table_column "/docs:v1/Request/insertTableRow": insert_table_row "/docs:v1/Request/insertText": insert_text "/docs:v1/Request/replaceAllText": replace_all_text "/docs:v1/Request/updateParagraphStyle": update_paragraph_style +"/docs:v1/Request/updateTableColumnProperties": update_table_column_properties +"/docs:v1/Request/updateTableRowStyle": update_table_row_style "/docs:v1/Request/updateTextStyle": update_text_style "/docs:v1/Response": response "/docs:v1/Response/createNamedRange": create_named_range @@ -73286,6 +73296,18 @@ "/docs:v1/UpdateParagraphStyleRequest/fields": fields "/docs:v1/UpdateParagraphStyleRequest/paragraphStyle": paragraph_style "/docs:v1/UpdateParagraphStyleRequest/range": range +"/docs:v1/UpdateTableColumnPropertiesRequest": update_table_column_properties_request +"/docs:v1/UpdateTableColumnPropertiesRequest/columnIndices": column_indices +"/docs:v1/UpdateTableColumnPropertiesRequest/columnIndices/column_index": column_index +"/docs:v1/UpdateTableColumnPropertiesRequest/fields": fields +"/docs:v1/UpdateTableColumnPropertiesRequest/tableColumnProperties": table_column_properties +"/docs:v1/UpdateTableColumnPropertiesRequest/tableStartLocation": table_start_location +"/docs:v1/UpdateTableRowStyleRequest": update_table_row_style_request +"/docs:v1/UpdateTableRowStyleRequest/fields": fields +"/docs:v1/UpdateTableRowStyleRequest/rowIndices": row_indices +"/docs:v1/UpdateTableRowStyleRequest/rowIndices/row_index": row_index +"/docs:v1/UpdateTableRowStyleRequest/tableRowStyle": table_row_style +"/docs:v1/UpdateTableRowStyleRequest/tableStartLocation": table_start_location "/docs:v1/UpdateTextStyleRequest": update_text_style_request "/docs:v1/UpdateTextStyleRequest/fields": fields "/docs:v1/UpdateTextStyleRequest/range": range diff --git a/generated/google/apis/androidpublisher_v3.rb b/generated/google/apis/androidpublisher_v3.rb index 129ab4f24..d12388ef5 100644 --- a/generated/google/apis/androidpublisher_v3.rb +++ b/generated/google/apis/androidpublisher_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV3 VERSION = 'V3' - REVISION = '20190414' + REVISION = '20190506' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v3/service.rb b/generated/google/apis/androidpublisher_v3/service.rb index 9d16cb922..23a7db097 100644 --- a/generated/google/apis/androidpublisher_v3/service.rb +++ b/generated/google/apis/androidpublisher_v3/service.rb @@ -1782,6 +1782,96 @@ module Google execute_or_queue_command(command, &block) end + # Uploads an APK to internal app sharing. If you are using the Google API client + # libraries, please increase the timeout of the http request before calling this + # endpoint (a timeout of 2 minutes is recommended). See: https://developers. + # google.com/api-client-library/java/google-api-java-client/errors for an + # example in java. + # @param [String] package_name + # Unique identifier for the Android app; for example, "com.spiffygame". + # @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 [IO, String] upload_source + # IO stream or filename containing content to upload + # @param [String] content_type + # Content type of the uploaded content. + # @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 uploadapk_internalappsharingartifact(package_name, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + if upload_source.nil? + command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options) + else + command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options) + command.upload_source = upload_source + command.upload_content_type = content_type + end + command.params['packageName'] = package_name unless package_name.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 + + # Uploads an app bundle to internal app sharing. If you are using the Google API + # client libraries, please increase the timeout of the http request before + # calling this endpoint (a timeout of 2 minutes is recommended). See: https:// + # developers.google.com/api-client-library/java/google-api-java-client/errors + # for an example in java. + # @param [String] package_name + # Unique identifier for the Android app; for example, "com.spiffygame". + # @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 [IO, String] upload_source + # IO stream or filename containing content to upload + # @param [String] content_type + # Content type of the uploaded content. + # @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 uploadbundle_internalappsharingartifact(package_name, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + if upload_source.nil? + command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options) + else + command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options) + command.upload_source = upload_source + command.upload_content_type = content_type + end + command.params['packageName'] = package_name unless package_name.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 + # Refund a user's subscription or in-app purchase order. # @param [String] package_name # The package name of the application for which this subscription or in-app item diff --git a/generated/google/apis/cloudidentity_v1.rb b/generated/google/apis/cloudidentity_v1.rb index 9171efc28..c07980012 100644 --- a/generated/google/apis/cloudidentity_v1.rb +++ b/generated/google/apis/cloudidentity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1 VERSION = 'V1' - REVISION = '20190309' + REVISION = '20190503' # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups' diff --git a/generated/google/apis/cloudidentity_v1/classes.rb b/generated/google/apis/cloudidentity_v1/classes.rb index 2e478d641..3aef0a4cf 100644 --- a/generated/google/apis/cloudidentity_v1/classes.rb +++ b/generated/google/apis/cloudidentity_v1/classes.rb @@ -362,7 +362,7 @@ module Google # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/cloudidentity_v1beta1.rb b/generated/google/apis/cloudidentity_v1beta1.rb index 2122ab7f8..bb9692097 100644 --- a/generated/google/apis/cloudidentity_v1beta1.rb +++ b/generated/google/apis/cloudidentity_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/identity/ module CloudidentityV1beta1 VERSION = 'V1beta1' - REVISION = '20190309' + REVISION = '20190503' # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups' diff --git a/generated/google/apis/cloudidentity_v1beta1/classes.rb b/generated/google/apis/cloudidentity_v1beta1/classes.rb index 9ca2f5da5..1edb6e886 100644 --- a/generated/google/apis/cloudidentity_v1beta1/classes.rb +++ b/generated/google/apis/cloudidentity_v1beta1/classes.rb @@ -342,7 +342,7 @@ module Google # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/docs_v1.rb b/generated/google/apis/docs_v1.rb index 0e1055634..2937e1204 100644 --- a/generated/google/apis/docs_v1.rb +++ b/generated/google/apis/docs_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/docs/ module DocsV1 VERSION = 'V1' - REVISION = '20190408' + REVISION = '20190501' # View and manage your Google Docs documents AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents' diff --git a/generated/google/apis/docs_v1/classes.rb b/generated/google/apis/docs_v1/classes.rb index c0dfca3f4..ecb1c8e17 100644 --- a/generated/google/apis/docs_v1/classes.rb +++ b/generated/google/apis/docs_v1/classes.rb @@ -2012,6 +2012,34 @@ module Google end end + # Inserts an empty column into a table. + class InsertTableColumnRequest + include Google::Apis::Core::Hashable + + # Whether to insert new column to the right of the reference cell location. + # - `True`: insert to the right. + # - `False`: insert to the left. + # Corresponds to the JSON property `insertRight` + # @return [Boolean] + attr_accessor :insert_right + alias_method :insert_right?, :insert_right + + # Location of a single cell within a table. + # Corresponds to the JSON property `tableCellLocation` + # @return [Google::Apis::DocsV1::TableCellLocation] + attr_accessor :table_cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insert_right = args[:insert_right] if args.key?(:insert_right) + @table_cell_location = args[:table_cell_location] if args.key?(:table_cell_location) + end + end + # Inserts a table at the specified location. # A newline character will be inserted before the inserted table. class InsertTableRequest @@ -3671,6 +3699,11 @@ module Google # @return [Google::Apis::DocsV1::InsertTableRequest] attr_accessor :insert_table + # Inserts an empty column into a table. + # Corresponds to the JSON property `insertTableColumn` + # @return [Google::Apis::DocsV1::InsertTableColumnRequest] + attr_accessor :insert_table_column + # Inserts an empty row into a table. # Corresponds to the JSON property `insertTableRow` # @return [Google::Apis::DocsV1::InsertTableRowRequest] @@ -3691,6 +3724,19 @@ module Google # @return [Google::Apis::DocsV1::UpdateParagraphStyleRequest] attr_accessor :update_paragraph_style + # Updates the + # TableColumnProperties of columns + # in a table. + # Corresponds to the JSON property `updateTableColumnProperties` + # @return [Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest] + attr_accessor :update_table_column_properties + + # Updates the TableRowStyle of rows in a + # table. + # Corresponds to the JSON property `updateTableRowStyle` + # @return [Google::Apis::DocsV1::UpdateTableRowStyleRequest] + attr_accessor :update_table_row_style + # Update the styling of text. # Corresponds to the JSON property `updateTextStyle` # @return [Google::Apis::DocsV1::UpdateTextStyleRequest] @@ -3713,10 +3759,13 @@ module Google @insert_inline_image = args[:insert_inline_image] if args.key?(:insert_inline_image) @insert_page_break = args[:insert_page_break] if args.key?(:insert_page_break) @insert_table = args[:insert_table] if args.key?(:insert_table) + @insert_table_column = args[:insert_table_column] if args.key?(:insert_table_column) @insert_table_row = args[:insert_table_row] if args.key?(:insert_table_row) @insert_text = args[:insert_text] if args.key?(:insert_text) @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) + @update_table_column_properties = args[:update_table_column_properties] if args.key?(:update_table_column_properties) + @update_table_row_style = args[:update_table_row_style] if args.key?(:update_table_row_style) @update_text_style = args[:update_text_style] if args.key?(:update_text_style) end end @@ -5322,6 +5371,94 @@ module Google end end + # Updates the + # TableColumnProperties of columns + # in a table. + class UpdateTableColumnPropertiesRequest + include Google::Apis::Core::Hashable + + # The list of zero-based column indices whose property should be updated. If + # no indices are specified, all columns will be updated. + # Corresponds to the JSON property `columnIndices` + # @return [Array] + attr_accessor :column_indices + + # The fields that should be updated. + # At least one field must be specified. The root `tableColumnProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the column width, set `fields` to `"width"`. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The properties of a column in a table. + # Corresponds to the JSON property `tableColumnProperties` + # @return [Google::Apis::DocsV1::TableColumnProperties] + attr_accessor :table_column_properties + + # A particular location in the document. + # Corresponds to the JSON property `tableStartLocation` + # @return [Google::Apis::DocsV1::Location] + attr_accessor :table_start_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_indices = args[:column_indices] if args.key?(:column_indices) + @fields = args[:fields] if args.key?(:fields) + @table_column_properties = args[:table_column_properties] if args.key?(:table_column_properties) + @table_start_location = args[:table_start_location] if args.key?(:table_start_location) + end + end + + # Updates the TableRowStyle of rows in a + # table. + class UpdateTableRowStyleRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. + # At least one field must be specified. The root `tableRowStyle` is implied + # and should not be specified. A single `"*"` can be used as short-hand for + # listing every field. + # For example to update the minimum row height, set `fields` to + # `"min_row_height"`. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The list of zero-based row indices whose style should be updated. If no + # indices are specified, all rows will be updated. + # Corresponds to the JSON property `rowIndices` + # @return [Array] + attr_accessor :row_indices + + # Styles that apply to a table row. + # Corresponds to the JSON property `tableRowStyle` + # @return [Google::Apis::DocsV1::TableRowStyle] + attr_accessor :table_row_style + + # A particular location in the document. + # Corresponds to the JSON property `tableStartLocation` + # @return [Google::Apis::DocsV1::Location] + attr_accessor :table_start_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @row_indices = args[:row_indices] if args.key?(:row_indices) + @table_row_style = args[:table_row_style] if args.key?(:table_row_style) + @table_start_location = args[:table_start_location] if args.key?(:table_start_location) + end + end + # Update the styling of text. class UpdateTextStyleRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/docs_v1/representations.rb b/generated/google/apis/docs_v1/representations.rb index 0fdd57325..1b5b16461 100644 --- a/generated/google/apis/docs_v1/representations.rb +++ b/generated/google/apis/docs_v1/representations.rb @@ -310,6 +310,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InsertTableColumnRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InsertTableRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -760,6 +766,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UpdateTableColumnPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTableRowStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UpdateTextStyleRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1318,6 +1336,15 @@ module Google end end + class InsertTableColumnRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insert_right, as: 'insertRight' + property :table_cell_location, as: 'tableCellLocation', class: Google::Apis::DocsV1::TableCellLocation, decorator: Google::Apis::DocsV1::TableCellLocation::Representation + + end + end + class InsertTableRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1752,6 +1779,8 @@ module Google property :insert_table, as: 'insertTable', class: Google::Apis::DocsV1::InsertTableRequest, decorator: Google::Apis::DocsV1::InsertTableRequest::Representation + property :insert_table_column, as: 'insertTableColumn', class: Google::Apis::DocsV1::InsertTableColumnRequest, decorator: Google::Apis::DocsV1::InsertTableColumnRequest::Representation + property :insert_table_row, as: 'insertTableRow', class: Google::Apis::DocsV1::InsertTableRowRequest, decorator: Google::Apis::DocsV1::InsertTableRowRequest::Representation property :insert_text, as: 'insertText', class: Google::Apis::DocsV1::InsertTextRequest, decorator: Google::Apis::DocsV1::InsertTextRequest::Representation @@ -1760,6 +1789,10 @@ module Google property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation + property :update_table_column_properties, as: 'updateTableColumnProperties', class: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest::Representation + + property :update_table_row_style, as: 'updateTableRowStyle', class: Google::Apis::DocsV1::UpdateTableRowStyleRequest, decorator: Google::Apis::DocsV1::UpdateTableRowStyleRequest::Representation + property :update_text_style, as: 'updateTextStyle', class: Google::Apis::DocsV1::UpdateTextStyleRequest, decorator: Google::Apis::DocsV1::UpdateTextStyleRequest::Representation end @@ -2217,6 +2250,30 @@ module Google end end + class UpdateTableColumnPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :column_indices, as: 'columnIndices' + property :fields, as: 'fields' + property :table_column_properties, as: 'tableColumnProperties', class: Google::Apis::DocsV1::TableColumnProperties, decorator: Google::Apis::DocsV1::TableColumnProperties::Representation + + property :table_start_location, as: 'tableStartLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation + + end + end + + class UpdateTableRowStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + collection :row_indices, as: 'rowIndices' + property :table_row_style, as: 'tableRowStyle', class: Google::Apis::DocsV1::TableRowStyle, decorator: Google::Apis::DocsV1::TableRowStyle::Representation + + property :table_start_location, as: 'tableStartLocation', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation + + end + end + class UpdateTextStyleRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/redis_v1.rb b/generated/google/apis/redis_v1.rb index 3f803c2e7..1ced1a6ca 100644 --- a/generated/google/apis/redis_v1.rb +++ b/generated/google/apis/redis_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/memorystore/docs/redis/ module RedisV1 VERSION = 'V1' - REVISION = '20190327' + REVISION = '20190502' # 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/redis_v1/service.rb b/generated/google/apis/redis_v1/service.rb index 74a8dbd5e..982c0cb27 100644 --- a/generated/google/apis/redis_v1/service.rb +++ b/generated/google/apis/redis_v1/service.rb @@ -128,7 +128,7 @@ module Google # @param [String] parent # Required. The resource name of the instance location using the form: # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [Google::Apis::RedisV1::Instance] instance_object # @param [String] instance_id # Required. The logical name of the Redis instance in the customer project @@ -173,7 +173,7 @@ module Google # @param [String] name # Required. Redis instance resource name using the form: # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -201,12 +201,12 @@ module Google execute_or_queue_command(command, &block) end - # Failover the master role to current replica node against a specific - # STANDARD tier redis instance. + # Initiates a failover of the master node to current replica node for a + # specific STANDARD tier Cloud Memorystore for Redis instance. # @param [String] name # Required. Redis instance resource name using the form: # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [Google::Apis::RedisV1::FailoverInstanceRequest] failover_instance_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -241,7 +241,7 @@ module Google # @param [String] name # Required. Redis instance resource name using the form: # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -278,7 +278,7 @@ module Google # @param [String] parent # Required. The resource name of the instance location using the form: # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [Fixnum] page_size # The maximum number of items to return. # If not specified, a default value of 1000 will be used by the service. diff --git a/generated/google/apis/redis_v1beta1.rb b/generated/google/apis/redis_v1beta1.rb index 05e2ab79f..ca2f2c44c 100644 --- a/generated/google/apis/redis_v1beta1.rb +++ b/generated/google/apis/redis_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/memorystore/docs/redis/ module RedisV1beta1 VERSION = 'V1beta1' - REVISION = '20190327' + REVISION = '20190502' # 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/redis_v1beta1/classes.rb b/generated/google/apis/redis_v1beta1/classes.rb index a135e2e6b..2b7584a8d 100644 --- a/generated/google/apis/redis_v1beta1/classes.rb +++ b/generated/google/apis/redis_v1beta1/classes.rb @@ -238,7 +238,7 @@ module Google # version will perform an upgrade/downgrade to the new version. Currently, # the supported values are: # * `REDIS_4_0` for Redis 4.0 compatibility - # * `REDIS_3_2` for Redis 3.2 compatibility + # * `REDIS_3_2` for Redis 3.2 compatibility (default) # Corresponds to the JSON property `redisVersion` # @return [String] attr_accessor :redis_version diff --git a/generated/google/apis/redis_v1beta1/service.rb b/generated/google/apis/redis_v1beta1/service.rb index 797f834cb..3a409f105 100644 --- a/generated/google/apis/redis_v1beta1/service.rb +++ b/generated/google/apis/redis_v1beta1/service.rb @@ -128,7 +128,7 @@ module Google # @param [String] parent # Required. The resource name of the instance location using the form: # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [Google::Apis::RedisV1beta1::Instance] instance_object # @param [String] instance_id # Required. The logical name of the Redis instance in the customer project @@ -173,7 +173,7 @@ module Google # @param [String] name # Required. Redis instance resource name using the form: # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -205,7 +205,7 @@ module Google # @param [String] name # Required. Redis instance resource name using the form: # `projects/`project_id`/locations/`location_id`/instances/`instance_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -242,7 +242,7 @@ module Google # @param [String] parent # Required. The resource name of the instance location using the form: # `projects/`project_id`/locations/`location_id`` - # where `location_id` refers to a GCP region + # where `location_id` refers to a GCP region. # @param [Fixnum] page_size # The maximum number of items to return. # If not specified, a default value of 1000 will be used by the service. diff --git a/generated/google/apis/securitycenter_v1.rb b/generated/google/apis/securitycenter_v1.rb index 35c54ac9c..bc825e6bf 100644 --- a/generated/google/apis/securitycenter_v1.rb +++ b/generated/google/apis/securitycenter_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1 VERSION = 'V1' - REVISION = '20190426' + REVISION = '20190503' # 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/securitycenter_v1/classes.rb b/generated/google/apis/securitycenter_v1/classes.rb index 9d489ca79..85f0273fa 100644 --- a/generated/google/apis/securitycenter_v1/classes.rb +++ b/generated/google/apis/securitycenter_v1/classes.rb @@ -1116,7 +1116,7 @@ module Google # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/securitycenter_v1beta1.rb b/generated/google/apis/securitycenter_v1beta1.rb index 8f87a8ae1..7171a1e3c 100644 --- a/generated/google/apis/securitycenter_v1beta1.rb +++ b/generated/google/apis/securitycenter_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview module SecuritycenterV1beta1 VERSION = 'V1beta1' - REVISION = '20190419' + REVISION = '20190503' # 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/securitycenter_v1beta1/classes.rb b/generated/google/apis/securitycenter_v1beta1/classes.rb index b71a8fa4c..8bbb54e8c 100644 --- a/generated/google/apis/securitycenter_v1beta1/classes.rb +++ b/generated/google/apis/securitycenter_v1beta1/classes.rb @@ -1003,7 +1003,7 @@ module Google # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index b754b42f5..8c1b337a3 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20190305' + REVISION = '20190429' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb index 125c36e1a..4ad483f77 100644 --- a/generated/google/apis/streetviewpublish_v1.rb +++ b/generated/google/apis/streetviewpublish_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/streetview/publish/ module StreetviewpublishV1 VERSION = 'V1' - REVISION = '20190306' + REVISION = '20190503' # Publish and manage your 360 photos on Google Street View AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' diff --git a/generated/google/apis/streetviewpublish_v1/classes.rb b/generated/google/apis/streetviewpublish_v1/classes.rb index 5617d8f65..c845b3adf 100644 --- a/generated/google/apis/streetviewpublish_v1/classes.rb +++ b/generated/google/apis/streetviewpublish_v1/classes.rb @@ -319,7 +319,7 @@ module Google # The server-assigned name, which is only unique within the same service that # originally returns it. If you use the default HTTP mapping, the - # `name` should have the format of `operations/some/unique/name`. + # `name` should be a resource name ending with `operations/`unique_id``. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name diff --git a/generated/google/apis/websecurityscanner_v1beta.rb b/generated/google/apis/websecurityscanner_v1beta.rb index a9845d33d..c963175e8 100644 --- a/generated/google/apis/websecurityscanner_v1beta.rb +++ b/generated/google/apis/websecurityscanner_v1beta.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/security-scanner/ module WebsecurityscannerV1beta VERSION = 'V1beta' - REVISION = '20190323' + REVISION = '20190503' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'