@google-cloud/spanner 5.16.3 → 5.17.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.
@@ -1309,6 +1309,13 @@
1309
1309
  "options": {
1310
1310
  "(google.api.field_behavior)": "OUTPUT_ONLY"
1311
1311
  }
1312
+ },
1313
+ "databaseDialect": {
1314
+ "type": "DatabaseDialect",
1315
+ "id": 10,
1316
+ "options": {
1317
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1318
+ }
1312
1319
  }
1313
1320
  },
1314
1321
  "nested": {
@@ -1613,6 +1620,13 @@
1613
1620
  }
1614
1621
  }
1615
1622
  },
1623
+ "DatabaseDialect": {
1624
+ "values": {
1625
+ "DATABASE_DIALECT_UNSPECIFIED": 0,
1626
+ "GOOGLE_STANDARD_SQL": 1,
1627
+ "POSTGRESQL": 2
1628
+ }
1629
+ },
1616
1630
  "DatabaseAdmin": {
1617
1631
  "options": {
1618
1632
  "(google.api.default_host)": "spanner.googleapis.com",
@@ -2081,6 +2095,13 @@
2081
2095
  "options": {
2082
2096
  "(google.api.field_behavior)": "OUTPUT_ONLY"
2083
2097
  }
2098
+ },
2099
+ "databaseDialect": {
2100
+ "type": "DatabaseDialect",
2101
+ "id": 10,
2102
+ "options": {
2103
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2104
+ }
2084
2105
  }
2085
2106
  },
2086
2107
  "nested": {
@@ -2158,6 +2179,13 @@
2158
2179
  "options": {
2159
2180
  "(google.api.field_behavior)": "OPTIONAL"
2160
2181
  }
2182
+ },
2183
+ "databaseDialect": {
2184
+ "type": "DatabaseDialect",
2185
+ "id": 5,
2186
+ "options": {
2187
+ "(google.api.field_behavior)": "OPTIONAL"
2188
+ }
2161
2189
  }
2162
2190
  }
2163
2191
  },
@@ -2730,18 +2758,25 @@
2730
2758
  "fields": {
2731
2759
  "name": {
2732
2760
  "type": "string",
2733
- "id": 1
2761
+ "id": 1,
2762
+ "options": {
2763
+ "(google.api.field_behavior)": "REQUIRED"
2764
+ }
2734
2765
  },
2735
2766
  "config": {
2736
2767
  "type": "string",
2737
2768
  "id": 2,
2738
2769
  "options": {
2770
+ "(google.api.field_behavior)": "REQUIRED",
2739
2771
  "(google.api.resource_reference).type": "spanner.googleapis.com/InstanceConfig"
2740
2772
  }
2741
2773
  },
2742
2774
  "displayName": {
2743
2775
  "type": "string",
2744
- "id": 3
2776
+ "id": 3,
2777
+ "options": {
2778
+ "(google.api.field_behavior)": "REQUIRED"
2779
+ }
2745
2780
  },
2746
2781
  "nodeCount": {
2747
2782
  "type": "int32",
@@ -3106,7 +3141,10 @@
3106
3141
  "fields": {
3107
3142
  "table": {
3108
3143
  "type": "string",
3109
- "id": 1
3144
+ "id": 1,
3145
+ "options": {
3146
+ "(google.api.field_behavior)": "REQUIRED"
3147
+ }
3110
3148
  },
3111
3149
  "columns": {
3112
3150
  "rule": "repeated",
@@ -3124,11 +3162,17 @@
3124
3162
  "fields": {
3125
3163
  "table": {
3126
3164
  "type": "string",
3127
- "id": 1
3165
+ "id": 1,
3166
+ "options": {
3167
+ "(google.api.field_behavior)": "REQUIRED"
3168
+ }
3128
3169
  },
3129
3170
  "keySet": {
3130
3171
  "type": "KeySet",
3131
- "id": 2
3172
+ "id": 2,
3173
+ "options": {
3174
+ "(google.api.field_behavior)": "REQUIRED"
3175
+ }
3132
3176
  }
3133
3177
  }
3134
3178
  }
@@ -3167,6 +3211,13 @@
3167
3211
  }
3168
3212
  },
3169
3213
  "nested": {
3214
+ "Kind": {
3215
+ "values": {
3216
+ "KIND_UNSPECIFIED": 0,
3217
+ "RELATIONAL": 1,
3218
+ "SCALAR": 2
3219
+ }
3220
+ },
3170
3221
  "ChildLink": {
3171
3222
  "fields": {
3172
3223
  "childIndex": {
@@ -3195,13 +3246,6 @@
3195
3246
  "id": 2
3196
3247
  }
3197
3248
  }
3198
- },
3199
- "Kind": {
3200
- "values": {
3201
- "KIND_UNSPECIFIED": 0,
3202
- "RELATIONAL": 1,
3203
- "SCALAR": 2
3204
- }
3205
3249
  }
3206
3250
  }
3207
3251
  },
@@ -3421,6 +3465,10 @@
3421
3465
  "structType": {
3422
3466
  "type": "StructType",
3423
3467
  "id": 3
3468
+ },
3469
+ "typeAnnotation": {
3470
+ "type": "TypeAnnotationCode",
3471
+ "id": 4
3424
3472
  }
3425
3473
  }
3426
3474
  },
@@ -3463,6 +3511,12 @@
3463
3511
  "JSON": 11
3464
3512
  }
3465
3513
  },
3514
+ "TypeAnnotationCode": {
3515
+ "values": {
3516
+ "TYPE_ANNOTATION_CODE_UNSPECIFIED": 0,
3517
+ "PG_NUMERIC": 2
3518
+ }
3519
+ },
3466
3520
  "Spanner": {
3467
3521
  "options": {
3468
3522
  "(google.api.default_host)": "spanner.googleapis.com",
@@ -3754,7 +3808,10 @@
3754
3808
  },
3755
3809
  "session": {
3756
3810
  "type": "Session",
3757
- "id": 2
3811
+ "id": 2,
3812
+ "options": {
3813
+ "(google.api.field_behavior)": "REQUIRED"
3814
+ }
3758
3815
  }
3759
3816
  }
3760
3817
  },
@@ -3967,6 +4024,13 @@
3967
4024
  }
3968
4025
  },
3969
4026
  "nested": {
4027
+ "QueryMode": {
4028
+ "values": {
4029
+ "NORMAL": 0,
4030
+ "PLAN": 1,
4031
+ "PROFILE": 2
4032
+ }
4033
+ },
3970
4034
  "QueryOptions": {
3971
4035
  "fields": {
3972
4036
  "optimizerVersion": {
@@ -3978,13 +4042,6 @@
3978
4042
  "id": 2
3979
4043
  }
3980
4044
  }
3981
- },
3982
- "QueryMode": {
3983
- "values": {
3984
- "NORMAL": 0,
3985
- "PLAN": 1,
3986
- "PROFILE": 2
3987
- }
3988
4045
  }
3989
4046
  }
3990
4047
  },
@@ -4030,7 +4087,10 @@
4030
4087
  "fields": {
4031
4088
  "sql": {
4032
4089
  "type": "string",
4033
- "id": 1
4090
+ "id": 1,
4091
+ "options": {
4092
+ "(google.api.field_behavior)": "REQUIRED"
4093
+ }
4034
4094
  },
4035
4095
  "params": {
4036
4096
  "type": "google.protobuf.Struct",
@@ -4325,6 +4385,93 @@
4325
4385
  "cc_enable_arenas": true
4326
4386
  },
4327
4387
  "nested": {
4388
+ "http": {
4389
+ "type": "HttpRule",
4390
+ "id": 72295728,
4391
+ "extend": "google.protobuf.MethodOptions"
4392
+ },
4393
+ "Http": {
4394
+ "fields": {
4395
+ "rules": {
4396
+ "rule": "repeated",
4397
+ "type": "HttpRule",
4398
+ "id": 1
4399
+ },
4400
+ "fullyDecodeReservedExpansion": {
4401
+ "type": "bool",
4402
+ "id": 2
4403
+ }
4404
+ }
4405
+ },
4406
+ "HttpRule": {
4407
+ "oneofs": {
4408
+ "pattern": {
4409
+ "oneof": [
4410
+ "get",
4411
+ "put",
4412
+ "post",
4413
+ "delete",
4414
+ "patch",
4415
+ "custom"
4416
+ ]
4417
+ }
4418
+ },
4419
+ "fields": {
4420
+ "selector": {
4421
+ "type": "string",
4422
+ "id": 1
4423
+ },
4424
+ "get": {
4425
+ "type": "string",
4426
+ "id": 2
4427
+ },
4428
+ "put": {
4429
+ "type": "string",
4430
+ "id": 3
4431
+ },
4432
+ "post": {
4433
+ "type": "string",
4434
+ "id": 4
4435
+ },
4436
+ "delete": {
4437
+ "type": "string",
4438
+ "id": 5
4439
+ },
4440
+ "patch": {
4441
+ "type": "string",
4442
+ "id": 6
4443
+ },
4444
+ "custom": {
4445
+ "type": "CustomHttpPattern",
4446
+ "id": 8
4447
+ },
4448
+ "body": {
4449
+ "type": "string",
4450
+ "id": 7
4451
+ },
4452
+ "responseBody": {
4453
+ "type": "string",
4454
+ "id": 12
4455
+ },
4456
+ "additionalBindings": {
4457
+ "rule": "repeated",
4458
+ "type": "HttpRule",
4459
+ "id": 11
4460
+ }
4461
+ }
4462
+ },
4463
+ "CustomHttpPattern": {
4464
+ "fields": {
4465
+ "kind": {
4466
+ "type": "string",
4467
+ "id": 1
4468
+ },
4469
+ "path": {
4470
+ "type": "string",
4471
+ "id": 2
4472
+ }
4473
+ }
4474
+ },
4328
4475
  "fieldBehavior": {
4329
4476
  "rule": "repeated",
4330
4477
  "type": "google.api.FieldBehavior",
@@ -4420,93 +4567,6 @@
4420
4567
  }
4421
4568
  }
4422
4569
  },
4423
- "http": {
4424
- "type": "HttpRule",
4425
- "id": 72295728,
4426
- "extend": "google.protobuf.MethodOptions"
4427
- },
4428
- "Http": {
4429
- "fields": {
4430
- "rules": {
4431
- "rule": "repeated",
4432
- "type": "HttpRule",
4433
- "id": 1
4434
- },
4435
- "fullyDecodeReservedExpansion": {
4436
- "type": "bool",
4437
- "id": 2
4438
- }
4439
- }
4440
- },
4441
- "HttpRule": {
4442
- "oneofs": {
4443
- "pattern": {
4444
- "oneof": [
4445
- "get",
4446
- "put",
4447
- "post",
4448
- "delete",
4449
- "patch",
4450
- "custom"
4451
- ]
4452
- }
4453
- },
4454
- "fields": {
4455
- "selector": {
4456
- "type": "string",
4457
- "id": 1
4458
- },
4459
- "get": {
4460
- "type": "string",
4461
- "id": 2
4462
- },
4463
- "put": {
4464
- "type": "string",
4465
- "id": 3
4466
- },
4467
- "post": {
4468
- "type": "string",
4469
- "id": 4
4470
- },
4471
- "delete": {
4472
- "type": "string",
4473
- "id": 5
4474
- },
4475
- "patch": {
4476
- "type": "string",
4477
- "id": 6
4478
- },
4479
- "custom": {
4480
- "type": "CustomHttpPattern",
4481
- "id": 8
4482
- },
4483
- "body": {
4484
- "type": "string",
4485
- "id": 7
4486
- },
4487
- "responseBody": {
4488
- "type": "string",
4489
- "id": 12
4490
- },
4491
- "additionalBindings": {
4492
- "rule": "repeated",
4493
- "type": "HttpRule",
4494
- "id": 11
4495
- }
4496
- }
4497
- },
4498
- "CustomHttpPattern": {
4499
- "fields": {
4500
- "kind": {
4501
- "type": "string",
4502
- "id": 1
4503
- },
4504
- "path": {
4505
- "type": "string",
4506
- "id": 2
4507
- }
4508
- }
4509
- },
4510
4570
  "methodSignature": {
4511
4571
  "rule": "repeated",
4512
4572
  "type": "string",
@@ -49,7 +49,7 @@ export declare type GetDatabaseOperationsResponse = PagedResponse<IOperation, da
49
49
  export interface CreateDatabaseOptions extends databaseAdmin.spanner.admin.database.v1.ICreateDatabaseRequest {
50
50
  poolOptions?: SessionPoolOptions;
51
51
  poolCtor?: SessionPool;
52
- schema?: string;
52
+ schema?: string | string[];
53
53
  gaxOptions?: CallOptions;
54
54
  }
55
55
  export declare type GetDatabasesOptions = PagedOptions;
@@ -6,10 +6,11 @@ import * as protos from '../../protos/protos';
6
6
  /**
7
7
  * Cloud Spanner Database Admin API
8
8
  *
9
- * The Cloud Spanner Database Admin API can be used to create, drop, and
10
- * list databases. It also enables updating the schema of pre-existing
11
- * databases. It can be also used to create, delete and list backups for a
12
- * database and to restore from an existing backup.
9
+ * The Cloud Spanner Database Admin API can be used to:
10
+ * * create, drop, and list databases
11
+ * * update the schema of pre-existing databases
12
+ * * create, delete and list backups for a database
13
+ * * restore a database from an existing backup
13
14
  * @class
14
15
  * @memberof v1
15
16
  */
@@ -132,6 +133,8 @@ export declare class DatabaseAdminClient {
132
133
  * Drops (aka deletes) a Cloud Spanner database.
133
134
  * Completed backups for the database will be retained according to their
134
135
  * `expire_time`.
136
+ * Note: Cloud Spanner might continue to accept requests for a few seconds
137
+ * after the database has been deleted.
135
138
  *
136
139
  * @param {Object} request
137
140
  * The request object that will be sent.
@@ -375,6 +378,8 @@ export declare class DatabaseAdminClient {
375
378
  * Optional. The encryption configuration for the database. If this field is not
376
379
  * specified, Cloud Spanner will encrypt/decrypt all data at rest using
377
380
  * Google default encryption.
381
+ * @param {google.spanner.admin.database.v1.DatabaseDialect} [request.databaseDialect]
382
+ * Optional. The dialect of the Cloud Spanner Database.
378
383
  * @param {object} [options]
379
384
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
380
385
  * @returns {Promise} - The promise which resolves to an array.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021 Google LLC
2
+ // Copyright 2022 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -32,10 +32,11 @@ const version = require('../../../package.json').version;
32
32
  /**
33
33
  * Cloud Spanner Database Admin API
34
34
  *
35
- * The Cloud Spanner Database Admin API can be used to create, drop, and
36
- * list databases. It also enables updating the schema of pre-existing
37
- * databases. It can be also used to create, delete and list backups for a
38
- * database and to restore from an existing backup.
35
+ * The Cloud Spanner Database Admin API can be used to:
36
+ * * create, drop, and list databases
37
+ * * update the schema of pre-existing databases
38
+ * * create, delete and list backups for a database
39
+ * * restore a database from an existing backup
39
40
  * @class
40
41
  * @memberof v1
41
42
  */
@@ -1462,8 +1463,7 @@ class DatabaseAdminClient {
1462
1463
  * @returns {Promise} A promise that resolves when the client is closed.
1463
1464
  */
1464
1465
  close() {
1465
- this.initialize();
1466
- if (!this._terminated) {
1466
+ if (this.databaseAdminStub && !this._terminated) {
1467
1467
  return this.databaseAdminStub.then(stub => {
1468
1468
  this._terminated = true;
1469
1469
  stub.close();
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2021 Google LLC
2
+ // Copyright 2022 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -826,8 +826,7 @@ class InstanceAdminClient {
826
826
  * @returns {Promise} A promise that resolves when the client is closed.
827
827
  */
828
828
  close() {
829
- this.initialize();
830
- if (!this._terminated) {
829
+ if (this.instanceAdminStub && !this._terminated) {
831
830
  return this.instanceAdminStub.then(stub => {
832
831
  this._terminated = true;
833
832
  stub.close();
@@ -130,7 +130,7 @@ export declare class SpannerClient {
130
130
  * @param {string} request.database
131
131
  * Required. The database in which the new session is created.
132
132
  * @param {google.spanner.v1.Session} request.session
133
- * The session to create.
133
+ * Required. The session to create.
134
134
  * @param {object} [options]
135
135
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
136
136
  * @returns {Promise} - The promise which resolves to an array.
@@ -138,8 +138,6 @@ export declare class SpannerClient {
138
138
  * Please see the
139
139
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
140
140
  * for more details and examples.
141
- * @example <caption>include:samples/generated/v1/spanner.create_session.js</caption>
142
- * region_tag:spanner_v1_generated_Spanner_CreateSession_async
143
141
  */
144
142
  createSession(request?: protos.google.spanner.v1.ICreateSessionRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.ISession, protos.google.spanner.v1.ICreateSessionRequest | undefined, {} | undefined]>;
145
143
  createSession(request: protos.google.spanner.v1.ICreateSessionRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.ISession, protos.google.spanner.v1.ICreateSessionRequest | null | undefined, {} | null | undefined>): void;
@@ -169,8 +167,6 @@ export declare class SpannerClient {
169
167
  * Please see the
170
168
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
171
169
  * for more details and examples.
172
- * @example <caption>include:samples/generated/v1/spanner.batch_create_sessions.js</caption>
173
- * region_tag:spanner_v1_generated_Spanner_BatchCreateSessions_async
174
170
  */
175
171
  batchCreateSessions(request?: protos.google.spanner.v1.IBatchCreateSessionsRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.IBatchCreateSessionsResponse, protos.google.spanner.v1.IBatchCreateSessionsRequest | undefined, {} | undefined]>;
176
172
  batchCreateSessions(request: protos.google.spanner.v1.IBatchCreateSessionsRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.IBatchCreateSessionsResponse, protos.google.spanner.v1.IBatchCreateSessionsRequest | null | undefined, {} | null | undefined>): void;
@@ -191,8 +187,6 @@ export declare class SpannerClient {
191
187
  * Please see the
192
188
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
193
189
  * for more details and examples.
194
- * @example <caption>include:samples/generated/v1/spanner.get_session.js</caption>
195
- * region_tag:spanner_v1_generated_Spanner_GetSession_async
196
190
  */
197
191
  getSession(request?: protos.google.spanner.v1.IGetSessionRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.ISession, protos.google.spanner.v1.IGetSessionRequest | undefined, {} | undefined]>;
198
192
  getSession(request: protos.google.spanner.v1.IGetSessionRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.ISession, protos.google.spanner.v1.IGetSessionRequest | null | undefined, {} | null | undefined>): void;
@@ -213,8 +207,6 @@ export declare class SpannerClient {
213
207
  * Please see the
214
208
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
215
209
  * for more details and examples.
216
- * @example <caption>include:samples/generated/v1/spanner.delete_session.js</caption>
217
- * region_tag:spanner_v1_generated_Spanner_DeleteSession_async
218
210
  */
219
211
  deleteSession(request?: protos.google.spanner.v1.IDeleteSessionRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, protos.google.spanner.v1.IDeleteSessionRequest | undefined, {} | undefined]>;
220
212
  deleteSession(request: protos.google.spanner.v1.IDeleteSessionRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.spanner.v1.IDeleteSessionRequest | null | undefined, {} | null | undefined>): void;
@@ -310,8 +302,6 @@ export declare class SpannerClient {
310
302
  * Please see the
311
303
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
312
304
  * for more details and examples.
313
- * @example <caption>include:samples/generated/v1/spanner.execute_sql.js</caption>
314
- * region_tag:spanner_v1_generated_Spanner_ExecuteSql_async
315
305
  */
316
306
  executeSql(request?: protos.google.spanner.v1.IExecuteSqlRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.IResultSet, protos.google.spanner.v1.IExecuteSqlRequest | undefined, {} | undefined]>;
317
307
  executeSql(request: protos.google.spanner.v1.IExecuteSqlRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.IResultSet, protos.google.spanner.v1.IExecuteSqlRequest | null | undefined, {} | null | undefined>): void;
@@ -364,8 +354,6 @@ export declare class SpannerClient {
364
354
  * Please see the
365
355
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
366
356
  * for more details and examples.
367
- * @example <caption>include:samples/generated/v1/spanner.execute_batch_dml.js</caption>
368
- * region_tag:spanner_v1_generated_Spanner_ExecuteBatchDml_async
369
357
  */
370
358
  executeBatchDml(request?: protos.google.spanner.v1.IExecuteBatchDmlRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.IExecuteBatchDmlResponse, protos.google.spanner.v1.IExecuteBatchDmlRequest | undefined, {} | undefined]>;
371
359
  executeBatchDml(request: protos.google.spanner.v1.IExecuteBatchDmlRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.IExecuteBatchDmlResponse, protos.google.spanner.v1.IExecuteBatchDmlRequest | null | undefined, {} | null | undefined>): void;
@@ -439,8 +427,6 @@ export declare class SpannerClient {
439
427
  * Please see the
440
428
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
441
429
  * for more details and examples.
442
- * @example <caption>include:samples/generated/v1/spanner.read.js</caption>
443
- * region_tag:spanner_v1_generated_Spanner_Read_async
444
430
  */
445
431
  read(request?: protos.google.spanner.v1.IReadRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.IResultSet, protos.google.spanner.v1.IReadRequest | undefined, {} | undefined]>;
446
432
  read(request: protos.google.spanner.v1.IReadRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.IResultSet, protos.google.spanner.v1.IReadRequest | null | undefined, {} | null | undefined>): void;
@@ -470,8 +456,6 @@ export declare class SpannerClient {
470
456
  * Please see the
471
457
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
472
458
  * for more details and examples.
473
- * @example <caption>include:samples/generated/v1/spanner.begin_transaction.js</caption>
474
- * region_tag:spanner_v1_generated_Spanner_BeginTransaction_async
475
459
  */
476
460
  beginTransaction(request?: protos.google.spanner.v1.IBeginTransactionRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.ITransaction, protos.google.spanner.v1.IBeginTransactionRequest | undefined, {} | undefined]>;
477
461
  beginTransaction(request: protos.google.spanner.v1.IBeginTransactionRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.ITransaction, protos.google.spanner.v1.IBeginTransactionRequest | null | undefined, {} | null | undefined>): void;
@@ -525,8 +509,6 @@ export declare class SpannerClient {
525
509
  * Please see the
526
510
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
527
511
  * for more details and examples.
528
- * @example <caption>include:samples/generated/v1/spanner.commit.js</caption>
529
- * region_tag:spanner_v1_generated_Spanner_Commit_async
530
512
  */
531
513
  commit(request?: protos.google.spanner.v1.ICommitRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.ICommitResponse, protos.google.spanner.v1.ICommitRequest | undefined, {} | undefined]>;
532
514
  commit(request: protos.google.spanner.v1.ICommitRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.ICommitResponse, protos.google.spanner.v1.ICommitRequest | null | undefined, {} | null | undefined>): void;
@@ -554,8 +536,6 @@ export declare class SpannerClient {
554
536
  * Please see the
555
537
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
556
538
  * for more details and examples.
557
- * @example <caption>include:samples/generated/v1/spanner.rollback.js</caption>
558
- * region_tag:spanner_v1_generated_Spanner_Rollback_async
559
539
  */
560
540
  rollback(request?: protos.google.spanner.v1.IRollbackRequest, options?: CallOptions): Promise<[protos.google.protobuf.IEmpty, protos.google.spanner.v1.IRollbackRequest | undefined, {} | undefined]>;
561
541
  rollback(request: protos.google.spanner.v1.IRollbackRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.spanner.v1.IRollbackRequest | null | undefined, {} | null | undefined>): void;
@@ -622,8 +602,6 @@ export declare class SpannerClient {
622
602
  * Please see the
623
603
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
624
604
  * for more details and examples.
625
- * @example <caption>include:samples/generated/v1/spanner.partition_query.js</caption>
626
- * region_tag:spanner_v1_generated_Spanner_PartitionQuery_async
627
605
  */
628
606
  partitionQuery(request?: protos.google.spanner.v1.IPartitionQueryRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.IPartitionResponse, protos.google.spanner.v1.IPartitionQueryRequest | undefined, {} | undefined]>;
629
607
  partitionQuery(request: protos.google.spanner.v1.IPartitionQueryRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.IPartitionResponse, protos.google.spanner.v1.IPartitionQueryRequest | null | undefined, {} | null | undefined>): void;
@@ -676,8 +654,6 @@ export declare class SpannerClient {
676
654
  * Please see the
677
655
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
678
656
  * for more details and examples.
679
- * @example <caption>include:samples/generated/v1/spanner.partition_read.js</caption>
680
- * region_tag:spanner_v1_generated_Spanner_PartitionRead_async
681
657
  */
682
658
  partitionRead(request?: protos.google.spanner.v1.IPartitionReadRequest, options?: CallOptions): Promise<[protos.google.spanner.v1.IPartitionResponse, protos.google.spanner.v1.IPartitionReadRequest | undefined, {} | undefined]>;
683
659
  partitionRead(request: protos.google.spanner.v1.IPartitionReadRequest, options: CallOptions, callback: Callback<protos.google.spanner.v1.IPartitionResponse, protos.google.spanner.v1.IPartitionReadRequest | null | undefined, {} | null | undefined>): void;
@@ -767,8 +743,6 @@ export declare class SpannerClient {
767
743
  * Please see the
768
744
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
769
745
  * for more details and examples.
770
- * @example <caption>include:samples/generated/v1/spanner.execute_streaming_sql.js</caption>
771
- * region_tag:spanner_v1_generated_Spanner_ExecuteStreamingSql_async
772
746
  */
773
747
  executeStreamingSql(request?: protos.google.spanner.v1.IExecuteSqlRequest, options?: CallOptions): gax.CancellableStream;
774
748
  /**
@@ -832,8 +806,6 @@ export declare class SpannerClient {
832
806
  * Please see the
833
807
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
834
808
  * for more details and examples.
835
- * @example <caption>include:samples/generated/v1/spanner.streaming_read.js</caption>
836
- * region_tag:spanner_v1_generated_Spanner_StreamingRead_async
837
809
  */
838
810
  streamingRead(request?: protos.google.spanner.v1.IReadRequest, options?: CallOptions): gax.CancellableStream;
839
811
  /**
@@ -950,8 +922,6 @@ export declare class SpannerClient {
950
922
  * Please see the
951
923
  * [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
952
924
  * for more details and examples.
953
- * @example <caption>include:samples/generated/v1/spanner.list_sessions.js</caption>
954
- * region_tag:spanner_v1_generated_Spanner_ListSessions_async
955
925
  */
956
926
  listSessionsAsync(request?: protos.google.spanner.v1.IListSessionsRequest, options?: CallOptions): AsyncIterable<protos.google.spanner.v1.ISession>;
957
927
  /**