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.
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.
hasEncryptionInfo
clearEncryptionInfo
setEncryptionInfo
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
$this
getEnabledTime
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
hasEnabledTime
clearEnabledTime
setEnabledTime
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
$this
getSchedule
Output only. Days of the week on which a continuous backup is taken.
setSchedule
Output only. Days of the week on which a continuous backup is taken.
var
int[]
$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.
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.
$this