Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::AutoProtectionDetails.
AutoProtectionDetails contains the protection details of a resource from the current binding's perspective.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_plan_association
def backup_plan_association() -> ::String
Returns
- (::String) — Output only. Resource name of backup plan association linked to the resource, if any. Format: projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
#data_source
def data_source() -> ::String
Returns
- (::String) — Output only. Resource name of the datasource linked to the resource, if any. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{dataSourceId}
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Output only. Error during last sync for protection/unprotection, if any.
#state
def state() -> ::Google::Cloud::BackupDR::V1beta::AutoProtectionDetails::State
Returns
- (::Google::Cloud::BackupDR::V1beta::AutoProtectionDetails::State) — Output only. Protection state of the resource from the current binding's perspective. Output only.