@google-cloud/spanner 7.14.0 → 7.15.0
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.
- package/CHANGELOG.md +24 -0
- package/README.md +14 -2
- package/build/protos/protos.d.ts +0 -144
- package/build/protos/protos.js +48 -288
- package/build/protos/protos.json +3 -0
- package/build/src/batch-transaction.d.ts +1 -0
- package/build/src/batch-transaction.js +90 -50
- package/build/src/database.d.ts +5 -2
- package/build/src/database.js +430 -235
- package/build/src/index.d.ts +5 -0
- package/build/src/index.js +4 -0
- package/build/src/instance.d.ts +2 -0
- package/build/src/instance.js +6 -1
- package/build/src/instrument.d.ts +84 -0
- package/build/src/instrument.js +213 -0
- package/build/src/session-pool.d.ts +2 -0
- package/build/src/session-pool.js +61 -23
- package/build/src/session.js +1 -7
- package/build/src/table.d.ts +3 -0
- package/build/src/table.js +34 -14
- package/build/src/transaction.d.ts +3 -0
- package/build/src/transaction.js +411 -194
- package/package.json +11 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,30 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [7.15.0](https://github.com/googleapis/nodejs-spanner/compare/v7.14.0...v7.15.0) (2024-10-30)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* (observability, samples): add tracing end-to-end sample ([#2130](https://github.com/googleapis/nodejs-spanner/issues/2130)) ([66d99e8](https://github.com/googleapis/nodejs-spanner/commit/66d99e836cd2bfbb3b0f78980ec2b499f9e5e563))
|
|
13
|
+
* (observability) add spans for BatchTransaction and Table ([#2115](https://github.com/googleapis/nodejs-spanner/issues/2115)) ([d51aae9](https://github.com/googleapis/nodejs-spanner/commit/d51aae9c9c3c0e6319d81c2809573ae54675acf3)), closes [#2114](https://github.com/googleapis/nodejs-spanner/issues/2114)
|
|
14
|
+
* (observability) Add support for OpenTelemetry traces and allow observability options to be passed. ([#2131](https://github.com/googleapis/nodejs-spanner/issues/2131)) ([5237e11](https://github.com/googleapis/nodejs-spanner/commit/5237e118befb4b7fe4aea76a80a91e822d7a22e4)), closes [#2079](https://github.com/googleapis/nodejs-spanner/issues/2079)
|
|
15
|
+
* (observability) propagate database name for every span generated to aid in quick debugging ([#2155](https://github.com/googleapis/nodejs-spanner/issues/2155)) ([0342e74](https://github.com/googleapis/nodejs-spanner/commit/0342e74721a0684d8195a6299c3a634eefc2b522))
|
|
16
|
+
* (observability) trace Database.batchCreateSessions + SessionPool.createSessions ([#2145](https://github.com/googleapis/nodejs-spanner/issues/2145)) ([f489c94](https://github.com/googleapis/nodejs-spanner/commit/f489c9479fa5402f0c960cf896fd3be0e946f182))
|
|
17
|
+
* (observability): trace Database.runPartitionedUpdate ([#2176](https://github.com/googleapis/nodejs-spanner/issues/2176)) ([701e226](https://github.com/googleapis/nodejs-spanner/commit/701e22660d5ac9f0b3e940ad656b9ca6c479251d)), closes [#2079](https://github.com/googleapis/nodejs-spanner/issues/2079)
|
|
18
|
+
* (observability): trace Database.runTransactionAsync ([#2167](https://github.com/googleapis/nodejs-spanner/issues/2167)) ([d0fe178](https://github.com/googleapis/nodejs-spanner/commit/d0fe178623c1c48245d11bcea97fcd340b6615af)), closes [#207](https://github.com/googleapis/nodejs-spanner/issues/207)
|
|
19
|
+
* Allow multiple KMS keys to create CMEK database/backup ([#2099](https://github.com/googleapis/nodejs-spanner/issues/2099)) ([51bc8a7](https://github.com/googleapis/nodejs-spanner/commit/51bc8a7445ab8b3d2239493b69d9c271c1086dde))
|
|
20
|
+
* **observability:** Fix bugs found from product review + negative cases ([#2158](https://github.com/googleapis/nodejs-spanner/issues/2158)) ([cbc86fa](https://github.com/googleapis/nodejs-spanner/commit/cbc86fa80498af6bd745eebb9443612936e26d4e))
|
|
21
|
+
* **observability:** Trace Database methods ([#2119](https://github.com/googleapis/nodejs-spanner/issues/2119)) ([1f06871](https://github.com/googleapis/nodejs-spanner/commit/1f06871f7aca386756e8691013602b069697bb87)), closes [#2114](https://github.com/googleapis/nodejs-spanner/issues/2114)
|
|
22
|
+
* **observability:** Trace Database.batchWriteAtLeastOnce ([#2157](https://github.com/googleapis/nodejs-spanner/issues/2157)) ([2a19ef1](https://github.com/googleapis/nodejs-spanner/commit/2a19ef1af4f6fd1b81d08afc15db76007859a0b9)), closes [#2079](https://github.com/googleapis/nodejs-spanner/issues/2079)
|
|
23
|
+
* **observability:** Trace Transaction ([#2122](https://github.com/googleapis/nodejs-spanner/issues/2122)) ([a464bdb](https://github.com/googleapis/nodejs-spanner/commit/a464bdb5cbb7856b7a08dac3ff48132948b65792)), closes [#2114](https://github.com/googleapis/nodejs-spanner/issues/2114)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* Exact staleness timebound ([#2143](https://github.com/googleapis/nodejs-spanner/issues/2143)) ([f01516e](https://github.com/googleapis/nodejs-spanner/commit/f01516ec6ba44730622cfb050c52cd93f30bba7a)), closes [#2129](https://github.com/googleapis/nodejs-spanner/issues/2129)
|
|
29
|
+
* GetMetadata for Session ([#2124](https://github.com/googleapis/nodejs-spanner/issues/2124)) ([2fd63ac](https://github.com/googleapis/nodejs-spanner/commit/2fd63acb87ce06a02d7fdfa78d836dbd7ad59a26)), closes [#2123](https://github.com/googleapis/nodejs-spanner/issues/2123)
|
|
30
|
+
|
|
7
31
|
## [7.14.0](https://github.com/googleapis/nodejs-spanner/compare/v7.13.0...v7.14.0) (2024-08-14)
|
|
8
32
|
|
|
9
33
|
|
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
|
|
46
46
|
1. [Select or create a Cloud Platform project][projects].
|
|
47
47
|
1. [Enable billing for your project][billing].
|
|
48
48
|
1. [Enable the Cloud Spanner API][enable_api].
|
|
49
|
-
1. [Set up authentication
|
|
49
|
+
1. [Set up authentication][auth] so you can access the
|
|
50
50
|
API from your local workstation.
|
|
51
51
|
|
|
52
52
|
### Installing the client library
|
|
@@ -91,34 +91,42 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-spanner/tre
|
|
|
91
91
|
| --------------------------- | --------------------------------- | ------ |
|
|
92
92
|
| Add and drop new database role | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/add-and-drop-new-database-role.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/add-and-drop-new-database-role.js,samples/README.md) |
|
|
93
93
|
| Backups-cancel | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-cancel.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-cancel.js,samples/README.md) |
|
|
94
|
+
| Copies a source backup | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-copy-with-multiple-kms-keys.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-copy-with-multiple-kms-keys.js,samples/README.md) |
|
|
94
95
|
| Copies a source backup | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-copy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-copy.js,samples/README.md) |
|
|
95
96
|
| Backups-create-with-encryption-key | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-create-with-encryption-key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-create-with-encryption-key.js,samples/README.md) |
|
|
97
|
+
| Backups-create-with-multiple-kms-keys | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-create-with-multiple-kms-keys.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-create-with-multiple-kms-keys.js,samples/README.md) |
|
|
96
98
|
| Backups-create | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-create.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-create.js,samples/README.md) |
|
|
97
99
|
| Backups-delete | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-delete.js,samples/README.md) |
|
|
98
100
|
| Backups-get-database-operations | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-get-database-operations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get-database-operations.js,samples/README.md) |
|
|
99
101
|
| Backups-get-operations | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-get-operations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get-operations.js,samples/README.md) |
|
|
100
102
|
| Backups-get | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-get.js,samples/README.md) |
|
|
101
103
|
| Backups-restore-with-encryption-key | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-restore-with-encryption-key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-restore-with-encryption-key.js,samples/README.md) |
|
|
104
|
+
| Backups-restore-with-multiple-kms-keys | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-restore-with-multiple-kms-keys.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-restore-with-multiple-kms-keys.js,samples/README.md) |
|
|
102
105
|
| Backups-restore | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-restore.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-restore.js,samples/README.md) |
|
|
103
106
|
| Backups-update | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups-update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups-update.js,samples/README.md) |
|
|
104
107
|
| Backups | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/backups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/backups.js,samples/README.md) |
|
|
105
108
|
| Batch Write | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/batch-write.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/batch-write.js,samples/README.md) |
|
|
106
109
|
| Batch | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/batch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/batch.js,samples/README.md) |
|
|
110
|
+
| Creates a full backup schedule | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/create-full-backup-schedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/create-full-backup-schedule.js,samples/README.md) |
|
|
111
|
+
| Creates an incremental backup schedule | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/create-incremental-backup-schedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/create-incremental-backup-schedule.js,samples/README.md) |
|
|
107
112
|
| CRUD | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/crud.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/crud.js,samples/README.md) |
|
|
108
113
|
| Creates a new database with a specific default leader | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-create-with-default-leader.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-create-with-default-leader.js,samples/README.md) |
|
|
109
114
|
| Database-create-with-encryption-key | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-create-with-encryption-key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-create-with-encryption-key.js,samples/README.md) |
|
|
115
|
+
| Database-create-with-multiple-kms-keys | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-create-with-multiple-kms-keys.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-create-with-multiple-kms-keys.js,samples/README.md) |
|
|
110
116
|
| Database-create-with-version-retention-period | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-create-with-version-retention-period.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-create-with-version-retention-period.js,samples/README.md) |
|
|
111
117
|
| Gets the schema definition of an existing database | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-get-ddl.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-get-ddl.js,samples/README.md) |
|
|
112
118
|
| Gets the default leader option of an existing database | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-get-default-leader.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-get-default-leader.js,samples/README.md) |
|
|
113
119
|
| Updates the default leader of an existing database | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-update-default-leader.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-update-default-leader.js,samples/README.md) |
|
|
114
120
|
| Updates a Cloud Spanner Database. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/database-update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/database-update.js,samples/README.md) |
|
|
115
121
|
| Datatypes | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/datatypes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/datatypes.js,samples/README.md) |
|
|
122
|
+
| Deletes a backup schedule | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/delete-backup-schedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/delete-backup-schedule.js,samples/README.md) |
|
|
116
123
|
| Runs an execute sql request with directed read options | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/directed-reads.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/directed-reads.js,samples/README.md) |
|
|
117
124
|
| Delete using DML returning. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/dml-returning-delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/dml-returning-delete.js,samples/README.md) |
|
|
118
125
|
| Insert using DML returning. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/dml-returning-insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/dml-returning-insert.js,samples/README.md) |
|
|
119
126
|
| Update using DML returning. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/dml-returning-update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/dml-returning-update.js,samples/README.md) |
|
|
120
127
|
| DML | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/dml.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/dml.js,samples/README.md) |
|
|
121
128
|
| Enable fine grained access control | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/enable-fine-grained-access.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/enable-fine-grained-access.js,samples/README.md) |
|
|
129
|
+
| Gets a backup schedule | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/get-backup-schedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/get-backup-schedule.js,samples/README.md) |
|
|
122
130
|
| Get-commit-stats | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/get-commit-stats.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/get-commit-stats.js,samples/README.md) |
|
|
123
131
|
| List database roles | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/get-database-roles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/get-database-roles.js,samples/README.md) |
|
|
124
132
|
| Gets the instance config metadata for the configuration nam6 | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/get-instance-config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/get-instance-config.js,samples/README.md) |
|
|
@@ -133,18 +141,21 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-spanner/tre
|
|
|
133
141
|
| Lists the instance configuration operations. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance-config-get-operations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance-config-get-operations.js,samples/README.md) |
|
|
134
142
|
| Updates a user-managed instance configuration. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance-config-update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance-config-update.js,samples/README.md) |
|
|
135
143
|
| Creates a new instance partition | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance-partition-create.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance-partition-create.js,samples/README.md) |
|
|
144
|
+
| Updates an instance. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance-update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance-update.js,samples/README.md) |
|
|
136
145
|
| Creates a instance with autoscaling config. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance-with-autoscaling-config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance-with-autoscaling-config.js,samples/README.md) |
|
|
137
146
|
| Instance-with-processing-units | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance-with-processing-units.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance-with-processing-units.js,samples/README.md) |
|
|
138
147
|
| Instance | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/instance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/instance.js,samples/README.md) |
|
|
139
148
|
| Json-add-column | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/json-add-column.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/json-add-column.js,samples/README.md) |
|
|
140
149
|
| Json-query-parameter | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/json-query-parameter.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/json-query-parameter.js,samples/README.md) |
|
|
141
150
|
| Json-update-data | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/json-update-data.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/json-update-data.js,samples/README.md) |
|
|
151
|
+
| Lists backup schedules of a database | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/list-backup-schedules.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/list-backup-schedules.js,samples/README.md) |
|
|
142
152
|
| Lists all databases on the selected instance | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/list-databases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/list-databases.js,samples/README.md) |
|
|
143
153
|
| Lists all the available instance configs for the selected project. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/list-instance-configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/list-instance-configs.js,samples/README.md) |
|
|
144
154
|
| Executes request with max commit delay | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/max-commit-delay.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/max-commit-delay.js,samples/README.md) |
|
|
145
155
|
| Numeric-add-column | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/numeric-add-column.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/numeric-add-column.js,samples/README.md) |
|
|
146
156
|
| Numeric-query-parameter | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/numeric-query-parameter.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/numeric-query-parameter.js,samples/README.md) |
|
|
147
157
|
| Numeric-update-data | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/numeric-update-data.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/numeric-update-data.js,samples/README.md) |
|
|
158
|
+
| Observability (Tracing) with OpenTelemetry | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/observability-traces.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/observability-traces.js,samples/README.md) |
|
|
148
159
|
| Adds a column to an existing table in a Spanner PostgreSQL database. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-add-column.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-add-column.js,samples/README.md) |
|
|
149
160
|
| Showcase the rules for case-sensitivity and case folding for a Spanner PostgreSQL database. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-case-sensitivity.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-case-sensitivity.js,samples/README.md) |
|
|
150
161
|
| Creates a PostgreSQL Database. | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/pg-database-create.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/pg-database-create.js,samples/README.md) |
|
|
@@ -194,6 +205,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-spanner/tre
|
|
|
194
205
|
| Timestamp | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/timestamp.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/timestamp.js,samples/README.md) |
|
|
195
206
|
| Executes a read/write transaction with transaction and request tags | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/transaction-tag.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/transaction-tag.js,samples/README.md) |
|
|
196
207
|
| Transaction | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/transaction.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/transaction.js,samples/README.md) |
|
|
208
|
+
| Updates a backup schedule | [source code](https://github.com/googleapis/nodejs-spanner/blob/main/samples/update-backup-schedule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-spanner&page=editor&open_in_editor=samples/update-backup-schedule.js,samples/README.md) |
|
|
197
209
|
|
|
198
210
|
|
|
199
211
|
|
|
@@ -263,4 +275,4 @@ See [LICENSE](https://github.com/googleapis/nodejs-spanner/blob/main/LICENSE)
|
|
|
263
275
|
[projects]: https://console.cloud.google.com/project
|
|
264
276
|
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
|
265
277
|
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=spanner.googleapis.com
|
|
266
|
-
[auth]: https://cloud.google.com/docs/authentication/
|
|
278
|
+
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -18436,9 +18436,6 @@ export namespace google {
|
|
|
18436
18436
|
/** ReadAction limit. */
|
|
18437
18437
|
public limit: number;
|
|
18438
18438
|
|
|
18439
|
-
/** ReadAction _index. */
|
|
18440
|
-
public _index?: "index";
|
|
18441
|
-
|
|
18442
18439
|
/**
|
|
18443
18440
|
* Creates a new ReadAction instance using the specified properties.
|
|
18444
18441
|
* @param [properties] Properties to set
|
|
@@ -18757,9 +18754,6 @@ export namespace google {
|
|
|
18757
18754
|
/** DmlAction autocommitIfSupported. */
|
|
18758
18755
|
public autocommitIfSupported?: (boolean|null);
|
|
18759
18756
|
|
|
18760
|
-
/** DmlAction _autocommitIfSupported. */
|
|
18761
|
-
public _autocommitIfSupported?: "autocommitIfSupported";
|
|
18762
|
-
|
|
18763
18757
|
/**
|
|
18764
18758
|
* Creates a new DmlAction instance using the specified properties.
|
|
18765
18759
|
* @param [properties] Properties to set
|
|
@@ -19023,9 +19017,6 @@ export namespace google {
|
|
|
19023
19017
|
/** Value valueType. */
|
|
19024
19018
|
public valueType?: ("isNull"|"intValue"|"boolValue"|"doubleValue"|"bytesValue"|"stringValue"|"structValue"|"timestampValue"|"dateDaysValue"|"isCommitTimestamp"|"arrayValue");
|
|
19025
19019
|
|
|
19026
|
-
/** Value _arrayType. */
|
|
19027
|
-
public _arrayType?: "arrayType";
|
|
19028
|
-
|
|
19029
19020
|
/**
|
|
19030
19021
|
* Creates a new Value instance using the specified properties.
|
|
19031
19022
|
* @param [properties] Properties to set
|
|
@@ -19135,9 +19126,6 @@ export namespace google {
|
|
|
19135
19126
|
/** KeyRange type. */
|
|
19136
19127
|
public type?: (google.spanner.executor.v1.KeyRange.Type|keyof typeof google.spanner.executor.v1.KeyRange.Type|null);
|
|
19137
19128
|
|
|
19138
|
-
/** KeyRange _type. */
|
|
19139
|
-
public _type?: "type";
|
|
19140
|
-
|
|
19141
19129
|
/**
|
|
19142
19130
|
* Creates a new KeyRange instance using the specified properties.
|
|
19143
19131
|
* @param [properties] Properties to set
|
|
@@ -20001,9 +19989,6 @@ export namespace google {
|
|
|
20001
19989
|
/** PartitionedUpdateAction update. */
|
|
20002
19990
|
public update?: (google.spanner.executor.v1.IQueryAction|null);
|
|
20003
19991
|
|
|
20004
|
-
/** PartitionedUpdateAction _options. */
|
|
20005
|
-
public _options?: "options";
|
|
20006
|
-
|
|
20007
19992
|
/**
|
|
20008
19993
|
* Creates a new PartitionedUpdateAction instance using the specified properties.
|
|
20009
19994
|
* @param [properties] Properties to set
|
|
@@ -20109,12 +20094,6 @@ export namespace google {
|
|
|
20109
20094
|
/** ExecutePartitionedUpdateOptions tag. */
|
|
20110
20095
|
public tag?: (string|null);
|
|
20111
20096
|
|
|
20112
|
-
/** ExecutePartitionedUpdateOptions _rpcPriority. */
|
|
20113
|
-
public _rpcPriority?: "rpcPriority";
|
|
20114
|
-
|
|
20115
|
-
/** ExecutePartitionedUpdateOptions _tag. */
|
|
20116
|
-
public _tag?: "tag";
|
|
20117
|
-
|
|
20118
20097
|
/**
|
|
20119
20098
|
* Creates a new ExecutePartitionedUpdateOptions instance using the specified properties.
|
|
20120
20099
|
* @param [properties] Properties to set
|
|
@@ -20231,12 +20210,6 @@ export namespace google {
|
|
|
20231
20210
|
/** StartTransactionAction executionOptions. */
|
|
20232
20211
|
public executionOptions?: (google.spanner.executor.v1.ITransactionExecutionOptions|null);
|
|
20233
20212
|
|
|
20234
|
-
/** StartTransactionAction _concurrency. */
|
|
20235
|
-
public _concurrency?: "concurrency";
|
|
20236
|
-
|
|
20237
|
-
/** StartTransactionAction _executionOptions. */
|
|
20238
|
-
public _executionOptions?: "executionOptions";
|
|
20239
|
-
|
|
20240
20213
|
/**
|
|
20241
20214
|
* Creates a new StartTransactionAction instance using the specified properties.
|
|
20242
20215
|
* @param [properties] Properties to set
|
|
@@ -21293,9 +21266,6 @@ export namespace google {
|
|
|
21293
21266
|
/** UpdateUserInstanceConfigAction labels. */
|
|
21294
21267
|
public labels: { [k: string]: string };
|
|
21295
21268
|
|
|
21296
|
-
/** UpdateUserInstanceConfigAction _displayName. */
|
|
21297
|
-
public _displayName?: "displayName";
|
|
21298
|
-
|
|
21299
21269
|
/**
|
|
21300
21270
|
* Creates a new UpdateUserInstanceConfigAction instance using the specified properties.
|
|
21301
21271
|
* @param [properties] Properties to set
|
|
@@ -21611,12 +21581,6 @@ export namespace google {
|
|
|
21611
21581
|
/** ListCloudInstanceConfigsAction pageToken. */
|
|
21612
21582
|
public pageToken?: (string|null);
|
|
21613
21583
|
|
|
21614
|
-
/** ListCloudInstanceConfigsAction _pageSize. */
|
|
21615
|
-
public _pageSize?: "pageSize";
|
|
21616
|
-
|
|
21617
|
-
/** ListCloudInstanceConfigsAction _pageToken. */
|
|
21618
|
-
public _pageToken?: "pageToken";
|
|
21619
|
-
|
|
21620
21584
|
/**
|
|
21621
21585
|
* Creates a new ListCloudInstanceConfigsAction instance using the specified properties.
|
|
21622
21586
|
* @param [properties] Properties to set
|
|
@@ -21750,15 +21714,6 @@ export namespace google {
|
|
|
21750
21714
|
/** CreateCloudInstanceAction labels. */
|
|
21751
21715
|
public labels: { [k: string]: string };
|
|
21752
21716
|
|
|
21753
|
-
/** CreateCloudInstanceAction _nodeCount. */
|
|
21754
|
-
public _nodeCount?: "nodeCount";
|
|
21755
|
-
|
|
21756
|
-
/** CreateCloudInstanceAction _processingUnits. */
|
|
21757
|
-
public _processingUnits?: "processingUnits";
|
|
21758
|
-
|
|
21759
|
-
/** CreateCloudInstanceAction _autoscalingConfig. */
|
|
21760
|
-
public _autoscalingConfig?: "autoscalingConfig";
|
|
21761
|
-
|
|
21762
21717
|
/**
|
|
21763
21718
|
* Creates a new CreateCloudInstanceAction instance using the specified properties.
|
|
21764
21719
|
* @param [properties] Properties to set
|
|
@@ -21892,18 +21847,6 @@ export namespace google {
|
|
|
21892
21847
|
/** UpdateCloudInstanceAction labels. */
|
|
21893
21848
|
public labels: { [k: string]: string };
|
|
21894
21849
|
|
|
21895
|
-
/** UpdateCloudInstanceAction _displayName. */
|
|
21896
|
-
public _displayName?: "displayName";
|
|
21897
|
-
|
|
21898
|
-
/** UpdateCloudInstanceAction _nodeCount. */
|
|
21899
|
-
public _nodeCount?: "nodeCount";
|
|
21900
|
-
|
|
21901
|
-
/** UpdateCloudInstanceAction _processingUnits. */
|
|
21902
|
-
public _processingUnits?: "processingUnits";
|
|
21903
|
-
|
|
21904
|
-
/** UpdateCloudInstanceAction _autoscalingConfig. */
|
|
21905
|
-
public _autoscalingConfig?: "autoscalingConfig";
|
|
21906
|
-
|
|
21907
21850
|
/**
|
|
21908
21851
|
* Creates a new UpdateCloudInstanceAction instance using the specified properties.
|
|
21909
21852
|
* @param [properties] Properties to set
|
|
@@ -22140,12 +22083,6 @@ export namespace google {
|
|
|
22140
22083
|
/** CreateCloudDatabaseAction protoDescriptors. */
|
|
22141
22084
|
public protoDescriptors?: (Uint8Array|string|null);
|
|
22142
22085
|
|
|
22143
|
-
/** CreateCloudDatabaseAction _dialect. */
|
|
22144
|
-
public _dialect?: "dialect";
|
|
22145
|
-
|
|
22146
|
-
/** CreateCloudDatabaseAction _protoDescriptors. */
|
|
22147
|
-
public _protoDescriptors?: "protoDescriptors";
|
|
22148
|
-
|
|
22149
22086
|
/**
|
|
22150
22087
|
* Creates a new CreateCloudDatabaseAction instance using the specified properties.
|
|
22151
22088
|
* @param [properties] Properties to set
|
|
@@ -22273,9 +22210,6 @@ export namespace google {
|
|
|
22273
22210
|
/** UpdateCloudDatabaseDdlAction protoDescriptors. */
|
|
22274
22211
|
public protoDescriptors?: (Uint8Array|string|null);
|
|
22275
22212
|
|
|
22276
|
-
/** UpdateCloudDatabaseDdlAction _protoDescriptors. */
|
|
22277
|
-
public _protoDescriptors?: "protoDescriptors";
|
|
22278
|
-
|
|
22279
22213
|
/**
|
|
22280
22214
|
* Creates a new UpdateCloudDatabaseDdlAction instance using the specified properties.
|
|
22281
22215
|
* @param [properties] Properties to set
|
|
@@ -22603,9 +22537,6 @@ export namespace google {
|
|
|
22603
22537
|
/** ChangeQuorumCloudDatabaseAction servingLocations. */
|
|
22604
22538
|
public servingLocations: string[];
|
|
22605
22539
|
|
|
22606
|
-
/** ChangeQuorumCloudDatabaseAction _databaseUri. */
|
|
22607
|
-
public _databaseUri?: "databaseUri";
|
|
22608
|
-
|
|
22609
22540
|
/**
|
|
22610
22541
|
* Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
|
|
22611
22542
|
* @param [properties] Properties to set
|
|
@@ -22836,15 +22767,6 @@ export namespace google {
|
|
|
22836
22767
|
/** ListCloudInstancesAction pageToken. */
|
|
22837
22768
|
public pageToken?: (string|null);
|
|
22838
22769
|
|
|
22839
|
-
/** ListCloudInstancesAction _filter. */
|
|
22840
|
-
public _filter?: "filter";
|
|
22841
|
-
|
|
22842
|
-
/** ListCloudInstancesAction _pageSize. */
|
|
22843
|
-
public _pageSize?: "pageSize";
|
|
22844
|
-
|
|
22845
|
-
/** ListCloudInstancesAction _pageToken. */
|
|
22846
|
-
public _pageToken?: "pageToken";
|
|
22847
|
-
|
|
22848
22770
|
/**
|
|
22849
22771
|
* Creates a new ListCloudInstancesAction instance using the specified properties.
|
|
22850
22772
|
* @param [properties] Properties to set
|
|
@@ -23438,9 +23360,6 @@ export namespace google {
|
|
|
23438
23360
|
/** CreateCloudBackupAction encryptionConfig. */
|
|
23439
23361
|
public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
|
|
23440
23362
|
|
|
23441
|
-
/** CreateCloudBackupAction _versionTime. */
|
|
23442
|
-
public _versionTime?: "versionTime";
|
|
23443
|
-
|
|
23444
23363
|
/**
|
|
23445
23364
|
* Creates a new CreateCloudBackupAction instance using the specified properties.
|
|
23446
23365
|
* @param [properties] Properties to set
|
|
@@ -24758,12 +24677,6 @@ export namespace google {
|
|
|
24758
24677
|
/** GenerateDbPartitionsForReadAction maxPartitionCount. */
|
|
24759
24678
|
public maxPartitionCount?: (number|Long|string|null);
|
|
24760
24679
|
|
|
24761
|
-
/** GenerateDbPartitionsForReadAction _desiredBytesPerPartition. */
|
|
24762
|
-
public _desiredBytesPerPartition?: "desiredBytesPerPartition";
|
|
24763
|
-
|
|
24764
|
-
/** GenerateDbPartitionsForReadAction _maxPartitionCount. */
|
|
24765
|
-
public _maxPartitionCount?: "maxPartitionCount";
|
|
24766
|
-
|
|
24767
24680
|
/**
|
|
24768
24681
|
* Creates a new GenerateDbPartitionsForReadAction instance using the specified properties.
|
|
24769
24682
|
* @param [properties] Properties to set
|
|
@@ -24867,9 +24780,6 @@ export namespace google {
|
|
|
24867
24780
|
/** GenerateDbPartitionsForQueryAction desiredBytesPerPartition. */
|
|
24868
24781
|
public desiredBytesPerPartition?: (number|Long|string|null);
|
|
24869
24782
|
|
|
24870
|
-
/** GenerateDbPartitionsForQueryAction _desiredBytesPerPartition. */
|
|
24871
|
-
public _desiredBytesPerPartition?: "desiredBytesPerPartition";
|
|
24872
|
-
|
|
24873
24783
|
/**
|
|
24874
24784
|
* Creates a new GenerateDbPartitionsForQueryAction instance using the specified properties.
|
|
24875
24785
|
* @param [properties] Properties to set
|
|
@@ -24985,12 +24895,6 @@ export namespace google {
|
|
|
24985
24895
|
/** BatchPartition index. */
|
|
24986
24896
|
public index?: (string|null);
|
|
24987
24897
|
|
|
24988
|
-
/** BatchPartition _table. */
|
|
24989
|
-
public _table?: "table";
|
|
24990
|
-
|
|
24991
|
-
/** BatchPartition _index. */
|
|
24992
|
-
public _index?: "index";
|
|
24993
|
-
|
|
24994
24898
|
/**
|
|
24995
24899
|
* Creates a new BatchPartition instance using the specified properties.
|
|
24996
24900
|
* @param [properties] Properties to set
|
|
@@ -25227,21 +25131,6 @@ export namespace google {
|
|
|
25227
25131
|
/** ExecuteChangeStreamQuery cloudDatabaseRole. */
|
|
25228
25132
|
public cloudDatabaseRole?: (string|null);
|
|
25229
25133
|
|
|
25230
|
-
/** ExecuteChangeStreamQuery _endTime. */
|
|
25231
|
-
public _endTime?: "endTime";
|
|
25232
|
-
|
|
25233
|
-
/** ExecuteChangeStreamQuery _partitionToken. */
|
|
25234
|
-
public _partitionToken?: "partitionToken";
|
|
25235
|
-
|
|
25236
|
-
/** ExecuteChangeStreamQuery _heartbeatMilliseconds. */
|
|
25237
|
-
public _heartbeatMilliseconds?: "heartbeatMilliseconds";
|
|
25238
|
-
|
|
25239
|
-
/** ExecuteChangeStreamQuery _deadlineSeconds. */
|
|
25240
|
-
public _deadlineSeconds?: "deadlineSeconds";
|
|
25241
|
-
|
|
25242
|
-
/** ExecuteChangeStreamQuery _cloudDatabaseRole. */
|
|
25243
|
-
public _cloudDatabaseRole?: "cloudDatabaseRole";
|
|
25244
|
-
|
|
25245
25134
|
/**
|
|
25246
25135
|
* Creates a new ExecuteChangeStreamQuery instance using the specified properties.
|
|
25247
25136
|
* @param [properties] Properties to set
|
|
@@ -25393,27 +25282,6 @@ export namespace google {
|
|
|
25393
25282
|
/** SpannerActionOutcome changeStreamRecords. */
|
|
25394
25283
|
public changeStreamRecords: google.spanner.executor.v1.IChangeStreamRecord[];
|
|
25395
25284
|
|
|
25396
|
-
/** SpannerActionOutcome _status. */
|
|
25397
|
-
public _status?: "status";
|
|
25398
|
-
|
|
25399
|
-
/** SpannerActionOutcome _commitTime. */
|
|
25400
|
-
public _commitTime?: "commitTime";
|
|
25401
|
-
|
|
25402
|
-
/** SpannerActionOutcome _readResult. */
|
|
25403
|
-
public _readResult?: "readResult";
|
|
25404
|
-
|
|
25405
|
-
/** SpannerActionOutcome _queryResult. */
|
|
25406
|
-
public _queryResult?: "queryResult";
|
|
25407
|
-
|
|
25408
|
-
/** SpannerActionOutcome _transactionRestarted. */
|
|
25409
|
-
public _transactionRestarted?: "transactionRestarted";
|
|
25410
|
-
|
|
25411
|
-
/** SpannerActionOutcome _batchTxnId. */
|
|
25412
|
-
public _batchTxnId?: "batchTxnId";
|
|
25413
|
-
|
|
25414
|
-
/** SpannerActionOutcome _adminResult. */
|
|
25415
|
-
public _adminResult?: "adminResult";
|
|
25416
|
-
|
|
25417
25285
|
/**
|
|
25418
25286
|
* Creates a new SpannerActionOutcome instance using the specified properties.
|
|
25419
25287
|
* @param [properties] Properties to set
|
|
@@ -26213,15 +26081,6 @@ export namespace google {
|
|
|
26213
26081
|
/** ReadResult rowType. */
|
|
26214
26082
|
public rowType?: (google.spanner.v1.IStructType|null);
|
|
26215
26083
|
|
|
26216
|
-
/** ReadResult _index. */
|
|
26217
|
-
public _index?: "index";
|
|
26218
|
-
|
|
26219
|
-
/** ReadResult _requestIndex. */
|
|
26220
|
-
public _requestIndex?: "requestIndex";
|
|
26221
|
-
|
|
26222
|
-
/** ReadResult _rowType. */
|
|
26223
|
-
public _rowType?: "rowType";
|
|
26224
|
-
|
|
26225
26084
|
/**
|
|
26226
26085
|
* Creates a new ReadResult instance using the specified properties.
|
|
26227
26086
|
* @param [properties] Properties to set
|
|
@@ -26325,9 +26184,6 @@ export namespace google {
|
|
|
26325
26184
|
/** QueryResult rowType. */
|
|
26326
26185
|
public rowType?: (google.spanner.v1.IStructType|null);
|
|
26327
26186
|
|
|
26328
|
-
/** QueryResult _rowType. */
|
|
26329
|
-
public _rowType?: "rowType";
|
|
26330
|
-
|
|
26331
26187
|
/**
|
|
26332
26188
|
* Creates a new QueryResult instance using the specified properties.
|
|
26333
26189
|
* @param [properties] Properties to set
|