lib/google/cloud/netapp/v1/netapp/client.rb in google-cloud-netapp-v1-1.0.0 vs lib/google/cloud/netapp/v1/netapp/client.rb in google-cloud-netapp-v1-1.1.0
- old
+ new
@@ -468,13 +468,14 @@
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. Value for parent.
# @param storage_pool_id [::String]
- # Required. Id of the requesting storage pool
- # If auto-generating Id server-side, remove this field and
- # id from the method_signature of Create RPC
+ # Required. Id of the requesting storage pool. Must be unique within the
+ # parent resource. Must contain only letters, numbers, underscore and hyphen,
+ # with the first character a letter or underscore, the last a letter or
+ # underscore or a number, and a 63 character maximum.
# @param storage_pool [::Google::Cloud::NetApp::V1::StoragePool, ::Hash]
# Required. The required parameters to create a new storage pool.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
@@ -1034,13 +1035,14 @@
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. Value for parent.
# @param volume_id [::String]
- # Required. Id of the requesting volume
- # If auto-generating Id server-side, remove this field and
- # Id from the method_signature of Create RPC
+ # Required. Id of the requesting volume. Must be unique within the parent
+ # resource. Must contain only letters, numbers, underscore and hyphen, with
+ # the first character a letter or underscore, the last a letter or underscore
+ # or a number, and a 63 character maximum.
# @param volume [::Google::Cloud::NetApp::V1::Volume, ::Hash]
# Required. The volume being created.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
@@ -1625,13 +1627,14 @@
# Required. The NetApp volume to create the snapshots of, in the format
# `projects/{project_id}/locations/{location}/volumes/{volume_id}`
# @param snapshot [::Google::Cloud::NetApp::V1::Snapshot, ::Hash]
# Required. A snapshot resource
# @param snapshot_id [::String]
- # Required. ID of the snapshot to create.
- # This value must start with a lowercase letter followed by up to 62
- # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
+ # Required. ID of the snapshot to create. Must be unique within the parent
+ # resource. Must contain only letters, numbers, underscore and hyphen, with
+ # the first character a letter or underscore, the last a letter or underscore
+ # or a number, and a 63 character maximum.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
# @yieldparam operation [::GRPC::ActiveCall::Operation]
#
@@ -2104,11 +2107,14 @@
# @param parent [::String]
# Required. Value for parent.
# @param active_directory [::Google::Cloud::NetApp::V1::ActiveDirectory, ::Hash]
# Required. Fields of the to be created active directory.
# @param active_directory_id [::String]
- # Required. ID of the active directory to create.
+ # Required. ID of the active directory to create. Must be unique within the
+ # parent resource. Must contain only letters, numbers, underscore and hyphen,
+ # with the first character a letter or underscore, the last a letter or
+ # underscore or a number, and a 63 character maximum.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
# @yieldparam operation [::GRPC::ActiveCall::Operation]
#
@@ -2494,13 +2500,14 @@
# the default parameter values, pass an empty Hash as a request object (see above).
#
# @param parent [::String]
# Required. Value for parent.
# @param kms_config_id [::String]
- # Required. Id of the requesting KmsConfig
- # If auto-generating Id server-side, remove this field and
- # id from the method_signature of Create RPC
+ # Required. Id of the requesting KmsConfig. Must be unique within the parent
+ # resource. Must contain only letters, numbers, underscore and hyphen, with
+ # the first character a letter or underscore, the last a letter or underscore
+ # or a number, and a 63 character maximum.
# @param kms_config [::Google::Cloud::NetApp::V1::KmsConfig, ::Hash]
# Required. The required parameters to create a new KmsConfig.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
@@ -3247,13 +3254,14 @@
# Required. The NetApp volume to create the replications of, in the format
# `projects/{project_id}/locations/{location}/volumes/{volume_id}`
# @param replication [::Google::Cloud::NetApp::V1::Replication, ::Hash]
# Required. A replication resource
# @param replication_id [::String]
- # Required. ID of the replication to create.
- # This value must start with a lowercase letter followed by up to 62
- # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
+ # Required. ID of the replication to create. Must be unique within the parent
+ # resource. Must contain only letters, numbers, underscore and hyphen, with
+ # the first character a letter or underscore, the last a letter or underscore
+ # or a number, and a 63 character maximum.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
# @yieldparam operation [::GRPC::ActiveCall::Operation]
#
@@ -3833,15 +3841,13 @@
# Required. The location to create the backup vaults, in the format
# `projects/{project_id}/locations/{location}`
# @param backup_vault_id [::String]
# Required. The ID to use for the backupVault.
# The ID must be unique within the specified location.
- # The max supported length is 63 characters.
- # This value must start with a lowercase letter followed by up to 62
- # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
- # Values that do not match this pattern will trigger an INVALID_ARGUMENT
- # error.
+ # Must contain only letters, numbers, underscore and hyphen, with the first
+ # character a letter or underscore, the last a letter or underscore or a
+ # number, and a 63 character maximum.
# @param backup_vault [::Google::Cloud::NetApp::V1::BackupVault, ::Hash]
# Required. A backupVault resource
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
@@ -4325,14 +4331,13 @@
# Required. The NetApp backupVault to create the backups of, in the format
# `projects/*/locations/*/backupVaults/{backup_vault_id}`
# @param backup_id [::String]
# Required. The ID to use for the backup.
# The ID must be unique within the specified backupVault.
- # This value must start with a lowercase letter followed by up to 62
- # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
- # Values that do not match this pattern will trigger an INVALID_ARGUMENT
- # error.
+ # Must contain only letters, numbers, underscore and hyphen, with the first
+ # character a letter or underscore, the last a letter or underscore or a
+ # number, and a 63 character maximum.
# @param backup [::Google::Cloud::NetApp::V1::Backup, ::Hash]
# Required. A backup resource
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
@@ -4826,11 +4831,12 @@
# @param backup_policy [::Google::Cloud::NetApp::V1::BackupPolicy, ::Hash]
# Required. A backupPolicy resource
# @param backup_policy_id [::String]
# Required. The ID to use for the backup policy.
# The ID must be unique within the specified location.
- # This value must start with a lowercase letter followed by up to 62
- # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
+ # Must contain only letters, numbers, underscore and hyphen, with the first
+ # character a letter or underscore, the last a letter or underscore or a
+ # number, and a 63 character maximum.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Gapic::Operation]
# @yieldparam operation [::GRPC::ActiveCall::Operation]
#