1.8.4 (latest) 1.7.1 1.6.3 1.5.0 1.4.1 1.3.0 1.2.0 1.1.3 1.0.0 0.10.3 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ContinuousBackupInfo.

ContinuousBackupInfo describes the continuous backup properties of a
cluster.

Generated from protobuf message `google.cloud.alloydb.v1.ContinuousBackupInfo`

## Namespace

Google \\ Cloud \\ AlloyDb \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ encryption_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-alloydb/latest/V1.EncryptionInfo` Output only. The encryption information for the WALs and backups required for ContinuousBackup. |
| `↳ enabled_time` | `Google\Protobuf\Timestamp` Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled. |
| `↳ schedule` | `int[]` Output only. Days of the week on which a continuous backup is taken. |
| `↳ earliest_restorable_time` | `Google\Protobuf\Timestamp` Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided. |

### getEncryptionInfo

Output only. The encryption information for the WALs and backups required
for ContinuousBackup.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-alloydb/latest/V1.EncryptionInfo|null` |   |

### hasEncryptionInfo

### clearEncryptionInfo

### setEncryptionInfo

Output only. The encryption information for the WALs and backups required
for ContinuousBackup.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-alloydb/latest/V1.EncryptionInfo` |

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

### getEnabledTime

Output only. When ContinuousBackup was most recently enabled. Set to null
if ContinuousBackup is not enabled.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEnabledTime

### clearEnabledTime

### setEnabledTime

Output only. When ContinuousBackup was most recently enabled. Set to null
if ContinuousBackup is not enabled.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getSchedule

Output only. Days of the week on which a continuous backup is taken.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<int>` |   |

### setSchedule

Output only. Days of the week on which a continuous backup is taken.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

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

### getEarliestRestorableTime

Output only. The earliest restorable time that can be restored to. If
continuous backups and recovery was recently enabled, the earliest
restorable time is the creation time of the earliest eligible backup within
this cluster's continuous backup recovery window. After a cluster has had
continuous backups enabled for the duration of its recovery window, the
earliest restorable time becomes "now minus the recovery window". For
example, assuming a point in time recovery is attempted at 04/16/2025
3:23:00PM with a 14d recovery window, the earliest restorable time would be
04/02/2025 3:23:00PM. This field is only visible if the
CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEarliestRestorableTime

### clearEarliestRestorableTime

### setEarliestRestorableTime

Output only. The earliest restorable time that can be restored to. If
continuous backups and recovery was recently enabled, the earliest
restorable time is the creation time of the earliest eligible backup within
this cluster's continuous backup recovery window. After a cluster has had
continuous backups enabled for the duration of its recovery window, the
earliest restorable time becomes "now minus the recovery window". For
example, assuming a point in time recovery is attempted at 04/16/2025
3:23:00PM with a 14d recovery window, the earliest restorable time would be
04/02/2025 3:23:00PM. This field is only visible if the
CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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