Class BackupLock
BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
Implements
Inherited Members
Namespace: Google.Apis.Backupdr.v1.Data
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class BackupLock : IDirectResponseSchema
Properties
BackupApplianceLockInfo
If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
Declaration
[JsonProperty("backupApplianceLockInfo")]
public virtual BackupApplianceLockInfo BackupApplianceLockInfo { get; set; }
Property Value
Type | Description |
---|---|
BackupApplianceLockInfo |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LockUntilTime
object representation of LockUntilTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LockUntilTimeDateTimeOffset instead.")]
public virtual object LockUntilTime { get; set; }
Property Value
Type | Description |
---|---|
object |
LockUntilTimeDateTimeOffset
DateTimeOffset representation of LockUntilTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? LockUntilTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
LockUntilTimeRaw
Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
Declaration
[JsonProperty("lockUntilTime")]
public virtual string LockUntilTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceLockInfo
Output only. Contains metadata about the lock exist for Google Cloud native backups.
Declaration
[JsonProperty("serviceLockInfo")]
public virtual ServiceLockInfo ServiceLockInfo { get; set; }
Property Value
Type | Description |
---|---|
ServiceLockInfo |