Class: Google::Cloud::BackupDR::V1::BackupLock

Inherits:
Object
  • Object
show all
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

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.

Returns:



423
424
425
426
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 423

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.

Returns:

  • (::Google::Protobuf::Timestamp)

    Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.



423
424
425
426
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 423

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.

Returns:



423
424
425
426
# File 'proto_docs/google/cloud/backupdr/v1/backupvault.rb', line 423

class BackupLock
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end