# Google Cloud Backup Dr V1 Client - Class LastBackupState (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 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 \\ BackupConfigInfo

## Methods

### 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;`