Google Cloud AlloyDB for PostgreSQL V1 Client - Class ContinuousBackupSource (1.0.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ContinuousBackupSource.

Message describing a ContinuousBackupSource.

Generated from protobuf message google.cloud.alloydb.v1.ContinuousBackupSource

Namespace

Google \ Cloud \ AlloyDb \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster string

Required. The source cluster from which to restore. This cluster must have continuous backup enabled for this operation to succeed. For the required format, see the comment on the Cluster.name field.

↳ point_in_time Google\Protobuf\Timestamp

Required. The point in time to restore to.

getCluster

Required. The source cluster from which to restore. This cluster must have continuous backup enabled for this operation to succeed. For the required format, see the comment on the Cluster.name field.

Returns
Type Description
string

setCluster

Required. The source cluster from which to restore. This cluster must have continuous backup enabled for this operation to succeed. For the required format, see the comment on the Cluster.name field.

Parameter
Name Description
var string
Returns
Type Description
$this

getPointInTime

Required. The point in time to restore to.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasPointInTime

clearPointInTime

setPointInTime

Required. The point in time to restore to.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this