Google Cloud AlloyDB for PostgreSQL V1beta Client - Class ContinuousBackupSource (0.8.0)

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

Message describing a ContinuousBackupSource.

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

Namespace

Google \ Cloud \ AlloyDb \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getPointInTime

Required. The point in time to restore to.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasPointInTime

clearPointInTime

setPointInTime

Required. The point in time to restore to.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this