Reference documentation and code samples for the Google Cloud Net App V1 Client class BackupConfig.
BackupConfig contains backup related config on a volume.
Generated from protobuf message google.cloud.netapp.v1.BackupConfig
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ backup_policies
array
Optional. When specified, schedule backups will be created based on the policy configuration.
↳ backup_vault
string
Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
↳ scheduled_backup_enabled
bool
Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.
getBackupPolicies
Optional. When specified, schedule backups will be created based on the policy configuration.
setBackupPolicies
Optional. When specified, schedule backups will be created based on the policy configuration.
var
string[]
$this
getBackupVault
Optional. Name of backup vault.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
string
setBackupVault
Optional. Name of backup vault.
Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
var
string
$this
getScheduledBackupEnabled
Optional. When set to true, scheduled backup is enabled on the volume.
This field should be nil when there's no backup policy attached.
bool
hasScheduledBackupEnabled
clearScheduledBackupEnabled
setScheduledBackupEnabled
Optional. When set to true, scheduled backup is enabled on the volume.
This field should be nil when there's no backup policy attached.
var
bool
$this