Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class ResourceBackupConfig.
ResourceBackupConfig represents a resource along with its backup configurations.
Generated from protobuf message google.cloud.backupdr.v1.ResourceBackupConfig
Namespace
Google \ Cloud \ BackupDR \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
↳ uid
string
Output only. The unique identifier of the resource backup config.
↳ target_resource
string
Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType .
↳ target_resource_display_name
string
Output only. The human friendly name of the target resource.
↳ target_resource_type
int
Output only. The type of the target resource.
↳ target_resource_labels
↳ backup_configs_details
array< BackupConfigDetails
>
Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.
↳ backup_configured
bool
Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
↳ vaulted
bool
Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set. set.
getName
Identifier. The resource name of the ResourceBackupConfig.
Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
string
setName
Identifier. The resource name of the ResourceBackupConfig.
Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
var
string
$this
getUid
Output only. The unique identifier of the resource backup config.
string
setUid
Output only. The unique identifier of the resource backup config.
var
string
$this
getTargetResource
Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType .
string
setTargetResource
Output only. The full resource name of the cloud resource that this configuration applies to. Supported resource types are ResourceBackupConfig.ResourceType .
var
string
$this
getTargetResourceDisplayName
Output only. The human friendly name of the target resource.
string
setTargetResourceDisplayName
Output only. The human friendly name of the target resource.
var
string
$this
getTargetResourceType
Output only. The type of the target resource.
setTargetResourceType
Output only. The type of the target resource.
$this
getTargetResourceLabels
Labels associated with the target resource.
setTargetResourceLabels
Labels associated with the target resource.
$this
getBackupConfigsDetails
Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.
setBackupConfigsDetails
Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.
$this
getBackupConfigured
Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
bool
setBackupConfigured
Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
var
bool
$this
getVaulted
Output only. Whether the target resource is protected by a backup vault.
This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set. set.
bool
setVaulted
Output only. Whether the target resource is protected by a backup vault.
This is true if the backup_configs_details is not empty and any of the ResourceBackupConfig.backup_configs_details has a backup configuration with BackupConfigDetails.backup_vault set. set.
var
bool
$this

