Cloud Bigtable V2 Client - Class Idempotency (2.16.0)

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

Parameters on mutations where clients want to ensure idempotency (i.e.

at-most-once semantics). This is currently only needed for certain aggregate types.

Generated from protobuf message google.bigtable.v2.Idempotency

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ token
string

Unique token used to identify replays of this mutation. Must be at least 8 bytes long.

↳ start_time
Google\Protobuf\Timestamp

Client-assigned timestamp when the mutation's first attempt was sent. Used to reject mutations that arrive after idempotency protection may have expired. May cause spurious rejections if clock skew is too high. Leave unset or zero to always accept the mutation, at the risk of double counting if the protection for previous attempts has expired.

getToken

Unique token used to identify replays of this mutation.

Must be at least 8 bytes long.

Returns
Type
Description
string

setToken

Unique token used to identify replays of this mutation.

Must be at least 8 bytes long.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getStartTime

Client-assigned timestamp when the mutation's first attempt was sent.

Used to reject mutations that arrive after idempotency protection may have expired. May cause spurious rejections if clock skew is too high. Leave unset or zero to always accept the mutation, at the risk of double counting if the protection for previous attempts has expired.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Client-assigned timestamp when the mutation's first attempt was sent.

Used to reject mutations that arrive after idempotency protection may have expired. May cause spurious rejections if clock skew is too high. Leave unset or zero to always accept the mutation, at the risk of double counting if the protection for previous attempts has expired.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: