Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::Backup (v0.4.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::Backup.

Message describing a Backup object.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup_appliance_backup_properties

def backup_appliance_backup_properties() -> ::Google::Cloud::BackupDR::V1::BackupApplianceBackupProperties
Returns

#backup_appliance_locks

def backup_appliance_locks() -> ::Array<::Google::Cloud::BackupDR::V1::BackupLock>
Returns

#backup_appliance_locks=

def backup_appliance_locks=(value) -> ::Array<::Google::Cloud::BackupDR::V1::BackupLock>
Parameter
Returns

#backup_type

def backup_type() -> ::Google::Cloud::BackupDR::V1::Backup::BackupType
Returns

#compute_instance_backup_properties

def compute_instance_backup_properties() -> ::Google::Cloud::BackupDR::V1::ComputeInstanceBackupProperties
Returns

#consistency_time

def consistency_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Output only. The description of the Backup instance (2048 characters or less).

#enforced_retention_end_time

def enforced_retention_end_time() -> ::Google::Protobuf::Timestamp
Returns

#enforced_retention_end_time=

def enforced_retention_end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. Server specified ETag to prevent updates from overwriting each other.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. Server specified ETag to prevent updates from overwriting each other.
Returns
  • (::String) — Optional. Server specified ETag to prevent updates from overwriting each other.

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns

#expire_time=

def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#gcp_backup_plan_info

def gcp_backup_plan_info() -> ::Google::Cloud::BackupDR::V1::Backup::GCPBackupPlanInfo
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Identifier. Name of the backup to create. It must have the format"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}". {backup} cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.

#resource_size_bytes

def resource_size_bytes() -> ::Integer
Returns
  • (::Integer) — Output only. source resource size in bytes at the time of the backup.

#service_locks

def service_locks() -> ::Array<::Google::Cloud::BackupDR::V1::BackupLock>
Returns

#state

def state() -> ::Google::Cloud::BackupDR::V1::Backup::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns