Class: Google::Cloud::BackupDR::V1::BackupLock
- Inherits:
-
Object
- Object
- Google::Cloud::BackupDR::V1::BackupLock
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/backupdr/v1/backupvault.rb
Overview
BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
Instance Attribute Summary collapse
-
#backup_appliance_lock_info ⇒ ::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo
If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
-
#lock_until_time ⇒ ::Google::Protobuf::Timestamp
Required.
-
#service_lock_info ⇒ ::Google::Cloud::BackupDR::V1::ServiceLockInfo
readonly
Output only.
Instance Attribute Details
#backup_appliance_lock_info ⇒ ::Google::Cloud::BackupDR::V1::BackupApplianceLockInfo
Returns 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.
471 472 473 474 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 471 class BackupLock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#lock_until_time ⇒ ::Google::Protobuf::Timestamp
Returns Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
471 472 473 474 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 471 class BackupLock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service_lock_info ⇒ ::Google::Cloud::BackupDR::V1::ServiceLockInfo (readonly)
Returns 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.
471 472 473 474 |
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 471 class BackupLock include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |