@maxim_mazurok/gapi.client.spanner-v1 0.0.20240913 → 0.0.20240930

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +9 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://spanner.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240913
12
+ // Revision: 20240930
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -800,6 +800,12 @@ declare namespace gapi.client {
800
800
  /** Required. The target instance configuration where to move the instance. Values are of the form `projects//instanceConfigs/`. */
801
801
  targetConfig?: string;
802
802
  }
803
+ interface MultiplexedSessionPrecommitToken {
804
+ /** Opaque precommit token. */
805
+ precommitToken?: string;
806
+ /** An incrementing seq number is generated on every precommit token that is returned. Clients should remember the precommit token with the highest sequence number from the current transaction attempt. */
807
+ seqNum?: number;
808
+ }
803
809
  interface Mutation {
804
810
  /** Delete rows from a table. Succeeds whether or not the named rows were present. */
805
811
  delete?: Delete;
@@ -1178,6 +1184,8 @@ declare namespace gapi.client {
1178
1184
  interface Transaction {
1179
1185
  /** `id` may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or Rollback calls. Single-use read-only transactions do not have IDs, because single-use transactions do not support multiple requests. */
1180
1186
  id?: string;
1187
+ /** A precommit token will be included in the response of a BeginTransaction request if the read-write transaction is on a multiplexed session and a mutation_key was specified in the BeginTransaction. The precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction. */
1188
+ precommitToken?: MultiplexedSessionPrecommitToken;
1181
1189
  /** For snapshot read-only transactions, the read timestamp chosen for the transaction. Not returned by default: see TransactionOptions.ReadOnly.return_read_timestamp. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: `"2014-10-02T15:01:23.045123456Z"`. */
1182
1190
  readTimestamp?: string;
1183
1191
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.spanner-v1",
3
- "version": "0.0.20240913",
3
+ "version": "0.0.20240930",
4
4
  "description": "TypeScript typings for Cloud Spanner API v1",
5
5
  "repository": {
6
6
  "type": "git",