@google-cloud/spanner 6.7.1 → 6.8.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 +21 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +1 -1
- package/build/protos/google/spanner/admin/database/v1/common.proto +1 -1
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +1 -1
- package/build/protos/google/spanner/admin/instance/v1/common.proto +1 -1
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +1 -1
- package/build/protos/google/spanner/v1/commit_response.proto +1 -1
- package/build/protos/google/spanner/v1/keys.proto +1 -1
- package/build/protos/google/spanner/v1/mutation.proto +1 -1
- package/build/protos/google/spanner/v1/query_plan.proto +1 -1
- package/build/protos/google/spanner/v1/result_set.proto +1 -1
- package/build/protos/google/spanner/v1/spanner.proto +15 -1
- package/build/protos/google/spanner/v1/transaction.proto +1 -1
- package/build/protos/google/spanner/v1/type.proto +1 -1
- package/build/protos/protos.d.ts +1614 -109
- package/build/protos/protos.js +4185 -286
- package/build/protos/protos.json +322 -22
- package/build/src/partial-result-stream.js +2 -6
- package/build/src/transaction-runner.d.ts +6 -0
- package/build/src/transaction-runner.js +19 -3
- package/build/src/transaction.js +1 -1
- package/build/src/v1/database_admin_client.d.ts +38 -40
- package/build/src/v1/database_admin_client.js +24 -26
- package/build/src/v1/instance_admin_client.d.ts +16 -16
- package/build/src/v1/instance_admin_client.js +6 -6
- package/build/src/v1/spanner_client.d.ts +41 -17
- package/build/src/v1/spanner_client.js +16 -4
- package/package.json +1 -1
|
@@ -682,7 +682,7 @@ class InstanceAdminClient {
|
|
|
682
682
|
* @param {object} [options]
|
|
683
683
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
684
684
|
* @returns {Stream}
|
|
685
|
-
* An object stream which emits an object representing
|
|
685
|
+
* An object stream which emits an object representing {@link google.spanner.admin.instance.v1.InstanceConfig | InstanceConfig} on 'data' event.
|
|
686
686
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
687
687
|
* times as needed. Note that it can affect your quota.
|
|
688
688
|
* We recommend using `listInstanceConfigsAsync()`
|
|
@@ -729,7 +729,7 @@ class InstanceAdminClient {
|
|
|
729
729
|
* @returns {Object}
|
|
730
730
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
731
731
|
* When you iterate the returned iterable, each element will be an object representing
|
|
732
|
-
*
|
|
732
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig | InstanceConfig}. The API will be called under the hood as needed, once per the page,
|
|
733
733
|
* so you can stop the iteration when you don't need more results.
|
|
734
734
|
* Please see the
|
|
735
735
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -836,7 +836,7 @@ class InstanceAdminClient {
|
|
|
836
836
|
* @param {object} [options]
|
|
837
837
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
838
838
|
* @returns {Stream}
|
|
839
|
-
* An object stream which emits an object representing
|
|
839
|
+
* An object stream which emits an object representing {@link google.longrunning.Operation | Operation} on 'data' event.
|
|
840
840
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
841
841
|
* times as needed. Note that it can affect your quota.
|
|
842
842
|
* We recommend using `listInstanceConfigOperationsAsync()`
|
|
@@ -927,7 +927,7 @@ class InstanceAdminClient {
|
|
|
927
927
|
* @returns {Object}
|
|
928
928
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
929
929
|
* When you iterate the returned iterable, each element will be an object representing
|
|
930
|
-
*
|
|
930
|
+
* {@link google.longrunning.Operation | Operation}. The API will be called under the hood as needed, once per the page,
|
|
931
931
|
* so you can stop the iteration when you don't need more results.
|
|
932
932
|
* Please see the
|
|
933
933
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -1009,7 +1009,7 @@ class InstanceAdminClient {
|
|
|
1009
1009
|
* @param {object} [options]
|
|
1010
1010
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1011
1011
|
* @returns {Stream}
|
|
1012
|
-
* An object stream which emits an object representing
|
|
1012
|
+
* An object stream which emits an object representing {@link google.spanner.admin.instance.v1.Instance | Instance} on 'data' event.
|
|
1013
1013
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1014
1014
|
* times as needed. Note that it can affect your quota.
|
|
1015
1015
|
* We recommend using `listInstancesAsync()`
|
|
@@ -1075,7 +1075,7 @@ class InstanceAdminClient {
|
|
|
1075
1075
|
* @returns {Object}
|
|
1076
1076
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
1077
1077
|
* When you iterate the returned iterable, each element will be an object representing
|
|
1078
|
-
*
|
|
1078
|
+
* {@link google.spanner.admin.instance.v1.Instance | Instance}. The API will be called under the hood as needed, once per the page,
|
|
1079
1079
|
* so you can stop the iteration when you don't need more results.
|
|
1080
1080
|
* Please see the
|
|
1081
1081
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -140,7 +140,7 @@ export declare class SpannerClient {
|
|
|
140
140
|
* @param {object} [options]
|
|
141
141
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
142
142
|
* @returns {Promise} - The promise which resolves to an array.
|
|
143
|
-
* The first element of the array is an object representing
|
|
143
|
+
* The first element of the array is an object representing {@link google.spanner.v1.Session | Session}.
|
|
144
144
|
* Please see the
|
|
145
145
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
146
146
|
* for more details and examples.
|
|
@@ -173,7 +173,7 @@ export declare class SpannerClient {
|
|
|
173
173
|
* @param {object} [options]
|
|
174
174
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
175
175
|
* @returns {Promise} - The promise which resolves to an array.
|
|
176
|
-
* The first element of the array is an object representing
|
|
176
|
+
* The first element of the array is an object representing {@link google.spanner.v1.BatchCreateSessionsResponse | BatchCreateSessionsResponse}.
|
|
177
177
|
* Please see the
|
|
178
178
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
179
179
|
* for more details and examples.
|
|
@@ -197,7 +197,7 @@ export declare class SpannerClient {
|
|
|
197
197
|
* @param {object} [options]
|
|
198
198
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
199
199
|
* @returns {Promise} - The promise which resolves to an array.
|
|
200
|
-
* The first element of the array is an object representing
|
|
200
|
+
* The first element of the array is an object representing {@link google.spanner.v1.Session | Session}.
|
|
201
201
|
* Please see the
|
|
202
202
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
203
203
|
* for more details and examples.
|
|
@@ -221,7 +221,7 @@ export declare class SpannerClient {
|
|
|
221
221
|
* @param {object} [options]
|
|
222
222
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
223
223
|
* @returns {Promise} - The promise which resolves to an array.
|
|
224
|
-
* The first element of the array is an object representing
|
|
224
|
+
* The first element of the array is an object representing {@link google.protobuf.Empty | Empty}.
|
|
225
225
|
* Please see the
|
|
226
226
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
227
227
|
* for more details and examples.
|
|
@@ -317,10 +317,16 @@ export declare class SpannerClient {
|
|
|
317
317
|
* Query optimizer configuration to use for the given query.
|
|
318
318
|
* @param {google.spanner.v1.RequestOptions} request.requestOptions
|
|
319
319
|
* Common options for this request.
|
|
320
|
+
* @param {boolean} request.dataBoostEnabled
|
|
321
|
+
* If this is for a partitioned query and this field is set to `true`, the
|
|
322
|
+
* request will be executed via Spanner independent compute resources.
|
|
323
|
+
*
|
|
324
|
+
* If the field is set to `true` but the request does not set
|
|
325
|
+
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
|
|
320
326
|
* @param {object} [options]
|
|
321
327
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
322
328
|
* @returns {Promise} - The promise which resolves to an array.
|
|
323
|
-
* The first element of the array is an object representing
|
|
329
|
+
* The first element of the array is an object representing {@link google.spanner.v1.ResultSet | ResultSet}.
|
|
324
330
|
* Please see the
|
|
325
331
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
326
332
|
* for more details and examples.
|
|
@@ -376,7 +382,7 @@ export declare class SpannerClient {
|
|
|
376
382
|
* @param {object} [options]
|
|
377
383
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
378
384
|
* @returns {Promise} - The promise which resolves to an array.
|
|
379
|
-
* The first element of the array is an object representing
|
|
385
|
+
* The first element of the array is an object representing {@link google.spanner.v1.ExecuteBatchDmlResponse | ExecuteBatchDmlResponse}.
|
|
380
386
|
* Please see the
|
|
381
387
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
382
388
|
* for more details and examples.
|
|
@@ -450,10 +456,16 @@ export declare class SpannerClient {
|
|
|
450
456
|
* PartitionReadRequest message used to create this partition_token.
|
|
451
457
|
* @param {google.spanner.v1.RequestOptions} request.requestOptions
|
|
452
458
|
* Common options for this request.
|
|
459
|
+
* @param {boolean} request.dataBoostEnabled
|
|
460
|
+
* If this is for a partitioned read and this field is set to `true`, the
|
|
461
|
+
* request will be executed via Spanner independent compute resources.
|
|
462
|
+
*
|
|
463
|
+
* If the field is set to `true` but the request does not set
|
|
464
|
+
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
|
|
453
465
|
* @param {object} [options]
|
|
454
466
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
455
467
|
* @returns {Promise} - The promise which resolves to an array.
|
|
456
|
-
* The first element of the array is an object representing
|
|
468
|
+
* The first element of the array is an object representing {@link google.spanner.v1.ResultSet | ResultSet}.
|
|
457
469
|
* Please see the
|
|
458
470
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
459
471
|
* for more details and examples.
|
|
@@ -486,7 +498,7 @@ export declare class SpannerClient {
|
|
|
486
498
|
* @param {object} [options]
|
|
487
499
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
488
500
|
* @returns {Promise} - The promise which resolves to an array.
|
|
489
|
-
* The first element of the array is an object representing
|
|
501
|
+
* The first element of the array is an object representing {@link google.spanner.v1.Transaction | Transaction}.
|
|
490
502
|
* Please see the
|
|
491
503
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
492
504
|
* for more details and examples.
|
|
@@ -543,7 +555,7 @@ export declare class SpannerClient {
|
|
|
543
555
|
* @param {object} [options]
|
|
544
556
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
545
557
|
* @returns {Promise} - The promise which resolves to an array.
|
|
546
|
-
* The first element of the array is an object representing
|
|
558
|
+
* The first element of the array is an object representing {@link google.spanner.v1.CommitResponse | CommitResponse}.
|
|
547
559
|
* Please see the
|
|
548
560
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
549
561
|
* for more details and examples.
|
|
@@ -574,7 +586,7 @@ export declare class SpannerClient {
|
|
|
574
586
|
* @param {object} [options]
|
|
575
587
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
576
588
|
* @returns {Promise} - The promise which resolves to an array.
|
|
577
|
-
* The first element of the array is an object representing
|
|
589
|
+
* The first element of the array is an object representing {@link google.protobuf.Empty | Empty}.
|
|
578
590
|
* Please see the
|
|
579
591
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
580
592
|
* for more details and examples.
|
|
@@ -644,7 +656,7 @@ export declare class SpannerClient {
|
|
|
644
656
|
* @param {object} [options]
|
|
645
657
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
646
658
|
* @returns {Promise} - The promise which resolves to an array.
|
|
647
|
-
* The first element of the array is an object representing
|
|
659
|
+
* The first element of the array is an object representing {@link google.spanner.v1.PartitionResponse | PartitionResponse}.
|
|
648
660
|
* Please see the
|
|
649
661
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
650
662
|
* for more details and examples.
|
|
@@ -700,7 +712,7 @@ export declare class SpannerClient {
|
|
|
700
712
|
* @param {object} [options]
|
|
701
713
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
702
714
|
* @returns {Promise} - The promise which resolves to an array.
|
|
703
|
-
* The first element of the array is an object representing
|
|
715
|
+
* The first element of the array is an object representing {@link google.spanner.v1.PartitionResponse | PartitionResponse}.
|
|
704
716
|
* Please see the
|
|
705
717
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
706
718
|
* for more details and examples.
|
|
@@ -790,10 +802,16 @@ export declare class SpannerClient {
|
|
|
790
802
|
* Query optimizer configuration to use for the given query.
|
|
791
803
|
* @param {google.spanner.v1.RequestOptions} request.requestOptions
|
|
792
804
|
* Common options for this request.
|
|
805
|
+
* @param {boolean} request.dataBoostEnabled
|
|
806
|
+
* If this is for a partitioned query and this field is set to `true`, the
|
|
807
|
+
* request will be executed via Spanner independent compute resources.
|
|
808
|
+
*
|
|
809
|
+
* If the field is set to `true` but the request does not set
|
|
810
|
+
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
|
|
793
811
|
* @param {object} [options]
|
|
794
812
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
795
813
|
* @returns {Stream}
|
|
796
|
-
* An object stream which emits
|
|
814
|
+
* An object stream which emits {@link google.spanner.v1.PartialResultSet | PartialResultSet} on 'data' event.
|
|
797
815
|
* Please see the
|
|
798
816
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
|
|
799
817
|
* for more details and examples.
|
|
@@ -853,10 +871,16 @@ export declare class SpannerClient {
|
|
|
853
871
|
* PartitionReadRequest message used to create this partition_token.
|
|
854
872
|
* @param {google.spanner.v1.RequestOptions} request.requestOptions
|
|
855
873
|
* Common options for this request.
|
|
874
|
+
* @param {boolean} request.dataBoostEnabled
|
|
875
|
+
* If this is for a partitioned read and this field is set to `true`, the
|
|
876
|
+
* request will be executed via Spanner independent compute resources.
|
|
877
|
+
*
|
|
878
|
+
* If the field is set to `true` but the request does not set
|
|
879
|
+
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
|
|
856
880
|
* @param {object} [options]
|
|
857
881
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
858
882
|
* @returns {Stream}
|
|
859
|
-
* An object stream which emits
|
|
883
|
+
* An object stream which emits {@link google.spanner.v1.PartialResultSet | PartialResultSet} on 'data' event.
|
|
860
884
|
* Please see the
|
|
861
885
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
|
|
862
886
|
* for more details and examples.
|
|
@@ -890,7 +914,7 @@ export declare class SpannerClient {
|
|
|
890
914
|
* @param {object} [options]
|
|
891
915
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
892
916
|
* @returns {Promise} - The promise which resolves to an array.
|
|
893
|
-
* The first element of the array is Array of
|
|
917
|
+
* The first element of the array is Array of {@link google.spanner.v1.Session | Session}.
|
|
894
918
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
895
919
|
* times as needed and will merge results from all the pages into this array.
|
|
896
920
|
* Note that it can affect your quota.
|
|
@@ -934,7 +958,7 @@ export declare class SpannerClient {
|
|
|
934
958
|
* @param {object} [options]
|
|
935
959
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
936
960
|
* @returns {Stream}
|
|
937
|
-
* An object stream which emits an object representing
|
|
961
|
+
* An object stream which emits an object representing {@link google.spanner.v1.Session | Session} on 'data' event.
|
|
938
962
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
939
963
|
* times as needed. Note that it can affect your quota.
|
|
940
964
|
* We recommend using `listSessionsAsync()`
|
|
@@ -975,7 +999,7 @@ export declare class SpannerClient {
|
|
|
975
999
|
* @returns {Object}
|
|
976
1000
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
977
1001
|
* When you iterate the returned iterable, each element will be an object representing
|
|
978
|
-
*
|
|
1002
|
+
* {@link google.spanner.v1.Session | Session}. The API will be called under the hood as needed, once per the page,
|
|
979
1003
|
* so you can stop the iteration when you don't need more results.
|
|
980
1004
|
* Please see the
|
|
981
1005
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -606,10 +606,16 @@ class SpannerClient {
|
|
|
606
606
|
* Query optimizer configuration to use for the given query.
|
|
607
607
|
* @param {google.spanner.v1.RequestOptions} request.requestOptions
|
|
608
608
|
* Common options for this request.
|
|
609
|
+
* @param {boolean} request.dataBoostEnabled
|
|
610
|
+
* If this is for a partitioned query and this field is set to `true`, the
|
|
611
|
+
* request will be executed via Spanner independent compute resources.
|
|
612
|
+
*
|
|
613
|
+
* If the field is set to `true` but the request does not set
|
|
614
|
+
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
|
|
609
615
|
* @param {object} [options]
|
|
610
616
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
611
617
|
* @returns {Stream}
|
|
612
|
-
* An object stream which emits
|
|
618
|
+
* An object stream which emits {@link google.spanner.v1.PartialResultSet | PartialResultSet} on 'data' event.
|
|
613
619
|
* Please see the
|
|
614
620
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
|
|
615
621
|
* for more details and examples.
|
|
@@ -681,10 +687,16 @@ class SpannerClient {
|
|
|
681
687
|
* PartitionReadRequest message used to create this partition_token.
|
|
682
688
|
* @param {google.spanner.v1.RequestOptions} request.requestOptions
|
|
683
689
|
* Common options for this request.
|
|
690
|
+
* @param {boolean} request.dataBoostEnabled
|
|
691
|
+
* If this is for a partitioned read and this field is set to `true`, the
|
|
692
|
+
* request will be executed via Spanner independent compute resources.
|
|
693
|
+
*
|
|
694
|
+
* If the field is set to `true` but the request does not set
|
|
695
|
+
* `partition_token`, the API will return an `INVALID_ARGUMENT` error.
|
|
684
696
|
* @param {object} [options]
|
|
685
697
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
686
698
|
* @returns {Stream}
|
|
687
|
-
* An object stream which emits
|
|
699
|
+
* An object stream which emits {@link google.spanner.v1.PartialResultSet | PartialResultSet} on 'data' event.
|
|
688
700
|
* Please see the
|
|
689
701
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#server-streaming)
|
|
690
702
|
* for more details and examples.
|
|
@@ -750,7 +762,7 @@ class SpannerClient {
|
|
|
750
762
|
* @param {object} [options]
|
|
751
763
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
752
764
|
* @returns {Stream}
|
|
753
|
-
* An object stream which emits an object representing
|
|
765
|
+
* An object stream which emits an object representing {@link google.spanner.v1.Session | Session} on 'data' event.
|
|
754
766
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
755
767
|
* times as needed. Note that it can affect your quota.
|
|
756
768
|
* We recommend using `listSessionsAsync()`
|
|
@@ -805,7 +817,7 @@ class SpannerClient {
|
|
|
805
817
|
* @returns {Object}
|
|
806
818
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
807
819
|
* When you iterate the returned iterable, each element will be an object representing
|
|
808
|
-
*
|
|
820
|
+
* {@link google.spanner.v1.Session | Session}. The API will be called under the hood as needed, once per the page,
|
|
809
821
|
* so you can stop the iteration when you don't need more results.
|
|
810
822
|
* Please see the
|
|
811
823
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|