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
-
(::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo) — If the client is a backup and recovery appliance, this
contains metadata about why the lock exists.
Note: The following fields are mutually exclusive:
backup_appliance_lock_info
,service_lock_info
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#backup_appliance_lock_info=
def backup_appliance_lock_info=(value) -> ::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo
-
value (::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo) — If the client is a backup and recovery appliance, this
contains metadata about why the lock exists.
Note: The following fields are mutually exclusive:
backup_appliance_lock_info
,service_lock_info
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo) — If the client is a backup and recovery appliance, this
contains metadata about why the lock exists.
Note: The following fields are mutually exclusive:
backup_appliance_lock_info
,service_lock_info
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#lock_until_time
def lock_until_time() -> ::Google::Protobuf::Timestamp
- (::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
- value (::Google::Protobuf::Timestamp) — Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
- (::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
-
(::Google::Cloud::BackupDR::V1::ServiceLockInfo) — Output only. Contains metadata about the lock exist for Google Cloud
native backups.
Note: The following fields are mutually exclusive:
service_lock_info
,backup_appliance_lock_info
. If a field in that set is populated, all other fields in the set will automatically be cleared.