Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class LastBackupState.
LastBackupstate tracks whether the last backup was not yet started, successful, failed, or could not be run because of the lack of permissions.
Protobuf type google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState
Namespace
Google \ Cloud \ BackupDR \ V1 \ BackupConfigInfoMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
LAST_BACKUP_STATE_UNSPECIFIED
Value: 0
Status not set.
Generated from protobuf enum LAST_BACKUP_STATE_UNSPECIFIED = 0;
FIRST_BACKUP_PENDING
Value: 1
The first backup has not yet completed
Generated from protobuf enum FIRST_BACKUP_PENDING = 1;
SUCCEEDED
Value: 2
The most recent backup was successful
Generated from protobuf enum SUCCEEDED = 2;
FAILED
Value: 3
The most recent backup failed
Generated from protobuf enum FAILED = 3;
PERMISSION_DENIED
Value: 4
The most recent backup could not be run/failed because of the lack of permissions
Generated from protobuf enum PERMISSION_DENIED = 4;