Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::Idempotency (v1.8.0)

Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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.

#start_time=

def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::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.

Returns
  • (::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.

#token

def token() -> ::String
Returns
  • (::String) — Unique token used to identify replays of this mutation. Must be at least 8 bytes long.

#token=

def token=(value) -> ::String
Parameter
  • value (::String) — Unique token used to identify replays of this mutation. Must be at least 8 bytes long.
Returns
  • (::String) — Unique token used to identify replays of this mutation. Must be at least 8 bytes long.