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

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

BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup_appliance_lock_info

def backup_appliance_lock_info() -> ::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo
Returns

#backup_appliance_lock_info=

def backup_appliance_lock_info=(value) -> ::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo
Parameter
Returns

#lock_until_time

def lock_until_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.

#lock_until_time=

def lock_until_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
Returns
  • (::Google::Protobuf::Timestamp) — Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.

#service_lock_info

def service_lock_info() -> ::Google::Cloud::BackupDR::V1::ServiceLockInfo
Returns