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. Output only field. Ignored if passed into the request. |
↳ earliest_restorable_time |
Google\Protobuf\Timestamp
Output only. The earliest restorable time that can be restored to. Output only field. |
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. Output only field. Ignored if passed into the request.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSchedule
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getEarliestRestorableTime
Output only. The earliest restorable time that can be restored to. Output only field.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEarliestRestorableTime
clearEarliestRestorableTime
setEarliestRestorableTime
Output only. The earliest restorable time that can be restored to. Output only field.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |