Reference documentation and code samples for the Google Cloud Net App V1 Client class BackupVault.
A NetApp BackupVault.
Generated from protobuf message google.cloud.netapp.v1.BackupVault
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
.
↳ state
int
Output only. The backup vault state.
↳ create_time
↳ description
string
Description of the backup vault.
↳ labels
↳ backup_vault_type
int
Optional. Type of backup vault to be created. Default is IN_REGION.
↳ source_region
string
Output only. Region in which the backup vault is created. Format: projects/{project_id}/locations/{location}
↳ backup_region
string
Optional. Region where the backups are stored. Format: projects/{project_id}/locations/{location}
↳ source_backup_vault
string
Output only. Name of the Backup vault created in source region. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
↳ destination_backup_vault
string
Output only. Name of the Backup vault created in backup region. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
↳ backup_retention_policy
BackupVault\BackupRetentionPolicy
Optional. Backup retention policy defining the retenton of backups.
getName
Identifier. The resource name of the backup vault.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
.
string
setName
Identifier. The resource name of the backup vault.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
.
var
string
$this
getState
Output only. The backup vault state.
int
setState
Output only. The backup vault state.
var
int
$this
getCreateTime
Output only. Create time of the backup vault.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time of the backup vault.
$this
getDescription
Description of the backup vault.
string
setDescription
Description of the backup vault.
var
string
$this
getLabels
Resource labels to represent user provided metadata.
setLabels
Resource labels to represent user provided metadata.
$this
getBackupVaultType
Optional. Type of backup vault to be created.
Default is IN_REGION.
int
setBackupVaultType
Optional. Type of backup vault to be created.
Default is IN_REGION.
var
int
$this
getSourceRegion
Output only. Region in which the backup vault is created.
Format: projects/{project_id}/locations/{location}
string
setSourceRegion
Output only. Region in which the backup vault is created.
Format: projects/{project_id}/locations/{location}
var
string
$this
getBackupRegion
Optional. Region where the backups are stored.
Format: projects/{project_id}/locations/{location}
string
setBackupRegion
Optional. Region where the backups are stored.
Format: projects/{project_id}/locations/{location}
var
string
$this
getSourceBackupVault
Output only. Name of the Backup vault created in source region.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
string
setSourceBackupVault
Output only. Name of the Backup vault created in source region.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
var
string
$this
getDestinationBackupVault
Output only. Name of the Backup vault created in backup region.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
string
setDestinationBackupVault
Output only. Name of the Backup vault created in backup region.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
var
string
$this
getBackupRetentionPolicy
Optional. Backup retention policy defining the retenton of backups.
hasBackupRetentionPolicy
clearBackupRetentionPolicy
setBackupRetentionPolicy
Optional. Backup retention policy defining the retenton of backups.
$this