Class: Google::Cloud::Bigtable::V2::Idempotency
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::Idempotency
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/data.rb
Overview
Parameters on mutations where clients want to ensure idempotency (i.e. at-most-once semantics). This is currently only needed for certain aggregate types.
Instance Attribute Summary collapse
-
#start_time ⇒ ::Google::Protobuf::Timestamp
Client-assigned timestamp when the mutation's first attempt was sent.
-
#token ⇒ ::String
Unique token used to identify replays of this mutation.
Instance Attribute Details
#start_time ⇒ ::Google::Protobuf::Timestamp
Returns 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.
990 991 992 993 |
# File 'proto_docs/google/bigtable/v2/data.rb', line 990 class Idempotency include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#token ⇒ ::String
Returns Unique token used to identify replays of this mutation. Must be at least 8 bytes long.
990 991 992 993 |
# File 'proto_docs/google/bigtable/v2/data.rb', line 990 class Idempotency include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |