Interface BackupLockOrBuilder (0.37.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface BackupLockOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getBackupApplianceLockInfo()
publicabstractBackupApplianceLockInfogetBackupApplianceLockInfo()If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
.google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;
| Returns | |
|---|---|
| Type | Description |
BackupApplianceLockInfo |
The backupApplianceLockInfo. |
getBackupApplianceLockInfoOrBuilder()
publicabstractBackupApplianceLockInfoOrBuildergetBackupApplianceLockInfoOrBuilder()If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
.google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;
| Returns | |
|---|---|
| Type | Description |
BackupApplianceLockInfoOrBuilder |
|
getClientLockInfoCase()
publicabstractBackupLock.ClientLockInfoCasegetClientLockInfoCase()| Returns | |
|---|---|
| Type | Description |
BackupLock.ClientLockInfoCase |
|
getLockUntilTime()
publicabstractTimestampgetLockUntilTime()Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
.google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lockUntilTime. |
getLockUntilTimeOrBuilder()
publicabstractTimestampOrBuildergetLockUntilTimeOrBuilder()Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
.google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getServiceLockInfo()
publicabstractServiceLockInfogetServiceLockInfo()Output only. Contains metadata about the lock exist for Google Cloud native backups.
.google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServiceLockInfo |
The serviceLockInfo. |
getServiceLockInfoOrBuilder()
publicabstractServiceLockInfoOrBuildergetServiceLockInfoOrBuilder()Output only. Contains metadata about the lock exist for Google Cloud native backups.
.google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ServiceLockInfoOrBuilder |
|
hasBackupApplianceLockInfo()
publicabstractbooleanhasBackupApplianceLockInfo()If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
.google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the backupApplianceLockInfo field is set. |
hasLockUntilTime()
publicabstractbooleanhasLockUntilTime()Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
.google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lockUntilTime field is set. |
hasServiceLockInfo()
publicabstractbooleanhasServiceLockInfo()Output only. Contains metadata about the lock exist for Google Cloud native backups.
.google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serviceLockInfo field is set. |