Google Cloud AlloyDB for PostgreSQL V1beta Client - Class ContinuousBackupInfo (0.2.1)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1beta Client class ContinuousBackupInfo.

ContinuousBackupInfo describes the continuous backup properties of a cluster.

Generated from protobuf message google.cloud.alloydb.v1beta.ContinuousBackupInfo

Namespace

Google \ Cloud \ AlloyDb \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ encryption_info Google\Cloud\AlloyDb\V1beta\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.

getEncryptionInfo

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

Returns
TypeDescription
Google\Cloud\AlloyDb\V1beta\EncryptionInfo|null

hasEncryptionInfo

clearEncryptionInfo

setEncryptionInfo

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

Parameter
NameDescription
var Google\Cloud\AlloyDb\V1beta\EncryptionInfo
Returns
TypeDescription
$this

getEnabledTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEnabledTime

clearEnabledTime

setEnabledTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int[]
Returns
TypeDescription
$this