diff --git a/NetApp/metadata/V1/ActiveDirectory.php b/NetApp/metadata/V1/ActiveDirectory.php
index 450bc1d8f32c..bf164e317d9e 100644
Binary files a/NetApp/metadata/V1/ActiveDirectory.php and b/NetApp/metadata/V1/ActiveDirectory.php differ
diff --git a/NetApp/metadata/V1/StoragePool.php b/NetApp/metadata/V1/StoragePool.php
index 0fce6d5d8985..caf8a6b50ebd 100644
Binary files a/NetApp/metadata/V1/StoragePool.php and b/NetApp/metadata/V1/StoragePool.php differ
diff --git a/NetApp/metadata/V1/Volume.php b/NetApp/metadata/V1/Volume.php
index c7bf382b1697..969991e76378 100644
Binary files a/NetApp/metadata/V1/Volume.php and b/NetApp/metadata/V1/Volume.php differ
diff --git a/NetApp/samples/V1/NetAppClient/create_active_directory.php b/NetApp/samples/V1/NetAppClient/create_active_directory.php
index 709ccc8d8bbe..8053c3728643 100644
--- a/NetApp/samples/V1/NetAppClient/create_active_directory.php
+++ b/NetApp/samples/V1/NetAppClient/create_active_directory.php
@@ -42,7 +42,10 @@
* @param string $activeDirectoryNetBiosPrefix NetBIOSPrefix is used as a prefix for SMB server name.
* @param string $activeDirectoryUsername Username of the Active Directory domain administrator.
* @param string $activeDirectoryPassword Password of the Active Directory domain administrator.
- * @param string $activeDirectoryId ID of the active directory to create.
+ * @param string $activeDirectoryId 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.
*/
function create_active_directory_sample(
string $formattedParent,
diff --git a/NetApp/samples/V1/NetAppClient/create_backup.php b/NetApp/samples/V1/NetAppClient/create_backup.php
index d4a36222462d..e477512eb121 100644
--- a/NetApp/samples/V1/NetAppClient/create_backup.php
+++ b/NetApp/samples/V1/NetAppClient/create_backup.php
@@ -41,10 +41,9 @@
* Please see {@see NetAppClient::backupVaultName()} for help formatting this field.
* @param string $backupId 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.
*/
function create_backup_sample(string $formattedParent, string $backupId): void
{
diff --git a/NetApp/samples/V1/NetAppClient/create_backup_policy.php b/NetApp/samples/V1/NetAppClient/create_backup_policy.php
index 3ec816d65981..d64532162f1a 100644
--- a/NetApp/samples/V1/NetAppClient/create_backup_policy.php
+++ b/NetApp/samples/V1/NetAppClient/create_backup_policy.php
@@ -38,8 +38,9 @@
* Please see {@see NetAppClient::locationName()} for help formatting this field.
* @param string $backupPolicyId 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.
*/
function create_backup_policy_sample(string $formattedParent, string $backupPolicyId): void
{
diff --git a/NetApp/samples/V1/NetAppClient/create_backup_vault.php b/NetApp/samples/V1/NetAppClient/create_backup_vault.php
index 9b07e3c28fa0..001717fd0a5e 100644
--- a/NetApp/samples/V1/NetAppClient/create_backup_vault.php
+++ b/NetApp/samples/V1/NetAppClient/create_backup_vault.php
@@ -38,11 +38,9 @@
* Please see {@see NetAppClient::locationName()} for help formatting this field.
* @param string $backupVaultId 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.
*/
function create_backup_vault_sample(string $formattedParent, string $backupVaultId): void
{
diff --git a/NetApp/samples/V1/NetAppClient/create_kms_config.php b/NetApp/samples/V1/NetAppClient/create_kms_config.php
index 0992a030a624..1880e0490d1a 100644
--- a/NetApp/samples/V1/NetAppClient/create_kms_config.php
+++ b/NetApp/samples/V1/NetAppClient/create_kms_config.php
@@ -35,9 +35,10 @@
*
* @param string $formattedParent Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
- * @param string $kmsConfigId Id of the requesting KmsConfig
- * If auto-generating Id server-side, remove this field and
- * id from the method_signature of Create RPC
+ * @param string $kmsConfigId 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 string $kmsConfigCryptoKeyName Customer managed crypto key resource full name. Format:
* projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
*/
diff --git a/NetApp/samples/V1/NetAppClient/create_replication.php b/NetApp/samples/V1/NetAppClient/create_replication.php
index df56b676665b..4eb86af3dc80 100644
--- a/NetApp/samples/V1/NetAppClient/create_replication.php
+++ b/NetApp/samples/V1/NetAppClient/create_replication.php
@@ -41,9 +41,10 @@
* @param int $replicationReplicationSchedule Indicates the schedule for replication.
* @param string $formattedReplicationDestinationVolumeParametersStoragePool Existing destination StoragePool name. Please see
* {@see NetAppClient::storagePoolName()} for help formatting this field.
- * @param string $replicationId 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.
+ * @param string $replicationId 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.
*/
function create_replication_sample(
string $formattedParent,
diff --git a/NetApp/samples/V1/NetAppClient/create_snapshot.php b/NetApp/samples/V1/NetAppClient/create_snapshot.php
index 4654fbf7e7f3..6b99ae2091f1 100644
--- a/NetApp/samples/V1/NetAppClient/create_snapshot.php
+++ b/NetApp/samples/V1/NetAppClient/create_snapshot.php
@@ -36,9 +36,10 @@
* @param string $formattedParent The NetApp volume to create the snapshots of, in the format
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
* Please see {@see NetAppClient::volumeName()} for help formatting this field.
- * @param string $snapshotId 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.
+ * @param string $snapshotId 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.
*/
function create_snapshot_sample(string $formattedParent, string $snapshotId): void
{
diff --git a/NetApp/samples/V1/NetAppClient/create_storage_pool.php b/NetApp/samples/V1/NetAppClient/create_storage_pool.php
index a283ab1c83a6..7d3273330bda 100644
--- a/NetApp/samples/V1/NetAppClient/create_storage_pool.php
+++ b/NetApp/samples/V1/NetAppClient/create_storage_pool.php
@@ -36,9 +36,10 @@
*
* @param string $formattedParent Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
- * @param string $storagePoolId Id of the requesting storage pool
- * If auto-generating Id server-side, remove this field and
- * id from the method_signature of Create RPC
+ * @param string $storagePoolId 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 int $storagePoolServiceLevel Service level of the storage pool
* @param int $storagePoolCapacityGib Capacity in GIB of the pool
* @param string $formattedStoragePoolNetwork VPC Network name.
diff --git a/NetApp/samples/V1/NetAppClient/create_volume.php b/NetApp/samples/V1/NetAppClient/create_volume.php
index 385d2864057f..afad235c0ce8 100644
--- a/NetApp/samples/V1/NetAppClient/create_volume.php
+++ b/NetApp/samples/V1/NetAppClient/create_volume.php
@@ -36,9 +36,10 @@
*
* @param string $formattedParent Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
- * @param string $volumeId Id of the requesting volume
- * If auto-generating Id server-side, remove this field and
- * Id from the method_signature of Create RPC
+ * @param string $volumeId 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 string $volumeShareName Share name of the volume
* @param string $formattedVolumeStoragePool StoragePool name of the volume
* Please see {@see NetAppClient::storagePoolName()} for help formatting this field.
diff --git a/NetApp/src/V1/ActiveDirectory.php b/NetApp/src/V1/ActiveDirectory.php
index deb7333dfe46..9176e1055524 100644
--- a/NetApp/src/V1/ActiveDirectory.php
+++ b/NetApp/src/V1/ActiveDirectory.php
@@ -93,6 +93,12 @@ class ActiveDirectory extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated string backup_operators = 12 [(.google.api.field_behavior) = OPTIONAL];
*/
private $backup_operators;
+ /**
+ * Optional. Users to be added to the Built-in Admininstrators group.
+ *
+ * Generated from protobuf field repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $administrators;
/**
* Optional. Domain users to be given the SeSecurityPrivilege.
*
@@ -187,6 +193,8 @@ class ActiveDirectory extends \Google\Protobuf\Internal\Message
* @type array|\Google\Protobuf\Internal\RepeatedField $backup_operators
* Optional. Users to be added to the Built-in Backup Operator active
* directory group.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $administrators
+ * Optional. Users to be added to the Built-in Admininstrators group.
* @type array|\Google\Protobuf\Internal\RepeatedField $security_operators
* Optional. Domain users to be given the SeSecurityPrivilege.
* @type string $kdc_hostname
@@ -549,6 +557,32 @@ public function setBackupOperators($var)
return $this;
}
+ /**
+ * Optional. Users to be added to the Built-in Admininstrators group.
+ *
+ * Generated from protobuf field repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAdministrators()
+ {
+ return $this->administrators;
+ }
+
+ /**
+ * Optional. Users to be added to the Built-in Admininstrators group.
+ *
+ * Generated from protobuf field repeated string administrators = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAdministrators($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->administrators = $arr;
+
+ return $this;
+ }
+
/**
* Optional. Domain users to be given the SeSecurityPrivilege.
*
diff --git a/NetApp/src/V1/CreateActiveDirectoryRequest.php b/NetApp/src/V1/CreateActiveDirectoryRequest.php
index 648de372c82b..6cdcacd44d11 100644
--- a/NetApp/src/V1/CreateActiveDirectoryRequest.php
+++ b/NetApp/src/V1/CreateActiveDirectoryRequest.php
@@ -28,7 +28,10 @@ class CreateActiveDirectoryRequest extends \Google\Protobuf\Internal\Message
*/
protected $active_directory = null;
/**
- * 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.
*
* Generated from protobuf field string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -38,7 +41,10 @@ class CreateActiveDirectoryRequest extends \Google\Protobuf\Internal\Message
* @param string $parent Required. Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param \Google\Cloud\NetApp\V1\ActiveDirectory $activeDirectory Required. Fields of the to be created active directory.
- * @param string $activeDirectoryId Required. ID of the active directory to create.
+ * @param string $activeDirectoryId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateActiveDirectoryRequest
*
@@ -63,7 +69,10 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\ActiveDirec
* @type \Google\Cloud\NetApp\V1\ActiveDirectory $active_directory
* Required. Fields of the to be created active directory.
* @type string $active_directory_id
- * 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.
* }
*/
public function __construct($data = NULL) {
@@ -134,7 +143,10 @@ public function setActiveDirectory($var)
}
/**
- * 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.
*
* Generated from protobuf field string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -145,7 +157,10 @@ public function getActiveDirectoryId()
}
/**
- * 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.
*
* Generated from protobuf field string active_directory_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateBackupPolicyRequest.php b/NetApp/src/V1/CreateBackupPolicyRequest.php
index e4fecae9fda9..62b07b5249d1 100644
--- a/NetApp/src/V1/CreateBackupPolicyRequest.php
+++ b/NetApp/src/V1/CreateBackupPolicyRequest.php
@@ -31,8 +31,9 @@ class CreateBackupPolicyRequest extends \Google\Protobuf\Internal\Message
/**
* 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.
*
* Generated from protobuf field string backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -45,8 +46,9 @@ class CreateBackupPolicyRequest extends \Google\Protobuf\Internal\Message
* @param \Google\Cloud\NetApp\V1\BackupPolicy $backupPolicy Required. A backupPolicy resource
* @param string $backupPolicyId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateBackupPolicyRequest
*
@@ -74,8 +76,9 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\BackupPolic
* @type string $backup_policy_id
* 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.
* }
*/
public function __construct($data = NULL) {
@@ -150,8 +153,9 @@ public function setBackupPolicy($var)
/**
* 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.
*
* Generated from protobuf field string backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -164,8 +168,9 @@ public function getBackupPolicyId()
/**
* 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.
*
* Generated from protobuf field string backup_policy_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateBackupRequest.php b/NetApp/src/V1/CreateBackupRequest.php
index 1015681efd9a..549ae6a0b8ef 100644
--- a/NetApp/src/V1/CreateBackupRequest.php
+++ b/NetApp/src/V1/CreateBackupRequest.php
@@ -25,10 +25,9 @@ class CreateBackupRequest extends \Google\Protobuf\Internal\Message
/**
* 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.
*
* Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -47,10 +46,9 @@ class CreateBackupRequest extends \Google\Protobuf\Internal\Message
* @param \Google\Cloud\NetApp\V1\Backup $backup Required. A backup resource
* @param string $backupId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateBackupRequest
*
@@ -76,10 +74,9 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\Backup $bac
* @type string $backup_id
* 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.
* @type \Google\Cloud\NetApp\V1\Backup $backup
* Required. A backup resource
* }
@@ -120,10 +117,9 @@ public function setParent($var)
/**
* 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.
*
* Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -136,10 +132,9 @@ public function getBackupId()
/**
* 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.
*
* Generated from protobuf field string backup_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateBackupVaultRequest.php b/NetApp/src/V1/CreateBackupVaultRequest.php
index 03bf4c22032e..b8b7f1d9c780 100644
--- a/NetApp/src/V1/CreateBackupVaultRequest.php
+++ b/NetApp/src/V1/CreateBackupVaultRequest.php
@@ -25,11 +25,9 @@ class CreateBackupVaultRequest extends \Google\Protobuf\Internal\Message
/**
* 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.
*
* Generated from protobuf field string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -48,11 +46,9 @@ class CreateBackupVaultRequest extends \Google\Protobuf\Internal\Message
* @param \Google\Cloud\NetApp\V1\BackupVault $backupVault Required. A backupVault resource
* @param string $backupVaultId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateBackupVaultRequest
*
@@ -78,11 +74,9 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\BackupVault
* @type string $backup_vault_id
* 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.
* @type \Google\Cloud\NetApp\V1\BackupVault $backup_vault
* Required. A backupVault resource
* }
@@ -123,11 +117,9 @@ public function setParent($var)
/**
* 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.
*
* Generated from protobuf field string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -140,11 +132,9 @@ public function getBackupVaultId()
/**
* 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.
*
* Generated from protobuf field string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateKmsConfigRequest.php b/NetApp/src/V1/CreateKmsConfigRequest.php
index 23686b8f475a..65ec1f26a3ce 100644
--- a/NetApp/src/V1/CreateKmsConfigRequest.php
+++ b/NetApp/src/V1/CreateKmsConfigRequest.php
@@ -22,9 +22,10 @@ class CreateKmsConfigRequest extends \Google\Protobuf\Internal\Message
*/
protected $parent = '';
/**
- * 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.
*
* Generated from protobuf field string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -40,9 +41,10 @@ class CreateKmsConfigRequest extends \Google\Protobuf\Internal\Message
* @param string $parent Required. Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param \Google\Cloud\NetApp\V1\KmsConfig $kmsConfig Required. The required parameters to create a new KmsConfig.
- * @param string $kmsConfigId Required. Id of the requesting KmsConfig
- * If auto-generating Id server-side, remove this field and
- * id from the method_signature of Create RPC
+ * @param string $kmsConfigId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateKmsConfigRequest
*
@@ -65,9 +67,10 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\KmsConfig $
* @type string $parent
* Required. Value for parent.
* @type string $kms_config_id
- * 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.
* @type \Google\Cloud\NetApp\V1\KmsConfig $kms_config
* Required. The required parameters to create a new KmsConfig.
* }
@@ -104,9 +107,10 @@ public function setParent($var)
}
/**
- * 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.
*
* Generated from protobuf field string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -117,9 +121,10 @@ public function getKmsConfigId()
}
/**
- * 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.
*
* Generated from protobuf field string kms_config_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateReplicationRequest.php b/NetApp/src/V1/CreateReplicationRequest.php
index 035cb1d97ad5..54f6d9e5b408 100644
--- a/NetApp/src/V1/CreateReplicationRequest.php
+++ b/NetApp/src/V1/CreateReplicationRequest.php
@@ -29,9 +29,10 @@ class CreateReplicationRequest extends \Google\Protobuf\Internal\Message
*/
protected $replication = null;
/**
- * 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.
*
* Generated from protobuf field string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -42,9 +43,10 @@ class CreateReplicationRequest extends \Google\Protobuf\Internal\Message
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
* Please see {@see NetAppClient::volumeName()} for help formatting this field.
* @param \Google\Cloud\NetApp\V1\Replication $replication Required. A replication resource
- * @param string $replicationId 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.
+ * @param string $replicationId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateReplicationRequest
*
@@ -70,9 +72,10 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\Replication
* @type \Google\Cloud\NetApp\V1\Replication $replication
* Required. A replication resource
* @type string $replication_id
- * 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.
* }
*/
public function __construct($data = NULL) {
@@ -145,9 +148,10 @@ public function setReplication($var)
}
/**
- * 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.
*
* Generated from protobuf field string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -158,9 +162,10 @@ public function getReplicationId()
}
/**
- * 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.
*
* Generated from protobuf field string replication_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateSnapshotRequest.php b/NetApp/src/V1/CreateSnapshotRequest.php
index f049eebe1833..5fddc032501c 100644
--- a/NetApp/src/V1/CreateSnapshotRequest.php
+++ b/NetApp/src/V1/CreateSnapshotRequest.php
@@ -29,9 +29,10 @@ class CreateSnapshotRequest extends \Google\Protobuf\Internal\Message
*/
protected $snapshot = null;
/**
- * 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.
*
* Generated from protobuf field string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -42,9 +43,10 @@ class CreateSnapshotRequest extends \Google\Protobuf\Internal\Message
* `projects/{project_id}/locations/{location}/volumes/{volume_id}`
* Please see {@see NetAppClient::volumeName()} for help formatting this field.
* @param \Google\Cloud\NetApp\V1\Snapshot $snapshot Required. A snapshot resource
- * @param string $snapshotId 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.
+ * @param string $snapshotId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateSnapshotRequest
*
@@ -70,9 +72,10 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\Snapshot $s
* @type \Google\Cloud\NetApp\V1\Snapshot $snapshot
* Required. A snapshot resource
* @type string $snapshot_id
- * 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.
* }
*/
public function __construct($data = NULL) {
@@ -145,9 +148,10 @@ public function setSnapshot($var)
}
/**
- * 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.
*
* Generated from protobuf field string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -158,9 +162,10 @@ public function getSnapshotId()
}
/**
- * 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.
*
* Generated from protobuf field string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateStoragePoolRequest.php b/NetApp/src/V1/CreateStoragePoolRequest.php
index 480605e743a6..b916487a536e 100644
--- a/NetApp/src/V1/CreateStoragePoolRequest.php
+++ b/NetApp/src/V1/CreateStoragePoolRequest.php
@@ -22,9 +22,10 @@ class CreateStoragePoolRequest extends \Google\Protobuf\Internal\Message
*/
protected $parent = '';
/**
- * 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.
*
* Generated from protobuf field string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -40,9 +41,10 @@ class CreateStoragePoolRequest extends \Google\Protobuf\Internal\Message
* @param string $parent Required. Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param \Google\Cloud\NetApp\V1\StoragePool $storagePool Required. The required parameters to create a new storage pool.
- * @param string $storagePoolId 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
+ * @param string $storagePoolId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateStoragePoolRequest
*
@@ -65,9 +67,10 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\StoragePool
* @type string $parent
* Required. Value for parent.
* @type string $storage_pool_id
- * 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.
* @type \Google\Cloud\NetApp\V1\StoragePool $storage_pool
* Required. The required parameters to create a new storage pool.
* }
@@ -104,9 +107,10 @@ public function setParent($var)
}
/**
- * 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.
*
* Generated from protobuf field string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -117,9 +121,10 @@ public function getStoragePoolId()
}
/**
- * 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.
*
* Generated from protobuf field string storage_pool_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/CreateVolumeRequest.php b/NetApp/src/V1/CreateVolumeRequest.php
index 6972f7b4b424..06a9898b3b71 100644
--- a/NetApp/src/V1/CreateVolumeRequest.php
+++ b/NetApp/src/V1/CreateVolumeRequest.php
@@ -22,9 +22,10 @@ class CreateVolumeRequest extends \Google\Protobuf\Internal\Message
*/
protected $parent = '';
/**
- * 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.
*
* Generated from protobuf field string volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -40,9 +41,10 @@ class CreateVolumeRequest extends \Google\Protobuf\Internal\Message
* @param string $parent Required. Value for parent. Please see
* {@see NetAppClient::locationName()} for help formatting this field.
* @param \Google\Cloud\NetApp\V1\Volume $volume Required. The volume being created.
- * @param string $volumeId Required. Id of the requesting volume
- * If auto-generating Id server-side, remove this field and
- * Id from the method_signature of Create RPC
+ * @param string $volumeId 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.
*
* @return \Google\Cloud\NetApp\V1\CreateVolumeRequest
*
@@ -65,9 +67,10 @@ public static function build(string $parent, \Google\Cloud\NetApp\V1\Volume $vol
* @type string $parent
* Required. Value for parent.
* @type string $volume_id
- * 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.
* @type \Google\Cloud\NetApp\V1\Volume $volume
* Required. The volume being created.
* }
@@ -104,9 +107,10 @@ public function setParent($var)
}
/**
- * 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.
*
* Generated from protobuf field string volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
@@ -117,9 +121,10 @@ public function getVolumeId()
}
/**
- * 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.
*
* Generated from protobuf field string volume_id = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
diff --git a/NetApp/src/V1/Replication/MirrorState.php b/NetApp/src/V1/Replication/MirrorState.php
index ea117456c3fe..d16a25cd6062 100644
--- a/NetApp/src/V1/Replication/MirrorState.php
+++ b/NetApp/src/V1/Replication/MirrorState.php
@@ -40,7 +40,7 @@ class MirrorState
*/
const STOPPED = 3;
/**
- * Replication is in progress.
+ * Incremental replication is in progress.
*
* Generated from protobuf enum TRANSFERRING = 4;
*/
diff --git a/NetApp/src/V1/StoragePool.php b/NetApp/src/V1/StoragePool.php
index e7998c0d8a9d..2fc711b98c27 100644
--- a/NetApp/src/V1/StoragePool.php
+++ b/NetApp/src/V1/StoragePool.php
@@ -124,6 +124,18 @@ class StoragePool extends \Google\Protobuf\Internal\Message
* @deprecated
*/
protected $global_access_allowed = null;
+ /**
+ * Optional. Specifies the replica zone for regional storagePool.
+ *
+ * Generated from protobuf field string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $replica_zone = '';
+ /**
+ * Optional. Specifies the active zone for regional storagePool.
+ *
+ * Generated from protobuf field string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $zone = '';
/**
* Constructor.
@@ -169,6 +181,10 @@ class StoragePool extends \Google\Protobuf\Internal\Message
* @type bool $global_access_allowed
* Deprecated. Used to allow SO pool to access AD or DNS server from other
* regions.
+ * @type string $replica_zone
+ * Optional. Specifies the replica zone for regional storagePool.
+ * @type string $zone
+ * Optional. Specifies the active zone for regional storagePool.
* }
*/
public function __construct($data = NULL) {
@@ -652,5 +668,57 @@ public function setGlobalAccessAllowed($var)
return $this;
}
+ /**
+ * Optional. Specifies the replica zone for regional storagePool.
+ *
+ * Generated from protobuf field string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getReplicaZone()
+ {
+ return $this->replica_zone;
+ }
+
+ /**
+ * Optional. Specifies the replica zone for regional storagePool.
+ *
+ * Generated from protobuf field string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setReplicaZone($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->replica_zone = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the active zone for regional storagePool.
+ *
+ * Generated from protobuf field string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getZone()
+ {
+ return $this->zone;
+ }
+
+ /**
+ * Optional. Specifies the active zone for regional storagePool.
+ *
+ * Generated from protobuf field string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setZone($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->zone = $var;
+
+ return $this;
+ }
+
}
diff --git a/NetApp/src/V1/TransferStats.php b/NetApp/src/V1/TransferStats.php
index be2e27ec5199..4459ecf16afc 100644
--- a/NetApp/src/V1/TransferStats.php
+++ b/NetApp/src/V1/TransferStats.php
@@ -16,13 +16,14 @@
class TransferStats extends \Google\Protobuf\Internal\Message
{
/**
- * bytes trasferred so far in current transfer.
+ * Cumulative bytes trasferred so far for the replication relatinonship.
*
* Generated from protobuf field optional int64 transfer_bytes = 1;
*/
protected $transfer_bytes = null;
/**
- * Total time taken during transfer.
+ * Cumulative time taken across all transfers for the replication
+ * relationship.
*
* Generated from protobuf field optional .google.protobuf.Duration total_transfer_duration = 2;
*/
@@ -72,9 +73,10 @@ class TransferStats extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type int|string $transfer_bytes
- * bytes trasferred so far in current transfer.
+ * Cumulative bytes trasferred so far for the replication relatinonship.
* @type \Google\Protobuf\Duration $total_transfer_duration
- * Total time taken during transfer.
+ * Cumulative time taken across all transfers for the replication
+ * relationship.
* @type int|string $last_transfer_bytes
* Last transfer size in bytes.
* @type \Google\Protobuf\Duration $last_transfer_duration
@@ -96,7 +98,7 @@ public function __construct($data = NULL) {
}
/**
- * bytes trasferred so far in current transfer.
+ * Cumulative bytes trasferred so far for the replication relatinonship.
*
* Generated from protobuf field optional int64 transfer_bytes = 1;
* @return int|string
@@ -117,7 +119,7 @@ public function clearTransferBytes()
}
/**
- * bytes trasferred so far in current transfer.
+ * Cumulative bytes trasferred so far for the replication relatinonship.
*
* Generated from protobuf field optional int64 transfer_bytes = 1;
* @param int|string $var
@@ -132,7 +134,8 @@ public function setTransferBytes($var)
}
/**
- * Total time taken during transfer.
+ * Cumulative time taken across all transfers for the replication
+ * relationship.
*
* Generated from protobuf field optional .google.protobuf.Duration total_transfer_duration = 2;
* @return \Google\Protobuf\Duration|null
@@ -153,7 +156,8 @@ public function clearTotalTransferDuration()
}
/**
- * Total time taken during transfer.
+ * Cumulative time taken across all transfers for the replication
+ * relationship.
*
* Generated from protobuf field optional .google.protobuf.Duration total_transfer_duration = 2;
* @param \Google\Protobuf\Duration $var
diff --git a/NetApp/src/V1/Volume.php b/NetApp/src/V1/Volume.php
index d4bad094dd85..b62b18f1c3d4 100644
--- a/NetApp/src/V1/Volume.php
+++ b/NetApp/src/V1/Volume.php
@@ -210,12 +210,39 @@ class Volume extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated .google.cloud.netapp.v1.RestrictedAction restricted_actions = 31 [(.google.api.field_behavior) = OPTIONAL];
*/
private $restricted_actions;
+ /**
+ * Optional. Flag indicating if the volume will be a large capacity volume or
+ * a regular volume.
+ *
+ * Generated from protobuf field bool large_capacity = 32 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $large_capacity = false;
+ /**
+ * Optional. Flag indicating if the volume will have an IP address per node
+ * for volumes supporting multiple IP endpoints. Only the volume with
+ * large_capacity will be allowed to have multiple endpoints.
+ *
+ * Generated from protobuf field bool multiple_endpoints = 33 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $multiple_endpoints = false;
/**
* Tiering policy for the volume.
*
* Generated from protobuf field optional .google.cloud.netapp.v1.TieringPolicy tiering_policy = 34;
*/
protected $tiering_policy = null;
+ /**
+ * Output only. Specifies the replica zone for regional volume.
+ *
+ * Generated from protobuf field string replica_zone = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $replica_zone = '';
+ /**
+ * Output only. Specifies the active zone for regional volume.
+ *
+ * Generated from protobuf field string zone = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $zone = '';
/**
* Constructor.
@@ -294,8 +321,19 @@ class Volume extends \Google\Protobuf\Internal\Message
* BackupConfig of the volume.
* @type array|\Google\Protobuf\Internal\RepeatedField $restricted_actions
* Optional. List of actions that are restricted on this volume.
+ * @type bool $large_capacity
+ * Optional. Flag indicating if the volume will be a large capacity volume or
+ * a regular volume.
+ * @type bool $multiple_endpoints
+ * Optional. Flag indicating if the volume will have an IP address per node
+ * for volumes supporting multiple IP endpoints. Only the volume with
+ * large_capacity will be allowed to have multiple endpoints.
* @type \Google\Cloud\NetApp\V1\TieringPolicy $tiering_policy
* Tiering policy for the volume.
+ * @type string $replica_zone
+ * Output only. Specifies the replica zone for regional volume.
+ * @type string $zone
+ * Output only. Specifies the active zone for regional volume.
* }
*/
public function __construct($data = NULL) {
@@ -1177,6 +1215,64 @@ public function setRestrictedActions($var)
return $this;
}
+ /**
+ * Optional. Flag indicating if the volume will be a large capacity volume or
+ * a regular volume.
+ *
+ * Generated from protobuf field bool large_capacity = 32 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getLargeCapacity()
+ {
+ return $this->large_capacity;
+ }
+
+ /**
+ * Optional. Flag indicating if the volume will be a large capacity volume or
+ * a regular volume.
+ *
+ * Generated from protobuf field bool large_capacity = 32 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setLargeCapacity($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->large_capacity = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Flag indicating if the volume will have an IP address per node
+ * for volumes supporting multiple IP endpoints. Only the volume with
+ * large_capacity will be allowed to have multiple endpoints.
+ *
+ * Generated from protobuf field bool multiple_endpoints = 33 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getMultipleEndpoints()
+ {
+ return $this->multiple_endpoints;
+ }
+
+ /**
+ * Optional. Flag indicating if the volume will have an IP address per node
+ * for volumes supporting multiple IP endpoints. Only the volume with
+ * large_capacity will be allowed to have multiple endpoints.
+ *
+ * Generated from protobuf field bool multiple_endpoints = 33 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setMultipleEndpoints($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->multiple_endpoints = $var;
+
+ return $this;
+ }
+
/**
* Tiering policy for the volume.
*
@@ -1213,5 +1309,57 @@ public function setTieringPolicy($var)
return $this;
}
+ /**
+ * Output only. Specifies the replica zone for regional volume.
+ *
+ * Generated from protobuf field string replica_zone = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getReplicaZone()
+ {
+ return $this->replica_zone;
+ }
+
+ /**
+ * Output only. Specifies the replica zone for regional volume.
+ *
+ * Generated from protobuf field string replica_zone = 36 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setReplicaZone($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->replica_zone = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Specifies the active zone for regional volume.
+ *
+ * Generated from protobuf field string zone = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getZone()
+ {
+ return $this->zone;
+ }
+
+ /**
+ * Output only. Specifies the active zone for regional volume.
+ *
+ * Generated from protobuf field string zone = 37 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setZone($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->zone = $var;
+
+ return $this;
+ }
+
}
diff --git a/NetApp/tests/Unit/V1/Client/NetAppClientTest.php b/NetApp/tests/Unit/V1/Client/NetAppClientTest.php
index 58eab225ebaf..3ba5037264ac 100644
--- a/NetApp/tests/Unit/V1/Client/NetAppClientTest.php
+++ b/NetApp/tests/Unit/V1/Client/NetAppClientTest.php
@@ -1266,6 +1266,8 @@ public function createStoragePoolTest()
$ldapEnabled = false;
$psaRange = 'psaRange1004849276';
$globalAccessAllowed = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new StoragePool();
$expectedResponse->setName($name);
$expectedResponse->setCapacityGib($capacityGib);
@@ -1279,6 +1281,8 @@ public function createStoragePoolTest()
$expectedResponse->setLdapEnabled($ldapEnabled);
$expectedResponse->setPsaRange($psaRange);
$expectedResponse->setGlobalAccessAllowed($globalAccessAllowed);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -1443,6 +1447,10 @@ public function createVolumeTest()
$activeDirectory = 'activeDirectory475662452';
$kmsConfig = 'kmsConfig917255152';
$hasReplication = false;
+ $largeCapacity = true;
+ $multipleEndpoints = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new Volume();
$expectedResponse->setName($name);
$expectedResponse->setStateDetails($stateDetails);
@@ -1461,6 +1469,10 @@ public function createVolumeTest()
$expectedResponse->setActiveDirectory($activeDirectory);
$expectedResponse->setKmsConfig($kmsConfig);
$expectedResponse->setHasReplication($hasReplication);
+ $expectedResponse->setLargeCapacity($largeCapacity);
+ $expectedResponse->setMultipleEndpoints($multipleEndpoints);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -3379,6 +3391,8 @@ public function getStoragePoolTest()
$ldapEnabled = false;
$psaRange = 'psaRange1004849276';
$globalAccessAllowed = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new StoragePool();
$expectedResponse->setName($name2);
$expectedResponse->setCapacityGib($capacityGib);
@@ -3392,6 +3406,8 @@ public function getStoragePoolTest()
$expectedResponse->setLdapEnabled($ldapEnabled);
$expectedResponse->setPsaRange($psaRange);
$expectedResponse->setGlobalAccessAllowed($globalAccessAllowed);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->storagePoolName('[PROJECT]', '[LOCATION]', '[STORAGE_POOL]');
@@ -3471,6 +3487,10 @@ public function getVolumeTest()
$activeDirectory = 'activeDirectory475662452';
$kmsConfig = 'kmsConfig917255152';
$hasReplication = false;
+ $largeCapacity = true;
+ $multipleEndpoints = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new Volume();
$expectedResponse->setName($name2);
$expectedResponse->setStateDetails($stateDetails);
@@ -3489,6 +3509,10 @@ public function getVolumeTest()
$expectedResponse->setActiveDirectory($activeDirectory);
$expectedResponse->setKmsConfig($kmsConfig);
$expectedResponse->setHasReplication($hasReplication);
+ $expectedResponse->setLargeCapacity($largeCapacity);
+ $expectedResponse->setMultipleEndpoints($multipleEndpoints);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->volumeName('[PROJECT]', '[LOCATION]', '[VOLUME]');
@@ -4487,6 +4511,10 @@ public function revertVolumeTest()
$activeDirectory = 'activeDirectory475662452';
$kmsConfig = 'kmsConfig917255152';
$hasReplication = false;
+ $largeCapacity = true;
+ $multipleEndpoints = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new Volume();
$expectedResponse->setName($name2);
$expectedResponse->setStateDetails($stateDetails);
@@ -4505,6 +4533,10 @@ public function revertVolumeTest()
$expectedResponse->setActiveDirectory($activeDirectory);
$expectedResponse->setKmsConfig($kmsConfig);
$expectedResponse->setHasReplication($hasReplication);
+ $expectedResponse->setLargeCapacity($largeCapacity);
+ $expectedResponse->setMultipleEndpoints($multipleEndpoints);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -5800,6 +5832,8 @@ public function updateStoragePoolTest()
$ldapEnabled = false;
$psaRange = 'psaRange1004849276';
$globalAccessAllowed = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new StoragePool();
$expectedResponse->setName($name);
$expectedResponse->setCapacityGib($capacityGib);
@@ -5813,6 +5847,8 @@ public function updateStoragePoolTest()
$expectedResponse->setLdapEnabled($ldapEnabled);
$expectedResponse->setPsaRange($psaRange);
$expectedResponse->setGlobalAccessAllowed($globalAccessAllowed);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -5967,6 +6003,10 @@ public function updateVolumeTest()
$activeDirectory = 'activeDirectory475662452';
$kmsConfig = 'kmsConfig917255152';
$hasReplication = false;
+ $largeCapacity = true;
+ $multipleEndpoints = false;
+ $replicaZone = 'replicaZone1404354259';
+ $zone = 'zone3744684';
$expectedResponse = new Volume();
$expectedResponse->setName($name);
$expectedResponse->setStateDetails($stateDetails);
@@ -5985,6 +6025,10 @@ public function updateVolumeTest()
$expectedResponse->setActiveDirectory($activeDirectory);
$expectedResponse->setKmsConfig($kmsConfig);
$expectedResponse->setHasReplication($hasReplication);
+ $expectedResponse->setLargeCapacity($largeCapacity);
+ $expectedResponse->setMultipleEndpoints($multipleEndpoints);
+ $expectedResponse->setReplicaZone($replicaZone);
+ $expectedResponse->setZone($zone);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();