Skip to content

Commit

Permalink
fix(spanner): update the API
Browse files Browse the repository at this point in the history
#### spanner:v1

The following keys were changed:
- schemas.CommitStats.properties.mutationCount.description
  • Loading branch information
yoshi-automation authored and sofisl committed Jun 4, 2021
1 parent 4eea524 commit f08fac6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions discovery/spanner-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@
}
}
},
"revision": "20210527",
"revision": "20210517",
"rootUrl": "https://spanner.googleapis.com/",
"schemas": {
"Backup": {
Expand Down Expand Up @@ -2269,7 +2269,7 @@
"id": "CommitStats",
"properties": {
"mutationCount": {
"description": "The total number of mutations for the transaction. Knowing the `mutation_count` value can help you maximize the number of mutations in a transaction and minimize the number of API round trips. You can also monitor this value to prevent transactions from exceeding the system [limit](https://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data). If the number of mutations exceeds the limit, the server returns [INVALID_ARGUMENT](https://cloud.google.com/spanner/docs/reference/rest/v1/Code#ENUM_VALUES.INVALID_ARGUMENT).",
"description": "The total number of mutations for the transaction. Knowing the `mutation_count` value can help you maximize the number of mutations in a transaction and minimize the number of API round trips. You can also monitor this value to prevent transactions from exceeding the system [limit](http://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data). If the number of mutations exceeds the limit, the server returns [INVALID_ARGUMENT](http://cloud.google.com/spanner/docs/reference/rest/v1/Code#ENUM_VALUES.INVALID_ARGUMENT).",
"format": "int64",
"type": "string"
}
Expand Down
2 changes: 1 addition & 1 deletion src/apis/spanner/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export namespace spanner_v1 {
*/
export interface Schema$CommitStats {
/**
* The total number of mutations for the transaction. Knowing the `mutation_count` value can help you maximize the number of mutations in a transaction and minimize the number of API round trips. You can also monitor this value to prevent transactions from exceeding the system [limit](https://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data). If the number of mutations exceeds the limit, the server returns [INVALID_ARGUMENT](https://cloud.google.com/spanner/docs/reference/rest/v1/Code#ENUM_VALUES.INVALID_ARGUMENT).
* The total number of mutations for the transaction. Knowing the `mutation_count` value can help you maximize the number of mutations in a transaction and minimize the number of API round trips. You can also monitor this value to prevent transactions from exceeding the system [limit](http://cloud.google.com/spanner/quotas#limits_for_creating_reading_updating_and_deleting_data). If the number of mutations exceeds the limit, the server returns [INVALID_ARGUMENT](http://cloud.google.com/spanner/docs/reference/rest/v1/Code#ENUM_VALUES.INVALID_ARGUMENT).
*/
mutationCount?: string | null;
}
Expand Down

0 comments on commit f08fac6

Please sign in to comment.