Skip to content

Commit 0da61b4

Browse files
Google APIscopybara-github
authored andcommitted
feat: add Idempotency to Cloud Bigtable MutateRowsRequest API
docs: Minor comment update for field `idempotency` in message `.google.bigtable.v2.MutateRowRequest` PiperOrigin-RevId: 785585326
1 parent 5feffd9 commit 0da61b4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

google/bigtable/v2/bigtable.proto

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,8 @@ message MutateRowRequest {
583583
// ones. Must contain at least one entry and at most 100000.
584584
repeated Mutation mutations = 3 [(google.api.field_behavior) = REQUIRED];
585585

586-
// Optional parameter for ensuring a MutateRow request is only applied once.
587-
// Currently applicable only for certain aggregate types.
586+
// If set consistently across retries, prevents this mutation from being
587+
// double applied to aggregate column families within a 15m window.
588588
Idempotency idempotency = 8;
589589
}
590590

@@ -602,6 +602,10 @@ message MutateRowsRequest {
602602
// Mutations are applied in order, meaning that earlier mutations can be
603603
// masked by later ones. You must specify at least one mutation.
604604
repeated Mutation mutations = 2 [(google.api.field_behavior) = REQUIRED];
605+
606+
// If set consistently across retries, prevents this mutation from being
607+
// double applied to aggregate column families within a 15m window.
608+
Idempotency idempotency = 3;
605609
}
606610

607611
// Optional. The unique name of the table to which the mutations should be

0 commit comments

Comments
 (0)