Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::ResourceBackupConfig.
ResourceBackupConfig represents a resource along with its backup configurations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_configs_details
def backup_configs_details() -> ::Array<::Google::Cloud::BackupDR::V1::BackupConfigDetails>
Returns
- (::Array<::Google::Cloud::BackupDR::V1::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_configs_details=
def backup_configs_details=(value) -> ::Array<::Google::Cloud::BackupDR::V1::BackupConfigDetails>
Parameter
- value (::Array<::Google::Cloud::BackupDR::V1::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.
Returns
- (::Array<::Google::Cloud::BackupDR::V1::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
def backup_configured() -> ::Boolean
Returns
- (::Boolean) — Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.
#name
def name() -> ::String
Returns
- (::String) — Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
Returns
- (::String) — Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
#target_resource
def target_resource() -> ::String
Returns
- (::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
def target_resource_display_name() -> ::String
Returns
- (::String) — Output only. The human friendly name of the target resource.
#target_resource_labels
def target_resource_labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels associated with the target resource.
#target_resource_labels=
def target_resource_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Labels associated with the target resource.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Labels associated with the target resource.
#target_resource_type
def target_resource_type() -> ::Google::Cloud::BackupDR::V1::ResourceBackupConfig::ResourceType
Returns
- (::Google::Cloud::BackupDR::V1::ResourceBackupConfig::ResourceType) — Output only. The type of the target resource.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. The unique identifier of the resource backup config.
#vaulted
def vaulted() -> ::Boolean
Returns
- (::Boolean) — 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.