# Google Cloud Backup Dr V1 Client - Class DataSourceBackupConfigInfo (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 DataSourceBackupConfigInfo.

Information of backup configuration on the DataSource.

Generated from protobuf message `google.cloud.backupdr.v1.DataSourceBackupConfigInfo`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ last_backup_state` | `int` Output only. The status of the last backup in this DataSource |
| `↳ last_successful_backup_consistency_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp of the last successful backup to this DataSource. |

### getLastBackupState

Output only. The status of the last backup in this DataSource

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [LastBackupState](https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupConfigInfo.LastBackupState). |

### setLastBackupState

Output only. The status of the last backup in this DataSource

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [LastBackupState](https://docs.cloud.google.com/php/docs/reference/cloud-backupdr/latest/V1.BackupConfigInfo.LastBackupState). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLastSuccessfulBackupConsistencyTime

Output only. Timestamp of the last successful backup to this DataSource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasLastSuccessfulBackupConsistencyTime

### clearLastSuccessfulBackupConsistencyTime

### setLastSuccessfulBackupConsistencyTime

Output only. Timestamp of the last successful backup to this DataSource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |