Class ResourceBackupConfig (0.7.0)

ResourceBackupConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ResourceBackupConfig represents a resource along with its backup configurations.

Attributes

Name Description
name str
Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
uid str
Output only. The unique identifier of the resource backup config.
target_resource str
Output only. The `full resource name
target_resource_display_name str
Output only. The human friendly name of the target resource.
target_resource_type google.cloud.backupdr_v1.types.ResourceBackupConfig.ResourceType
Output only. The type of the target resource.
target_resource_labels MutableMapping[str, str]
Labels associated with the target resource.
backup_configs_details MutableSequence[google.cloud.backupdr_v1.types.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.

Classes

ResourceType

ResourceType(value)

The type of the cloud resource.

TargetResourceLabelsEntry

TargetResourceLabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.