Cloud Bigtable V2 Client - Class AutomatedBackupPolicy (2.3.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
Name Description
data array

Optional. Data for populating the Message object.

↳ retention_period Google\Protobuf\Duration

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

↳ frequency Google\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
Type Description
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
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getFrequency

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

Returns
Type Description
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
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this