View Source GoogleApi.BackupDR.V1.Model.BackupLock (google_api_backup_dr v0.5.0)

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

Attributes

  • backupApplianceLockInfo (type: GoogleApi.BackupDR.V1.Model.BackupApplianceLockInfo.t, default: nil) - If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
  • lockUntilTime (type: DateTime.t, default: nil) - Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
  • serviceLockInfo (type: GoogleApi.BackupDR.V1.Model.ServiceLockInfo.t, default: nil) - Output only. Contains metadata about the lock exist for Google Cloud native backups.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.BackupLock{
  backupApplianceLockInfo:
    GoogleApi.BackupDR.V1.Model.BackupApplianceLockInfo.t() | nil,
  lockUntilTime: DateTime.t() | nil,
  serviceLockInfo: GoogleApi.BackupDR.V1.Model.ServiceLockInfo.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.