Cloud Bigtable V2 Client - Class AutomatedBackupPolicy (2.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class AutomatedBackupPolicy.

Defines an automated backup policy for a table

Generated from protobuf message google.bigtable.admin.v2.Table.AutomatedBackupPolicy

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2 \ Table

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ retention_periodGoogle\Protobuf\Duration

Required. How long the automated backups should be retained. The only supported value at this time is 3 days.

↳ frequencyGoogle\Protobuf\Duration

Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.

getRetentionPeriod

Required. How long the automated backups should be retained. The only supported value at this time is 3 days.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasRetentionPeriod

clearRetentionPeriod

setRetentionPeriod

Required. How long the automated backups should be retained. The only supported value at this time is 3 days.

Parameter
NameDescription
varGoogle\Protobuf\Duration
Returns
TypeDescription
$this

getFrequency

Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasFrequency

clearFrequency

setFrequency

Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.

Parameter
NameDescription
varGoogle\Protobuf\Duration
Returns
TypeDescription
$this