From 9ff6f7f3c2e251191567c09c814e33b4d4f07d96 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 29 Sep 2024 02:24:26 -0700 Subject: [PATCH] feat: Automated regeneration of alloydb v1 client (#20281) Auto-created at 2024-09-29 09:21:00 +0000 using the toys pull request generator. --- api_names_out.yaml | 2 + generated/google-apis-alloydb_v1/CHANGELOG.md | 4 + .../lib/google/apis/alloydb_v1/classes.rb | 184 +++++----- .../lib/google/apis/alloydb_v1/gem_version.rb | 4 +- .../google/apis/alloydb_v1/representations.rb | 2 + .../lib/google/apis/alloydb_v1/service.rb | 316 +++++++++--------- 6 files changed, 274 insertions(+), 238 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 584d39a1b24..bf75abcdbb5 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -20847,6 +20847,7 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/location": location "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/machineConfiguration": machine_configuration "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/primaryResourceId": primary_resource_id +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/primaryResourceLocation": primary_resource_location "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/product": product "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceContainer": resource_container "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata/resourceName": resource_name @@ -20891,6 +20892,7 @@ "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/errorType": error_type "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainOperationError/message": message "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings": storage_databasecenter_partnerapi_v1main_retention_settings +"/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/durationBasedRetention": duration_based_retention "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/quantityBasedRetention": quantity_based_retention "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/retentionUnit": retention_unit "/alloydb:v1/StorageDatabasecenterPartnerapiV1mainRetentionSettings/timeBasedRetention": time_based_retention diff --git a/generated/google-apis-alloydb_v1/CHANGELOG.md b/generated/google-apis-alloydb_v1/CHANGELOG.md index 5d7a37760a5..f246f4de521 100644 --- a/generated/google-apis-alloydb_v1/CHANGELOG.md +++ b/generated/google-apis-alloydb_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-alloydb_v1 +### v0.23.0 (2024-09-29) + +* Regenerated from discovery document revision 20240923 + ### v0.22.0 (2024-09-22) * Regenerated from discovery document revision 20240909 diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb index ca064841a99..f10e81910b0 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/classes.rb @@ -890,21 +890,22 @@ class FailoverInstanceRequest include Google::Apis::Core::Hashable # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the failover. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only @@ -1044,21 +1045,22 @@ class InjectFaultRequest attr_accessor :fault_type # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the fault injection. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only @@ -1177,7 +1179,7 @@ class Instance # @return [String] attr_accessor :name - # Metadata related to instance level network configuration. + # Metadata related to instance-level network configuration. # Corresponds to the JSON property `networkConfig` # @return [Google::Apis::AlloydbV1::InstanceNetworkConfig] attr_accessor :network_config @@ -1290,7 +1292,7 @@ def update!(**args) end end - # Metadata related to instance level network configuration. + # Metadata related to instance-level network configuration. class InstanceNetworkConfig include Google::Apis::Core::Hashable @@ -1905,21 +1907,22 @@ class PromoteClusterRequest attr_accessor :etag # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if original + # operation with the same request ID was received, and if so, will ignore the + # second request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the delete. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only @@ -2114,27 +2117,28 @@ class RestartInstanceRequest include Google::Apis::Core::Hashable # Optional. Full name of the nodes as obtained from INSTANCE_VIEW_FULL to - # restart upon. Only applicable for read instances. + # restart upon. Applicable only to read instances. # Corresponds to the JSON property `nodeIds` # @return [Array] attr_accessor :node_ids # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the restart. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only @@ -2180,21 +2184,22 @@ class RestoreClusterRequest attr_accessor :continuous_backup_source # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the import request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only @@ -2542,7 +2547,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] attr_accessor :resource_id - # Common model for database resource instance metadata. Next ID: 21 + # Common model for database resource instance metadata. Next ID: 22 # Corresponds to the JSON property `resourceMetadata` # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata] attr_accessor :resource_metadata @@ -2717,7 +2722,7 @@ def update!(**args) end end - # Common model for database resource instance metadata. Next ID: 21 + # Common model for database resource instance metadata. Next ID: 22 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata include Google::Apis::Core::Hashable @@ -2792,6 +2797,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId] attr_accessor :primary_resource_id + # Primary resource location. REQUIRED if the immediate parent exists when first + # time resource is getting ingested, otherwise optional. + # Corresponds to the JSON property `primaryResourceLocation` + # @return [String] + attr_accessor :primary_resource_location + # Product specification for Condor resources. # Corresponds to the JSON property `product` # @return [Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct] @@ -2851,6 +2862,7 @@ def update!(**args) @location = args[:location] if args.key?(:location) @machine_configuration = args[:machine_configuration] if args.key?(:machine_configuration) @primary_resource_id = args[:primary_resource_id] if args.key?(:primary_resource_id) + @primary_resource_location = args[:primary_resource_location] if args.key?(:primary_resource_location) @product = args[:product] if args.key?(:product) @resource_container = args[:resource_container] if args.key?(:resource_container) @resource_name = args[:resource_name] if args.key?(:resource_name) @@ -3119,6 +3131,11 @@ def update!(**args) class StorageDatabasecenterPartnerapiV1mainRetentionSettings include Google::Apis::Core::Hashable + # Duration based retention period i.e. 172800 seconds (2 days) + # Corresponds to the JSON property `durationBasedRetention` + # @return [String] + attr_accessor :duration_based_retention + # # Corresponds to the JSON property `quantityBasedRetention` # @return [Fixnum] @@ -3140,6 +3157,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @duration_based_retention = args[:duration_based_retention] if args.key?(:duration_based_retention) @quantity_based_retention = args[:quantity_based_retention] if args.key?(:quantity_based_retention) @retention_unit = args[:retention_unit] if args.key?(:retention_unit) @time_based_retention = args[:time_based_retention] if args.key?(:time_based_retention) @@ -3357,21 +3375,22 @@ class SwitchoverClusterRequest include Google::Apis::Core::Hashable # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the delete. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only @@ -3457,21 +3476,22 @@ class UpgradeClusterRequest attr_accessor :etag # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # Corresponds to the JSON property `requestId` # @return [String] attr_accessor :request_id - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but does not actually execute the upgrade. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # Corresponds to the JSON property `validateOnly` # @return [Boolean] attr_accessor :validate_only diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb index 41b13cae33a..19752abcbc0 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AlloydbV1 # Version of the google-apis-alloydb_v1 gem - GEM_VERSION = "0.22.0" + GEM_VERSION = "0.23.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20240909" + REVISION = "20240923" end end end diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb index 10122457ccf..5d3e599bc52 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/representations.rb @@ -1239,6 +1239,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :primary_resource_id, as: 'primaryResourceId', class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId::Representation + property :primary_resource_location, as: 'primaryResourceLocation' property :product, as: 'product', class: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct, decorator: Google::Apis::AlloydbV1::StorageDatabasecenterProtoCommonProduct::Representation property :resource_container, as: 'resourceContainer' @@ -1321,6 +1322,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class StorageDatabasecenterPartnerapiV1mainRetentionSettings # @private class Representation < Google::Apis::Core::JsonRepresentation + property :duration_based_retention, as: 'durationBasedRetention' property :quantity_based_retention, as: 'quantityBasedRetention' property :retention_unit, as: 'retentionUnit' property :time_based_retention, as: 'timeBasedRetention' diff --git a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb index 4d4da16abce..60eca9e490e 100644 --- a/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb +++ b/generated/google-apis-alloydb_v1/lib/google/apis/alloydb_v1/service.rb @@ -142,15 +142,15 @@ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, f # Required. ID of the requesting object. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only # Optional. If set, the backend validates the request, but doesn't actually # execute it. @@ -196,15 +196,15 @@ def create_project_location_backup(parent, backup_object = nil, backup_id: nil, # error will be returned. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only # Optional. If set, the backend validates the request, but doesn't actually # execute it. @@ -326,15 +326,15 @@ def list_project_location_backups(parent, filter: nil, order_by: nil, page_size: # that case, a new backup is created and `update_mask` is ignored. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] update_mask # Optional. Field mask is used to specify the fields to be overwritten in the # Backup resource by the update. The fields specified in the update_mask are @@ -386,18 +386,19 @@ def patch_project_location_backup(name, backup_object = nil, allow_missing: nil, # Required. ID of the requesting object. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the create request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -440,18 +441,19 @@ def create_project_location_cluster(parent, cluster_object = nil, cluster_id: ni # Required. ID of the requesting object (the secondary cluster). # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the create request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -496,18 +498,19 @@ def createsecondary_project_location_cluster(parent, cluster_object = nil, clust # Optional. Whether to cascade delete child instances for given cluster. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the delete. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -633,15 +636,15 @@ def list_project_location_clusters(parent, filter: nil, order_by: nil, page_size # that case, a new cluster is created and `update_mask` is ignored. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] update_mask # Optional. Field mask is used to specify the fields to be overwritten in the # Cluster resource by the update. The fields specified in the update_mask are @@ -649,8 +652,9 @@ def list_project_location_clusters(parent, filter: nil, order_by: nil, page_size # it is in the mask. If the user does not provide a mask then all fields will be # overwritten. # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the update request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -756,9 +760,9 @@ def restore_cluster(parent, restore_cluster_request_object = nil, fields: nil, q execute_or_queue_command(command, &block) end - # Switches the role of PRIMARY and SECONDARY cluster without any data loss. This - # promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster - # to replicate from this newly promoted cluster. + # Switches the roles of PRIMARY and SECONDARY clusters without any data loss. + # This promotes the SECONDARY cluster to PRIMARY and sets up the original + # PRIMARY cluster to replicate from this newly promoted cluster. # @param [String] name # Required. The name of the resource. For the required format, see the comment # on the Cluster.name field @@ -834,18 +838,19 @@ def upgrade_cluster(name, upgrade_cluster_request_object = nil, fields: nil, quo # Required. ID of the requesting object. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the create request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -887,18 +892,19 @@ def create_project_location_cluster_instance(parent, instance_object = nil, inst # Required. ID of the requesting object. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the create request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -941,18 +947,19 @@ def createsecondary_project_location_cluster_instance(parent, instance_object = # ABORTED error will be returned. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the delete. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1058,15 +1065,15 @@ def get_project_location_cluster_instance(name, view: nil, fields: nil, quota_us # project`/locations/`location`/clusters/`cluster`/instances/`instance` # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1192,15 +1199,15 @@ def list_project_location_cluster_instances(parent, filter: nil, order_by: nil, # that case, a new instance is created and `update_mask` is ignored. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] update_mask # Optional. Field mask is used to specify the fields to be overwritten in the # Instance resource by the update. The fields specified in the update_mask are @@ -1208,8 +1215,9 @@ def list_project_location_cluster_instances(parent, filter: nil, order_by: nil, # it is in the mask. If the user does not provide a mask then all fields will be # overwritten. # @param [Boolean] validate_only - # Optional. If set, performs request validation (e.g. permission checks and any - # other type of validation), but do not actually execute the update request. + # Optional. If set, performs request validation, for example, permission checks + # and any other type of validation, but does not actually execute the create + # request. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1283,15 +1291,15 @@ def restart_instance(name, restart_instance_request_object = nil, fields: nil, q # @param [Google::Apis::AlloydbV1::User] user_object # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] user_id # Required. ID of the requesting object. # @param [Boolean] validate_only @@ -1335,15 +1343,15 @@ def create_project_location_cluster_user(parent, user_object = nil, request_id: # on the User.name field. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes after the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [Boolean] validate_only # Optional. If set, the backend validates the request, but doesn't actually # execute it. @@ -1459,15 +1467,15 @@ def list_project_location_cluster_users(parent, filter: nil, order_by: nil, page # Optional. Allow missing fields in the update mask. # @param [String] request_id # Optional. An optional request ID to identify requests. Specify a unique - # request ID so that if you must retry your request, the server will know to - # ignore the request if it has already been completed. The server will guarantee - # that for at least 60 minutes since the first request. For example, consider a - # situation where you make an initial request and the request times out. If you - # make the request again with the same request ID, the server can check if - # original operation with the same request ID was received, and if so, will - # ignore the second request. This prevents clients from accidentally creating - # duplicate commitments. The request ID must be a valid UUID with the exception - # that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + # request ID so that if you must retry your request, the server ignores the + # request if it has already been completed. The server guarantees that for at + # least 60 minutes since the first request. For example, consider a situation + # where you make an initial request and the request times out. If you make the + # request again with the same request ID, the server can check if the original + # operation with the same request ID was received, and if so, ignores the second + # request. This prevents clients from accidentally creating duplicate + # commitments. The request ID must be a valid UUID with the exception that zero + # UUID is not supported (00000000-0000-0000-0000-000000000000). # @param [String] update_mask # Optional. Field mask is used to specify the fields to be overwritten in the # User resource by the update. The fields specified in the update_mask are