@google-cloud/spanner 6.7.1 → 6.7.2
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 +7 -0
- package/build/protos/protos.d.ts +1602 -109
- package/build/protos/protos.js +4139 -286
- package/build/protos/protos.json +311 -19
- 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 +17 -17
- package/build/src/v1/spanner_client.js +4 -4
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -566,6 +566,13 @@
|
|
|
566
566
|
"type": "bool",
|
|
567
567
|
"id": 7
|
|
568
568
|
},
|
|
569
|
+
"deprecatedLegacyJsonFieldConflicts": {
|
|
570
|
+
"type": "bool",
|
|
571
|
+
"id": 11,
|
|
572
|
+
"options": {
|
|
573
|
+
"deprecated": true
|
|
574
|
+
}
|
|
575
|
+
},
|
|
569
576
|
"uninterpretedOption": {
|
|
570
577
|
"rule": "repeated",
|
|
571
578
|
"type": "UninterpretedOption",
|
|
@@ -649,6 +656,21 @@
|
|
|
649
656
|
"default": false
|
|
650
657
|
}
|
|
651
658
|
},
|
|
659
|
+
"debugRedact": {
|
|
660
|
+
"type": "bool",
|
|
661
|
+
"id": 16,
|
|
662
|
+
"options": {
|
|
663
|
+
"default": false
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
"retention": {
|
|
667
|
+
"type": "OptionRetention",
|
|
668
|
+
"id": 17
|
|
669
|
+
},
|
|
670
|
+
"target": {
|
|
671
|
+
"type": "OptionTargetType",
|
|
672
|
+
"id": 18
|
|
673
|
+
},
|
|
652
674
|
"uninterpretedOption": {
|
|
653
675
|
"rule": "repeated",
|
|
654
676
|
"type": "UninterpretedOption",
|
|
@@ -681,6 +703,27 @@
|
|
|
681
703
|
"JS_STRING": 1,
|
|
682
704
|
"JS_NUMBER": 2
|
|
683
705
|
}
|
|
706
|
+
},
|
|
707
|
+
"OptionRetention": {
|
|
708
|
+
"values": {
|
|
709
|
+
"RETENTION_UNKNOWN": 0,
|
|
710
|
+
"RETENTION_RUNTIME": 1,
|
|
711
|
+
"RETENTION_SOURCE": 2
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
"OptionTargetType": {
|
|
715
|
+
"values": {
|
|
716
|
+
"TARGET_TYPE_UNKNOWN": 0,
|
|
717
|
+
"TARGET_TYPE_FILE": 1,
|
|
718
|
+
"TARGET_TYPE_EXTENSION_RANGE": 2,
|
|
719
|
+
"TARGET_TYPE_MESSAGE": 3,
|
|
720
|
+
"TARGET_TYPE_FIELD": 4,
|
|
721
|
+
"TARGET_TYPE_ONEOF": 5,
|
|
722
|
+
"TARGET_TYPE_ENUM": 6,
|
|
723
|
+
"TARGET_TYPE_ENUM_ENTRY": 7,
|
|
724
|
+
"TARGET_TYPE_SERVICE": 8,
|
|
725
|
+
"TARGET_TYPE_METHOD": 9
|
|
726
|
+
}
|
|
684
727
|
}
|
|
685
728
|
}
|
|
686
729
|
},
|
|
@@ -712,6 +755,13 @@
|
|
|
712
755
|
"default": false
|
|
713
756
|
}
|
|
714
757
|
},
|
|
758
|
+
"deprecatedLegacyJsonFieldConflicts": {
|
|
759
|
+
"type": "bool",
|
|
760
|
+
"id": 6,
|
|
761
|
+
"options": {
|
|
762
|
+
"deprecated": true
|
|
763
|
+
}
|
|
764
|
+
},
|
|
715
765
|
"uninterpretedOption": {
|
|
716
766
|
"rule": "repeated",
|
|
717
767
|
"type": "UninterpretedOption",
|
|
@@ -1056,6 +1106,23 @@
|
|
|
1056
1106
|
"cc_enable_arenas": true
|
|
1057
1107
|
},
|
|
1058
1108
|
"nested": {
|
|
1109
|
+
"ErrorInfo": {
|
|
1110
|
+
"fields": {
|
|
1111
|
+
"reason": {
|
|
1112
|
+
"type": "string",
|
|
1113
|
+
"id": 1
|
|
1114
|
+
},
|
|
1115
|
+
"domain": {
|
|
1116
|
+
"type": "string",
|
|
1117
|
+
"id": 2
|
|
1118
|
+
},
|
|
1119
|
+
"metadata": {
|
|
1120
|
+
"keyType": "string",
|
|
1121
|
+
"type": "string",
|
|
1122
|
+
"id": 3
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1059
1126
|
"RetryInfo": {
|
|
1060
1127
|
"fields": {
|
|
1061
1128
|
"retryDelay": {
|
|
@@ -1100,23 +1167,6 @@
|
|
|
1100
1167
|
}
|
|
1101
1168
|
}
|
|
1102
1169
|
},
|
|
1103
|
-
"ErrorInfo": {
|
|
1104
|
-
"fields": {
|
|
1105
|
-
"reason": {
|
|
1106
|
-
"type": "string",
|
|
1107
|
-
"id": 1
|
|
1108
|
-
},
|
|
1109
|
-
"domain": {
|
|
1110
|
-
"type": "string",
|
|
1111
|
-
"id": 2
|
|
1112
|
-
},
|
|
1113
|
-
"metadata": {
|
|
1114
|
-
"keyType": "string",
|
|
1115
|
-
"type": "string",
|
|
1116
|
-
"id": 3
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
},
|
|
1120
1170
|
"PreconditionFailure": {
|
|
1121
1171
|
"fields": {
|
|
1122
1172
|
"violations": {
|
|
@@ -4960,9 +5010,9 @@
|
|
|
4960
5010
|
},
|
|
4961
5011
|
"api": {
|
|
4962
5012
|
"options": {
|
|
4963
|
-
"go_package": "google.golang.org/genproto/googleapis/api
|
|
5013
|
+
"go_package": "google.golang.org/genproto/googleapis/api;api",
|
|
4964
5014
|
"java_multiple_files": true,
|
|
4965
|
-
"java_outer_classname": "
|
|
5015
|
+
"java_outer_classname": "LaunchStageProto",
|
|
4966
5016
|
"java_package": "com.google.api",
|
|
4967
5017
|
"objc_class_prefix": "GAPI",
|
|
4968
5018
|
"cc_enable_arenas": true
|
|
@@ -5165,6 +5215,248 @@
|
|
|
5165
5215
|
"type": "string",
|
|
5166
5216
|
"id": 1050,
|
|
5167
5217
|
"extend": "google.protobuf.ServiceOptions"
|
|
5218
|
+
},
|
|
5219
|
+
"CommonLanguageSettings": {
|
|
5220
|
+
"fields": {
|
|
5221
|
+
"referenceDocsUri": {
|
|
5222
|
+
"type": "string",
|
|
5223
|
+
"id": 1,
|
|
5224
|
+
"options": {
|
|
5225
|
+
"deprecated": true
|
|
5226
|
+
}
|
|
5227
|
+
},
|
|
5228
|
+
"destinations": {
|
|
5229
|
+
"rule": "repeated",
|
|
5230
|
+
"type": "ClientLibraryDestination",
|
|
5231
|
+
"id": 2
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
},
|
|
5235
|
+
"ClientLibrarySettings": {
|
|
5236
|
+
"fields": {
|
|
5237
|
+
"version": {
|
|
5238
|
+
"type": "string",
|
|
5239
|
+
"id": 1
|
|
5240
|
+
},
|
|
5241
|
+
"launchStage": {
|
|
5242
|
+
"type": "LaunchStage",
|
|
5243
|
+
"id": 2
|
|
5244
|
+
},
|
|
5245
|
+
"restNumericEnums": {
|
|
5246
|
+
"type": "bool",
|
|
5247
|
+
"id": 3
|
|
5248
|
+
},
|
|
5249
|
+
"javaSettings": {
|
|
5250
|
+
"type": "JavaSettings",
|
|
5251
|
+
"id": 21
|
|
5252
|
+
},
|
|
5253
|
+
"cppSettings": {
|
|
5254
|
+
"type": "CppSettings",
|
|
5255
|
+
"id": 22
|
|
5256
|
+
},
|
|
5257
|
+
"phpSettings": {
|
|
5258
|
+
"type": "PhpSettings",
|
|
5259
|
+
"id": 23
|
|
5260
|
+
},
|
|
5261
|
+
"pythonSettings": {
|
|
5262
|
+
"type": "PythonSettings",
|
|
5263
|
+
"id": 24
|
|
5264
|
+
},
|
|
5265
|
+
"nodeSettings": {
|
|
5266
|
+
"type": "NodeSettings",
|
|
5267
|
+
"id": 25
|
|
5268
|
+
},
|
|
5269
|
+
"dotnetSettings": {
|
|
5270
|
+
"type": "DotnetSettings",
|
|
5271
|
+
"id": 26
|
|
5272
|
+
},
|
|
5273
|
+
"rubySettings": {
|
|
5274
|
+
"type": "RubySettings",
|
|
5275
|
+
"id": 27
|
|
5276
|
+
},
|
|
5277
|
+
"goSettings": {
|
|
5278
|
+
"type": "GoSettings",
|
|
5279
|
+
"id": 28
|
|
5280
|
+
}
|
|
5281
|
+
}
|
|
5282
|
+
},
|
|
5283
|
+
"Publishing": {
|
|
5284
|
+
"fields": {
|
|
5285
|
+
"methodSettings": {
|
|
5286
|
+
"rule": "repeated",
|
|
5287
|
+
"type": "MethodSettings",
|
|
5288
|
+
"id": 2
|
|
5289
|
+
},
|
|
5290
|
+
"newIssueUri": {
|
|
5291
|
+
"type": "string",
|
|
5292
|
+
"id": 101
|
|
5293
|
+
},
|
|
5294
|
+
"documentationUri": {
|
|
5295
|
+
"type": "string",
|
|
5296
|
+
"id": 102
|
|
5297
|
+
},
|
|
5298
|
+
"apiShortName": {
|
|
5299
|
+
"type": "string",
|
|
5300
|
+
"id": 103
|
|
5301
|
+
},
|
|
5302
|
+
"githubLabel": {
|
|
5303
|
+
"type": "string",
|
|
5304
|
+
"id": 104
|
|
5305
|
+
},
|
|
5306
|
+
"codeownerGithubTeams": {
|
|
5307
|
+
"rule": "repeated",
|
|
5308
|
+
"type": "string",
|
|
5309
|
+
"id": 105
|
|
5310
|
+
},
|
|
5311
|
+
"docTagPrefix": {
|
|
5312
|
+
"type": "string",
|
|
5313
|
+
"id": 106
|
|
5314
|
+
},
|
|
5315
|
+
"organization": {
|
|
5316
|
+
"type": "ClientLibraryOrganization",
|
|
5317
|
+
"id": 107
|
|
5318
|
+
},
|
|
5319
|
+
"librarySettings": {
|
|
5320
|
+
"rule": "repeated",
|
|
5321
|
+
"type": "ClientLibrarySettings",
|
|
5322
|
+
"id": 109
|
|
5323
|
+
}
|
|
5324
|
+
}
|
|
5325
|
+
},
|
|
5326
|
+
"JavaSettings": {
|
|
5327
|
+
"fields": {
|
|
5328
|
+
"libraryPackage": {
|
|
5329
|
+
"type": "string",
|
|
5330
|
+
"id": 1
|
|
5331
|
+
},
|
|
5332
|
+
"serviceClassNames": {
|
|
5333
|
+
"keyType": "string",
|
|
5334
|
+
"type": "string",
|
|
5335
|
+
"id": 2
|
|
5336
|
+
},
|
|
5337
|
+
"common": {
|
|
5338
|
+
"type": "CommonLanguageSettings",
|
|
5339
|
+
"id": 3
|
|
5340
|
+
}
|
|
5341
|
+
}
|
|
5342
|
+
},
|
|
5343
|
+
"CppSettings": {
|
|
5344
|
+
"fields": {
|
|
5345
|
+
"common": {
|
|
5346
|
+
"type": "CommonLanguageSettings",
|
|
5347
|
+
"id": 1
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5350
|
+
},
|
|
5351
|
+
"PhpSettings": {
|
|
5352
|
+
"fields": {
|
|
5353
|
+
"common": {
|
|
5354
|
+
"type": "CommonLanguageSettings",
|
|
5355
|
+
"id": 1
|
|
5356
|
+
}
|
|
5357
|
+
}
|
|
5358
|
+
},
|
|
5359
|
+
"PythonSettings": {
|
|
5360
|
+
"fields": {
|
|
5361
|
+
"common": {
|
|
5362
|
+
"type": "CommonLanguageSettings",
|
|
5363
|
+
"id": 1
|
|
5364
|
+
}
|
|
5365
|
+
}
|
|
5366
|
+
},
|
|
5367
|
+
"NodeSettings": {
|
|
5368
|
+
"fields": {
|
|
5369
|
+
"common": {
|
|
5370
|
+
"type": "CommonLanguageSettings",
|
|
5371
|
+
"id": 1
|
|
5372
|
+
}
|
|
5373
|
+
}
|
|
5374
|
+
},
|
|
5375
|
+
"DotnetSettings": {
|
|
5376
|
+
"fields": {
|
|
5377
|
+
"common": {
|
|
5378
|
+
"type": "CommonLanguageSettings",
|
|
5379
|
+
"id": 1
|
|
5380
|
+
}
|
|
5381
|
+
}
|
|
5382
|
+
},
|
|
5383
|
+
"RubySettings": {
|
|
5384
|
+
"fields": {
|
|
5385
|
+
"common": {
|
|
5386
|
+
"type": "CommonLanguageSettings",
|
|
5387
|
+
"id": 1
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
},
|
|
5391
|
+
"GoSettings": {
|
|
5392
|
+
"fields": {
|
|
5393
|
+
"common": {
|
|
5394
|
+
"type": "CommonLanguageSettings",
|
|
5395
|
+
"id": 1
|
|
5396
|
+
}
|
|
5397
|
+
}
|
|
5398
|
+
},
|
|
5399
|
+
"MethodSettings": {
|
|
5400
|
+
"fields": {
|
|
5401
|
+
"selector": {
|
|
5402
|
+
"type": "string",
|
|
5403
|
+
"id": 1
|
|
5404
|
+
},
|
|
5405
|
+
"longRunning": {
|
|
5406
|
+
"type": "LongRunning",
|
|
5407
|
+
"id": 2
|
|
5408
|
+
}
|
|
5409
|
+
},
|
|
5410
|
+
"nested": {
|
|
5411
|
+
"LongRunning": {
|
|
5412
|
+
"fields": {
|
|
5413
|
+
"initialPollDelay": {
|
|
5414
|
+
"type": "google.protobuf.Duration",
|
|
5415
|
+
"id": 1
|
|
5416
|
+
},
|
|
5417
|
+
"pollDelayMultiplier": {
|
|
5418
|
+
"type": "float",
|
|
5419
|
+
"id": 2
|
|
5420
|
+
},
|
|
5421
|
+
"maxPollDelay": {
|
|
5422
|
+
"type": "google.protobuf.Duration",
|
|
5423
|
+
"id": 3
|
|
5424
|
+
},
|
|
5425
|
+
"totalPollTimeout": {
|
|
5426
|
+
"type": "google.protobuf.Duration",
|
|
5427
|
+
"id": 4
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
}
|
|
5432
|
+
},
|
|
5433
|
+
"ClientLibraryOrganization": {
|
|
5434
|
+
"values": {
|
|
5435
|
+
"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0,
|
|
5436
|
+
"CLOUD": 1,
|
|
5437
|
+
"ADS": 2,
|
|
5438
|
+
"PHOTOS": 3,
|
|
5439
|
+
"STREET_VIEW": 4
|
|
5440
|
+
}
|
|
5441
|
+
},
|
|
5442
|
+
"ClientLibraryDestination": {
|
|
5443
|
+
"values": {
|
|
5444
|
+
"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0,
|
|
5445
|
+
"GITHUB": 10,
|
|
5446
|
+
"PACKAGE_MANAGER": 20
|
|
5447
|
+
}
|
|
5448
|
+
},
|
|
5449
|
+
"LaunchStage": {
|
|
5450
|
+
"values": {
|
|
5451
|
+
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
5452
|
+
"UNIMPLEMENTED": 6,
|
|
5453
|
+
"PRELAUNCH": 7,
|
|
5454
|
+
"EARLY_ACCESS": 1,
|
|
5455
|
+
"ALPHA": 2,
|
|
5456
|
+
"BETA": 3,
|
|
5457
|
+
"GA": 4,
|
|
5458
|
+
"DEPRECATED": 5
|
|
5459
|
+
}
|
|
5168
5460
|
}
|
|
5169
5461
|
}
|
|
5170
5462
|
},
|
|
@@ -125,7 +125,7 @@ export declare class DatabaseAdminClient {
|
|
|
125
125
|
* @param {object} [options]
|
|
126
126
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
127
127
|
* @returns {Promise} - The promise which resolves to an array.
|
|
128
|
-
* The first element of the array is an object representing
|
|
128
|
+
* The first element of the array is an object representing {@link google.spanner.admin.database.v1.Database | Database}.
|
|
129
129
|
* Please see the
|
|
130
130
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
131
131
|
* for more details and examples.
|
|
@@ -153,7 +153,7 @@ export declare class DatabaseAdminClient {
|
|
|
153
153
|
* @param {object} [options]
|
|
154
154
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
155
155
|
* @returns {Promise} - The promise which resolves to an array.
|
|
156
|
-
* The first element of the array is an object representing
|
|
156
|
+
* The first element of the array is an object representing {@link google.protobuf.Empty | Empty}.
|
|
157
157
|
* Please see the
|
|
158
158
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
159
159
|
* for more details and examples.
|
|
@@ -181,7 +181,7 @@ export declare class DatabaseAdminClient {
|
|
|
181
181
|
* @param {object} [options]
|
|
182
182
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
183
183
|
* @returns {Promise} - The promise which resolves to an array.
|
|
184
|
-
* The first element of the array is an object representing
|
|
184
|
+
* The first element of the array is an object representing {@link google.spanner.admin.database.v1.GetDatabaseDdlResponse | GetDatabaseDdlResponse}.
|
|
185
185
|
* Please see the
|
|
186
186
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
187
187
|
* for more details and examples.
|
|
@@ -223,7 +223,7 @@ export declare class DatabaseAdminClient {
|
|
|
223
223
|
* @param {object} [options]
|
|
224
224
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
225
225
|
* @returns {Promise} - The promise which resolves to an array.
|
|
226
|
-
* The first element of the array is an object representing
|
|
226
|
+
* The first element of the array is an object representing {@link google.iam.v1.Policy | Policy}.
|
|
227
227
|
* Please see the
|
|
228
228
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
229
229
|
* for more details and examples.
|
|
@@ -258,7 +258,7 @@ export declare class DatabaseAdminClient {
|
|
|
258
258
|
* @param {object} [options]
|
|
259
259
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
260
260
|
* @returns {Promise} - The promise which resolves to an array.
|
|
261
|
-
* The first element of the array is an object representing
|
|
261
|
+
* The first element of the array is an object representing {@link google.iam.v1.Policy | Policy}.
|
|
262
262
|
* Please see the
|
|
263
263
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
264
264
|
* for more details and examples.
|
|
@@ -297,7 +297,7 @@ export declare class DatabaseAdminClient {
|
|
|
297
297
|
* @param {object} [options]
|
|
298
298
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
299
299
|
* @returns {Promise} - The promise which resolves to an array.
|
|
300
|
-
* The first element of the array is an object representing
|
|
300
|
+
* The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}.
|
|
301
301
|
* Please see the
|
|
302
302
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
303
303
|
* for more details and examples.
|
|
@@ -323,7 +323,7 @@ export declare class DatabaseAdminClient {
|
|
|
323
323
|
* @param {object} [options]
|
|
324
324
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
325
325
|
* @returns {Promise} - The promise which resolves to an array.
|
|
326
|
-
* The first element of the array is an object representing
|
|
326
|
+
* The first element of the array is an object representing {@link google.spanner.admin.database.v1.Backup | Backup}.
|
|
327
327
|
* Please see the
|
|
328
328
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
329
329
|
* for more details and examples.
|
|
@@ -356,7 +356,7 @@ export declare class DatabaseAdminClient {
|
|
|
356
356
|
* @param {object} [options]
|
|
357
357
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
358
358
|
* @returns {Promise} - The promise which resolves to an array.
|
|
359
|
-
* The first element of the array is an object representing
|
|
359
|
+
* The first element of the array is an object representing {@link google.spanner.admin.database.v1.Backup | Backup}.
|
|
360
360
|
* Please see the
|
|
361
361
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
362
362
|
* for more details and examples.
|
|
@@ -382,7 +382,7 @@ export declare class DatabaseAdminClient {
|
|
|
382
382
|
* @param {object} [options]
|
|
383
383
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
384
384
|
* @returns {Promise} - The promise which resolves to an array.
|
|
385
|
-
* The first element of the array is an object representing
|
|
385
|
+
* The first element of the array is an object representing {@link google.protobuf.Empty | Empty}.
|
|
386
386
|
* Please see the
|
|
387
387
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
388
388
|
* for more details and examples.
|
|
@@ -760,7 +760,7 @@ export declare class DatabaseAdminClient {
|
|
|
760
760
|
* @param {object} [options]
|
|
761
761
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
762
762
|
* @returns {Promise} - The promise which resolves to an array.
|
|
763
|
-
* The first element of the array is Array of
|
|
763
|
+
* The first element of the array is Array of {@link google.spanner.admin.database.v1.Database | Database}.
|
|
764
764
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
765
765
|
* times as needed and will merge results from all the pages into this array.
|
|
766
766
|
* Note that it can affect your quota.
|
|
@@ -794,7 +794,7 @@ export declare class DatabaseAdminClient {
|
|
|
794
794
|
* @param {object} [options]
|
|
795
795
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
796
796
|
* @returns {Stream}
|
|
797
|
-
* An object stream which emits an object representing
|
|
797
|
+
* An object stream which emits an object representing {@link google.spanner.admin.database.v1.Database | Database} on 'data' event.
|
|
798
798
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
799
799
|
* times as needed. Note that it can affect your quota.
|
|
800
800
|
* We recommend using `listDatabasesAsync()`
|
|
@@ -825,7 +825,7 @@ export declare class DatabaseAdminClient {
|
|
|
825
825
|
* @returns {Object}
|
|
826
826
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
827
827
|
* When you iterate the returned iterable, each element will be an object representing
|
|
828
|
-
*
|
|
828
|
+
* {@link google.spanner.admin.database.v1.Database | Database}. The API will be called under the hood as needed, once per the page,
|
|
829
829
|
* so you can stop the iteration when you don't need more results.
|
|
830
830
|
* Please see the
|
|
831
831
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -891,7 +891,7 @@ export declare class DatabaseAdminClient {
|
|
|
891
891
|
* @param {object} [options]
|
|
892
892
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
893
893
|
* @returns {Promise} - The promise which resolves to an array.
|
|
894
|
-
* The first element of the array is Array of
|
|
894
|
+
* The first element of the array is Array of {@link google.spanner.admin.database.v1.Backup | Backup}.
|
|
895
895
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
896
896
|
* times as needed and will merge results from all the pages into this array.
|
|
897
897
|
* Note that it can affect your quota.
|
|
@@ -962,7 +962,7 @@ export declare class DatabaseAdminClient {
|
|
|
962
962
|
* @param {object} [options]
|
|
963
963
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
964
964
|
* @returns {Stream}
|
|
965
|
-
* An object stream which emits an object representing
|
|
965
|
+
* An object stream which emits an object representing {@link google.spanner.admin.database.v1.Backup | Backup} on 'data' event.
|
|
966
966
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
967
967
|
* times as needed. Note that it can affect your quota.
|
|
968
968
|
* We recommend using `listBackupsAsync()`
|
|
@@ -1030,7 +1030,7 @@ export declare class DatabaseAdminClient {
|
|
|
1030
1030
|
* @returns {Object}
|
|
1031
1031
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
1032
1032
|
* When you iterate the returned iterable, each element will be an object representing
|
|
1033
|
-
*
|
|
1033
|
+
* {@link google.spanner.admin.database.v1.Backup | Backup}. The API will be called under the hood as needed, once per the page,
|
|
1034
1034
|
* so you can stop the iteration when you don't need more results.
|
|
1035
1035
|
* Please see the
|
|
1036
1036
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -1108,7 +1108,7 @@ export declare class DatabaseAdminClient {
|
|
|
1108
1108
|
* @param {object} [options]
|
|
1109
1109
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1110
1110
|
* @returns {Promise} - The promise which resolves to an array.
|
|
1111
|
-
* The first element of the array is Array of
|
|
1111
|
+
* The first element of the array is Array of {@link google.longrunning.Operation | Operation}.
|
|
1112
1112
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1113
1113
|
* times as needed and will merge results from all the pages into this array.
|
|
1114
1114
|
* Note that it can affect your quota.
|
|
@@ -1186,7 +1186,7 @@ export declare class DatabaseAdminClient {
|
|
|
1186
1186
|
* @param {object} [options]
|
|
1187
1187
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1188
1188
|
* @returns {Stream}
|
|
1189
|
-
* An object stream which emits an object representing
|
|
1189
|
+
* An object stream which emits an object representing {@link google.longrunning.Operation | Operation} on 'data' event.
|
|
1190
1190
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1191
1191
|
* times as needed. Note that it can affect your quota.
|
|
1192
1192
|
* We recommend using `listDatabaseOperationsAsync()`
|
|
@@ -1261,7 +1261,7 @@ export declare class DatabaseAdminClient {
|
|
|
1261
1261
|
* @returns {Object}
|
|
1262
1262
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
1263
1263
|
* When you iterate the returned iterable, each element will be an object representing
|
|
1264
|
-
*
|
|
1264
|
+
* {@link google.longrunning.Operation | Operation}. The API will be called under the hood as needed, once per the page,
|
|
1265
1265
|
* so you can stop the iteration when you don't need more results.
|
|
1266
1266
|
* Please see the
|
|
1267
1267
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -1365,7 +1365,7 @@ export declare class DatabaseAdminClient {
|
|
|
1365
1365
|
* @param {object} [options]
|
|
1366
1366
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1367
1367
|
* @returns {Promise} - The promise which resolves to an array.
|
|
1368
|
-
* The first element of the array is Array of
|
|
1368
|
+
* The first element of the array is Array of {@link google.longrunning.Operation | Operation}.
|
|
1369
1369
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1370
1370
|
* times as needed and will merge results from all the pages into this array.
|
|
1371
1371
|
* Note that it can affect your quota.
|
|
@@ -1467,7 +1467,7 @@ export declare class DatabaseAdminClient {
|
|
|
1467
1467
|
* @param {object} [options]
|
|
1468
1468
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1469
1469
|
* @returns {Stream}
|
|
1470
|
-
* An object stream which emits an object representing
|
|
1470
|
+
* An object stream which emits an object representing {@link google.longrunning.Operation | Operation} on 'data' event.
|
|
1471
1471
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1472
1472
|
* times as needed. Note that it can affect your quota.
|
|
1473
1473
|
* We recommend using `listBackupOperationsAsync()`
|
|
@@ -1566,7 +1566,7 @@ export declare class DatabaseAdminClient {
|
|
|
1566
1566
|
* @returns {Object}
|
|
1567
1567
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
1568
1568
|
* When you iterate the returned iterable, each element will be an object representing
|
|
1569
|
-
*
|
|
1569
|
+
* {@link google.longrunning.Operation | Operation}. The API will be called under the hood as needed, once per the page,
|
|
1570
1570
|
* so you can stop the iteration when you don't need more results.
|
|
1571
1571
|
* Please see the
|
|
1572
1572
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -1594,7 +1594,7 @@ export declare class DatabaseAdminClient {
|
|
|
1594
1594
|
* @param {object} [options]
|
|
1595
1595
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1596
1596
|
* @returns {Promise} - The promise which resolves to an array.
|
|
1597
|
-
* The first element of the array is Array of
|
|
1597
|
+
* The first element of the array is Array of {@link google.spanner.admin.database.v1.DatabaseRole | DatabaseRole}.
|
|
1598
1598
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1599
1599
|
* times as needed and will merge results from all the pages into this array.
|
|
1600
1600
|
* Note that it can affect your quota.
|
|
@@ -1629,7 +1629,7 @@ export declare class DatabaseAdminClient {
|
|
|
1629
1629
|
* @param {object} [options]
|
|
1630
1630
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1631
1631
|
* @returns {Stream}
|
|
1632
|
-
* An object stream which emits an object representing
|
|
1632
|
+
* An object stream which emits an object representing {@link google.spanner.admin.database.v1.DatabaseRole | DatabaseRole} on 'data' event.
|
|
1633
1633
|
* The client library will perform auto-pagination by default: it will call the API as many
|
|
1634
1634
|
* times as needed. Note that it can affect your quota.
|
|
1635
1635
|
* We recommend using `listDatabaseRolesAsync()`
|
|
@@ -1661,7 +1661,7 @@ export declare class DatabaseAdminClient {
|
|
|
1661
1661
|
* @returns {Object}
|
|
1662
1662
|
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
1663
1663
|
* When you iterate the returned iterable, each element will be an object representing
|
|
1664
|
-
*
|
|
1664
|
+
* {@link google.spanner.admin.database.v1.DatabaseRole | DatabaseRole}. The API will be called under the hood as needed, once per the page,
|
|
1665
1665
|
* so you can stop the iteration when you don't need more results.
|
|
1666
1666
|
* Please see the
|
|
1667
1667
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
@@ -1679,20 +1679,18 @@ export declare class DatabaseAdminClient {
|
|
|
1679
1679
|
* @param {string} request.name - The name of the operation resource.
|
|
1680
1680
|
* @param {Object=} options
|
|
1681
1681
|
* Optional parameters. You can override the default settings for this call,
|
|
1682
|
-
* e.g, timeout, retries, paginations, etc. See
|
|
1683
|
-
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions
|
|
1684
|
-
* details.
|
|
1682
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
1683
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
|
1684
|
+
* for the details.
|
|
1685
1685
|
* @param {function(?Error, ?Object)=} callback
|
|
1686
1686
|
* The function which will be called with the result of the API call.
|
|
1687
1687
|
*
|
|
1688
1688
|
* The second parameter to the callback is an object representing
|
|
1689
|
-
*
|
|
1690
|
-
* external:"google.longrunning.Operation"}.
|
|
1689
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
1691
1690
|
* @return {Promise} - The promise which resolves to an array.
|
|
1692
1691
|
* The first element of the array is an object representing
|
|
1693
|
-
*
|
|
1694
|
-
*
|
|
1695
|
-
* "cancel" which cancels the ongoing API call.
|
|
1692
|
+
* {@link google.longrunning.Operation | google.longrunning.Operation}.
|
|
1693
|
+
* The promise has a method named "cancel" which cancels the ongoing API call.
|
|
1696
1694
|
*
|
|
1697
1695
|
* @example
|
|
1698
1696
|
* ```
|
|
@@ -1720,11 +1718,11 @@ export declare class DatabaseAdminClient {
|
|
|
1720
1718
|
* resources in a page.
|
|
1721
1719
|
* @param {Object=} options
|
|
1722
1720
|
* Optional parameters. You can override the default settings for this call,
|
|
1723
|
-
* e.g, timeout, retries, paginations, etc. See
|
|
1724
|
-
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions} for the
|
|
1721
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
1722
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
|
|
1725
1723
|
* details.
|
|
1726
1724
|
* @returns {Object}
|
|
1727
|
-
* An iterable Object that conforms to @link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols.
|
|
1725
|
+
* An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
|
|
1728
1726
|
*
|
|
1729
1727
|
* @example
|
|
1730
1728
|
* ```
|
|
@@ -1750,8 +1748,8 @@ export declare class DatabaseAdminClient {
|
|
|
1750
1748
|
* @param {string} request.name - The name of the operation resource to be cancelled.
|
|
1751
1749
|
* @param {Object=} options
|
|
1752
1750
|
* Optional parameters. You can override the default settings for this call,
|
|
1753
|
-
* e.g, timeout, retries, paginations, etc. See
|
|
1754
|
-
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions} for the
|
|
1751
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
1752
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
|
|
1755
1753
|
* details.
|
|
1756
1754
|
* @param {function(?Error)=} callback
|
|
1757
1755
|
* The function which will be called with the result of the API call.
|
|
@@ -1776,9 +1774,9 @@ export declare class DatabaseAdminClient {
|
|
|
1776
1774
|
* @param {string} request.name - The name of the operation resource to be deleted.
|
|
1777
1775
|
* @param {Object=} options
|
|
1778
1776
|
* Optional parameters. You can override the default settings for this call,
|
|
1779
|
-
* e.g, timeout, retries, paginations, etc. See
|
|
1780
|
-
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions
|
|
1781
|
-
* details.
|
|
1777
|
+
* e.g, timeout, retries, paginations, etc. See {@link
|
|
1778
|
+
* https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
|
|
1779
|
+
* for the details.
|
|
1782
1780
|
* @param {function(?Error)=} callback
|
|
1783
1781
|
* The function which will be called with the result of the API call.
|
|
1784
1782
|
* @return {Promise} - The promise which resolves when API call finishes.
|