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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ encryption_info |
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 |
array
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 |
EncryptionInfo|null |
hasEncryptionInfo
clearEncryptionInfo
setEncryptionInfo
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
Parameter | |
---|---|
Name | Description |
var |
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\Internal\RepeatedField |
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 |