Cloud Bigtable V2 Client - Class ChangeStreamConfig (1.24.1)

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
Name
Description
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
Type
Description

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
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: