public sealed class BackupLock : IMessage<BackupLock>, IEquatable<BackupLock>, IDeepCloneable<BackupLock>, IBufferMessage, IMessageReference documentation and code samples for the Backup and DR Service v1 API class BackupLock.
BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.
Implements
IMessageBackupLock, IEquatableBackupLock, IDeepCloneableBackupLock, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
BackupLock()
public BackupLock()BackupLock(BackupLock)
public BackupLock(BackupLock other)| Parameter | |
|---|---|
| Name | Description |
other |
BackupLock |
Properties
BackupApplianceLockInfo
public BackupApplianceLockInfo BackupApplianceLockInfo { get; set; }If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
| Property Value | |
|---|---|
| Type | Description |
BackupApplianceLockInfo |
|
ClientLockInfoCase
public BackupLock.ClientLockInfoOneofCase ClientLockInfoCase { get; }| Property Value | |
|---|---|
| Type | Description |
BackupLockClientLockInfoOneofCase |
|
LockUntilTime
public Timestamp LockUntilTime { get; set; }Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
ServiceLockInfo
public ServiceLockInfo ServiceLockInfo { get; set; }Output only. Contains metadata about the lock exist for Google Cloud native backups.
| Property Value | |
|---|---|
| Type | Description |
ServiceLockInfo |
|