Reference documentation and code samples for the Google Cloud Net App V1 Client class CreateBackupVaultRequest.
CreateBackupVaultRequest creates a backup vault.
Generated from protobuf message google.cloud.netapp.v1.CreateBackupVaultRequest
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The location to create the backup vaults, in the format projects/{project_id}/locations/{location}
↳ 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.
↳ backup_vault
getParent
Required. The location to create the backup vaults, in the format projects/{project_id}/locations/{location}
string
setParent
Required. The location to create the backup vaults, in the format projects/{project_id}/locations/{location}
var
string
$this
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.
string
setBackupVaultId
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.
var
string
$this
getBackupVault
Required. A backupVault resource
hasBackupVault
clearBackupVault
setBackupVault
Required. A backupVault resource
$this
static::build
parent
string
Required. The location to create the backup vaults, in the format projects/{project_id}/locations/{location}
Please see Google\Cloud\NetApp\V1\NetAppClient::locationName()
for help formatting this field.
backupVault
backupVaultId
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.