@google-cloud/spanner 6.1.3 → 6.2.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 +28 -0
- package/README.md +6 -1
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +60 -0
- package/build/protos/google/spanner/admin/instance/v1/common.proto +42 -0
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +494 -41
- package/build/protos/google/spanner/v1/type.proto +8 -0
- package/build/protos/protos.d.ts +3060 -475
- package/build/protos/protos.js +10009 -3309
- package/build/protos/protos.json +406 -6
- package/build/src/v1/database_admin_client.d.ts +269 -3
- package/build/src/v1/database_admin_client.js +431 -81
- package/build/src/v1/database_admin_client_config.json +5 -0
- package/build/src/v1/gapic_metadata.json +44 -0
- package/build/src/v1/instance_admin_client.d.ts +514 -22
- package/build/src/v1/instance_admin_client.js +379 -45
- package/build/src/v1/instance_admin_client_config.json +16 -0
- package/build/src/v1/instance_admin_proto_list.json +1 -0
- package/build/src/v1/spanner_client.d.ts +10 -3
- package/build/src/v1/spanner_client.js +69 -44
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import * as gax from 'google-gax';
|
|
3
|
-
import { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
|
|
2
|
+
import type * as gax from 'google-gax';
|
|
3
|
+
import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback } from 'google-gax';
|
|
4
4
|
import { Transform } from 'stream';
|
|
5
5
|
import * as protos from '../../protos/protos';
|
|
6
6
|
/**
|
|
@@ -81,8 +81,15 @@ export declare class InstanceAdminClient {
|
|
|
81
81
|
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
82
82
|
* For more information, please check the
|
|
83
83
|
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
84
|
+
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
|
85
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
|
86
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
|
87
|
+
* ```
|
|
88
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
|
89
|
+
* const client = new InstanceAdminClient({fallback: 'rest'}, gax);
|
|
90
|
+
* ```
|
|
84
91
|
*/
|
|
85
|
-
constructor(opts?: ClientOptions);
|
|
92
|
+
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
|
|
86
93
|
/**
|
|
87
94
|
* Initialize the client.
|
|
88
95
|
* Performs asynchronous operations (such as authentication) and prepares the client.
|
|
@@ -146,6 +153,50 @@ export declare class InstanceAdminClient {
|
|
|
146
153
|
]>;
|
|
147
154
|
getInstanceConfig(request: protos.google.spanner.admin.instance.v1.IGetInstanceConfigRequest, options: CallOptions, callback: Callback<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.IGetInstanceConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
148
155
|
getInstanceConfig(request: protos.google.spanner.admin.instance.v1.IGetInstanceConfigRequest, callback: Callback<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.IGetInstanceConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
156
|
+
/**
|
|
157
|
+
* Deletes the instance config. Deletion is only allowed when no
|
|
158
|
+
* instances are using the configuration. If any instances are using
|
|
159
|
+
* the config, returns `FAILED_PRECONDITION`.
|
|
160
|
+
*
|
|
161
|
+
* Only user managed configurations can be deleted.
|
|
162
|
+
*
|
|
163
|
+
* Authorization requires `spanner.instanceConfigs.delete` permission on
|
|
164
|
+
* the resource {@link google.spanner.admin.instance.v1.InstanceConfig.name|name}.
|
|
165
|
+
*
|
|
166
|
+
* @param {Object} request
|
|
167
|
+
* The request object that will be sent.
|
|
168
|
+
* @param {string} request.name
|
|
169
|
+
* Required. The name of the instance configuration to be deleted.
|
|
170
|
+
* Values are of the form
|
|
171
|
+
* `projects/<project>/instanceConfigs/<instance_config>`
|
|
172
|
+
* @param {string} request.etag
|
|
173
|
+
* Used for optimistic concurrency control as a way to help prevent
|
|
174
|
+
* simultaneous deletes of an instance config from overwriting each
|
|
175
|
+
* other. If not empty, the API
|
|
176
|
+
* only deletes the instance config when the etag provided matches the current
|
|
177
|
+
* status of the requested instance config. Otherwise, deletes the instance
|
|
178
|
+
* config without checking the current status of the requested instance
|
|
179
|
+
* config.
|
|
180
|
+
* @param {boolean} request.validateOnly
|
|
181
|
+
* An option to validate, but not actually execute, a request,
|
|
182
|
+
* and provide the same response.
|
|
183
|
+
* @param {object} [options]
|
|
184
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
185
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
186
|
+
* The first element of the array is an object representing [Empty]{@link google.protobuf.Empty}.
|
|
187
|
+
* Please see the
|
|
188
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
|
|
189
|
+
* for more details and examples.
|
|
190
|
+
* @example <caption>include:samples/generated/v1/instance_admin.delete_instance_config.js</caption>
|
|
191
|
+
* region_tag:spanner_v1_generated_InstanceAdmin_DeleteInstanceConfig_async
|
|
192
|
+
*/
|
|
193
|
+
deleteInstanceConfig(request?: protos.google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest, options?: CallOptions): Promise<[
|
|
194
|
+
protos.google.protobuf.IEmpty,
|
|
195
|
+
(protos.google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest | undefined),
|
|
196
|
+
{} | undefined
|
|
197
|
+
]>;
|
|
198
|
+
deleteInstanceConfig(request: protos.google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
199
|
+
deleteInstanceConfig(request: protos.google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.spanner.admin.instance.v1.IDeleteInstanceConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
149
200
|
/**
|
|
150
201
|
* Gets information about a particular instance.
|
|
151
202
|
*
|
|
@@ -155,9 +206,10 @@ export declare class InstanceAdminClient {
|
|
|
155
206
|
* Required. The name of the requested instance. Values are of the form
|
|
156
207
|
* `projects/<project>/instances/<instance>`.
|
|
157
208
|
* @param {google.protobuf.FieldMask} request.fieldMask
|
|
158
|
-
* If field_mask is present, specifies the subset of
|
|
159
|
-
* should be
|
|
160
|
-
* If absent, all
|
|
209
|
+
* If field_mask is present, specifies the subset of
|
|
210
|
+
* {@link google.spanner.admin.instance.v1.Instance|Instance} fields that should be
|
|
211
|
+
* returned. If absent, all
|
|
212
|
+
* {@link google.spanner.admin.instance.v1.Instance|Instance} fields are returned.
|
|
161
213
|
* @param {object} [options]
|
|
162
214
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
163
215
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -317,6 +369,197 @@ export declare class InstanceAdminClient {
|
|
|
317
369
|
]>;
|
|
318
370
|
testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, options: CallOptions, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
|
|
319
371
|
testIamPermissions(request: protos.google.iam.v1.ITestIamPermissionsRequest, callback: Callback<protos.google.iam.v1.ITestIamPermissionsResponse, protos.google.iam.v1.ITestIamPermissionsRequest | null | undefined, {} | null | undefined>): void;
|
|
372
|
+
/**
|
|
373
|
+
* Creates an instance config and begins preparing it to be used. The
|
|
374
|
+
* returned {@link google.longrunning.Operation|long-running operation}
|
|
375
|
+
* can be used to track the progress of preparing the new
|
|
376
|
+
* instance config. The instance config name is assigned by the caller. If the
|
|
377
|
+
* named instance config already exists, `CreateInstanceConfig` returns
|
|
378
|
+
* `ALREADY_EXISTS`.
|
|
379
|
+
*
|
|
380
|
+
* Immediately after the request returns:
|
|
381
|
+
*
|
|
382
|
+
* * The instance config is readable via the API, with all requested
|
|
383
|
+
* attributes. The instance config's
|
|
384
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig.reconciling|reconciling}
|
|
385
|
+
* field is set to true. Its state is `CREATING`.
|
|
386
|
+
*
|
|
387
|
+
* While the operation is pending:
|
|
388
|
+
*
|
|
389
|
+
* * Cancelling the operation renders the instance config immediately
|
|
390
|
+
* unreadable via the API.
|
|
391
|
+
* * Except for deleting the creating resource, all other attempts to modify
|
|
392
|
+
* the instance config are rejected.
|
|
393
|
+
*
|
|
394
|
+
* Upon completion of the returned operation:
|
|
395
|
+
*
|
|
396
|
+
* * Instances can be created using the instance configuration.
|
|
397
|
+
* * The instance config's
|
|
398
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig.reconciling|reconciling}
|
|
399
|
+
* field becomes false. Its state becomes `READY`.
|
|
400
|
+
*
|
|
401
|
+
* The returned {@link google.longrunning.Operation|long-running operation} will
|
|
402
|
+
* have a name of the format
|
|
403
|
+
* `<instance_config_name>/operations/<operation_id>` and can be used to track
|
|
404
|
+
* creation of the instance config. The
|
|
405
|
+
* {@link google.longrunning.Operation.metadata|metadata} field type is
|
|
406
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}.
|
|
407
|
+
* The {@link google.longrunning.Operation.response|response} field type is
|
|
408
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig|InstanceConfig}, if
|
|
409
|
+
* successful.
|
|
410
|
+
*
|
|
411
|
+
* Authorization requires `spanner.instanceConfigs.create` permission on
|
|
412
|
+
* the resource
|
|
413
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigRequest.parent|parent}.
|
|
414
|
+
*
|
|
415
|
+
* @param {Object} request
|
|
416
|
+
* The request object that will be sent.
|
|
417
|
+
* @param {string} request.parent
|
|
418
|
+
* Required. The name of the project in which to create the instance config.
|
|
419
|
+
* Values are of the form `projects/<project>`.
|
|
420
|
+
* @param {string} request.instanceConfigId
|
|
421
|
+
* Required. The ID of the instance config to create. Valid identifiers are
|
|
422
|
+
* of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64
|
|
423
|
+
* characters in length. The `custom-` prefix is required to avoid name
|
|
424
|
+
* conflicts with Google managed configurations.
|
|
425
|
+
* @param {google.spanner.admin.instance.v1.InstanceConfig} request.instanceConfig
|
|
426
|
+
* Required. The InstanceConfig proto of the configuration to create.
|
|
427
|
+
* instance_config.name must be
|
|
428
|
+
* `<parent>/instanceConfigs/<instance_config_id>`.
|
|
429
|
+
* instance_config.base_config must be a Google managed configuration name,
|
|
430
|
+
* e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
|
|
431
|
+
* @param {boolean} request.validateOnly
|
|
432
|
+
* An option to validate, but not actually execute, a request,
|
|
433
|
+
* and provide the same response.
|
|
434
|
+
* @param {object} [options]
|
|
435
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
436
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
437
|
+
* The first element of the array is an object representing
|
|
438
|
+
* a long running operation. Its `promise()` method returns a promise
|
|
439
|
+
* you can `await` for.
|
|
440
|
+
* Please see the
|
|
441
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
|
442
|
+
* for more details and examples.
|
|
443
|
+
* @example <caption>include:samples/generated/v1/instance_admin.create_instance_config.js</caption>
|
|
444
|
+
* region_tag:spanner_v1_generated_InstanceAdmin_CreateInstanceConfig_async
|
|
445
|
+
*/
|
|
446
|
+
createInstanceConfig(request?: protos.google.spanner.admin.instance.v1.ICreateInstanceConfigRequest, options?: CallOptions): Promise<[
|
|
447
|
+
LROperation<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata>,
|
|
448
|
+
protos.google.longrunning.IOperation | undefined,
|
|
449
|
+
{} | undefined
|
|
450
|
+
]>;
|
|
451
|
+
createInstanceConfig(request: protos.google.spanner.admin.instance.v1.ICreateInstanceConfigRequest, options: CallOptions, callback: Callback<LROperation<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
|
452
|
+
createInstanceConfig(request: protos.google.spanner.admin.instance.v1.ICreateInstanceConfigRequest, callback: Callback<LROperation<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.ICreateInstanceConfigMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
|
453
|
+
/**
|
|
454
|
+
* Check the status of the long running operation returned by `createInstanceConfig()`.
|
|
455
|
+
* @param {String} name
|
|
456
|
+
* The operation name that will be passed.
|
|
457
|
+
* @returns {Promise} - The promise which resolves to an object.
|
|
458
|
+
* The decoded operation object has result and metadata field to get information from.
|
|
459
|
+
* Please see the
|
|
460
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
|
461
|
+
* for more details and examples.
|
|
462
|
+
* @example <caption>include:samples/generated/v1/instance_admin.create_instance_config.js</caption>
|
|
463
|
+
* region_tag:spanner_v1_generated_InstanceAdmin_CreateInstanceConfig_async
|
|
464
|
+
*/
|
|
465
|
+
checkCreateInstanceConfigProgress(name: string): Promise<LROperation<protos.google.spanner.admin.instance.v1.InstanceConfig, protos.google.spanner.admin.instance.v1.CreateInstanceConfigMetadata>>;
|
|
466
|
+
/**
|
|
467
|
+
* Updates an instance config. The returned
|
|
468
|
+
* {@link google.longrunning.Operation|long-running operation} can be used to track
|
|
469
|
+
* the progress of updating the instance. If the named instance config does
|
|
470
|
+
* not exist, returns `NOT_FOUND`.
|
|
471
|
+
*
|
|
472
|
+
* Only user managed configurations can be updated.
|
|
473
|
+
*
|
|
474
|
+
* Immediately after the request returns:
|
|
475
|
+
*
|
|
476
|
+
* * The instance config's
|
|
477
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig.reconciling|reconciling}
|
|
478
|
+
* field is set to true.
|
|
479
|
+
*
|
|
480
|
+
* While the operation is pending:
|
|
481
|
+
*
|
|
482
|
+
* * Cancelling the operation sets its metadata's
|
|
483
|
+
* {@link google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata.cancel_time|cancel_time}.
|
|
484
|
+
* The operation is guaranteed to succeed at undoing all changes, after
|
|
485
|
+
* which point it terminates with a `CANCELLED` status.
|
|
486
|
+
* * All other attempts to modify the instance config are rejected.
|
|
487
|
+
* * Reading the instance config via the API continues to give the
|
|
488
|
+
* pre-request values.
|
|
489
|
+
*
|
|
490
|
+
* Upon completion of the returned operation:
|
|
491
|
+
*
|
|
492
|
+
* * Creating instances using the instance configuration uses the new
|
|
493
|
+
* values.
|
|
494
|
+
* * The instance config's new values are readable via the API.
|
|
495
|
+
* * The instance config's
|
|
496
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig.reconciling|reconciling}
|
|
497
|
+
* field becomes false.
|
|
498
|
+
*
|
|
499
|
+
* The returned {@link google.longrunning.Operation|long-running operation} will
|
|
500
|
+
* have a name of the format
|
|
501
|
+
* `<instance_config_name>/operations/<operation_id>` and can be used to track
|
|
502
|
+
* the instance config modification. The
|
|
503
|
+
* {@link google.longrunning.Operation.metadata|metadata} field type is
|
|
504
|
+
* {@link google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata|UpdateInstanceConfigMetadata}.
|
|
505
|
+
* The {@link google.longrunning.Operation.response|response} field type is
|
|
506
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig|InstanceConfig}, if
|
|
507
|
+
* successful.
|
|
508
|
+
*
|
|
509
|
+
* Authorization requires `spanner.instanceConfigs.update` permission on
|
|
510
|
+
* the resource {@link google.spanner.admin.instance.v1.InstanceConfig.name|name}.
|
|
511
|
+
*
|
|
512
|
+
* @param {Object} request
|
|
513
|
+
* The request object that will be sent.
|
|
514
|
+
* @param {google.spanner.admin.instance.v1.InstanceConfig} request.instanceConfig
|
|
515
|
+
* Required. The user instance config to update, which must always include the
|
|
516
|
+
* instance config name. Otherwise, only fields mentioned in
|
|
517
|
+
* {@link google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask|update_mask}
|
|
518
|
+
* need be included. To prevent conflicts of concurrent updates,
|
|
519
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig.reconciling|etag} can
|
|
520
|
+
* be used.
|
|
521
|
+
* @param {google.protobuf.FieldMask} request.updateMask
|
|
522
|
+
* Required. A mask specifying which fields in
|
|
523
|
+
* {@link google.spanner.admin.instance.v1.InstanceConfig|InstanceConfig} should be
|
|
524
|
+
* updated. The field mask must always be specified; this prevents any future
|
|
525
|
+
* fields in {@link google.spanner.admin.instance.v1.InstanceConfig|InstanceConfig}
|
|
526
|
+
* from being erased accidentally by clients that do not know about them. Only
|
|
527
|
+
* display_name and labels can be updated.
|
|
528
|
+
* @param {boolean} request.validateOnly
|
|
529
|
+
* An option to validate, but not actually execute, a request,
|
|
530
|
+
* and provide the same response.
|
|
531
|
+
* @param {object} [options]
|
|
532
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
533
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
534
|
+
* The first element of the array is an object representing
|
|
535
|
+
* a long running operation. Its `promise()` method returns a promise
|
|
536
|
+
* you can `await` for.
|
|
537
|
+
* Please see the
|
|
538
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
|
539
|
+
* for more details and examples.
|
|
540
|
+
* @example <caption>include:samples/generated/v1/instance_admin.update_instance_config.js</caption>
|
|
541
|
+
* region_tag:spanner_v1_generated_InstanceAdmin_UpdateInstanceConfig_async
|
|
542
|
+
*/
|
|
543
|
+
updateInstanceConfig(request?: protos.google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest, options?: CallOptions): Promise<[
|
|
544
|
+
LROperation<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata>,
|
|
545
|
+
protos.google.longrunning.IOperation | undefined,
|
|
546
|
+
{} | undefined
|
|
547
|
+
]>;
|
|
548
|
+
updateInstanceConfig(request: protos.google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest, options: CallOptions, callback: Callback<LROperation<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
|
549
|
+
updateInstanceConfig(request: protos.google.spanner.admin.instance.v1.IUpdateInstanceConfigRequest, callback: Callback<LROperation<protos.google.spanner.admin.instance.v1.IInstanceConfig, protos.google.spanner.admin.instance.v1.IUpdateInstanceConfigMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
|
550
|
+
/**
|
|
551
|
+
* Check the status of the long running operation returned by `updateInstanceConfig()`.
|
|
552
|
+
* @param {String} name
|
|
553
|
+
* The operation name that will be passed.
|
|
554
|
+
* @returns {Promise} - The promise which resolves to an object.
|
|
555
|
+
* The decoded operation object has result and metadata field to get information from.
|
|
556
|
+
* Please see the
|
|
557
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations)
|
|
558
|
+
* for more details and examples.
|
|
559
|
+
* @example <caption>include:samples/generated/v1/instance_admin.update_instance_config.js</caption>
|
|
560
|
+
* region_tag:spanner_v1_generated_InstanceAdmin_UpdateInstanceConfig_async
|
|
561
|
+
*/
|
|
562
|
+
checkUpdateInstanceConfigProgress(name: string): Promise<LROperation<protos.google.spanner.admin.instance.v1.InstanceConfig, protos.google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata>>;
|
|
320
563
|
/**
|
|
321
564
|
* Creates an instance and begins preparing it to begin serving. The
|
|
322
565
|
* returned {@link google.longrunning.Operation|long-running operation}
|
|
@@ -412,9 +655,9 @@ export declare class InstanceAdminClient {
|
|
|
412
655
|
* Until completion of the returned operation:
|
|
413
656
|
*
|
|
414
657
|
* * Cancelling the operation sets its metadata's
|
|
415
|
-
* {@link google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time|cancel_time},
|
|
416
|
-
* restoring resources to their pre-request values. The
|
|
417
|
-
* is guaranteed to succeed at undoing all resource changes,
|
|
658
|
+
* {@link google.spanner.admin.instance.v1.UpdateInstanceMetadata.cancel_time|cancel_time},
|
|
659
|
+
* and begins restoring resources to their pre-request values. The
|
|
660
|
+
* operation is guaranteed to succeed at undoing all resource changes,
|
|
418
661
|
* after which point it terminates with a `CANCELLED` status.
|
|
419
662
|
* * All other attempts to modify the instance are rejected.
|
|
420
663
|
* * Reading the instance via the API continues to give the pre-request
|
|
@@ -443,12 +686,15 @@ export declare class InstanceAdminClient {
|
|
|
443
686
|
* The request object that will be sent.
|
|
444
687
|
* @param {google.spanner.admin.instance.v1.Instance} request.instance
|
|
445
688
|
* Required. The instance to update, which must always include the instance
|
|
446
|
-
* name. Otherwise, only fields mentioned in
|
|
689
|
+
* name. Otherwise, only fields mentioned in
|
|
690
|
+
* {@link google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask|field_mask}
|
|
691
|
+
* need be included.
|
|
447
692
|
* @param {google.protobuf.FieldMask} request.fieldMask
|
|
448
|
-
* Required. A mask specifying which fields in
|
|
693
|
+
* Required. A mask specifying which fields in
|
|
694
|
+
* {@link google.spanner.admin.instance.v1.Instance|Instance} should be updated.
|
|
449
695
|
* The field mask must always be specified; this prevents any future fields in
|
|
450
|
-
* {@link google.spanner.admin.instance.v1.Instance|Instance} from being erased
|
|
451
|
-
* about them.
|
|
696
|
+
* {@link google.spanner.admin.instance.v1.Instance|Instance} from being erased
|
|
697
|
+
* accidentally by clients that do not know about them.
|
|
452
698
|
* @param {object} [options]
|
|
453
699
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
454
700
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -496,7 +742,8 @@ export declare class InstanceAdminClient {
|
|
|
496
742
|
* @param {string} request.pageToken
|
|
497
743
|
* If non-empty, `page_token` should contain a
|
|
498
744
|
* {@link google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token|next_page_token}
|
|
499
|
-
* from a previous
|
|
745
|
+
* from a previous
|
|
746
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigsResponse|ListInstanceConfigsResponse}.
|
|
500
747
|
* @param {object} [options]
|
|
501
748
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
502
749
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -531,7 +778,8 @@ export declare class InstanceAdminClient {
|
|
|
531
778
|
* @param {string} request.pageToken
|
|
532
779
|
* If non-empty, `page_token` should contain a
|
|
533
780
|
* {@link google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token|next_page_token}
|
|
534
|
-
* from a previous
|
|
781
|
+
* from a previous
|
|
782
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigsResponse|ListInstanceConfigsResponse}.
|
|
535
783
|
* @param {object} [options]
|
|
536
784
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
537
785
|
* @returns {Stream}
|
|
@@ -561,7 +809,8 @@ export declare class InstanceAdminClient {
|
|
|
561
809
|
* @param {string} request.pageToken
|
|
562
810
|
* If non-empty, `page_token` should contain a
|
|
563
811
|
* {@link google.spanner.admin.instance.v1.ListInstanceConfigsResponse.next_page_token|next_page_token}
|
|
564
|
-
* from a previous
|
|
812
|
+
* from a previous
|
|
813
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigsResponse|ListInstanceConfigsResponse}.
|
|
565
814
|
* @param {object} [options]
|
|
566
815
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
567
816
|
* @returns {Object}
|
|
@@ -576,6 +825,246 @@ export declare class InstanceAdminClient {
|
|
|
576
825
|
* region_tag:spanner_v1_generated_InstanceAdmin_ListInstanceConfigs_async
|
|
577
826
|
*/
|
|
578
827
|
listInstanceConfigsAsync(request?: protos.google.spanner.admin.instance.v1.IListInstanceConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.spanner.admin.instance.v1.IInstanceConfig>;
|
|
828
|
+
/**
|
|
829
|
+
* Lists the user-managed instance config [long-running
|
|
830
|
+
* operations][google.longrunning.Operation] in the given project. An instance
|
|
831
|
+
* config operation has a name of the form
|
|
832
|
+
* `projects/<project>/instanceConfigs/<instance_config>/operations/<operation>`.
|
|
833
|
+
* The long-running operation
|
|
834
|
+
* {@link google.longrunning.Operation.metadata|metadata} field type
|
|
835
|
+
* `metadata.type_url` describes the type of the metadata. Operations returned
|
|
836
|
+
* include those that have completed/failed/canceled within the last 7 days,
|
|
837
|
+
* and pending operations. Operations returned are ordered by
|
|
838
|
+
* `operation.metadata.value.start_time` in descending order starting
|
|
839
|
+
* from the most recently started operation.
|
|
840
|
+
*
|
|
841
|
+
* @param {Object} request
|
|
842
|
+
* The request object that will be sent.
|
|
843
|
+
* @param {string} request.parent
|
|
844
|
+
* Required. The project of the instance config operations.
|
|
845
|
+
* Values are of the form `projects/<project>`.
|
|
846
|
+
* @param {string} request.filter
|
|
847
|
+
* An expression that filters the list of returned operations.
|
|
848
|
+
*
|
|
849
|
+
* A filter expression consists of a field name, a
|
|
850
|
+
* comparison operator, and a value for filtering.
|
|
851
|
+
* The value must be a string, a number, or a boolean. The comparison operator
|
|
852
|
+
* must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
|
|
853
|
+
* Colon `:` is the contains operator. Filter rules are not case sensitive.
|
|
854
|
+
*
|
|
855
|
+
* The following fields in the {@link google.longrunning.Operation|Operation}
|
|
856
|
+
* are eligible for filtering:
|
|
857
|
+
*
|
|
858
|
+
* * `name` - The name of the long-running operation
|
|
859
|
+
* * `done` - False if the operation is in progress, else true.
|
|
860
|
+
* * `metadata.@type` - the type of metadata. For example, the type string
|
|
861
|
+
* for
|
|
862
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}
|
|
863
|
+
* is
|
|
864
|
+
* `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`.
|
|
865
|
+
* * `metadata.<field_name>` - any field in metadata.value.
|
|
866
|
+
* `metadata.@type` must be specified first, if filtering on metadata
|
|
867
|
+
* fields.
|
|
868
|
+
* * `error` - Error associated with the long-running operation.
|
|
869
|
+
* * `response.@type` - the type of response.
|
|
870
|
+
* * `response.<field_name>` - any field in response.value.
|
|
871
|
+
*
|
|
872
|
+
* You can combine multiple expressions by enclosing each expression in
|
|
873
|
+
* parentheses. By default, expressions are combined with AND logic. However,
|
|
874
|
+
* you can specify AND, OR, and NOT logic explicitly.
|
|
875
|
+
*
|
|
876
|
+
* Here are a few examples:
|
|
877
|
+
*
|
|
878
|
+
* * `done:true` - The operation is complete.
|
|
879
|
+
* * `(metadata.@type=` \
|
|
880
|
+
* `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
|
|
881
|
+
* AND` \
|
|
882
|
+
* `(metadata.instance_config.name:custom-config) AND` \
|
|
883
|
+
* `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \
|
|
884
|
+
* `(error:*)` - Return operations where:
|
|
885
|
+
* * The operation's metadata type is
|
|
886
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}.
|
|
887
|
+
* * The instance config name contains "custom-config".
|
|
888
|
+
* * The operation started before 2021-03-28T14:50:00Z.
|
|
889
|
+
* * The operation resulted in an error.
|
|
890
|
+
* @param {number} request.pageSize
|
|
891
|
+
* Number of operations to be returned in the response. If 0 or
|
|
892
|
+
* less, defaults to the server's maximum allowed page size.
|
|
893
|
+
* @param {string} request.pageToken
|
|
894
|
+
* If non-empty, `page_token` should contain a
|
|
895
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token|next_page_token}
|
|
896
|
+
* from a previous
|
|
897
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse|ListInstanceConfigOperationsResponse}
|
|
898
|
+
* to the same `parent` and with the same `filter`.
|
|
899
|
+
* @param {object} [options]
|
|
900
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
901
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
902
|
+
* The first element of the array is Array of [Operation]{@link google.longrunning.Operation}.
|
|
903
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
904
|
+
* times as needed and will merge results from all the pages into this array.
|
|
905
|
+
* Note that it can affect your quota.
|
|
906
|
+
* We recommend using `listInstanceConfigOperationsAsync()`
|
|
907
|
+
* method described below for async iteration which you can stop as needed.
|
|
908
|
+
* Please see the
|
|
909
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
910
|
+
* for more details and examples.
|
|
911
|
+
*/
|
|
912
|
+
listInstanceConfigOperations(request?: protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, options?: CallOptions): Promise<[
|
|
913
|
+
protos.google.longrunning.IOperation[],
|
|
914
|
+
protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest | null,
|
|
915
|
+
protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse
|
|
916
|
+
]>;
|
|
917
|
+
listInstanceConfigOperations(request: protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, options: CallOptions, callback: PaginationCallback<protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse | null | undefined, protos.google.longrunning.IOperation>): void;
|
|
918
|
+
listInstanceConfigOperations(request: protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, callback: PaginationCallback<protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsResponse | null | undefined, protos.google.longrunning.IOperation>): void;
|
|
919
|
+
/**
|
|
920
|
+
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
|
|
921
|
+
* @param {Object} request
|
|
922
|
+
* The request object that will be sent.
|
|
923
|
+
* @param {string} request.parent
|
|
924
|
+
* Required. The project of the instance config operations.
|
|
925
|
+
* Values are of the form `projects/<project>`.
|
|
926
|
+
* @param {string} request.filter
|
|
927
|
+
* An expression that filters the list of returned operations.
|
|
928
|
+
*
|
|
929
|
+
* A filter expression consists of a field name, a
|
|
930
|
+
* comparison operator, and a value for filtering.
|
|
931
|
+
* The value must be a string, a number, or a boolean. The comparison operator
|
|
932
|
+
* must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
|
|
933
|
+
* Colon `:` is the contains operator. Filter rules are not case sensitive.
|
|
934
|
+
*
|
|
935
|
+
* The following fields in the {@link google.longrunning.Operation|Operation}
|
|
936
|
+
* are eligible for filtering:
|
|
937
|
+
*
|
|
938
|
+
* * `name` - The name of the long-running operation
|
|
939
|
+
* * `done` - False if the operation is in progress, else true.
|
|
940
|
+
* * `metadata.@type` - the type of metadata. For example, the type string
|
|
941
|
+
* for
|
|
942
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}
|
|
943
|
+
* is
|
|
944
|
+
* `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`.
|
|
945
|
+
* * `metadata.<field_name>` - any field in metadata.value.
|
|
946
|
+
* `metadata.@type` must be specified first, if filtering on metadata
|
|
947
|
+
* fields.
|
|
948
|
+
* * `error` - Error associated with the long-running operation.
|
|
949
|
+
* * `response.@type` - the type of response.
|
|
950
|
+
* * `response.<field_name>` - any field in response.value.
|
|
951
|
+
*
|
|
952
|
+
* You can combine multiple expressions by enclosing each expression in
|
|
953
|
+
* parentheses. By default, expressions are combined with AND logic. However,
|
|
954
|
+
* you can specify AND, OR, and NOT logic explicitly.
|
|
955
|
+
*
|
|
956
|
+
* Here are a few examples:
|
|
957
|
+
*
|
|
958
|
+
* * `done:true` - The operation is complete.
|
|
959
|
+
* * `(metadata.@type=` \
|
|
960
|
+
* `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
|
|
961
|
+
* AND` \
|
|
962
|
+
* `(metadata.instance_config.name:custom-config) AND` \
|
|
963
|
+
* `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \
|
|
964
|
+
* `(error:*)` - Return operations where:
|
|
965
|
+
* * The operation's metadata type is
|
|
966
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}.
|
|
967
|
+
* * The instance config name contains "custom-config".
|
|
968
|
+
* * The operation started before 2021-03-28T14:50:00Z.
|
|
969
|
+
* * The operation resulted in an error.
|
|
970
|
+
* @param {number} request.pageSize
|
|
971
|
+
* Number of operations to be returned in the response. If 0 or
|
|
972
|
+
* less, defaults to the server's maximum allowed page size.
|
|
973
|
+
* @param {string} request.pageToken
|
|
974
|
+
* If non-empty, `page_token` should contain a
|
|
975
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token|next_page_token}
|
|
976
|
+
* from a previous
|
|
977
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse|ListInstanceConfigOperationsResponse}
|
|
978
|
+
* to the same `parent` and with the same `filter`.
|
|
979
|
+
* @param {object} [options]
|
|
980
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
981
|
+
* @returns {Stream}
|
|
982
|
+
* An object stream which emits an object representing [Operation]{@link google.longrunning.Operation} on 'data' event.
|
|
983
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
984
|
+
* times as needed. Note that it can affect your quota.
|
|
985
|
+
* We recommend using `listInstanceConfigOperationsAsync()`
|
|
986
|
+
* method described below for async iteration which you can stop as needed.
|
|
987
|
+
* Please see the
|
|
988
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
989
|
+
* for more details and examples.
|
|
990
|
+
*/
|
|
991
|
+
listInstanceConfigOperationsStream(request?: protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, options?: CallOptions): Transform;
|
|
992
|
+
/**
|
|
993
|
+
* Equivalent to `listInstanceConfigOperations`, but returns an iterable object.
|
|
994
|
+
*
|
|
995
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
996
|
+
* @param {Object} request
|
|
997
|
+
* The request object that will be sent.
|
|
998
|
+
* @param {string} request.parent
|
|
999
|
+
* Required. The project of the instance config operations.
|
|
1000
|
+
* Values are of the form `projects/<project>`.
|
|
1001
|
+
* @param {string} request.filter
|
|
1002
|
+
* An expression that filters the list of returned operations.
|
|
1003
|
+
*
|
|
1004
|
+
* A filter expression consists of a field name, a
|
|
1005
|
+
* comparison operator, and a value for filtering.
|
|
1006
|
+
* The value must be a string, a number, or a boolean. The comparison operator
|
|
1007
|
+
* must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
|
|
1008
|
+
* Colon `:` is the contains operator. Filter rules are not case sensitive.
|
|
1009
|
+
*
|
|
1010
|
+
* The following fields in the {@link google.longrunning.Operation|Operation}
|
|
1011
|
+
* are eligible for filtering:
|
|
1012
|
+
*
|
|
1013
|
+
* * `name` - The name of the long-running operation
|
|
1014
|
+
* * `done` - False if the operation is in progress, else true.
|
|
1015
|
+
* * `metadata.@type` - the type of metadata. For example, the type string
|
|
1016
|
+
* for
|
|
1017
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}
|
|
1018
|
+
* is
|
|
1019
|
+
* `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata`.
|
|
1020
|
+
* * `metadata.<field_name>` - any field in metadata.value.
|
|
1021
|
+
* `metadata.@type` must be specified first, if filtering on metadata
|
|
1022
|
+
* fields.
|
|
1023
|
+
* * `error` - Error associated with the long-running operation.
|
|
1024
|
+
* * `response.@type` - the type of response.
|
|
1025
|
+
* * `response.<field_name>` - any field in response.value.
|
|
1026
|
+
*
|
|
1027
|
+
* You can combine multiple expressions by enclosing each expression in
|
|
1028
|
+
* parentheses. By default, expressions are combined with AND logic. However,
|
|
1029
|
+
* you can specify AND, OR, and NOT logic explicitly.
|
|
1030
|
+
*
|
|
1031
|
+
* Here are a few examples:
|
|
1032
|
+
*
|
|
1033
|
+
* * `done:true` - The operation is complete.
|
|
1034
|
+
* * `(metadata.@type=` \
|
|
1035
|
+
* `type.googleapis.com/google.spanner.admin.instance.v1.CreateInstanceConfigMetadata)
|
|
1036
|
+
* AND` \
|
|
1037
|
+
* `(metadata.instance_config.name:custom-config) AND` \
|
|
1038
|
+
* `(metadata.progress.start_time < \"2021-03-28T14:50:00Z\") AND` \
|
|
1039
|
+
* `(error:*)` - Return operations where:
|
|
1040
|
+
* * The operation's metadata type is
|
|
1041
|
+
* {@link google.spanner.admin.instance.v1.CreateInstanceConfigMetadata|CreateInstanceConfigMetadata}.
|
|
1042
|
+
* * The instance config name contains "custom-config".
|
|
1043
|
+
* * The operation started before 2021-03-28T14:50:00Z.
|
|
1044
|
+
* * The operation resulted in an error.
|
|
1045
|
+
* @param {number} request.pageSize
|
|
1046
|
+
* Number of operations to be returned in the response. If 0 or
|
|
1047
|
+
* less, defaults to the server's maximum allowed page size.
|
|
1048
|
+
* @param {string} request.pageToken
|
|
1049
|
+
* If non-empty, `page_token` should contain a
|
|
1050
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse.next_page_token|next_page_token}
|
|
1051
|
+
* from a previous
|
|
1052
|
+
* {@link google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse|ListInstanceConfigOperationsResponse}
|
|
1053
|
+
* to the same `parent` and with the same `filter`.
|
|
1054
|
+
* @param {object} [options]
|
|
1055
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1056
|
+
* @returns {Object}
|
|
1057
|
+
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
|
|
1058
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
1059
|
+
* [Operation]{@link google.longrunning.Operation}. The API will be called under the hood as needed, once per the page,
|
|
1060
|
+
* so you can stop the iteration when you don't need more results.
|
|
1061
|
+
* Please see the
|
|
1062
|
+
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
1063
|
+
* for more details and examples.
|
|
1064
|
+
* @example <caption>include:samples/generated/v1/instance_admin.list_instance_config_operations.js</caption>
|
|
1065
|
+
* region_tag:spanner_v1_generated_InstanceAdmin_ListInstanceConfigOperations_async
|
|
1066
|
+
*/
|
|
1067
|
+
listInstanceConfigOperationsAsync(request?: protos.google.spanner.admin.instance.v1.IListInstanceConfigOperationsRequest, options?: CallOptions): AsyncIterable<protos.google.longrunning.IOperation>;
|
|
579
1068
|
/**
|
|
580
1069
|
* Lists all instances in the given project.
|
|
581
1070
|
*
|
|
@@ -589,8 +1078,9 @@ export declare class InstanceAdminClient {
|
|
|
589
1078
|
* to the server's maximum allowed page size.
|
|
590
1079
|
* @param {string} request.pageToken
|
|
591
1080
|
* If non-empty, `page_token` should contain a
|
|
592
|
-
* {@link google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token|next_page_token}
|
|
593
|
-
*
|
|
1081
|
+
* {@link google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token|next_page_token}
|
|
1082
|
+
* from a previous
|
|
1083
|
+
* {@link google.spanner.admin.instance.v1.ListInstancesResponse|ListInstancesResponse}.
|
|
594
1084
|
* @param {string} request.filter
|
|
595
1085
|
* An expression for filtering the results of the request. Filter rules are
|
|
596
1086
|
* case insensitive. The fields eligible for filtering are:
|
|
@@ -643,8 +1133,9 @@ export declare class InstanceAdminClient {
|
|
|
643
1133
|
* to the server's maximum allowed page size.
|
|
644
1134
|
* @param {string} request.pageToken
|
|
645
1135
|
* If non-empty, `page_token` should contain a
|
|
646
|
-
* {@link google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token|next_page_token}
|
|
647
|
-
*
|
|
1136
|
+
* {@link google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token|next_page_token}
|
|
1137
|
+
* from a previous
|
|
1138
|
+
* {@link google.spanner.admin.instance.v1.ListInstancesResponse|ListInstancesResponse}.
|
|
648
1139
|
* @param {string} request.filter
|
|
649
1140
|
* An expression for filtering the results of the request. Filter rules are
|
|
650
1141
|
* case insensitive. The fields eligible for filtering are:
|
|
@@ -692,8 +1183,9 @@ export declare class InstanceAdminClient {
|
|
|
692
1183
|
* to the server's maximum allowed page size.
|
|
693
1184
|
* @param {string} request.pageToken
|
|
694
1185
|
* If non-empty, `page_token` should contain a
|
|
695
|
-
* {@link google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token|next_page_token}
|
|
696
|
-
*
|
|
1186
|
+
* {@link google.spanner.admin.instance.v1.ListInstancesResponse.next_page_token|next_page_token}
|
|
1187
|
+
* from a previous
|
|
1188
|
+
* {@link google.spanner.admin.instance.v1.ListInstancesResponse|ListInstancesResponse}.
|
|
697
1189
|
* @param {string} request.filter
|
|
698
1190
|
* An expression for filtering the results of the request. Filter rules are
|
|
699
1191
|
* case insensitive. The fields eligible for filtering are:
|