Cloud Bigtable V2 Client - Class ChangeStreamConfig (1.30.0)

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

Change stream configuration.

Generated from protobuf message google.bigtable.admin.v2.ChangeStreamConfig

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ retention_period Google\Protobuf\Duration

How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.

getRetentionPeriod

How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table.

Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasRetentionPeriod

clearRetentionPeriod

setRetentionPeriod

How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table.

Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.

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