public sealed class Idempotency : IMessage<Idempotency>, IEquatable<Idempotency>, IDeepCloneable<Idempotency>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API 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.
Implements
IMessageIdempotency, IEquatableIdempotency, IDeepCloneableIdempotency, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
Idempotency()
public Idempotency()
Idempotency(Idempotency)
public Idempotency(Idempotency other)
Parameter | |
---|---|
Name | Description |
other |
Idempotency |
Properties
StartTime
public Timestamp StartTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
Token
public ByteString Token { get; set; }
Unique token used to identify replays of this mutation. Must be at least 8 bytes long.
Property Value | |
---|---|
Type | Description |
ByteString |