@maxim_mazurok/gapi.client.spanner-v1 0.38.20260528 → 0.38.20260622

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 +13 -3
  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: 20260528
12
+ // Revision: 20260622
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -299,8 +299,18 @@ declare namespace gapi.client {
299
299
  commitStats?: CommitStats;
300
300
  /** The Cloud Spanner timestamp at which the transaction committed. */
301
301
  commitTimestamp?: string;
302
+ /** The isolation level used for the read-write transaction. */
303
+ isolationLevel?:
304
+ | 'ISOLATION_LEVEL_UNSPECIFIED'
305
+ | 'SERIALIZABLE'
306
+ | 'REPEATABLE_READ';
302
307
  /** If specified, transaction has not committed yet. You must retry the commit with the new precommit token. */
303
308
  precommitToken?: MultiplexedSessionPrecommitToken;
309
+ /** The read lock mode used for the read-write transaction. */
310
+ readLockMode?:
311
+ | 'READ_LOCK_MODE_UNSPECIFIED'
312
+ | 'PESSIMISTIC'
313
+ | 'OPTIMISTIC';
304
314
  /** If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp is never returned. */
305
315
  snapshotTimestamp?: string;
306
316
  }
@@ -839,9 +849,9 @@ declare namespace gapi.client {
839
849
  etag?: string;
840
850
  /** Required. A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/a-z*[a-z0-9]`. The final segment of the name must be between 2 and 64 characters in length. An instance partition's name cannot be changed after the instance partition is created. */
841
851
  name?: string;
842
- /** The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`. */
852
+ /** The number of nodes allocated to this instance partition. Users can set the `node_count` field to specify the target number of nodes allocated to the instance partition. If autoscaling is enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes allocated to the instance partition. This may be zero in API responses for instance partitions that are not yet in state `READY`. */
843
853
  nodeCount?: number;
844
- /** The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state. */
854
+ /** The number of processing units allocated to this instance partition. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY field and reflects the current number of processing units allocated to the instance partition. This might be zero in API responses for instance partitions that are not yet in the `READY` state. */
845
855
  processingUnits?: number;
846
856
  /** Output only. Deprecated: This field is not populated. Output only. The names of the backups that reference this instance partition. Referencing backups should share the parent instance. The existence of any referencing backup prevents the instance partition from being deleted. */
847
857
  referencingBackups?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.spanner-v1",
3
- "version": "0.38.20260528",
3
+ "version": "0.38.20260622",
4
4
  "description": "TypeScript typings for Cloud Spanner API v1",
5
5
  "repository": {
6
6
  "type": "git",