@googleapis/spanner 7.4.1 → 8.0.1

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/build/v1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosPromise, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
2
+ import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
3
3
  import { Readable } from 'stream';
4
4
  export declare namespace spanner_v1 {
5
5
  export interface Options extends GlobalOptions {
@@ -72,10 +72,88 @@ export declare namespace spanner_v1 {
72
72
  scans: Resource$Scans;
73
73
  constructor(options: GlobalOptions, google?: GoogleConfigurable);
74
74
  }
75
+ /**
76
+ * A session in the Cloud Spanner Adapter API.
77
+ */
78
+ export interface Schema$AdapterSession {
79
+ /**
80
+ * Identifier. The name of the session. This is always system-assigned.
81
+ */
82
+ name?: string | null;
83
+ }
84
+ /**
85
+ * Message sent by the client to the adapter.
86
+ */
87
+ export interface Schema$AdaptMessageRequest {
88
+ /**
89
+ * Optional. Opaque request state passed by the client to the server.
90
+ */
91
+ attachments?: {
92
+ [key: string]: string;
93
+ } | null;
94
+ /**
95
+ * Optional. Uninterpreted bytes from the underlying wire protocol.
96
+ */
97
+ payload?: string | null;
98
+ /**
99
+ * Required. Identifier for the underlying wire protocol.
100
+ */
101
+ protocol?: string | null;
102
+ }
103
+ /**
104
+ * Message sent by the adapter to the client.
105
+ */
106
+ export interface Schema$AdaptMessageResponse {
107
+ /**
108
+ * Optional. Uninterpreted bytes from the underlying wire protocol.
109
+ */
110
+ payload?: string | null;
111
+ /**
112
+ * Optional. Opaque state updates to be applied by the client.
113
+ */
114
+ stateUpdates?: {
115
+ [key: string]: string;
116
+ } | null;
117
+ }
118
+ /**
119
+ * The request for AddSplitPoints.
120
+ */
121
+ export interface Schema$AddSplitPointsRequest {
122
+ /**
123
+ * Optional. A user-supplied tag associated with the split points. For example, "initial_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 characters are allowed.
124
+ */
125
+ initiator?: string | null;
126
+ /**
127
+ * Required. The split points to add.
128
+ */
129
+ splitPoints?: Schema$SplitPoints[];
130
+ }
131
+ /**
132
+ * The response for AddSplitPoints.
133
+ */
134
+ export interface Schema$AddSplitPointsResponse {
135
+ }
136
+ /**
137
+ * AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.
138
+ */
139
+ export interface Schema$AsymmetricAutoscalingOption {
140
+ /**
141
+ * Optional. Overrides applied to the top-level autoscaling configuration for the selected replicas.
142
+ */
143
+ overrides?: Schema$AutoscalingConfigOverrides;
144
+ /**
145
+ * Required. Selects the replicas to which this AsymmetricAutoscalingOption applies. Only read-only replicas are supported.
146
+ */
147
+ replicaSelection?: Schema$InstanceReplicaSelection;
148
+ }
75
149
  /**
76
150
  * Autoscaling configuration for an instance.
77
151
  */
78
152
  export interface Schema$AutoscalingConfig {
153
+ /**
154
+ * Optional. Optional asymmetric autoscaling options. Replicas matching the replica selection criteria will be autoscaled independently from other replicas. The autoscaler will scale the replicas based on the utilization of replicas identified by the replica selection. Replica selections should not overlap with each other. Other replicas (those do not match any replica selection) will be autoscaled together and will have the same compute capacity allocated to them.
155
+ */
156
+ asymmetricAutoscalingOptions?: Schema$AsymmetricAutoscalingOption[];
79
157
  /**
80
158
  * Required. Autoscaling limits for an instance.
81
159
  */
@@ -85,6 +163,19 @@ export declare namespace spanner_v1 {
85
163
  */
86
164
  autoscalingTargets?: Schema$AutoscalingTargets;
87
165
  }
166
+ /**
167
+ * Overrides the top-level autoscaling configuration for the replicas identified by `replica_selection`. All fields in this message are optional. Any unspecified fields will use the corresponding values from the top-level autoscaling configuration.
168
+ */
169
+ export interface Schema$AutoscalingConfigOverrides {
170
+ /**
171
+ * Optional. If specified, overrides the min/max limit in the top-level autoscaling configuration for the selected replicas.
172
+ */
173
+ autoscalingLimits?: Schema$AutoscalingLimits;
174
+ /**
175
+ * Optional. If specified, overrides the autoscaling target high_priority_cpu_utilization_percent in the top-level autoscaling configuration for the selected replicas.
176
+ */
177
+ autoscalingTargetHighPriorityCpuUtilizationPercent?: number | null;
178
+ }
88
179
  /**
89
180
  * The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.
90
181
  */
@@ -144,7 +235,7 @@ export declare namespace spanner_v1 {
144
235
  */
145
236
  encryptionInfo?: Schema$EncryptionInfo;
146
237
  /**
147
- * Output only. The encryption information for the backup, whether it is protected by one or more KMS keys. The information includes all Cloud KMS key versions used to encrypt the backup. The `encryption_status' field inside of each `EncryptionInfo` is not populated. At least one of the key versions must be available for the backup to be restored. If a key version is revoked in the middle of a restore, the restore behavior is undefined.
238
+ * Output only. The encryption information for the backup, whether it is protected by one or more KMS keys. The information includes all Cloud KMS key versions used to encrypt the backup. The `encryption_status` field inside of each `EncryptionInfo` is not populated. At least one of the key versions must be available for the backup to be restored. If a key version is revoked in the middle of a restore, the restore behavior is undefined.
148
239
  */
149
240
  encryptionInformation?: Schema$EncryptionInfo[];
150
241
  /**
@@ -163,6 +254,10 @@ export declare namespace spanner_v1 {
163
254
  * Output only. Populated only for backups in an incremental backup chain. Backups share the same chain id if and only if they belong to the same incremental backup chain. Use this field to determine which backups are part of the same incremental backup chain. The ordering of backups in the chain can be determined by ordering the backup `version_time`.
164
255
  */
165
256
  incrementalBackupChainId?: string | null;
257
+ /**
258
+ * Output only. The instance partition(s) storing the backup. This is the same as the list of the instance partition(s) that the database had footprint in at the backup's `version_time`.
259
+ */
260
+ instancePartitions?: Schema$BackupInstancePartition[];
166
261
  /**
167
262
  * Output only. The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than `Backup.max_expire_time`.
168
263
  */
@@ -218,11 +313,20 @@ export declare namespace spanner_v1 {
218
313
  versionTime?: string | null;
219
314
  }
220
315
  /**
221
- * BackupSchedule expresses the automated backup creation specification for a Spanner database. Next ID: 10
316
+ * Instance partition information for the backup.
317
+ */
318
+ export interface Schema$BackupInstancePartition {
319
+ /**
320
+ * A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/`
321
+ */
322
+ instancePartition?: string | null;
323
+ }
324
+ /**
325
+ * BackupSchedule expresses the automated backup creation specification for a Spanner database.
222
326
  */
223
327
  export interface Schema$BackupSchedule {
224
328
  /**
225
- * Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
329
+ * Optional. The encryption configuration that is used to encrypt the backup. If this field is not specified, the backup uses the same encryption configuration as the database.
226
330
  */
227
331
  encryptionConfig?: Schema$CreateBackupEncryptionConfig;
228
332
  /**
@@ -264,11 +368,11 @@ export declare namespace spanner_v1 {
264
368
  */
265
369
  export interface Schema$BatchCreateSessionsRequest {
266
370
  /**
267
- * Required. The number of sessions to be created in this batch call. The API may return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to BatchCreateSessions (adjusting session_count as necessary).
371
+ * Required. The number of sessions to be created in this batch call. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
268
372
  */
269
373
  sessionCount?: number | null;
270
374
  /**
271
- * Parameters to be applied to each created session.
375
+ * Parameters to apply to each created session.
272
376
  */
273
377
  sessionTemplate?: Schema$Session;
274
378
  }
@@ -286,7 +390,7 @@ export declare namespace spanner_v1 {
286
390
  */
287
391
  export interface Schema$BatchWriteRequest {
288
392
  /**
289
- * Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation will not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Modifications from all transactions in this batch write operation will be recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, Modifications from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions.
393
+ * Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation are not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Modifications from all transactions in this batch write operation are recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, Modifications from all transactions in this batch write operation are recorded in all change streams that are tracking columns modified by these transactions.
290
394
  */
291
395
  excludeTxnFromChangeStreams?: boolean | null;
292
396
  /**
@@ -319,12 +423,16 @@ export declare namespace spanner_v1 {
319
423
  * The request for BeginTransaction.
320
424
  */
321
425
  export interface Schema$BeginTransactionRequest {
426
+ /**
427
+ * Optional. Required for read-write transactions on a multiplexed session that commit mutations but don't perform any reads or queries. You must randomly select one of the mutations from the mutation set and send it as a part of this request.
428
+ */
429
+ mutationKey?: Schema$Mutation;
322
430
  /**
323
431
  * Required. Options for the new transaction.
324
432
  */
325
433
  options?: Schema$TransactionOptions;
326
434
  /**
327
- * Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
435
+ * Common options for this request. Priority is ignored for this request. Setting the priority in this `request_options` struct doesn't do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
328
436
  */
329
437
  requestOptions?: Schema$RequestOptions;
330
438
  }
@@ -401,23 +509,27 @@ export declare namespace spanner_v1 {
401
509
  */
402
510
  export interface Schema$CommitRequest {
403
511
  /**
404
- * Optional. The amount of latency this request is configured to incur in order to improve throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a commit delay value between 0 and 500 ms.
512
+ * Optional. The amount of latency this request is configured to incur in order to improve throughput. If this field isn't set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a commit delay value between 0 and 500 ms.
405
513
  */
406
514
  maxCommitDelay?: string | null;
407
515
  /**
408
516
  * The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.
409
517
  */
410
518
  mutations?: Schema$Mutation[];
519
+ /**
520
+ * Optional. If the read-write transaction was executed on a multiplexed session, then you must include the precommit token with the highest sequence number received in this transaction attempt. Failing to do so results in a `FailedPrecondition` error.
521
+ */
522
+ precommitToken?: Schema$MultiplexedSessionPrecommitToken;
411
523
  /**
412
524
  * Common options for this request.
413
525
  */
414
526
  requestOptions?: Schema$RequestOptions;
415
527
  /**
416
- * If `true`, then statistics related to the transaction will be included in the CommitResponse. Default value is `false`.
528
+ * If `true`, then statistics related to the transaction is included in the CommitResponse. Default value is `false`.
417
529
  */
418
530
  returnCommitStats?: boolean | null;
419
531
  /**
420
- * Execute mutations in a temporary transaction. Note that unlike commit of a previously-started transaction, commit with a temporary transaction is non-idempotent. That is, if the `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the application, or in the transport library), it is possible that the mutations are executed more than once. If this is undesirable, use BeginTransaction and Commit instead.
532
+ * Execute mutations in a temporary transaction. Note that unlike commit of a previously-started transaction, commit with a temporary transaction is non-idempotent. That is, if the `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the application, or in the transport library), it's possible that the mutations are executed more than once. If this is undesirable, use BeginTransaction and Commit instead.
421
533
  */
422
534
  singleUseTransaction?: Schema$TransactionOptions;
423
535
  /**
@@ -430,13 +542,17 @@ export declare namespace spanner_v1 {
430
542
  */
431
543
  export interface Schema$CommitResponse {
432
544
  /**
433
- * The statistics about this Commit. Not returned by default. For more information, see CommitRequest.return_commit_stats.
545
+ * The statistics about this `Commit`. Not returned by default. For more information, see CommitRequest.return_commit_stats.
434
546
  */
435
547
  commitStats?: Schema$CommitStats;
436
548
  /**
437
549
  * The Cloud Spanner timestamp at which the transaction committed.
438
550
  */
439
551
  commitTimestamp?: string | null;
552
+ /**
553
+ * If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
554
+ */
555
+ precommitToken?: Schema$MultiplexedSessionPrecommitToken;
440
556
  }
441
557
  /**
442
558
  * Additional statistics about a commit.
@@ -481,7 +597,7 @@ export declare namespace spanner_v1 {
481
597
  */
482
598
  kmsKeyName?: string | null;
483
599
  /**
484
- * Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. Kms keys specified can be in any order. The keys referenced by kms_key_names must fully cover all regions of the backup's instance configuration. Some examples: * For single region instance configs, specify a single regional location KMS key. * For multi-regional instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For an instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs.
600
+ * Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. KMS keys specified can be in any order. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.
485
601
  */
486
602
  kmsKeyNames?: string[] | null;
487
603
  }
@@ -540,7 +656,7 @@ export declare namespace spanner_v1 {
540
656
  */
541
657
  kmsKeyName?: string | null;
542
658
  /**
543
- * Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the backup's instance configuration. Some examples: * For single region instance configs, specify a single regional location KMS key. * For multi-regional instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For an instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs.
659
+ * Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.
544
660
  */
545
661
  kmsKeyNames?: string[] | null;
546
662
  }
@@ -617,7 +733,7 @@ export declare namespace spanner_v1 {
617
733
  progress?: Schema$InstanceOperationProgress;
618
734
  }
619
735
  /**
620
- * The request for CreateInstanceConfigRequest.
736
+ * The request for CreateInstanceConfig.
621
737
  */
622
738
  export interface Schema$CreateInstanceConfigRequest {
623
739
  /**
@@ -715,19 +831,19 @@ export declare namespace spanner_v1 {
715
831
  session?: Schema$Session;
716
832
  }
717
833
  /**
718
- * CrontabSpec can be used to specify the version time and frequency at which the backup should be created.
834
+ * CrontabSpec can be used to specify the version time and frequency at which the backup is created.
719
835
  */
720
836
  export interface Schema$CrontabSpec {
721
837
  /**
722
- * Output only. Schedule backups will contain an externally consistent copy of the database at the version time specified in `schedule_spec.cron_spec`. However, Spanner may not initiate the creation of the scheduled backups at that version time. Spanner will initiate the creation of scheduled backups within the time window bounded by the version_time specified in `schedule_spec.cron_spec` and version_time + `creation_window`.
838
+ * Output only. Scheduled backups contain an externally consistent copy of the database at the version time specified in `schedule_spec.cron_spec`. However, Spanner might not initiate the creation of the scheduled backups at that version time. Spanner initiates the creation of scheduled backups within the time window bounded by the version_time specified in `schedule_spec.cron_spec` and version_time + `creation_window`.
723
839
  */
724
840
  creationWindow?: string | null;
725
841
  /**
726
- * Required. Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timzeone. The backup will contain an externally consistent copy of the database at the version time. Allowed frequencies are 12 hour, 1 day, 1 week and 1 month. Examples of valid cron specifications: * `0 2/12 * * * ` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * * ` : every 12 hours at (2,14) hours past midnight in UTC. * `0 2 * * * ` : once a day at 2 past midnight in UTC. * `0 2 * * 0 ` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * * ` : once a month on 8th day at 2 past midnight in UTC.
842
+ * Required. Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timezone. The backup will contain an externally consistent copy of the database at the version time. Full backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 x/4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12, 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on 8th day at 2 past midnight in UTC.
727
843
  */
728
844
  text?: string | null;
729
845
  /**
730
- * Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported.
846
+ * Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is supported.
731
847
  */
732
848
  timeZone?: string | null;
733
849
  }
@@ -760,7 +876,7 @@ export declare namespace spanner_v1 {
760
876
  */
761
877
  encryptionConfig?: Schema$EncryptionConfig;
762
878
  /**
763
- * Output only. For databases that are using customer managed encryption, this field contains the encryption information for the database, such as all Cloud KMS key versions that are in use. The `encryption_status' field inside of each `EncryptionInfo` is not populated. For databases that are using Google default or other types of encryption, this field is empty. This field is propagated lazily from the backend. There might be a delay from when a key version is being used and when it appears in this field.
879
+ * Output only. For databases that are using customer managed encryption, this field contains the encryption information for the database, such as all Cloud KMS key versions that are in use. The `encryption_status` field inside of each `EncryptionInfo` is not populated. For databases that are using Google default or other types of encryption, this field is empty. This field is propagated lazily from the backend. There might be a delay from when a key version is being used and when it appears in this field.
764
880
  */
765
881
  encryptionInfo?: Schema$EncryptionInfo[];
766
882
  /**
@@ -866,15 +982,15 @@ export declare namespace spanner_v1 {
866
982
  shortMessage?: Schema$LocalizedString;
867
983
  }
868
984
  /**
869
- * The DirectedReadOptions can be used to indicate which replicas or regions should be used for non-transactional reads or queries. DirectedReadOptions may only be specified for a read-only transaction, otherwise the API will return an `INVALID_ARGUMENT` error.
985
+ * The `DirectedReadOptions` can be used to indicate which replicas or regions should be used for non-transactional reads or queries. `DirectedReadOptions` can only be specified for a read-only transaction, otherwise the API returns an `INVALID_ARGUMENT` error.
870
986
  */
871
987
  export interface Schema$DirectedReadOptions {
872
988
  /**
873
- * Exclude_replicas indicates that specified replicas should be excluded from serving requests. Spanner will not route requests to the replicas in this list.
989
+ * `Exclude_replicas` indicates that specified replicas should be excluded from serving requests. Spanner doesn't route requests to the replicas in this list.
874
990
  */
875
991
  excludeReplicas?: Schema$ExcludeReplicas;
876
992
  /**
877
- * Include_replicas indicates the order of replicas (as they appear in this list) to process the request. If auto_failover_disabled is set to true and all replicas are exhausted without finding a healthy replica, Spanner will wait for a replica in the list to become available, requests may fail due to `DEADLINE_EXCEEDED` errors.
993
+ * `Include_replicas` indicates the order of replicas (as they appear in this list) to process the request. If `auto_failover_disabled` is set to `true` and all replicas are exhausted without finding a healthy replica, Spanner waits for a replica in the list to become available, requests might fail due to `DEADLINE_EXCEEDED` errors.
878
994
  */
879
995
  includeReplicas?: Schema$IncludeReplicas;
880
996
  }
@@ -897,7 +1013,7 @@ export declare namespace spanner_v1 {
897
1013
  */
898
1014
  kmsKeyName?: string | null;
899
1015
  /**
900
- * Specifies the KMS configuration for the one or more keys used to encrypt the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configs, specify a single regional location KMS key. * For multi-regional database instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For a database instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs.
1016
+ * Specifies the KMS configuration for one or more keys used to encrypt the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the database's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.
901
1017
  */
902
1018
  kmsKeyNames?: string[] | null;
903
1019
  }
@@ -931,12 +1047,16 @@ export declare namespace spanner_v1 {
931
1047
  * The request for ExecuteBatchDml.
932
1048
  */
933
1049
  export interface Schema$ExecuteBatchDmlRequest {
1050
+ /**
1051
+ * Optional. If set to `true`, this request marks the end of the transaction. After these statements execute, you must commit or abort the transaction. Attempts to execute any other requests against this transaction (including reads and queries) are rejected. Setting this option might cause some error reporting to be deferred until commit time (for example, validation of unique constraints). Given this, successful execution of statements shouldn't be assumed until a subsequent `Commit` call completes successfully.
1052
+ */
1053
+ lastStatements?: boolean | null;
934
1054
  /**
935
1055
  * Common options for this request.
936
1056
  */
937
1057
  requestOptions?: Schema$RequestOptions;
938
1058
  /**
939
- * Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution.
1059
+ * Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one succeeds. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction might be aborted. Replays of previously handled requests yield the same response as the first execution.
940
1060
  */
941
1061
  seqno?: string | null;
942
1062
  /**
@@ -952,6 +1072,10 @@ export declare namespace spanner_v1 {
952
1072
  * The response for ExecuteBatchDml. Contains a list of ResultSet messages, one for each DML statement that has successfully executed, in the same order as the statements in the request. If a statement fails, the status in the response body identifies the cause of the failure. To check for DML statements that failed, use the following approach: 1. Check the status in the response message. The google.rpc.Code enum value `OK` indicates that all statements were executed successfully. 2. If the status was not `OK`, check the number of result sets in the response. If the response contains `N` ResultSet messages, then statement `N+1` in the request failed. Example 1: * Request: 5 DML statements, all executed successfully. * Response: 5 ResultSet messages, with the status `OK`. Example 2: * Request: 5 DML statements. The third statement has a syntax error. * Response: 2 ResultSet messages, and a syntax error (`INVALID_ARGUMENT`) status. The number of ResultSet messages indicates that the third statement failed, and the fourth and fifth statements were not executed.
953
1073
  */
954
1074
  export interface Schema$ExecuteBatchDmlResponse {
1075
+ /**
1076
+ * Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction.
1077
+ */
1078
+ precommitToken?: Schema$MultiplexedSessionPrecommitToken;
955
1079
  /**
956
1080
  * One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.
957
1081
  */
@@ -966,7 +1090,7 @@ export declare namespace spanner_v1 {
966
1090
  */
967
1091
  export interface Schema$ExecuteSqlRequest {
968
1092
  /**
969
- * If this is for a partitioned query and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request does not set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
1093
+ * If this is for a partitioned query and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request doesn't set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
970
1094
  */
971
1095
  dataBoostEnabled?: boolean | null;
972
1096
  /**
@@ -974,19 +1098,23 @@ export declare namespace spanner_v1 {
974
1098
  */
975
1099
  directedReadOptions?: Schema$DirectedReadOptions;
976
1100
  /**
977
- * Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names must conform to the naming requirements of identifiers as specified at https://cloud.google.com/spanner/docs/lexical#identifiers. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
1101
+ * Optional. If set to `true`, this statement marks the end of the transaction. After this statement executes, you must commit or abort the transaction. Attempts to execute any other requests against this transaction (including reads and queries) are rejected. For DML statements, setting this option might cause some error reporting to be deferred until commit time (for example, validation of unique constraints). Given this, successful execution of a DML statement shouldn't be assumed until a subsequent `Commit` call completes successfully.
1102
+ */
1103
+ lastStatement?: boolean | null;
1104
+ /**
1105
+ * Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names must conform to the naming requirements of identifiers as specified at https://cloud.google.com/spanner/docs/lexical#identifiers. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters.
978
1106
  */
979
1107
  params?: {
980
1108
  [key: string]: any;
981
1109
  } | null;
982
1110
  /**
983
- * It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.
1111
+ * It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, you can use `param_types` to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.
984
1112
  */
985
1113
  paramTypes?: {
986
1114
  [key: string]: Schema$Type;
987
1115
  } | null;
988
1116
  /**
989
- * If present, results will be restricted to the specified partition previously created using PartitionQuery(). There must be an exact match for the values of fields common to this message and the PartitionQueryRequest message used to create this partition_token.
1117
+ * If present, results are restricted to the specified partition previously created using `PartitionQuery`. There must be an exact match for the values of fields common to this message and the `PartitionQueryRequest` message used to create this `partition_token`.
990
1118
  */
991
1119
  partitionToken?: string | null;
992
1120
  /**
@@ -1006,7 +1134,7 @@ export declare namespace spanner_v1 {
1006
1134
  */
1007
1135
  resumeToken?: string | null;
1008
1136
  /**
1009
- * A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution. Required for DML statements. Ignored for queries.
1137
+ * A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one succeeds. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction can be aborted. Replays of previously handled requests yield the same response as the first execution. Required for DML statements. Ignored for queries.
1010
1138
  */
1011
1139
  seqno?: string | null;
1012
1140
  /**
@@ -1106,11 +1234,11 @@ export declare namespace spanner_v1 {
1106
1234
  requestedPolicyVersion?: number | null;
1107
1235
  }
1108
1236
  /**
1109
- * An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.
1237
+ * An `IncludeReplicas` contains a repeated set of `ReplicaSelection` which indicates the order in which replicas should be considered.
1110
1238
  */
1111
1239
  export interface Schema$IncludeReplicas {
1112
1240
  /**
1113
- * If true, Spanner will not route requests to a replica outside the include_replicas list when all of the specified replicas are unavailable or unhealthy. Default value is `false`.
1241
+ * If `true`, Spanner doesn't route requests to a replica outside the <`include_replicas` list when all of the specified replicas are unavailable or unhealthy. Default value is `false`.
1114
1242
  */
1115
1243
  autoFailoverDisabled?: boolean | null;
1116
1244
  /**
@@ -1174,6 +1302,10 @@ export declare namespace spanner_v1 {
1174
1302
  * Output only. The time at which the instance was created.
1175
1303
  */
1176
1304
  createTime?: string | null;
1305
+ /**
1306
+ * Optional. Controls the default backup schedule behavior for new databases within the instance. By default, a backup schedule is created automatically when a new database is created in a new instance. Note that the `AUTOMATIC` value isn't permitted for free instances, as backups and backup schedules aren't supported for free instances. In the `GetInstance` or `ListInstances` response, if the value of `default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't create a default backup schedule for new databases in the instance.
1307
+ */
1308
+ defaultBackupScheduleType?: string | null;
1177
1309
  /**
1178
1310
  * Required. The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
1179
1311
  */
@@ -1205,13 +1337,17 @@ export declare namespace spanner_v1 {
1205
1337
  */
1206
1338
  name?: string | null;
1207
1339
  /**
1208
- * The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the `node_count` field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, `node_count` is treated as an `OUTPUT_ONLY` field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
1340
+ * The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the `node_count` field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, `node_count` is treated as an `OUTPUT_ONLY` field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. If the instance has varying node count across replicas (achieved by setting `asymmetric_autoscaling_options` in the autoscaling configuration), the `node_count` set here is the maximum node count across all replicas. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
1209
1341
  */
1210
1342
  nodeCount?: number | null;
1211
1343
  /**
1212
- * The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
1344
+ * The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. If the instance has varying processing units per replica (achieved by setting `asymmetric_autoscaling_options` in the autoscaling configuration), the `processing_units` set here is the maximum processing units across all replicas. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
1213
1345
  */
1214
1346
  processingUnits?: number | null;
1347
+ /**
1348
+ * Output only. Lists the compute capacity per ReplicaSelection. A replica selection identifies a set of replicas with common properties. Replicas identified by a ReplicaSelection are scaled with the same compute capacity.
1349
+ */
1350
+ replicaComputeCapacity?: Schema$ReplicaComputeCapacity[];
1215
1351
  /**
1216
1352
  * Output only. The current instance state. For CreateInstance, the state must be either omitted or set to `CREATING`. For UpdateInstance, the state must be either omitted or set to `READY`.
1217
1353
  */
@@ -1350,6 +1486,24 @@ export declare namespace spanner_v1 {
1350
1486
  */
1351
1487
  updateTime?: string | null;
1352
1488
  }
1489
+ /**
1490
+ * ReplicaSelection identifies replicas with common properties.
1491
+ */
1492
+ export interface Schema$InstanceReplicaSelection {
1493
+ /**
1494
+ * Required. Name of the location of the replicas (e.g., "us-central1").
1495
+ */
1496
+ location?: string | null;
1497
+ }
1498
+ /**
1499
+ * A split key.
1500
+ */
1501
+ export interface Schema$Key {
1502
+ /**
1503
+ * Required. The column values making up the split key.
1504
+ */
1505
+ keyParts?: any[] | null;
1506
+ }
1353
1507
  /**
1354
1508
  * KeyRange represents a range of rows in a table or index. A range has a start key and an end key. These keys can be open or closed, indicating if the range includes rows with that key. Keys are represented by lists, where the ith value in the list corresponds to the ith component of the table or index primary key. Individual values are encoded as described here. For example, consider the following table definition: CREATE TABLE UserEvents ( UserName STRING(MAX), EventDate STRING(10) ) PRIMARY KEY(UserName, EventDate); The following keys name rows in this table: "Bob", "2014-09-23" Since the `UserEvents` table's `PRIMARY KEY` clause names two columns, each `UserEvents` key has two elements; the first is the `UserName`, and the second is the `EventDate`. Key ranges with multiple components are interpreted lexicographically by component using the table or index key's declared sort order. For example, the following range returns all events for user `"Bob"` that occurred in the year 2015: "start_closed": ["Bob", "2015-01-01"] "end_closed": ["Bob", "2015-12-31"] Start and end keys can omit trailing key components. This affects the inclusion and exclusion of rows that exactly match the provided key components: if the key is closed, then rows that exactly match the provided components are included; if the key is open, then rows that exactly match are not included. For example, the following range includes all events for `"Bob"` that occurred during and after the year 2000: "start_closed": ["Bob", "2000-01-01"] "end_closed": ["Bob"] The next example retrieves all events for `"Bob"`: "start_closed": ["Bob"] "end_closed": ["Bob"] To retrieve events before the year 2000: "start_closed": ["Bob"] "end_open": ["Bob", "2000-01-01"] The following range includes all rows in the table: "start_closed": [] "end_closed": [] This range returns all users whose `UserName` begins with any character from A to C: "start_closed": ["A"] "end_open": ["D"] This range returns all users whose `UserName` begins with B: "start_closed": ["B"] "end_open": ["C"] Key ranges honor column sort order. For example, suppose a table is defined as follows: CREATE TABLE DescendingSortedTable { Key INT64, ... ) PRIMARY KEY(Key DESC); The following range retrieves all rows with key values between 1 and 100 inclusive: "start_closed": ["100"] "end_closed": ["1"] Note that 100 is passed as the start, and 1 is passed as the end, because `Key` is a descending column in the schema.
1355
1509
  */
@@ -1739,6 +1893,19 @@ export declare namespace spanner_v1 {
1739
1893
  */
1740
1894
  targetConfig?: string | null;
1741
1895
  }
1896
+ /**
1897
+ * When a read-write transaction is executed on a multiplexed session, this precommit token is sent back to the client as a part of the Transaction message in the BeginTransaction response and also as a part of the ResultSet and PartialResultSet responses.
1898
+ */
1899
+ export interface Schema$MultiplexedSessionPrecommitToken {
1900
+ /**
1901
+ * Opaque precommit token.
1902
+ */
1903
+ precommitToken?: string | null;
1904
+ /**
1905
+ * An incrementing seq number is generated on every precommit token that is returned. Clients should remember the precommit token with the highest sequence number from the current transaction attempt.
1906
+ */
1907
+ seqNum?: number | null;
1908
+ }
1742
1909
  /**
1743
1910
  * A modification to one or more Cloud Spanner rows. Mutations can be applied to a Cloud Spanner database by sending them in a Commit call.
1744
1911
  */
@@ -1840,20 +2007,28 @@ export declare namespace spanner_v1 {
1840
2007
  * If true, then the final value in values is chunked, and must be combined with more values from subsequent `PartialResultSet`s to obtain a complete field value.
1841
2008
  */
1842
2009
  chunkedValue?: boolean | null;
2010
+ /**
2011
+ * Optional. Indicates whether this is the last `PartialResultSet` in the stream. The server might optionally set this field. Clients shouldn't rely on this field being set in all cases.
2012
+ */
2013
+ last?: boolean | null;
1843
2014
  /**
1844
2015
  * Metadata about the result set, such as row type information. Only present in the first response.
1845
2016
  */
1846
2017
  metadata?: Schema$ResultSetMetadata;
2018
+ /**
2019
+ * Optional. A precommit token is included if the read-write transaction has multiplexed sessions enabled. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction.
2020
+ */
2021
+ precommitToken?: Schema$MultiplexedSessionPrecommitToken;
1847
2022
  /**
1848
2023
  * Streaming calls might be interrupted for a variety of reasons, such as TCP connection loss. If this occurs, the stream of results can be resumed by re-sending the original request and including `resume_token`. Note that executing any other transaction in the same session invalidates the token.
1849
2024
  */
1850
2025
  resumeToken?: string | null;
1851
2026
  /**
1852
- * Query plan and execution statistics for the statement that produced this streaming result set. These can be requested by setting ExecuteSqlRequest.query_mode and are sent only once with the last response in the stream. This field will also be present in the last response for DML statements.
2027
+ * Query plan and execution statistics for the statement that produced this streaming result set. These can be requested by setting ExecuteSqlRequest.query_mode and are sent only once with the last response in the stream. This field is also present in the last response for DML statements.
1853
2028
  */
1854
2029
  stats?: Schema$ResultSetStats;
1855
2030
  /**
1856
- * A streamed result set consists of a stream of values, which might be split into many `PartialResultSet` messages to accommodate large rows and/or large values. Every N complete values defines a row, where N is equal to the number of entries in metadata.row_type.fields. Most values are encoded based on type as described here. It is possible that the last value in values is "chunked", meaning that the rest of the value is sent in subsequent `PartialResultSet`(s). This is denoted by the chunked_value field. Two or more chunked values can be merged to form a complete value as follows: * `bool/number/null`: cannot be chunked * `string`: concatenate the strings * `list`: concatenate the lists. If the last element in a list is a `string`, `list`, or `object`, merge it with the first element in the next list by applying these rules recursively. * `object`: concatenate the (field name, field value) pairs. If a field name is duplicated, then apply these rules recursively to merge the field values. Some examples of merging: # Strings are concatenated. "foo", "bar" =\> "foobar" # Lists of non-strings are concatenated. [2, 3], [4] =\> [2, 3, 4] # Lists are concatenated, but the last and first elements are merged # because they are strings. ["a", "b"], ["c", "d"] =\> ["a", "bc", "d"] # Lists are concatenated, but the last and first elements are merged # because they are lists. Recursively, the last and first elements # of the inner lists are merged because they are strings. ["a", ["b", "c"]], [["d"], "e"] =\> ["a", ["b", "cd"], "e"] # Non-overlapping object fields are combined. {"a": "1"\}, {"b": "2"\} =\> {"a": "1", "b": 2"\} # Overlapping object fields are merged. {"a": "1"\}, {"a": "2"\} =\> {"a": "12"\} # Examples of merging objects containing lists of strings. {"a": ["1"]\}, {"a": ["2"]\} =\> {"a": ["12"]\} For a more complete example, suppose a streaming SQL query is yielding a result set whose rows contain a single string field. The following `PartialResultSet`s might be yielded: { "metadata": { ... \} "values": ["Hello", "W"] "chunked_value": true "resume_token": "Af65..." \} { "values": ["orl"] "chunked_value": true \} { "values": ["d"] "resume_token": "Zx1B..." \} This sequence of `PartialResultSet`s encodes two rows, one containing the field value `"Hello"`, and a second containing the field value `"World" = "W" + "orl" + "d"`. Not all `PartialResultSet`s contain a `resume_token`. Execution can only be resumed from a previously yielded `resume_token`. For the above sequence of `PartialResultSet`s, resuming the query with `"resume_token": "Af65..."` will yield results from the `PartialResultSet` with value `["orl"]`.
2031
+ * A streamed result set consists of a stream of values, which might be split into many `PartialResultSet` messages to accommodate large rows and/or large values. Every N complete values defines a row, where N is equal to the number of entries in metadata.row_type.fields. Most values are encoded based on type as described here. It's possible that the last value in values is "chunked", meaning that the rest of the value is sent in subsequent `PartialResultSet`(s). This is denoted by the chunked_value field. Two or more chunked values can be merged to form a complete value as follows: * `bool/number/null`: can't be chunked * `string`: concatenate the strings * `list`: concatenate the lists. If the last element in a list is a `string`, `list`, or `object`, merge it with the first element in the next list by applying these rules recursively. * `object`: concatenate the (field name, field value) pairs. If a field name is duplicated, then apply these rules recursively to merge the field values. Some examples of merging: Strings are concatenated. "foo", "bar" =\> "foobar" Lists of non-strings are concatenated. [2, 3], [4] =\> [2, 3, 4] Lists are concatenated, but the last and first elements are merged because they are strings. ["a", "b"], ["c", "d"] =\> ["a", "bc", "d"] Lists are concatenated, but the last and first elements are merged because they are lists. Recursively, the last and first elements of the inner lists are merged because they are strings. ["a", ["b", "c"]], [["d"], "e"] =\> ["a", ["b", "cd"], "e"] Non-overlapping object fields are combined. {"a": "1"\}, {"b": "2"\} =\> {"a": "1", "b": 2"\} Overlapping object fields are merged. {"a": "1"\}, {"a": "2"\} =\> {"a": "12"\} Examples of merging objects containing lists of strings. {"a": ["1"]\}, {"a": ["2"]\} =\> {"a": ["12"]\} For a more complete example, suppose a streaming SQL query is yielding a result set whose rows contain a single string field. The following `PartialResultSet`s might be yielded: { "metadata": { ... \} "values": ["Hello", "W"] "chunked_value": true "resume_token": "Af65..." \} { "values": ["orl"] "chunked_value": true \} { "values": ["d"] "resume_token": "Zx1B..." \} This sequence of `PartialResultSet`s encodes two rows, one containing the field value `"Hello"`, and a second containing the field value `"World" = "W" + "orl" + "d"`. Not all `PartialResultSet`s contain a `resume_token`. Execution can only be resumed from a previously yielded `resume_token`. For the above sequence of `PartialResultSet`s, resuming the query with `"resume_token": "Af65..."` yields results from the `PartialResultSet` with value "orl".
1857
2032
  */
1858
2033
  values?: any[] | null;
1859
2034
  }
@@ -1862,7 +2037,7 @@ export declare namespace spanner_v1 {
1862
2037
  */
1863
2038
  export interface Schema$Partition {
1864
2039
  /**
1865
- * This token can be passed to Read, StreamingRead, ExecuteSql, or ExecuteStreamingSql requests to restrict the results to those identified by this partition token.
2040
+ * This token can be passed to `Read`, `StreamingRead`, `ExecuteSql`, or `ExecuteStreamingSql` requests to restrict the results to those identified by this partition token.
1866
2041
  */
1867
2042
  partitionToken?: string | null;
1868
2043
  }
@@ -1872,15 +2047,15 @@ export declare namespace spanner_v1 {
1872
2047
  export interface Schema$PartitionedDml {
1873
2048
  }
1874
2049
  /**
1875
- * Options for a PartitionQueryRequest and PartitionReadRequest.
2050
+ * Options for a `PartitionQueryRequest` and `PartitionReadRequest`.
1876
2051
  */
1877
2052
  export interface Schema$PartitionOptions {
1878
2053
  /**
1879
- * **Note:** This hint is currently ignored by PartitionQuery and PartitionRead requests. The desired maximum number of partitions to return. For example, this may be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned may be smaller or larger than this maximum count request.
2054
+ * **Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests. The desired maximum number of partitions to return. For example, this might be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned can be smaller or larger than this maximum count request.
1880
2055
  */
1881
2056
  maxPartitions?: string | null;
1882
2057
  /**
1883
- * **Note:** This hint is currently ignored by PartitionQuery and PartitionRead requests. The desired data size for each partition generated. The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition may be smaller or larger than this size request.
2058
+ * **Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests. The desired data size for each partition generated. The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition can be smaller or larger than this size request.
1884
2059
  */
1885
2060
  partitionSizeBytes?: string | null;
1886
2061
  }
@@ -1889,13 +2064,13 @@ export declare namespace spanner_v1 {
1889
2064
  */
1890
2065
  export interface Schema$PartitionQueryRequest {
1891
2066
  /**
1892
- * Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
2067
+ * Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters.
1893
2068
  */
1894
2069
  params?: {
1895
2070
  [key: string]: any;
1896
2071
  } | null;
1897
2072
  /**
1898
- * It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL query parameters. See the definition of Type for more information about SQL types.
2073
+ * It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL query parameters. See the definition of Type for more information about SQL types.
1899
2074
  */
1900
2075
  paramTypes?: {
1901
2076
  [key: string]: Schema$Type;
@@ -1905,11 +2080,11 @@ export declare namespace spanner_v1 {
1905
2080
  */
1906
2081
  partitionOptions?: Schema$PartitionOptions;
1907
2082
  /**
1908
- * Required. The query request to generate partitions for. The request fails if the query is not root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as `INSERT`, `UPDATE`, or `DELETE`. Use `ExecuteStreamingSql` with a PartitionedDml transaction for large, partition-friendly DML operations.
2083
+ * Required. The query request to generate partitions for. The request fails if the query isn't root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as `INSERT`, `UPDATE`, or `DELETE`. Use `ExecuteStreamingSql` with a `PartitionedDml` transaction for large, partition-friendly DML operations.
1909
2084
  */
1910
2085
  sql?: string | null;
1911
2086
  /**
1912
- * Read only snapshot transactions are supported, read/write and single use transactions are not.
2087
+ * Read-only snapshot transactions are supported, read and write and single-use transactions are not.
1913
2088
  */
1914
2089
  transaction?: Schema$TransactionSelector;
1915
2090
  }
@@ -1926,7 +2101,7 @@ export declare namespace spanner_v1 {
1926
2101
  */
1927
2102
  index?: string | null;
1928
2103
  /**
1929
- * Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
2104
+ * Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. It isn't an error for the `key_set` to name rows that don't exist in the database. Read yields nothing for nonexistent rows.
1930
2105
  */
1931
2106
  keySet?: Schema$KeySet;
1932
2107
  /**
@@ -2048,11 +2223,11 @@ export declare namespace spanner_v1 {
2048
2223
  */
2049
2224
  export interface Schema$QueryOptions {
2050
2225
  /**
2051
- * An option to control the selection of optimizer statistics package. This parameter allows individual queries to use a different query optimizer statistics package. Specifying `latest` as a value instructs Cloud Spanner to use the latest generated statistics package. If not specified, Cloud Spanner uses the statistics package set at the database level options, or the latest package if the database option is not set. The statistics package requested by the query has to be exempt from garbage collection. This can be achieved with the following DDL statement: ``` ALTER STATISTICS SET OPTIONS (allow_gc=false) ``` The list of available statistics packages can be queried from `INFORMATION_SCHEMA.SPANNER_STATISTICS`. Executing a SQL statement with an invalid optimizer statistics package or with a statistics package that allows garbage collection fails with an `INVALID_ARGUMENT` error.
2226
+ * An option to control the selection of optimizer statistics package. This parameter allows individual queries to use a different query optimizer statistics package. Specifying `latest` as a value instructs Cloud Spanner to use the latest generated statistics package. If not specified, Cloud Spanner uses the statistics package set at the database level options, or the latest package if the database option isn't set. The statistics package requested by the query has to be exempt from garbage collection. This can be achieved with the following DDL statement: ```sql ALTER STATISTICS SET OPTIONS (allow_gc=false) ``` The list of available statistics packages can be queried from `INFORMATION_SCHEMA.SPANNER_STATISTICS`. Executing a SQL statement with an invalid optimizer statistics package or with a statistics package that allows garbage collection fails with an `INVALID_ARGUMENT` error.
2052
2227
  */
2053
2228
  optimizerStatisticsPackage?: string | null;
2054
2229
  /**
2055
- * An option to control the selection of optimizer version. This parameter allows individual queries to pick different query optimizer versions. Specifying `latest` as a value instructs Cloud Spanner to use the latest supported query optimizer version. If not specified, Cloud Spanner uses the optimizer version set at the database level options. Any other positive integer (from the list of supported optimizer versions) overrides the default optimizer version for query execution. The list of supported optimizer versions can be queried from SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS. Executing a SQL statement with an invalid optimizer version fails with an `INVALID_ARGUMENT` error. See https://cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more information on managing the query optimizer. The `optimizer_version` statement hint has precedence over this setting.
2230
+ * An option to control the selection of optimizer version. This parameter allows individual queries to pick different query optimizer versions. Specifying `latest` as a value instructs Cloud Spanner to use the latest supported query optimizer version. If not specified, Cloud Spanner uses the optimizer version set at the database level options. Any other positive integer (from the list of supported optimizer versions) overrides the default optimizer version for query execution. The list of supported optimizer versions can be queried from `SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS`. Executing a SQL statement with an invalid optimizer version fails with an `INVALID_ARGUMENT` error. See https://cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more information on managing the query optimizer. The `optimizer_version` statement hint has precedence over this setting.
2056
2231
  */
2057
2232
  optimizerVersion?: string | null;
2058
2233
  }
@@ -2065,7 +2240,7 @@ export declare namespace spanner_v1 {
2065
2240
  */
2066
2241
  planNodes?: Schema$PlanNode[];
2067
2242
  /**
2068
- * Optional. The advices/recommendations for a query. Currently this field will be serving index recommendations for a query.
2243
+ * Optional. The advise/recommendations for a query. Currently this field will be serving index recommendations for a query.
2069
2244
  */
2070
2245
  queryAdvice?: Schema$QueryAdvisorResult;
2071
2246
  }
@@ -2141,7 +2316,7 @@ export declare namespace spanner_v1 {
2141
2316
  */
2142
2317
  columns?: string[] | null;
2143
2318
  /**
2144
- * If this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request does not set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
2319
+ * If this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request doesn't set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
2145
2320
  */
2146
2321
  dataBoostEnabled?: boolean | null;
2147
2322
  /**
@@ -2153,11 +2328,11 @@ export declare namespace spanner_v1 {
2153
2328
  */
2154
2329
  index?: string | null;
2155
2330
  /**
2156
- * Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. If the partition_token field is empty, rows are yielded in table primary key order (if index is empty) or index key order (if index is non-empty). If the partition_token field is not empty, rows will be yielded in an unspecified order. It is not an error for the `key_set` to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
2331
+ * Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. If the partition_token field is empty, rows are yielded in table primary key order (if index is empty) or index key order (if index is non-empty). If the partition_token field isn't empty, rows are yielded in an unspecified order. It isn't an error for the `key_set` to name rows that don't exist in the database. Read yields nothing for nonexistent rows.
2157
2332
  */
2158
2333
  keySet?: Schema$KeySet;
2159
2334
  /**
2160
- * If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit cannot be specified if `partition_token` is set.
2335
+ * If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit can't be specified if `partition_token` is set.
2161
2336
  */
2162
2337
  limit?: string | null;
2163
2338
  /**
@@ -2165,11 +2340,11 @@ export declare namespace spanner_v1 {
2165
2340
  */
2166
2341
  lockHint?: string | null;
2167
2342
  /**
2168
- * Optional. Order for the returned rows. By default, Spanner will return result rows in primary key order except for PartitionRead requests. For applications that do not require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (e.g. bulk point lookups).
2343
+ * Optional. Order for the returned rows. By default, Spanner returns result rows in primary key order except for PartitionRead requests. For applications that don't require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (for example, bulk point lookups).
2169
2344
  */
2170
2345
  orderBy?: string | null;
2171
2346
  /**
2172
- * If present, results will be restricted to the specified partition previously created using PartitionRead(). There must be an exact match for the values of fields common to this message and the PartitionReadRequest message used to create this partition_token.
2347
+ * If present, results are restricted to the specified partition previously created using `PartitionRead`. There must be an exact match for the values of fields common to this message and the PartitionReadRequest message used to create this partition_token.
2173
2348
  */
2174
2349
  partitionToken?: string | null;
2175
2350
  /**
@@ -2193,11 +2368,32 @@ export declare namespace spanner_v1 {
2193
2368
  * Message type to initiate a read-write transaction. Currently this transaction type has no options.
2194
2369
  */
2195
2370
  export interface Schema$ReadWrite {
2371
+ /**
2372
+ * Optional. Clients should pass the transaction ID of the previous transaction attempt that was aborted if this transaction is being executed on a multiplexed session.
2373
+ */
2374
+ multiplexedSessionPreviousTransactionId?: string | null;
2196
2375
  /**
2197
2376
  * Read lock mode for the transaction.
2198
2377
  */
2199
2378
  readLockMode?: string | null;
2200
2379
  }
2380
+ /**
2381
+ * ReplicaComputeCapacity describes the amount of server resources that are allocated to each replica identified by the replica selection.
2382
+ */
2383
+ export interface Schema$ReplicaComputeCapacity {
2384
+ /**
2385
+ * The number of nodes allocated to each replica. This may be zero in API responses for instances that are not yet in state `READY`.
2386
+ */
2387
+ nodeCount?: number | null;
2388
+ /**
2389
+ * The number of processing units allocated to each replica. This may be zero in API responses for instances that are not yet in state `READY`.
2390
+ */
2391
+ processingUnits?: number | null;
2392
+ /**
2393
+ * Required. Identifies replicas by specified properties. All replicas in the selection have the same amount of compute capacity.
2394
+ */
2395
+ replicaSelection?: Schema$InstanceReplicaSelection;
2396
+ }
2201
2397
  export interface Schema$ReplicaInfo {
2202
2398
  /**
2203
2399
  * If true, this location is designated as the default leader location where leader replicas are placed. See the [region types documentation](https://cloud.google.com/spanner/docs/instances#region_types) for more details.
@@ -2213,11 +2409,11 @@ export declare namespace spanner_v1 {
2213
2409
  type?: string | null;
2214
2410
  }
2215
2411
  /**
2216
- * The directed read replica selector. Callers must provide one or more of the following fields for replica selection: * `location` - The location must be one of the regions within the multi-region configuration of your database. * `type` - The type of the replica. Some examples of using replica_selectors are: * `location:us-east1` --\> The "us-east1" replica(s) of any available type will be used to process the request. * `type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in nearest available location will be used to process the request. * `location:us-east1 type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in location "us-east1" will be used to process the request.
2412
+ * The directed read replica selector. Callers must provide one or more of the following fields for replica selection: * `location` - The location must be one of the regions within the multi-region configuration of your database. * `type` - The type of the replica. Some examples of using replica_selectors are: * `location:us-east1` --\> The "us-east1" replica(s) of any available type is used to process the request. * `type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in the nearest available location are used to process the request. * `location:us-east1 type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in location "us-east1" is used to process the request.
2217
2413
  */
2218
2414
  export interface Schema$ReplicaSelection {
2219
2415
  /**
2220
- * The location or region of the serving requests, e.g. "us-east1".
2416
+ * The location or region of the serving requests, for example, "us-east1".
2221
2417
  */
2222
2418
  location?: string | null;
2223
2419
  /**
@@ -2234,11 +2430,11 @@ export declare namespace spanner_v1 {
2234
2430
  */
2235
2431
  priority?: string | null;
2236
2432
  /**
2237
- * A per-request tag which can be applied to queries or reads, used for statistics collection. Both request_tag and transaction_tag can be specified for a read or query that belongs to a transaction. This field is ignored for requests where it's not applicable (e.g. CommitRequest). Legal characters for `request_tag` values are all printable characters (ASCII 32 - 126) and the length of a request_tag is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters will be removed from the string.
2433
+ * A per-request tag which can be applied to queries or reads, used for statistics collection. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. This field is ignored for requests where it's not applicable (for example, `CommitRequest`). Legal characters for `request_tag` values are all printable characters (ASCII 32 - 126) and the length of a request_tag is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string.
2238
2434
  */
2239
2435
  requestTag?: string | null;
2240
2436
  /**
2241
- * A tag used for statistics collection about this transaction. Both request_tag and transaction_tag can be specified for a read or query that belongs to a transaction. The value of transaction_tag should be the same for all requests belonging to the same transaction. If this request doesn't belong to any transaction, transaction_tag will be ignored. Legal characters for `transaction_tag` values are all printable characters (ASCII 32 - 126) and the length of a transaction_tag is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters will be removed from the string.
2437
+ * A tag used for statistics collection about this transaction. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. The value of transaction_tag should be the same for all requests belonging to the same transaction. If this request doesn't belong to any transaction, `transaction_tag` is ignored. Legal characters for `transaction_tag` values are all printable characters (ASCII 32 - 126) and the length of a `transaction_tag` is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string.
2242
2438
  */
2243
2439
  transactionTag?: string | null;
2244
2440
  }
@@ -2255,7 +2451,7 @@ export declare namespace spanner_v1 {
2255
2451
  */
2256
2452
  kmsKeyName?: string | null;
2257
2453
  /**
2258
- * Optional. Specifies the KMS configuration for the one or more keys used to encrypt the database. Values have the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the database instance configuration. Some examples: * For single region database instance configurations, specify a single regional location KMS key. * For multi-regional database instance configurations of type `GOOGLE_MANAGED`, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For a database instance configuration of type `USER_MANAGED`, please specify only regional location KMS keys to cover each region in the instance configuration. Multi-regional location KMS keys are not supported for USER_MANAGED instance configurations.
2454
+ * Optional. Specifies the KMS configuration for one or more keys used to encrypt the database. Values have the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the database's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.
2259
2455
  */
2260
2456
  kmsKeyNames?: string[] | null;
2261
2457
  }
@@ -2326,12 +2522,16 @@ export declare namespace spanner_v1 {
2326
2522
  * Metadata about the result set, such as row type information.
2327
2523
  */
2328
2524
  metadata?: Schema$ResultSetMetadata;
2525
+ /**
2526
+ * Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction.
2527
+ */
2528
+ precommitToken?: Schema$MultiplexedSessionPrecommitToken;
2329
2529
  /**
2330
2530
  * Each element in `rows` is a row whose format is defined by metadata.row_type. The ith element in each row matches the ith field in metadata.row_type. Elements are encoded based on type as described here.
2331
2531
  */
2332
2532
  rows?: any[][] | null;
2333
2533
  /**
2334
- * Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting ExecuteSqlRequest.query_mode. DML statements always produce stats containing the number of rows modified, unless executed using the ExecuteSqlRequest.QueryMode.PLAN ExecuteSqlRequest.query_mode. Other fields may or may not be populated, based on the ExecuteSqlRequest.query_mode.
2534
+ * Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting ExecuteSqlRequest.query_mode. DML statements always produce stats containing the number of rows modified, unless executed using the ExecuteSqlRequest.QueryMode.PLAN ExecuteSqlRequest.query_mode. Other fields might or might not be populated, based on the ExecuteSqlRequest.query_mode.
2335
2535
  */
2336
2536
  stats?: Schema$ResultSetStats;
2337
2537
  }
@@ -2371,7 +2571,7 @@ export declare namespace spanner_v1 {
2371
2571
  */
2372
2572
  rowCountExact?: string | null;
2373
2573
  /**
2374
- * Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
2574
+ * Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.
2375
2575
  */
2376
2576
  rowCountLowerBound?: string | null;
2377
2577
  }
@@ -2433,7 +2633,7 @@ export declare namespace spanner_v1 {
2433
2633
  */
2434
2634
  export interface Schema$Session {
2435
2635
  /**
2436
- * Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.
2636
+ * Output only. The approximate timestamp when the session is last used. It's typically earlier than the actual last use time.
2437
2637
  */
2438
2638
  approximateLastUseTime?: string | null;
2439
2639
  /**
@@ -2451,7 +2651,7 @@ export declare namespace spanner_v1 {
2451
2651
  [key: string]: string;
2452
2652
  } | null;
2453
2653
  /**
2454
- * Optional. If true, specifies a multiplexed session. Use a multiplexed session for multiple, concurrent read-only operations. Don't use them for read-write transactions, partitioned reads, or partitioned queries. Use CreateSession to create multiplexed sessions. Don't use BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed sessions.
2654
+ * Optional. If `true`, specifies a multiplexed session. Use a multiplexed session for multiple, concurrent read-only operations. Don't use them for read-write transactions, partitioned reads, or partitioned queries. Use `sessions.create` to create multiplexed sessions. Don't use BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed sessions.
2455
2655
  */
2456
2656
  multiplexed?: boolean | null;
2457
2657
  /**
@@ -2492,18 +2692,39 @@ export declare namespace spanner_v1 {
2492
2692
  */
2493
2693
  servingLocation?: string | null;
2494
2694
  }
2695
+ /**
2696
+ * The split points of a table/index.
2697
+ */
2698
+ export interface Schema$SplitPoints {
2699
+ /**
2700
+ * Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.
2701
+ */
2702
+ expireTime?: string | null;
2703
+ /**
2704
+ * The index to split. If specified, the `table` field must refer to the index's base table.
2705
+ */
2706
+ index?: string | null;
2707
+ /**
2708
+ * Required. The list of split keys, i.e., the split boundaries.
2709
+ */
2710
+ keys?: Schema$Key[];
2711
+ /**
2712
+ * The table to split.
2713
+ */
2714
+ table?: string | null;
2715
+ }
2495
2716
  /**
2496
2717
  * A single DML statement.
2497
2718
  */
2498
2719
  export interface Schema$Statement {
2499
2720
  /**
2500
- * Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It is an error to execute a SQL statement with unbound parameters.
2721
+ * Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters.
2501
2722
  */
2502
2723
  params?: {
2503
2724
  [key: string]: any;
2504
2725
  } | null;
2505
2726
  /**
2506
- * It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.
2727
+ * It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.
2507
2728
  */
2508
2729
  paramTypes?: {
2509
2730
  [key: string]: Schema$Type;
@@ -2567,6 +2788,10 @@ export declare namespace spanner_v1 {
2567
2788
  * `id` may be used to identify the transaction in subsequent Read, ExecuteSql, Commit, or Rollback calls. Single-use read-only transactions do not have IDs, because single-use transactions do not support multiple requests.
2568
2789
  */
2569
2790
  id?: string | null;
2791
+ /**
2792
+ * A precommit token will be included in the response of a BeginTransaction request if the read-write transaction is on a multiplexed session and a mutation_key was specified in the BeginTransaction. The precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction.
2793
+ */
2794
+ precommitToken?: Schema$MultiplexedSessionPrecommitToken;
2570
2795
  /**
2571
2796
  * For snapshot read-only transactions, the read timestamp chosen for the transaction. Not returned by default: see TransactionOptions.ReadOnly.return_read_timestamp. A timestamp in RFC3339 UTC \"Zulu\" format, accurate to nanoseconds. Example: `"2014-10-02T15:01:23.045123456Z"`.
2572
2797
  */
@@ -2580,6 +2805,10 @@ export declare namespace spanner_v1 {
2580
2805
  * When `exclude_txn_from_change_streams` is set to `true`: * Modifications from this transaction will not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Modifications from this transaction will be recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, Modifications from this transaction will be recorded in all change streams that are tracking columns modified by these transactions. `exclude_txn_from_change_streams` may only be specified for read-write or partitioned-dml transactions, otherwise the API will return an `INVALID_ARGUMENT` error.
2581
2806
  */
2582
2807
  excludeTxnFromChangeStreams?: boolean | null;
2808
+ /**
2809
+ * Isolation level for the transaction.
2810
+ */
2811
+ isolationLevel?: string | null;
2583
2812
  /**
2584
2813
  * Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
2585
2814
  */
@@ -2669,7 +2898,7 @@ export declare namespace spanner_v1 {
2669
2898
  */
2670
2899
  export interface Schema$UpdateDatabaseDdlRequest {
2671
2900
  /**
2672
- * If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting Operation. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the UpdateDatabaseDdl call is replayed, or the return value is otherwise lost: the database and `operation_id` fields can be combined to form the name of the resulting longrunning.Operation: `/operations/`. `operation_id` should be unique within the database, and must be a valid identifier: `a-z*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, UpdateDatabaseDdl returns `ALREADY_EXISTS`.
2901
+ * If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting Operation. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the UpdateDatabaseDdl call is replayed, or the return value is otherwise lost: the database and `operation_id` fields can be combined to form the `name` of the resulting longrunning.Operation: `/operations/`. `operation_id` should be unique within the database, and must be a valid identifier: `a-z*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, UpdateDatabaseDdl returns `ALREADY_EXISTS`.
2673
2902
  */
2674
2903
  operationId?: string | null;
2675
2904
  /**
@@ -2729,7 +2958,7 @@ export declare namespace spanner_v1 {
2729
2958
  progress?: Schema$InstanceOperationProgress;
2730
2959
  }
2731
2960
  /**
2732
- * The request for UpdateInstanceConfigRequest.
2961
+ * The request for UpdateInstanceConfig.
2733
2962
  */
2734
2963
  export interface Schema$UpdateInstanceConfigRequest {
2735
2964
  /**
@@ -2894,8 +3123,8 @@ export declare namespace spanner_v1 {
2894
3123
  * @param callback - Optional callback that handles the response.
2895
3124
  * @returns A promise if used with async/await, or void if used with a callback.
2896
3125
  */
2897
- list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2898
- list(params?: Params$Resource$Projects$Instanceconfigoperations$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstanceConfigOperationsResponse>;
3126
+ list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3127
+ list(params?: Params$Resource$Projects$Instanceconfigoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstanceConfigOperationsResponse>>;
2899
3128
  list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2900
3129
  list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstanceConfigOperationsResponse>, callback: BodyResponseCallback<Schema$ListInstanceConfigOperationsResponse>): void;
2901
3130
  list(params: Params$Resource$Projects$Instanceconfigoperations$List, callback: BodyResponseCallback<Schema$ListInstanceConfigOperationsResponse>): void;
@@ -2932,8 +3161,8 @@ export declare namespace spanner_v1 {
2932
3161
  * @param callback - Optional callback that handles the response.
2933
3162
  * @returns A promise if used with async/await, or void if used with a callback.
2934
3163
  */
2935
- create(params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
2936
- create(params?: Params$Resource$Projects$Instanceconfigs$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3164
+ create(params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3165
+ create(params?: Params$Resource$Projects$Instanceconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2937
3166
  create(params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2938
3167
  create(params: Params$Resource$Projects$Instanceconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2939
3168
  create(params: Params$Resource$Projects$Instanceconfigs$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -2946,8 +3175,8 @@ export declare namespace spanner_v1 {
2946
3175
  * @param callback - Optional callback that handles the response.
2947
3176
  * @returns A promise if used with async/await, or void if used with a callback.
2948
3177
  */
2949
- delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
2950
- delete(params?: Params$Resource$Projects$Instanceconfigs$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3178
+ delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3179
+ delete(params?: Params$Resource$Projects$Instanceconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
2951
3180
  delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2952
3181
  delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
2953
3182
  delete(params: Params$Resource$Projects$Instanceconfigs$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -2960,8 +3189,8 @@ export declare namespace spanner_v1 {
2960
3189
  * @param callback - Optional callback that handles the response.
2961
3190
  * @returns A promise if used with async/await, or void if used with a callback.
2962
3191
  */
2963
- get(params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
2964
- get(params?: Params$Resource$Projects$Instanceconfigs$Get, options?: MethodOptions): GaxiosPromise<Schema$InstanceConfig>;
3192
+ get(params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3193
+ get(params?: Params$Resource$Projects$Instanceconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstanceConfig>>;
2965
3194
  get(params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2966
3195
  get(params: Params$Resource$Projects$Instanceconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$InstanceConfig>, callback: BodyResponseCallback<Schema$InstanceConfig>): void;
2967
3196
  get(params: Params$Resource$Projects$Instanceconfigs$Get, callback: BodyResponseCallback<Schema$InstanceConfig>): void;
@@ -2974,8 +3203,8 @@ export declare namespace spanner_v1 {
2974
3203
  * @param callback - Optional callback that handles the response.
2975
3204
  * @returns A promise if used with async/await, or void if used with a callback.
2976
3205
  */
2977
- list(params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
2978
- list(params?: Params$Resource$Projects$Instanceconfigs$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstanceConfigsResponse>;
3206
+ list(params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3207
+ list(params?: Params$Resource$Projects$Instanceconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstanceConfigsResponse>>;
2979
3208
  list(params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2980
3209
  list(params: Params$Resource$Projects$Instanceconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstanceConfigsResponse>, callback: BodyResponseCallback<Schema$ListInstanceConfigsResponse>): void;
2981
3210
  list(params: Params$Resource$Projects$Instanceconfigs$List, callback: BodyResponseCallback<Schema$ListInstanceConfigsResponse>): void;
@@ -2988,8 +3217,8 @@ export declare namespace spanner_v1 {
2988
3217
  * @param callback - Optional callback that handles the response.
2989
3218
  * @returns A promise if used with async/await, or void if used with a callback.
2990
3219
  */
2991
- patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
2992
- patch(params?: Params$Resource$Projects$Instanceconfigs$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3220
+ patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3221
+ patch(params?: Params$Resource$Projects$Instanceconfigs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
2993
3222
  patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
2994
3223
  patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
2995
3224
  patch(params: Params$Resource$Projects$Instanceconfigs$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3053,15 +3282,15 @@ export declare namespace spanner_v1 {
3053
3282
  context: APIRequestContext;
3054
3283
  constructor(context: APIRequestContext);
3055
3284
  /**
3056
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
3285
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
3057
3286
  *
3058
3287
  * @param params - Parameters for request
3059
3288
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3060
3289
  * @param callback - Optional callback that handles the response.
3061
3290
  * @returns A promise if used with async/await, or void if used with a callback.
3062
3291
  */
3063
- cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
3064
- cancel(params?: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3292
+ cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3293
+ cancel(params?: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3065
3294
  cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3066
3295
  cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3067
3296
  cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3074,8 +3303,8 @@ export declare namespace spanner_v1 {
3074
3303
  * @param callback - Optional callback that handles the response.
3075
3304
  * @returns A promise if used with async/await, or void if used with a callback.
3076
3305
  */
3077
- delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3078
- delete(params?: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3306
+ delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3307
+ delete(params?: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3079
3308
  delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3080
3309
  delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3081
3310
  delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3088,8 +3317,8 @@ export declare namespace spanner_v1 {
3088
3317
  * @param callback - Optional callback that handles the response.
3089
3318
  * @returns A promise if used with async/await, or void if used with a callback.
3090
3319
  */
3091
- get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3092
- get(params?: Params$Resource$Projects$Instanceconfigs$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3320
+ get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3321
+ get(params?: Params$Resource$Projects$Instanceconfigs$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3093
3322
  get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3094
3323
  get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3095
3324
  get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3102,8 +3331,8 @@ export declare namespace spanner_v1 {
3102
3331
  * @param callback - Optional callback that handles the response.
3103
3332
  * @returns A promise if used with async/await, or void if used with a callback.
3104
3333
  */
3105
- list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3106
- list(params?: Params$Resource$Projects$Instanceconfigs$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
3334
+ list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3335
+ list(params?: Params$Resource$Projects$Instanceconfigs$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
3107
3336
  list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3108
3337
  list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3109
3338
  list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -3154,15 +3383,15 @@ export declare namespace spanner_v1 {
3154
3383
  context: APIRequestContext;
3155
3384
  constructor(context: APIRequestContext);
3156
3385
  /**
3157
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
3386
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
3158
3387
  *
3159
3388
  * @param params - Parameters for request
3160
3389
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3161
3390
  * @param callback - Optional callback that handles the response.
3162
3391
  * @returns A promise if used with async/await, or void if used with a callback.
3163
3392
  */
3164
- cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
3165
- cancel(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3393
+ cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3394
+ cancel(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3166
3395
  cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3167
3396
  cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3168
3397
  cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3175,8 +3404,8 @@ export declare namespace spanner_v1 {
3175
3404
  * @param callback - Optional callback that handles the response.
3176
3405
  * @returns A promise if used with async/await, or void if used with a callback.
3177
3406
  */
3178
- delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3179
- delete(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3407
+ delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3408
+ delete(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3180
3409
  delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3181
3410
  delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3182
3411
  delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3189,8 +3418,8 @@ export declare namespace spanner_v1 {
3189
3418
  * @param callback - Optional callback that handles the response.
3190
3419
  * @returns A promise if used with async/await, or void if used with a callback.
3191
3420
  */
3192
- get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3193
- get(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3421
+ get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3422
+ get(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3194
3423
  get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3195
3424
  get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3196
3425
  get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3203,8 +3432,8 @@ export declare namespace spanner_v1 {
3203
3432
  * @param callback - Optional callback that handles the response.
3204
3433
  * @returns A promise if used with async/await, or void if used with a callback.
3205
3434
  */
3206
- list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3207
- list(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
3435
+ list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3436
+ list(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
3208
3437
  list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3209
3438
  list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3210
3439
  list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -3264,8 +3493,8 @@ export declare namespace spanner_v1 {
3264
3493
  * @param callback - Optional callback that handles the response.
3265
3494
  * @returns A promise if used with async/await, or void if used with a callback.
3266
3495
  */
3267
- create(params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3268
- create(params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3496
+ create(params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3497
+ create(params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3269
3498
  create(params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3270
3499
  create(params: Params$Resource$Projects$Instances$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3271
3500
  create(params: Params$Resource$Projects$Instances$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3278,8 +3507,8 @@ export declare namespace spanner_v1 {
3278
3507
  * @param callback - Optional callback that handles the response.
3279
3508
  * @returns A promise if used with async/await, or void if used with a callback.
3280
3509
  */
3281
- delete(params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3282
- delete(params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3510
+ delete(params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3511
+ delete(params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3283
3512
  delete(params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3284
3513
  delete(params: Params$Resource$Projects$Instances$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3285
3514
  delete(params: Params$Resource$Projects$Instances$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3292,8 +3521,8 @@ export declare namespace spanner_v1 {
3292
3521
  * @param callback - Optional callback that handles the response.
3293
3522
  * @returns A promise if used with async/await, or void if used with a callback.
3294
3523
  */
3295
- get(params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3296
- get(params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions): GaxiosPromise<Schema$Instance>;
3524
+ get(params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3525
+ get(params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
3297
3526
  get(params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3298
3527
  get(params: Params$Resource$Projects$Instances$Get, options: MethodOptions | BodyResponseCallback<Schema$Instance>, callback: BodyResponseCallback<Schema$Instance>): void;
3299
3528
  get(params: Params$Resource$Projects$Instances$Get, callback: BodyResponseCallback<Schema$Instance>): void;
@@ -3306,8 +3535,8 @@ export declare namespace spanner_v1 {
3306
3535
  * @param callback - Optional callback that handles the response.
3307
3536
  * @returns A promise if used with async/await, or void if used with a callback.
3308
3537
  */
3309
- getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
3310
- getIamPolicy(params?: Params$Resource$Projects$Instances$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
3538
+ getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3539
+ getIamPolicy(params?: Params$Resource$Projects$Instances$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3311
3540
  getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3312
3541
  getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3313
3542
  getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -3320,8 +3549,8 @@ export declare namespace spanner_v1 {
3320
3549
  * @param callback - Optional callback that handles the response.
3321
3550
  * @returns A promise if used with async/await, or void if used with a callback.
3322
3551
  */
3323
- list(params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3324
- list(params?: Params$Resource$Projects$Instances$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstancesResponse>;
3552
+ list(params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3553
+ list(params?: Params$Resource$Projects$Instances$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
3325
3554
  list(params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3326
3555
  list(params: Params$Resource$Projects$Instances$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancesResponse>, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
3327
3556
  list(params: Params$Resource$Projects$Instances$List, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
@@ -3334,8 +3563,8 @@ export declare namespace spanner_v1 {
3334
3563
  * @param callback - Optional callback that handles the response.
3335
3564
  * @returns A promise if used with async/await, or void if used with a callback.
3336
3565
  */
3337
- move(params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions): GaxiosPromise<Readable>;
3338
- move(params?: Params$Resource$Projects$Instances$Move, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3566
+ move(params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3567
+ move(params?: Params$Resource$Projects$Instances$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3339
3568
  move(params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3340
3569
  move(params: Params$Resource$Projects$Instances$Move, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3341
3570
  move(params: Params$Resource$Projects$Instances$Move, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3348,8 +3577,8 @@ export declare namespace spanner_v1 {
3348
3577
  * @param callback - Optional callback that handles the response.
3349
3578
  * @returns A promise if used with async/await, or void if used with a callback.
3350
3579
  */
3351
- patch(params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3352
- patch(params?: Params$Resource$Projects$Instances$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3580
+ patch(params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3581
+ patch(params?: Params$Resource$Projects$Instances$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3353
3582
  patch(params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3354
3583
  patch(params: Params$Resource$Projects$Instances$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3355
3584
  patch(params: Params$Resource$Projects$Instances$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3362,8 +3591,8 @@ export declare namespace spanner_v1 {
3362
3591
  * @param callback - Optional callback that handles the response.
3363
3592
  * @returns A promise if used with async/await, or void if used with a callback.
3364
3593
  */
3365
- setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
3366
- setIamPolicy(params?: Params$Resource$Projects$Instances$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
3594
+ setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3595
+ setIamPolicy(params?: Params$Resource$Projects$Instances$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3367
3596
  setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3368
3597
  setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3369
3598
  setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -3376,8 +3605,8 @@ export declare namespace spanner_v1 {
3376
3605
  * @param callback - Optional callback that handles the response.
3377
3606
  * @returns A promise if used with async/await, or void if used with a callback.
3378
3607
  */
3379
- testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
3380
- testIamPermissions(params?: Params$Resource$Projects$Instances$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
3608
+ testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3609
+ testIamPermissions(params?: Params$Resource$Projects$Instances$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
3381
3610
  testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3382
3611
  testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3383
3612
  testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
@@ -3492,8 +3721,8 @@ export declare namespace spanner_v1 {
3492
3721
  * @param callback - Optional callback that handles the response.
3493
3722
  * @returns A promise if used with async/await, or void if used with a callback.
3494
3723
  */
3495
- list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3496
- list(params?: Params$Resource$Projects$Instances$Backupoperations$List, options?: MethodOptions): GaxiosPromise<Schema$ListBackupOperationsResponse>;
3724
+ list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3725
+ list(params?: Params$Resource$Projects$Instances$Backupoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupOperationsResponse>>;
3497
3726
  list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3498
3727
  list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupOperationsResponse>, callback: BodyResponseCallback<Schema$ListBackupOperationsResponse>): void;
3499
3728
  list(params: Params$Resource$Projects$Instances$Backupoperations$List, callback: BodyResponseCallback<Schema$ListBackupOperationsResponse>): void;
@@ -3529,8 +3758,8 @@ export declare namespace spanner_v1 {
3529
3758
  * @param callback - Optional callback that handles the response.
3530
3759
  * @returns A promise if used with async/await, or void if used with a callback.
3531
3760
  */
3532
- copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions): GaxiosPromise<Readable>;
3533
- copy(params?: Params$Resource$Projects$Instances$Backups$Copy, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3761
+ copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3762
+ copy(params?: Params$Resource$Projects$Instances$Backups$Copy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3534
3763
  copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3535
3764
  copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3536
3765
  copy(params: Params$Resource$Projects$Instances$Backups$Copy, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3543,8 +3772,8 @@ export declare namespace spanner_v1 {
3543
3772
  * @param callback - Optional callback that handles the response.
3544
3773
  * @returns A promise if used with async/await, or void if used with a callback.
3545
3774
  */
3546
- create(params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3547
- create(params?: Params$Resource$Projects$Instances$Backups$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
3775
+ create(params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3776
+ create(params?: Params$Resource$Projects$Instances$Backups$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3548
3777
  create(params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3549
3778
  create(params: Params$Resource$Projects$Instances$Backups$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3550
3779
  create(params: Params$Resource$Projects$Instances$Backups$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3557,8 +3786,8 @@ export declare namespace spanner_v1 {
3557
3786
  * @param callback - Optional callback that handles the response.
3558
3787
  * @returns A promise if used with async/await, or void if used with a callback.
3559
3788
  */
3560
- delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3561
- delete(params?: Params$Resource$Projects$Instances$Backups$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
3789
+ delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3790
+ delete(params?: Params$Resource$Projects$Instances$Backups$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3562
3791
  delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3563
3792
  delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3564
3793
  delete(params: Params$Resource$Projects$Instances$Backups$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3571,22 +3800,22 @@ export declare namespace spanner_v1 {
3571
3800
  * @param callback - Optional callback that handles the response.
3572
3801
  * @returns A promise if used with async/await, or void if used with a callback.
3573
3802
  */
3574
- get(params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3575
- get(params?: Params$Resource$Projects$Instances$Backups$Get, options?: MethodOptions): GaxiosPromise<Schema$Backup>;
3803
+ get(params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3804
+ get(params?: Params$Resource$Projects$Instances$Backups$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
3576
3805
  get(params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3577
3806
  get(params: Params$Resource$Projects$Instances$Backups$Get, options: MethodOptions | BodyResponseCallback<Schema$Backup>, callback: BodyResponseCallback<Schema$Backup>): void;
3578
3807
  get(params: Params$Resource$Projects$Instances$Backups$Get, callback: BodyResponseCallback<Schema$Backup>): void;
3579
3808
  get(callback: BodyResponseCallback<Schema$Backup>): void;
3580
3809
  /**
3581
- * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource.
3810
+ * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.getIamPolicy` permission on resource.
3582
3811
  *
3583
3812
  * @param params - Parameters for request
3584
3813
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3585
3814
  * @param callback - Optional callback that handles the response.
3586
3815
  * @returns A promise if used with async/await, or void if used with a callback.
3587
3816
  */
3588
- getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
3589
- getIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
3817
+ getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3818
+ getIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3590
3819
  getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3591
3820
  getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3592
3821
  getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -3599,8 +3828,8 @@ export declare namespace spanner_v1 {
3599
3828
  * @param callback - Optional callback that handles the response.
3600
3829
  * @returns A promise if used with async/await, or void if used with a callback.
3601
3830
  */
3602
- list(params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3603
- list(params?: Params$Resource$Projects$Instances$Backups$List, options?: MethodOptions): GaxiosPromise<Schema$ListBackupsResponse>;
3831
+ list(params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3832
+ list(params?: Params$Resource$Projects$Instances$Backups$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
3604
3833
  list(params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3605
3834
  list(params: Params$Resource$Projects$Instances$Backups$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupsResponse>, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
3606
3835
  list(params: Params$Resource$Projects$Instances$Backups$List, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
@@ -3613,36 +3842,36 @@ export declare namespace spanner_v1 {
3613
3842
  * @param callback - Optional callback that handles the response.
3614
3843
  * @returns A promise if used with async/await, or void if used with a callback.
3615
3844
  */
3616
- patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
3617
- patch(params?: Params$Resource$Projects$Instances$Backups$Patch, options?: MethodOptions): GaxiosPromise<Schema$Backup>;
3845
+ patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3846
+ patch(params?: Params$Resource$Projects$Instances$Backups$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
3618
3847
  patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3619
3848
  patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: MethodOptions | BodyResponseCallback<Schema$Backup>, callback: BodyResponseCallback<Schema$Backup>): void;
3620
3849
  patch(params: Params$Resource$Projects$Instances$Backups$Patch, callback: BodyResponseCallback<Schema$Backup>): void;
3621
3850
  patch(callback: BodyResponseCallback<Schema$Backup>): void;
3622
3851
  /**
3623
- * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource.
3852
+ * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.
3624
3853
  *
3625
3854
  * @param params - Parameters for request
3626
3855
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3627
3856
  * @param callback - Optional callback that handles the response.
3628
3857
  * @returns A promise if used with async/await, or void if used with a callback.
3629
3858
  */
3630
- setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
3631
- setIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
3859
+ setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3860
+ setIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3632
3861
  setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3633
3862
  setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3634
3863
  setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
3635
3864
  setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
3636
3865
  /**
3637
- * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.
3866
+ * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.
3638
3867
  *
3639
3868
  * @param params - Parameters for request
3640
3869
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3641
3870
  * @param callback - Optional callback that handles the response.
3642
3871
  * @returns A promise if used with async/await, or void if used with a callback.
3643
3872
  */
3644
- testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
3645
- testIamPermissions(params?: Params$Resource$Projects$Instances$Backups$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
3873
+ testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
3874
+ testIamPermissions(params?: Params$Resource$Projects$Instances$Backups$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
3646
3875
  testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3647
3876
  testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
3648
3877
  testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
@@ -3672,7 +3901,7 @@ export declare namespace spanner_v1 {
3672
3901
  */
3673
3902
  'encryptionConfig.kmsKeyName'?: string;
3674
3903
  /**
3675
- * Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by kms_key_names must fully cover all regions of the backup's instance configuration. Some examples: * For single region instance configs, specify a single regional location KMS key. * For multi-regional instance configs of type GOOGLE_MANAGED, either specify a multi-regional location KMS key or multiple regional location KMS keys that cover all regions in the instance config. * For an instance config of type USER_MANAGED, please specify only regional location KMS keys to cover each region in the instance config. Multi-regional location KMS keys are not supported for USER_MANAGED instance configs.
3904
+ * Optional. Specifies the KMS configuration for the one or more keys used to protect the backup. Values are of the form `projects//locations//keyRings//cryptoKeys/`. The keys referenced by `kms_key_names` must fully cover all regions of the backup's instance configuration. Some examples: * For regional (single-region) instance configurations, specify a regional location KMS key. * For multi-region instance configurations of type `GOOGLE_MANAGED`, either specify a multi-region location KMS key or multiple regional location KMS keys that cover all regions in the instance configuration. * For an instance configuration of type `USER_MANAGED`, specify only regional location KMS keys to cover each region in the instance configuration. Multi-region location KMS keys aren't supported for `USER_MANAGED` type instance configurations.
3676
3905
  */
3677
3906
  'encryptionConfig.kmsKeyNames'?: string[];
3678
3907
  /**
@@ -3762,15 +3991,15 @@ export declare namespace spanner_v1 {
3762
3991
  context: APIRequestContext;
3763
3992
  constructor(context: APIRequestContext);
3764
3993
  /**
3765
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
3994
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
3766
3995
  *
3767
3996
  * @param params - Parameters for request
3768
3997
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3769
3998
  * @param callback - Optional callback that handles the response.
3770
3999
  * @returns A promise if used with async/await, or void if used with a callback.
3771
4000
  */
3772
- cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
3773
- cancel(params?: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4001
+ cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4002
+ cancel(params?: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3774
4003
  cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3775
4004
  cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3776
4005
  cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3783,8 +4012,8 @@ export declare namespace spanner_v1 {
3783
4012
  * @param callback - Optional callback that handles the response.
3784
4013
  * @returns A promise if used with async/await, or void if used with a callback.
3785
4014
  */
3786
- delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
3787
- delete(params?: Params$Resource$Projects$Instances$Backups$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4015
+ delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4016
+ delete(params?: Params$Resource$Projects$Instances$Backups$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3788
4017
  delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3789
4018
  delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3790
4019
  delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3797,8 +4026,8 @@ export declare namespace spanner_v1 {
3797
4026
  * @param callback - Optional callback that handles the response.
3798
4027
  * @returns A promise if used with async/await, or void if used with a callback.
3799
4028
  */
3800
- get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3801
- get(params?: Params$Resource$Projects$Instances$Backups$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4029
+ get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4030
+ get(params?: Params$Resource$Projects$Instances$Backups$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3802
4031
  get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3803
4032
  get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3804
4033
  get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3811,8 +4040,8 @@ export declare namespace spanner_v1 {
3811
4040
  * @param callback - Optional callback that handles the response.
3812
4041
  * @returns A promise if used with async/await, or void if used with a callback.
3813
4042
  */
3814
- list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3815
- list(params?: Params$Resource$Projects$Instances$Backups$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
4043
+ list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4044
+ list(params?: Params$Resource$Projects$Instances$Backups$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
3816
4045
  list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3817
4046
  list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
3818
4047
  list(params: Params$Resource$Projects$Instances$Backups$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -3865,8 +4094,8 @@ export declare namespace spanner_v1 {
3865
4094
  * @param callback - Optional callback that handles the response.
3866
4095
  * @returns A promise if used with async/await, or void if used with a callback.
3867
4096
  */
3868
- list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
3869
- list(params?: Params$Resource$Projects$Instances$Databaseoperations$List, options?: MethodOptions): GaxiosPromise<Schema$ListDatabaseOperationsResponse>;
4097
+ list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4098
+ list(params?: Params$Resource$Projects$Instances$Databaseoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseOperationsResponse>>;
3870
4099
  list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3871
4100
  list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatabaseOperationsResponse>, callback: BodyResponseCallback<Schema$ListDatabaseOperationsResponse>): void;
3872
4101
  list(params: Params$Resource$Projects$Instances$Databaseoperations$List, callback: BodyResponseCallback<Schema$ListDatabaseOperationsResponse>): void;
@@ -3874,7 +4103,7 @@ export declare namespace spanner_v1 {
3874
4103
  }
3875
4104
  export interface Params$Resource$Projects$Instances$Databaseoperations$List extends StandardParameters {
3876
4105
  /**
3877
- * An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the Operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for RestoreDatabaseMetadata is `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata) AND` \ `(metadata.source_type:BACKUP) AND` \ `(metadata.backup_info.backup:backup_howl) AND` \ `(metadata.name:restored_howl) AND` \ `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is RestoreDatabaseMetadata. * The database is restored from a backup. * The backup name contains "backup_howl". * The restored database's name contains "restored_howl". * The operation started before 2018-03-28T14:50:00Z. * The operation resulted in an error.
4106
+ * An expression that filters the list of returned operations. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string, a number, or a boolean. The comparison operator must be one of: `<`, `\>`, `<=`, `\>=`, `!=`, `=`, or `:`. Colon `:` is the contains operator. Filter rules are not case sensitive. The following fields in the operation are eligible for filtering: * `name` - The name of the long-running operation * `done` - False if the operation is in progress, else true. * `metadata.@type` - the type of metadata. For example, the type string for RestoreDatabaseMetadata is `type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata`. * `metadata.` - any field in metadata.value. `metadata.@type` must be specified first, if filtering on metadata fields. * `error` - Error associated with the long-running operation. * `response.@type` - the type of response. * `response.` - any field in response.value. You can combine multiple expressions by enclosing each expression in parentheses. By default, expressions are combined with AND logic. However, you can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.RestoreDatabaseMetadata) AND` \ `(metadata.source_type:BACKUP) AND` \ `(metadata.backup_info.backup:backup_howl) AND` \ `(metadata.name:restored_howl) AND` \ `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation's metadata type is RestoreDatabaseMetadata. * The database is restored from a backup. * The backup name contains "backup_howl". * The restored database's name contains "restored_howl". * The operation started before 2018-03-28T14:50:00Z. * The operation resulted in an error.
3878
4107
  */
3879
4108
  filter?: string;
3880
4109
  /**
@@ -3897,6 +4126,20 @@ export declare namespace spanner_v1 {
3897
4126
  operations: Resource$Projects$Instances$Databases$Operations;
3898
4127
  sessions: Resource$Projects$Instances$Databases$Sessions;
3899
4128
  constructor(context: APIRequestContext);
4129
+ /**
4130
+ * Adds split points to specified tables, indexes of a database.
4131
+ *
4132
+ * @param params - Parameters for request
4133
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4134
+ * @param callback - Optional callback that handles the response.
4135
+ * @returns A promise if used with async/await, or void if used with a callback.
4136
+ */
4137
+ addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4138
+ addSplitPoints(params?: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AddSplitPointsResponse>>;
4139
+ addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4140
+ addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: MethodOptions | BodyResponseCallback<Schema$AddSplitPointsResponse>, callback: BodyResponseCallback<Schema$AddSplitPointsResponse>): void;
4141
+ addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, callback: BodyResponseCallback<Schema$AddSplitPointsResponse>): void;
4142
+ addSplitPoints(callback: BodyResponseCallback<Schema$AddSplitPointsResponse>): void;
3900
4143
  /**
3901
4144
  * `ChangeQuorum` is strictly restricted to databases that use dual-region instance configurations. Initiates a background operation to change the quorum of a database from dual-region mode to single-region mode or vice versa. The returned long-running operation has a name of the format `projects//instances//databases//operations/` and can be used to track execution of the `ChangeQuorum`. The metadata field type is ChangeQuorumMetadata. Authorization requires `spanner.databases.changequorum` permission on the resource database.
3902
4145
  *
@@ -3905,8 +4148,8 @@ export declare namespace spanner_v1 {
3905
4148
  * @param callback - Optional callback that handles the response.
3906
4149
  * @returns A promise if used with async/await, or void if used with a callback.
3907
4150
  */
3908
- changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions): GaxiosPromise<Readable>;
3909
- changequorum(params?: Params$Resource$Projects$Instances$Databases$Changequorum, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4151
+ changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4152
+ changequorum(params?: Params$Resource$Projects$Instances$Databases$Changequorum, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3910
4153
  changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3911
4154
  changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3912
4155
  changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3919,8 +4162,8 @@ export declare namespace spanner_v1 {
3919
4162
  * @param callback - Optional callback that handles the response.
3920
4163
  * @returns A promise if used with async/await, or void if used with a callback.
3921
4164
  */
3922
- create(params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
3923
- create(params?: Params$Resource$Projects$Instances$Databases$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4165
+ create(params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4166
+ create(params?: Params$Resource$Projects$Instances$Databases$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
3924
4167
  create(params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3925
4168
  create(params: Params$Resource$Projects$Instances$Databases$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
3926
4169
  create(params: Params$Resource$Projects$Instances$Databases$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -3933,8 +4176,8 @@ export declare namespace spanner_v1 {
3933
4176
  * @param callback - Optional callback that handles the response.
3934
4177
  * @returns A promise if used with async/await, or void if used with a callback.
3935
4178
  */
3936
- dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions): GaxiosPromise<Readable>;
3937
- dropDatabase(params?: Params$Resource$Projects$Instances$Databases$Dropdatabase, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4179
+ dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4180
+ dropDatabase(params?: Params$Resource$Projects$Instances$Databases$Dropdatabase, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
3938
4181
  dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3939
4182
  dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
3940
4183
  dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -3947,8 +4190,8 @@ export declare namespace spanner_v1 {
3947
4190
  * @param callback - Optional callback that handles the response.
3948
4191
  * @returns A promise if used with async/await, or void if used with a callback.
3949
4192
  */
3950
- get(params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
3951
- get(params?: Params$Resource$Projects$Instances$Databases$Get, options?: MethodOptions): GaxiosPromise<Schema$Database>;
4193
+ get(params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4194
+ get(params?: Params$Resource$Projects$Instances$Databases$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Database>>;
3952
4195
  get(params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3953
4196
  get(params: Params$Resource$Projects$Instances$Databases$Get, options: MethodOptions | BodyResponseCallback<Schema$Database>, callback: BodyResponseCallback<Schema$Database>): void;
3954
4197
  get(params: Params$Resource$Projects$Instances$Databases$Get, callback: BodyResponseCallback<Schema$Database>): void;
@@ -3961,22 +4204,22 @@ export declare namespace spanner_v1 {
3961
4204
  * @param callback - Optional callback that handles the response.
3962
4205
  * @returns A promise if used with async/await, or void if used with a callback.
3963
4206
  */
3964
- getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions): GaxiosPromise<Readable>;
3965
- getDdl(params?: Params$Resource$Projects$Instances$Databases$Getddl, options?: MethodOptions): GaxiosPromise<Schema$GetDatabaseDdlResponse>;
4207
+ getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4208
+ getDdl(params?: Params$Resource$Projects$Instances$Databases$Getddl, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GetDatabaseDdlResponse>>;
3966
4209
  getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3967
4210
  getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: MethodOptions | BodyResponseCallback<Schema$GetDatabaseDdlResponse>, callback: BodyResponseCallback<Schema$GetDatabaseDdlResponse>): void;
3968
4211
  getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, callback: BodyResponseCallback<Schema$GetDatabaseDdlResponse>): void;
3969
4212
  getDdl(callback: BodyResponseCallback<Schema$GetDatabaseDdlResponse>): void;
3970
4213
  /**
3971
- * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource.
4214
+ * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.getIamPolicy` permission on resource.
3972
4215
  *
3973
4216
  * @param params - Parameters for request
3974
4217
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3975
4218
  * @param callback - Optional callback that handles the response.
3976
4219
  * @returns A promise if used with async/await, or void if used with a callback.
3977
4220
  */
3978
- getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
3979
- getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
4221
+ getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4222
+ getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
3980
4223
  getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3981
4224
  getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
3982
4225
  getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -3989,8 +4232,8 @@ export declare namespace spanner_v1 {
3989
4232
  * @param callback - Optional callback that handles the response.
3990
4233
  * @returns A promise if used with async/await, or void if used with a callback.
3991
4234
  */
3992
- getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions): GaxiosPromise<Readable>;
3993
- getScans(params?: Params$Resource$Projects$Instances$Databases$Getscans, options?: MethodOptions): GaxiosPromise<Schema$Scan>;
4235
+ getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4236
+ getScans(params?: Params$Resource$Projects$Instances$Databases$Getscans, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Scan>>;
3994
4237
  getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
3995
4238
  getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: MethodOptions | BodyResponseCallback<Schema$Scan>, callback: BodyResponseCallback<Schema$Scan>): void;
3996
4239
  getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, callback: BodyResponseCallback<Schema$Scan>): void;
@@ -4003,8 +4246,8 @@ export declare namespace spanner_v1 {
4003
4246
  * @param callback - Optional callback that handles the response.
4004
4247
  * @returns A promise if used with async/await, or void if used with a callback.
4005
4248
  */
4006
- list(params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4007
- list(params?: Params$Resource$Projects$Instances$Databases$List, options?: MethodOptions): GaxiosPromise<Schema$ListDatabasesResponse>;
4249
+ list(params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4250
+ list(params?: Params$Resource$Projects$Instances$Databases$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabasesResponse>>;
4008
4251
  list(params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4009
4252
  list(params: Params$Resource$Projects$Instances$Databases$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatabasesResponse>, callback: BodyResponseCallback<Schema$ListDatabasesResponse>): void;
4010
4253
  list(params: Params$Resource$Projects$Instances$Databases$List, callback: BodyResponseCallback<Schema$ListDatabasesResponse>): void;
@@ -4017,8 +4260,8 @@ export declare namespace spanner_v1 {
4017
4260
  * @param callback - Optional callback that handles the response.
4018
4261
  * @returns A promise if used with async/await, or void if used with a callback.
4019
4262
  */
4020
- patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
4021
- patch(params?: Params$Resource$Projects$Instances$Databases$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4263
+ patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4264
+ patch(params?: Params$Resource$Projects$Instances$Databases$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4022
4265
  patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4023
4266
  patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4024
4267
  patch(params: Params$Resource$Projects$Instances$Databases$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4031,36 +4274,36 @@ export declare namespace spanner_v1 {
4031
4274
  * @param callback - Optional callback that handles the response.
4032
4275
  * @returns A promise if used with async/await, or void if used with a callback.
4033
4276
  */
4034
- restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions): GaxiosPromise<Readable>;
4035
- restore(params?: Params$Resource$Projects$Instances$Databases$Restore, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4277
+ restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4278
+ restore(params?: Params$Resource$Projects$Instances$Databases$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4036
4279
  restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4037
4280
  restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4038
4281
  restore(params: Params$Resource$Projects$Instances$Databases$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
4039
4282
  restore(callback: BodyResponseCallback<Schema$Operation>): void;
4040
4283
  /**
4041
- * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource.
4284
+ * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.
4042
4285
  *
4043
4286
  * @param params - Parameters for request
4044
4287
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4045
4288
  * @param callback - Optional callback that handles the response.
4046
4289
  * @returns A promise if used with async/await, or void if used with a callback.
4047
4290
  */
4048
- setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
4049
- setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
4291
+ setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4292
+ setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
4050
4293
  setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4051
4294
  setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
4052
4295
  setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
4053
4296
  setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
4054
4297
  /**
4055
- * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.
4298
+ * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.
4056
4299
  *
4057
4300
  * @param params - Parameters for request
4058
4301
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4059
4302
  * @param callback - Optional callback that handles the response.
4060
4303
  * @returns A promise if used with async/await, or void if used with a callback.
4061
4304
  */
4062
- testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
4063
- testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
4305
+ testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4306
+ testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
4064
4307
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4065
4308
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
4066
4309
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
@@ -4073,13 +4316,23 @@ export declare namespace spanner_v1 {
4073
4316
  * @param callback - Optional callback that handles the response.
4074
4317
  * @returns A promise if used with async/await, or void if used with a callback.
4075
4318
  */
4076
- updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions): GaxiosPromise<Readable>;
4077
- updateDdl(params?: Params$Resource$Projects$Instances$Databases$Updateddl, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4319
+ updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4320
+ updateDdl(params?: Params$Resource$Projects$Instances$Databases$Updateddl, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4078
4321
  updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4079
4322
  updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4080
4323
  updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, callback: BodyResponseCallback<Schema$Operation>): void;
4081
4324
  updateDdl(callback: BodyResponseCallback<Schema$Operation>): void;
4082
4325
  }
4326
+ export interface Params$Resource$Projects$Instances$Databases$Addsplitpoints extends StandardParameters {
4327
+ /**
4328
+ * Required. The database on whose tables/indexes split points are to be added. Values are of the form `projects//instances//databases/`.
4329
+ */
4330
+ database?: string;
4331
+ /**
4332
+ * Request body metadata
4333
+ */
4334
+ requestBody?: Schema$AddSplitPointsRequest;
4335
+ }
4083
4336
  export interface Params$Resource$Projects$Instances$Databases$Changequorum extends StandardParameters {
4084
4337
  /**
4085
4338
  * Required. Name of the database in which to apply `ChangeQuorum`. Values are of the form `projects//instances//databases/`.
@@ -4225,8 +4478,8 @@ export declare namespace spanner_v1 {
4225
4478
  * @param callback - Optional callback that handles the response.
4226
4479
  * @returns A promise if used with async/await, or void if used with a callback.
4227
4480
  */
4228
- create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
4229
- create(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options?: MethodOptions): GaxiosPromise<Schema$BackupSchedule>;
4481
+ create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4482
+ create(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
4230
4483
  create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4231
4484
  create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: MethodOptions | BodyResponseCallback<Schema$BackupSchedule>, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4232
4485
  create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
@@ -4239,8 +4492,8 @@ export declare namespace spanner_v1 {
4239
4492
  * @param callback - Optional callback that handles the response.
4240
4493
  * @returns A promise if used with async/await, or void if used with a callback.
4241
4494
  */
4242
- delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4243
- delete(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4495
+ delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4496
+ delete(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4244
4497
  delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4245
4498
  delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4246
4499
  delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -4253,22 +4506,22 @@ export declare namespace spanner_v1 {
4253
4506
  * @param callback - Optional callback that handles the response.
4254
4507
  * @returns A promise if used with async/await, or void if used with a callback.
4255
4508
  */
4256
- get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4257
- get(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options?: MethodOptions): GaxiosPromise<Schema$BackupSchedule>;
4509
+ get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4510
+ get(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
4258
4511
  get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4259
4512
  get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: MethodOptions | BodyResponseCallback<Schema$BackupSchedule>, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4260
4513
  get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4261
4514
  get(callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4262
4515
  /**
4263
- * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource.
4516
+ * Gets the access control policy for a database or backup resource. Returns an empty policy if a database or backup exists but does not have a policy set. Authorization requires `spanner.databases.getIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.getIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.getIamPolicy` permission on resource.
4264
4517
  *
4265
4518
  * @param params - Parameters for request
4266
4519
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4267
4520
  * @param callback - Optional callback that handles the response.
4268
4521
  * @returns A promise if used with async/await, or void if used with a callback.
4269
4522
  */
4270
- getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
4271
- getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
4523
+ getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4524
+ getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
4272
4525
  getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4273
4526
  getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
4274
4527
  getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
@@ -4281,8 +4534,8 @@ export declare namespace spanner_v1 {
4281
4534
  * @param callback - Optional callback that handles the response.
4282
4535
  * @returns A promise if used with async/await, or void if used with a callback.
4283
4536
  */
4284
- list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4285
- list(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options?: MethodOptions): GaxiosPromise<Schema$ListBackupSchedulesResponse>;
4537
+ list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4538
+ list(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupSchedulesResponse>>;
4286
4539
  list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4287
4540
  list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupSchedulesResponse>, callback: BodyResponseCallback<Schema$ListBackupSchedulesResponse>): void;
4288
4541
  list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, callback: BodyResponseCallback<Schema$ListBackupSchedulesResponse>): void;
@@ -4295,36 +4548,36 @@ export declare namespace spanner_v1 {
4295
4548
  * @param callback - Optional callback that handles the response.
4296
4549
  * @returns A promise if used with async/await, or void if used with a callback.
4297
4550
  */
4298
- patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
4299
- patch(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options?: MethodOptions): GaxiosPromise<Schema$BackupSchedule>;
4551
+ patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4552
+ patch(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
4300
4553
  patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4301
4554
  patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: MethodOptions | BodyResponseCallback<Schema$BackupSchedule>, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4302
4555
  patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4303
4556
  patch(callback: BodyResponseCallback<Schema$BackupSchedule>): void;
4304
4557
  /**
4305
- * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource.
4558
+ * Sets the access control policy on a database or backup resource. Replaces any existing policy. Authorization requires `spanner.databases.setIamPolicy` permission on resource. For backups, authorization requires `spanner.backups.setIamPolicy` permission on resource. For backup schedules, authorization requires `spanner.backupSchedules.setIamPolicy` permission on resource.
4306
4559
  *
4307
4560
  * @param params - Parameters for request
4308
4561
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4309
4562
  * @param callback - Optional callback that handles the response.
4310
4563
  * @returns A promise if used with async/await, or void if used with a callback.
4311
4564
  */
4312
- setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions): GaxiosPromise<Readable>;
4313
- setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options?: MethodOptions): GaxiosPromise<Schema$Policy>;
4565
+ setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4566
+ setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
4314
4567
  setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4315
4568
  setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
4316
4569
  setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
4317
4570
  setIamPolicy(callback: BodyResponseCallback<Schema$Policy>): void;
4318
4571
  /**
4319
- * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.
4572
+ * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.
4320
4573
  *
4321
4574
  * @param params - Parameters for request
4322
4575
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4323
4576
  * @param callback - Optional callback that handles the response.
4324
4577
  * @returns A promise if used with async/await, or void if used with a callback.
4325
4578
  */
4326
- testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
4327
- testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
4579
+ testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4580
+ testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
4328
4581
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4329
4582
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
4330
4583
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
@@ -4425,22 +4678,22 @@ export declare namespace spanner_v1 {
4425
4678
  * @param callback - Optional callback that handles the response.
4426
4679
  * @returns A promise if used with async/await, or void if used with a callback.
4427
4680
  */
4428
- list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4429
- list(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options?: MethodOptions): GaxiosPromise<Schema$ListDatabaseRolesResponse>;
4681
+ list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4682
+ list(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseRolesResponse>>;
4430
4683
  list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4431
4684
  list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatabaseRolesResponse>, callback: BodyResponseCallback<Schema$ListDatabaseRolesResponse>): void;
4432
4685
  list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, callback: BodyResponseCallback<Schema$ListDatabaseRolesResponse>): void;
4433
4686
  list(callback: BodyResponseCallback<Schema$ListDatabaseRolesResponse>): void;
4434
4687
  /**
4435
- * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance.
4688
+ * Returns permissions that the caller has on the specified database or backup resource. Attempting this RPC on a non-existent Cloud Spanner database will result in a NOT_FOUND error if the user has `spanner.databases.list` permission on the containing Cloud Spanner instance. Otherwise returns an empty set of permissions. Calling this method on a backup that does not exist will result in a NOT_FOUND error if the user has `spanner.backups.list` permission on the containing instance. Calling this method on a backup schedule that does not exist will result in a NOT_FOUND error if the user has `spanner.backupSchedules.list` permission on the containing database.
4436
4689
  *
4437
4690
  * @param params - Parameters for request
4438
4691
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4439
4692
  * @param callback - Optional callback that handles the response.
4440
4693
  * @returns A promise if used with async/await, or void if used with a callback.
4441
4694
  */
4442
- testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions): GaxiosPromise<Readable>;
4443
- testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options?: MethodOptions): GaxiosPromise<Schema$TestIamPermissionsResponse>;
4695
+ testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4696
+ testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
4444
4697
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4445
4698
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
4446
4699
  testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
@@ -4474,15 +4727,15 @@ export declare namespace spanner_v1 {
4474
4727
  context: APIRequestContext;
4475
4728
  constructor(context: APIRequestContext);
4476
4729
  /**
4477
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
4730
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
4478
4731
  *
4479
4732
  * @param params - Parameters for request
4480
4733
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4481
4734
  * @param callback - Optional callback that handles the response.
4482
4735
  * @returns A promise if used with async/await, or void if used with a callback.
4483
4736
  */
4484
- cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
4485
- cancel(params?: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4737
+ cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4738
+ cancel(params?: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4486
4739
  cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4487
4740
  cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4488
4741
  cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -4495,8 +4748,8 @@ export declare namespace spanner_v1 {
4495
4748
  * @param callback - Optional callback that handles the response.
4496
4749
  * @returns A promise if used with async/await, or void if used with a callback.
4497
4750
  */
4498
- delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4499
- delete(params?: Params$Resource$Projects$Instances$Databases$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4751
+ delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4752
+ delete(params?: Params$Resource$Projects$Instances$Databases$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4500
4753
  delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4501
4754
  delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4502
4755
  delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -4509,8 +4762,8 @@ export declare namespace spanner_v1 {
4509
4762
  * @param callback - Optional callback that handles the response.
4510
4763
  * @returns A promise if used with async/await, or void if used with a callback.
4511
4764
  */
4512
- get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4513
- get(params?: Params$Resource$Projects$Instances$Databases$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
4765
+ get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4766
+ get(params?: Params$Resource$Projects$Instances$Databases$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
4514
4767
  get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4515
4768
  get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
4516
4769
  get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -4523,8 +4776,8 @@ export declare namespace spanner_v1 {
4523
4776
  * @param callback - Optional callback that handles the response.
4524
4777
  * @returns A promise if used with async/await, or void if used with a callback.
4525
4778
  */
4526
- list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4527
- list(params?: Params$Resource$Projects$Instances$Databases$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
4779
+ list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4780
+ list(params?: Params$Resource$Projects$Instances$Databases$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
4528
4781
  list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4529
4782
  list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
4530
4783
  list(params: Params$Resource$Projects$Instances$Databases$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -4569,6 +4822,34 @@ export declare namespace spanner_v1 {
4569
4822
  export class Resource$Projects$Instances$Databases$Sessions {
4570
4823
  context: APIRequestContext;
4571
4824
  constructor(context: APIRequestContext);
4825
+ /**
4826
+ * Creates a new session to be used for requests made by the adapter. A session identifies a specific incarnation of a database resource and is meant to be reused across many `AdaptMessage` calls.
4827
+ *
4828
+ * @param params - Parameters for request
4829
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4830
+ * @param callback - Optional callback that handles the response.
4831
+ * @returns A promise if used with async/await, or void if used with a callback.
4832
+ */
4833
+ adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4834
+ adapter(params?: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdapterSession>>;
4835
+ adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4836
+ adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: MethodOptions | BodyResponseCallback<Schema$AdapterSession>, callback: BodyResponseCallback<Schema$AdapterSession>): void;
4837
+ adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, callback: BodyResponseCallback<Schema$AdapterSession>): void;
4838
+ adapter(callback: BodyResponseCallback<Schema$AdapterSession>): void;
4839
+ /**
4840
+ * Handles a single message from the client and returns the result as a stream. The server will interpret the message frame and respond with message frames to the client.
4841
+ *
4842
+ * @param params - Parameters for request
4843
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4844
+ * @param callback - Optional callback that handles the response.
4845
+ * @returns A promise if used with async/await, or void if used with a callback.
4846
+ */
4847
+ adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4848
+ adaptMessage(params?: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdaptMessageResponse>>;
4849
+ adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4850
+ adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: MethodOptions | BodyResponseCallback<Schema$AdaptMessageResponse>, callback: BodyResponseCallback<Schema$AdaptMessageResponse>): void;
4851
+ adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, callback: BodyResponseCallback<Schema$AdaptMessageResponse>): void;
4852
+ adaptMessage(callback: BodyResponseCallback<Schema$AdaptMessageResponse>): void;
4572
4853
  /**
4573
4854
  * Creates multiple new sessions. This API can be used to initialize a session cache on the clients. See https://goo.gl/TgSFN2 for best practices on session cache management.
4574
4855
  *
@@ -4577,22 +4858,22 @@ export declare namespace spanner_v1 {
4577
4858
  * @param callback - Optional callback that handles the response.
4578
4859
  * @returns A promise if used with async/await, or void if used with a callback.
4579
4860
  */
4580
- batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions): GaxiosPromise<Readable>;
4581
- batchCreate(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options?: MethodOptions): GaxiosPromise<Schema$BatchCreateSessionsResponse>;
4861
+ batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4862
+ batchCreate(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchCreateSessionsResponse>>;
4582
4863
  batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4583
4864
  batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: MethodOptions | BodyResponseCallback<Schema$BatchCreateSessionsResponse>, callback: BodyResponseCallback<Schema$BatchCreateSessionsResponse>): void;
4584
4865
  batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, callback: BodyResponseCallback<Schema$BatchCreateSessionsResponse>): void;
4585
4866
  batchCreate(callback: BodyResponseCallback<Schema$BatchCreateSessionsResponse>): void;
4586
4867
  /**
4587
- * Batches the supplied mutation groups in a collection of efficient transactions. All mutations in a group are committed atomically. However, mutations across groups can be committed non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, i.e., some groups may have been committed successfully, while some may have failed. The results of individual batches are streamed into the response as the batches are applied. BatchWrite requests are not replay protected, meaning that each mutation group may be applied more than once. Replays of non-idempotent mutations may have undesirable effects. For example, replays of an insert mutation may produce an already exists error or if you use generated or commit timestamp-based keys, it may result in additional rows being added to the mutation's table. We recommend structuring your mutation groups to be idempotent to avoid this issue.
4868
+ * Batches the supplied mutation groups in a collection of efficient transactions. All mutations in a group are committed atomically. However, mutations across groups can be committed non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, that is, some groups might have been committed successfully, while some might have failed. The results of individual batches are streamed into the response as the batches are applied. `BatchWrite` requests are not replay protected, meaning that each mutation group can be applied more than once. Replays of non-idempotent mutations can have undesirable effects. For example, replays of an insert mutation can produce an already exists error or if you use generated or commit timestamp-based keys, it can result in additional rows being added to the mutation's table. We recommend structuring your mutation groups to be idempotent to avoid this issue.
4588
4869
  *
4589
4870
  * @param params - Parameters for request
4590
4871
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4591
4872
  * @param callback - Optional callback that handles the response.
4592
4873
  * @returns A promise if used with async/await, or void if used with a callback.
4593
4874
  */
4594
- batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions): GaxiosPromise<Readable>;
4595
- batchWrite(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options?: MethodOptions): GaxiosPromise<Schema$BatchWriteResponse>;
4875
+ batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4876
+ batchWrite(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchWriteResponse>>;
4596
4877
  batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4597
4878
  batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: MethodOptions | BodyResponseCallback<Schema$BatchWriteResponse>, callback: BodyResponseCallback<Schema$BatchWriteResponse>): void;
4598
4879
  batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, callback: BodyResponseCallback<Schema$BatchWriteResponse>): void;
@@ -4605,50 +4886,50 @@ export declare namespace spanner_v1 {
4605
4886
  * @param callback - Optional callback that handles the response.
4606
4887
  * @returns A promise if used with async/await, or void if used with a callback.
4607
4888
  */
4608
- beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions): GaxiosPromise<Readable>;
4609
- beginTransaction(params?: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options?: MethodOptions): GaxiosPromise<Schema$Transaction>;
4889
+ beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4890
+ beginTransaction(params?: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Transaction>>;
4610
4891
  beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4611
4892
  beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: MethodOptions | BodyResponseCallback<Schema$Transaction>, callback: BodyResponseCallback<Schema$Transaction>): void;
4612
4893
  beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, callback: BodyResponseCallback<Schema$Transaction>): void;
4613
4894
  beginTransaction(callback: BodyResponseCallback<Schema$Transaction>): void;
4614
4895
  /**
4615
- * Commits a transaction. The request includes the mutations to be applied to rows in the database. `Commit` might return an `ABORTED` error. This can occur at any time; commonly, the cause is conflicts with concurrent transactions. However, it can also happen for a variety of other reasons. If `Commit` returns `ABORTED`, the caller should re-attempt the transaction from the beginning, re-using the same session. On very rare occasions, `Commit` might return `UNKNOWN`. This can happen, for example, if the client job experiences a 1+ hour networking failure. At that point, Cloud Spanner has lost track of the transaction outcome and we recommend that you perform another read from the database to see the state of things as they are now.
4896
+ * Commits a transaction. The request includes the mutations to be applied to rows in the database. `Commit` might return an `ABORTED` error. This can occur at any time; commonly, the cause is conflicts with concurrent transactions. However, it can also happen for a variety of other reasons. If `Commit` returns `ABORTED`, the caller should retry the transaction from the beginning, reusing the same session. On very rare occasions, `Commit` might return `UNKNOWN`. This can happen, for example, if the client job experiences a 1+ hour networking failure. At that point, Cloud Spanner has lost track of the transaction outcome and we recommend that you perform another read from the database to see the state of things as they are now.
4616
4897
  *
4617
4898
  * @param params - Parameters for request
4618
4899
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4619
4900
  * @param callback - Optional callback that handles the response.
4620
4901
  * @returns A promise if used with async/await, or void if used with a callback.
4621
4902
  */
4622
- commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions): GaxiosPromise<Readable>;
4623
- commit(params?: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options?: MethodOptions): GaxiosPromise<Schema$CommitResponse>;
4903
+ commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4904
+ commit(params?: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommitResponse>>;
4624
4905
  commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4625
4906
  commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: MethodOptions | BodyResponseCallback<Schema$CommitResponse>, callback: BodyResponseCallback<Schema$CommitResponse>): void;
4626
4907
  commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, callback: BodyResponseCallback<Schema$CommitResponse>): void;
4627
4908
  commit(callback: BodyResponseCallback<Schema$CommitResponse>): void;
4628
4909
  /**
4629
- * Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time. To execute multiple concurrent read-write/write-only transactions, create multiple sessions. Note that standalone reads and queries use a transaction internally, and count toward the one transaction limit. Active sessions use additional server resources, so it is a good idea to delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner may delete sessions for which no operations are sent for more than an hour. If a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be kept alive by sending a trivial SQL query periodically, e.g., `"SELECT 1"`.
4910
+ * Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time. To execute multiple concurrent read-write/write-only transactions, create multiple sessions. Note that standalone reads and queries use a transaction internally, and count toward the one transaction limit. Active sessions use additional server resources, so it's a good idea to delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions when no operations are sent for more than an hour. If a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be kept alive by sending a trivial SQL query periodically, for example, `"SELECT 1"`.
4630
4911
  *
4631
4912
  * @param params - Parameters for request
4632
4913
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4633
4914
  * @param callback - Optional callback that handles the response.
4634
4915
  * @returns A promise if used with async/await, or void if used with a callback.
4635
4916
  */
4636
- create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
4637
- create(params?: Params$Resource$Projects$Instances$Databases$Sessions$Create, options?: MethodOptions): GaxiosPromise<Schema$Session>;
4917
+ create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4918
+ create(params?: Params$Resource$Projects$Instances$Databases$Sessions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Session>>;
4638
4919
  create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4639
4920
  create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: MethodOptions | BodyResponseCallback<Schema$Session>, callback: BodyResponseCallback<Schema$Session>): void;
4640
4921
  create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, callback: BodyResponseCallback<Schema$Session>): void;
4641
4922
  create(callback: BodyResponseCallback<Schema$Session>): void;
4642
4923
  /**
4643
- * Ends a session, releasing server resources associated with it. This will asynchronously trigger cancellation of any operations that are running with this session.
4924
+ * Ends a session, releasing server resources associated with it. This asynchronously triggers the cancellation of any operations that are running with this session.
4644
4925
  *
4645
4926
  * @param params - Parameters for request
4646
4927
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4647
4928
  * @param callback - Optional callback that handles the response.
4648
4929
  * @returns A promise if used with async/await, or void if used with a callback.
4649
4930
  */
4650
- delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
4651
- delete(params?: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
4931
+ delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4932
+ delete(params?: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4652
4933
  delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4653
4934
  delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4654
4935
  delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -4661,50 +4942,50 @@ export declare namespace spanner_v1 {
4661
4942
  * @param callback - Optional callback that handles the response.
4662
4943
  * @returns A promise if used with async/await, or void if used with a callback.
4663
4944
  */
4664
- executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions): GaxiosPromise<Readable>;
4665
- executeBatchDml(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options?: MethodOptions): GaxiosPromise<Schema$ExecuteBatchDmlResponse>;
4945
+ executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4946
+ executeBatchDml(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ExecuteBatchDmlResponse>>;
4666
4947
  executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4667
4948
  executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: MethodOptions | BodyResponseCallback<Schema$ExecuteBatchDmlResponse>, callback: BodyResponseCallback<Schema$ExecuteBatchDmlResponse>): void;
4668
4949
  executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, callback: BodyResponseCallback<Schema$ExecuteBatchDmlResponse>): void;
4669
4950
  executeBatchDml(callback: BodyResponseCallback<Schema$ExecuteBatchDmlResponse>): void;
4670
4951
  /**
4671
- * Executes an SQL statement, returning all results in a single reply. This method cannot be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead.
4952
+ * Executes an SQL statement, returning all results in a single reply. This method can't be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
4672
4953
  *
4673
4954
  * @param params - Parameters for request
4674
4955
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4675
4956
  * @param callback - Optional callback that handles the response.
4676
4957
  * @returns A promise if used with async/await, or void if used with a callback.
4677
4958
  */
4678
- executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions): GaxiosPromise<Readable>;
4679
- executeSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options?: MethodOptions): GaxiosPromise<Schema$ResultSet>;
4959
+ executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4960
+ executeSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>;
4680
4961
  executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4681
4962
  executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: MethodOptions | BodyResponseCallback<Schema$ResultSet>, callback: BodyResponseCallback<Schema$ResultSet>): void;
4682
4963
  executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, callback: BodyResponseCallback<Schema$ResultSet>): void;
4683
4964
  executeSql(callback: BodyResponseCallback<Schema$ResultSet>): void;
4684
4965
  /**
4685
- * Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB.
4966
+ * Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql, there is no limit on the size of the returned result set. However, no individual row in the result set can exceed 100 MiB, and no column value can exceed 10 MiB. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
4686
4967
  *
4687
4968
  * @param params - Parameters for request
4688
4969
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4689
4970
  * @param callback - Optional callback that handles the response.
4690
4971
  * @returns A promise if used with async/await, or void if used with a callback.
4691
4972
  */
4692
- executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions): GaxiosPromise<Readable>;
4693
- executeStreamingSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options?: MethodOptions): GaxiosPromise<Schema$PartialResultSet>;
4973
+ executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4974
+ executeStreamingSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>;
4694
4975
  executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4695
4976
  executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: MethodOptions | BodyResponseCallback<Schema$PartialResultSet>, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
4696
4977
  executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
4697
4978
  executeStreamingSql(callback: BodyResponseCallback<Schema$PartialResultSet>): void;
4698
4979
  /**
4699
- * Gets a session. Returns `NOT_FOUND` if the session does not exist. This is mainly useful for determining whether a session is still alive.
4980
+ * Gets a session. Returns `NOT_FOUND` if the session doesn't exist. This is mainly useful for determining whether a session is still alive.
4700
4981
  *
4701
4982
  * @param params - Parameters for request
4702
4983
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4703
4984
  * @param callback - Optional callback that handles the response.
4704
4985
  * @returns A promise if used with async/await, or void if used with a callback.
4705
4986
  */
4706
- get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
4707
- get(params?: Params$Resource$Projects$Instances$Databases$Sessions$Get, options?: MethodOptions): GaxiosPromise<Schema$Session>;
4987
+ get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4988
+ get(params?: Params$Resource$Projects$Instances$Databases$Sessions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Session>>;
4708
4989
  get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4709
4990
  get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: MethodOptions | BodyResponseCallback<Schema$Session>, callback: BodyResponseCallback<Schema$Session>): void;
4710
4991
  get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, callback: BodyResponseCallback<Schema$Session>): void;
@@ -4717,64 +4998,64 @@ export declare namespace spanner_v1 {
4717
4998
  * @param callback - Optional callback that handles the response.
4718
4999
  * @returns A promise if used with async/await, or void if used with a callback.
4719
5000
  */
4720
- list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4721
- list(params?: Params$Resource$Projects$Instances$Databases$Sessions$List, options?: MethodOptions): GaxiosPromise<Schema$ListSessionsResponse>;
5001
+ list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5002
+ list(params?: Params$Resource$Projects$Instances$Databases$Sessions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListSessionsResponse>>;
4722
5003
  list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4723
5004
  list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: MethodOptions | BodyResponseCallback<Schema$ListSessionsResponse>, callback: BodyResponseCallback<Schema$ListSessionsResponse>): void;
4724
5005
  list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, callback: BodyResponseCallback<Schema$ListSessionsResponse>): void;
4725
5006
  list(callback: BodyResponseCallback<Schema$ListSessionsResponse>): void;
4726
5007
  /**
4727
- * Creates a set of partition tokens that can be used to execute a query operation in parallel. Each of the returned partition tokens can be used by ExecuteStreamingSql to specify a subset of the query result to read. The same session and read-only transaction must be used by the PartitionQueryRequest used to create the partition tokens and the ExecuteSqlRequests that use the partition tokens. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it is not possible to resume the query, and the whole operation must be restarted from the beginning.
5008
+ * Creates a set of partition tokens that can be used to execute a query operation in parallel. Each of the returned partition tokens can be used by ExecuteStreamingSql to specify a subset of the query result to read. The same session and read-only transaction must be used by the `PartitionQueryRequest` used to create the partition tokens and the `ExecuteSqlRequests` that use the partition tokens. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it isn't possible to resume the query, and the whole operation must be restarted from the beginning.
4728
5009
  *
4729
5010
  * @param params - Parameters for request
4730
5011
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4731
5012
  * @param callback - Optional callback that handles the response.
4732
5013
  * @returns A promise if used with async/await, or void if used with a callback.
4733
5014
  */
4734
- partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions): GaxiosPromise<Readable>;
4735
- partitionQuery(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options?: MethodOptions): GaxiosPromise<Schema$PartitionResponse>;
5015
+ partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5016
+ partitionQuery(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>;
4736
5017
  partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4737
5018
  partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: MethodOptions | BodyResponseCallback<Schema$PartitionResponse>, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
4738
5019
  partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
4739
5020
  partitionQuery(callback: BodyResponseCallback<Schema$PartitionResponse>): void;
4740
5021
  /**
4741
- * Creates a set of partition tokens that can be used to execute a read operation in parallel. Each of the returned partition tokens can be used by StreamingRead to specify a subset of the read result to read. The same session and read-only transaction must be used by the PartitionReadRequest used to create the partition tokens and the ReadRequests that use the partition tokens. There are no ordering guarantees on rows returned among the returned partition tokens, or even within each individual StreamingRead call issued with a partition_token. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it is not possible to resume the read, and the whole operation must be restarted from the beginning.
5022
+ * Creates a set of partition tokens that can be used to execute a read operation in parallel. Each of the returned partition tokens can be used by StreamingRead to specify a subset of the read result to read. The same session and read-only transaction must be used by the `PartitionReadRequest` used to create the partition tokens and the `ReadRequests` that use the partition tokens. There are no ordering guarantees on rows returned among the returned partition tokens, or even within each individual `StreamingRead` call issued with a `partition_token`. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it isn't possible to resume the read, and the whole operation must be restarted from the beginning.
4742
5023
  *
4743
5024
  * @param params - Parameters for request
4744
5025
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4745
5026
  * @param callback - Optional callback that handles the response.
4746
5027
  * @returns A promise if used with async/await, or void if used with a callback.
4747
5028
  */
4748
- partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions): GaxiosPromise<Readable>;
4749
- partitionRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options?: MethodOptions): GaxiosPromise<Schema$PartitionResponse>;
5029
+ partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5030
+ partitionRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>;
4750
5031
  partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4751
5032
  partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: MethodOptions | BodyResponseCallback<Schema$PartitionResponse>, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
4752
5033
  partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
4753
5034
  partitionRead(callback: BodyResponseCallback<Schema$PartitionResponse>): void;
4754
5035
  /**
4755
- * Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method cannot be used to return a result set larger than 10 MiB; if the read matches more data than that, the read fails with a `FAILED_PRECONDITION` error. Reads inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be yielded in streaming fashion by calling StreamingRead instead.
5036
+ * Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method can't be used to return a result set larger than 10 MiB; if the read matches more data than that, the read fails with a `FAILED_PRECONDITION` error. Reads inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be yielded in streaming fashion by calling StreamingRead instead.
4756
5037
  *
4757
5038
  * @param params - Parameters for request
4758
5039
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4759
5040
  * @param callback - Optional callback that handles the response.
4760
5041
  * @returns A promise if used with async/await, or void if used with a callback.
4761
5042
  */
4762
- read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions): GaxiosPromise<Readable>;
4763
- read(params?: Params$Resource$Projects$Instances$Databases$Sessions$Read, options?: MethodOptions): GaxiosPromise<Schema$ResultSet>;
5043
+ read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5044
+ read(params?: Params$Resource$Projects$Instances$Databases$Sessions$Read, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>;
4764
5045
  read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4765
5046
  read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: MethodOptions | BodyResponseCallback<Schema$ResultSet>, callback: BodyResponseCallback<Schema$ResultSet>): void;
4766
5047
  read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, callback: BodyResponseCallback<Schema$ResultSet>): void;
4767
5048
  read(callback: BodyResponseCallback<Schema$ResultSet>): void;
4768
5049
  /**
4769
- * Rolls back a transaction, releasing any locks it holds. It is a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. `Rollback` returns `OK` if it successfully aborts the transaction, the transaction was already aborted, or the transaction is not found. `Rollback` never returns `ABORTED`.
5050
+ * Rolls back a transaction, releasing any locks it holds. It's a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. `Rollback` returns `OK` if it successfully aborts the transaction, the transaction was already aborted, or the transaction isn't found. `Rollback` never returns `ABORTED`.
4770
5051
  *
4771
5052
  * @param params - Parameters for request
4772
5053
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4773
5054
  * @param callback - Optional callback that handles the response.
4774
5055
  * @returns A promise if used with async/await, or void if used with a callback.
4775
5056
  */
4776
- rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions): GaxiosPromise<Readable>;
4777
- rollback(params?: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5057
+ rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5058
+ rollback(params?: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
4778
5059
  rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4779
5060
  rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
4780
5061
  rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -4787,13 +5068,33 @@ export declare namespace spanner_v1 {
4787
5068
  * @param callback - Optional callback that handles the response.
4788
5069
  * @returns A promise if used with async/await, or void if used with a callback.
4789
5070
  */
4790
- streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions): GaxiosPromise<Readable>;
4791
- streamingRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options?: MethodOptions): GaxiosPromise<Schema$PartialResultSet>;
5071
+ streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5072
+ streamingRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>;
4792
5073
  streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4793
5074
  streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: MethodOptions | BodyResponseCallback<Schema$PartialResultSet>, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
4794
5075
  streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
4795
5076
  streamingRead(callback: BodyResponseCallback<Schema$PartialResultSet>): void;
4796
5077
  }
5078
+ export interface Params$Resource$Projects$Instances$Databases$Sessions$Adapter extends StandardParameters {
5079
+ /**
5080
+ * Required. The database in which the new session is created.
5081
+ */
5082
+ parent?: string;
5083
+ /**
5084
+ * Request body metadata
5085
+ */
5086
+ requestBody?: Schema$AdapterSession;
5087
+ }
5088
+ export interface Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage extends StandardParameters {
5089
+ /**
5090
+ * Required. The database session in which the adapter request is processed.
5091
+ */
5092
+ name?: string;
5093
+ /**
5094
+ * Request body metadata
5095
+ */
5096
+ requestBody?: Schema$AdaptMessageRequest;
5097
+ }
4797
5098
  export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate extends StandardParameters {
4798
5099
  /**
4799
5100
  * Required. The database in which the new sessions are created.
@@ -4965,8 +5266,8 @@ export declare namespace spanner_v1 {
4965
5266
  * @param callback - Optional callback that handles the response.
4966
5267
  * @returns A promise if used with async/await, or void if used with a callback.
4967
5268
  */
4968
- list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
4969
- list(params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstancePartitionOperationsResponse>;
5269
+ list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5270
+ list(params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancePartitionOperationsResponse>>;
4970
5271
  list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4971
5272
  list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>, callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
4972
5273
  list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
@@ -4978,7 +5279,7 @@ export declare namespace spanner_v1 {
4978
5279
  */
4979
5280
  filter?: string;
4980
5281
  /**
4981
- * Optional. Deadline used while retrieving metadata for instance partition operations. Instance partitions whose operation metadata cannot be retrieved within this deadline will be added to unreachable in ListInstancePartitionOperationsResponse.
5282
+ * Optional. Deadline used while retrieving metadata for instance partition operations. Instance partitions whose operation metadata cannot be retrieved within this deadline will be added to unreachable_instance_partitions in ListInstancePartitionOperationsResponse.
4982
5283
  */
4983
5284
  instancePartitionDeadline?: string;
4984
5285
  /**
@@ -5006,8 +5307,8 @@ export declare namespace spanner_v1 {
5006
5307
  * @param callback - Optional callback that handles the response.
5007
5308
  * @returns A promise if used with async/await, or void if used with a callback.
5008
5309
  */
5009
- create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
5010
- create(params?: Params$Resource$Projects$Instances$Instancepartitions$Create, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5310
+ create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5311
+ create(params?: Params$Resource$Projects$Instances$Instancepartitions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5011
5312
  create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5012
5313
  create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5013
5314
  create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5020,8 +5321,8 @@ export declare namespace spanner_v1 {
5020
5321
  * @param callback - Optional callback that handles the response.
5021
5322
  * @returns A promise if used with async/await, or void if used with a callback.
5022
5323
  */
5023
- delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5024
- delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5324
+ delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5325
+ delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5025
5326
  delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5026
5327
  delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5027
5328
  delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5034,8 +5335,8 @@ export declare namespace spanner_v1 {
5034
5335
  * @param callback - Optional callback that handles the response.
5035
5336
  * @returns A promise if used with async/await, or void if used with a callback.
5036
5337
  */
5037
- get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5038
- get(params?: Params$Resource$Projects$Instances$Instancepartitions$Get, options?: MethodOptions): GaxiosPromise<Schema$InstancePartition>;
5338
+ get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5339
+ get(params?: Params$Resource$Projects$Instances$Instancepartitions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstancePartition>>;
5039
5340
  get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5040
5341
  get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: MethodOptions | BodyResponseCallback<Schema$InstancePartition>, callback: BodyResponseCallback<Schema$InstancePartition>): void;
5041
5342
  get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, callback: BodyResponseCallback<Schema$InstancePartition>): void;
@@ -5048,8 +5349,8 @@ export declare namespace spanner_v1 {
5048
5349
  * @param callback - Optional callback that handles the response.
5049
5350
  * @returns A promise if used with async/await, or void if used with a callback.
5050
5351
  */
5051
- list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5052
- list(params?: Params$Resource$Projects$Instances$Instancepartitions$List, options?: MethodOptions): GaxiosPromise<Schema$ListInstancePartitionsResponse>;
5352
+ list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5353
+ list(params?: Params$Resource$Projects$Instances$Instancepartitions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancePartitionsResponse>>;
5053
5354
  list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5054
5355
  list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancePartitionsResponse>, callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
5055
5356
  list(params: Params$Resource$Projects$Instances$Instancepartitions$List, callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
@@ -5062,8 +5363,8 @@ export declare namespace spanner_v1 {
5062
5363
  * @param callback - Optional callback that handles the response.
5063
5364
  * @returns A promise if used with async/await, or void if used with a callback.
5064
5365
  */
5065
- patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
5066
- patch(params?: Params$Resource$Projects$Instances$Instancepartitions$Patch, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5366
+ patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5367
+ patch(params?: Params$Resource$Projects$Instances$Instancepartitions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5067
5368
  patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5068
5369
  patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5069
5370
  patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5127,15 +5428,15 @@ export declare namespace spanner_v1 {
5127
5428
  context: APIRequestContext;
5128
5429
  constructor(context: APIRequestContext);
5129
5430
  /**
5130
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
5431
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
5131
5432
  *
5132
5433
  * @param params - Parameters for request
5133
5434
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5134
5435
  * @param callback - Optional callback that handles the response.
5135
5436
  * @returns A promise if used with async/await, or void if used with a callback.
5136
5437
  */
5137
- cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
5138
- cancel(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5438
+ cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5439
+ cancel(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5139
5440
  cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5140
5441
  cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5141
5442
  cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5148,8 +5449,8 @@ export declare namespace spanner_v1 {
5148
5449
  * @param callback - Optional callback that handles the response.
5149
5450
  * @returns A promise if used with async/await, or void if used with a callback.
5150
5451
  */
5151
- delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5152
- delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5452
+ delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5453
+ delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5153
5454
  delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5154
5455
  delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5155
5456
  delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5162,8 +5463,8 @@ export declare namespace spanner_v1 {
5162
5463
  * @param callback - Optional callback that handles the response.
5163
5464
  * @returns A promise if used with async/await, or void if used with a callback.
5164
5465
  */
5165
- get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5166
- get(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5466
+ get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5467
+ get(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5167
5468
  get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5168
5469
  get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5169
5470
  get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5176,8 +5477,8 @@ export declare namespace spanner_v1 {
5176
5477
  * @param callback - Optional callback that handles the response.
5177
5478
  * @returns A promise if used with async/await, or void if used with a callback.
5178
5479
  */
5179
- list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5180
- list(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
5480
+ list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5481
+ list(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
5181
5482
  list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5182
5483
  list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
5183
5484
  list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -5223,15 +5524,15 @@ export declare namespace spanner_v1 {
5223
5524
  context: APIRequestContext;
5224
5525
  constructor(context: APIRequestContext);
5225
5526
  /**
5226
- * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
5527
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
5227
5528
  *
5228
5529
  * @param params - Parameters for request
5229
5530
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5230
5531
  * @param callback - Optional callback that handles the response.
5231
5532
  * @returns A promise if used with async/await, or void if used with a callback.
5232
5533
  */
5233
- cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions): GaxiosPromise<Readable>;
5234
- cancel(params?: Params$Resource$Projects$Instances$Operations$Cancel, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5534
+ cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5535
+ cancel(params?: Params$Resource$Projects$Instances$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5235
5536
  cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5236
5537
  cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5237
5538
  cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5244,8 +5545,8 @@ export declare namespace spanner_v1 {
5244
5545
  * @param callback - Optional callback that handles the response.
5245
5546
  * @returns A promise if used with async/await, or void if used with a callback.
5246
5547
  */
5247
- delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
5248
- delete(params?: Params$Resource$Projects$Instances$Operations$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
5548
+ delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5549
+ delete(params?: Params$Resource$Projects$Instances$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
5249
5550
  delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5250
5551
  delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
5251
5552
  delete(params: Params$Resource$Projects$Instances$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
@@ -5258,8 +5559,8 @@ export declare namespace spanner_v1 {
5258
5559
  * @param callback - Optional callback that handles the response.
5259
5560
  * @returns A promise if used with async/await, or void if used with a callback.
5260
5561
  */
5261
- get(params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
5262
- get(params?: Params$Resource$Projects$Instances$Operations$Get, options?: MethodOptions): GaxiosPromise<Schema$Operation>;
5562
+ get(params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5563
+ get(params?: Params$Resource$Projects$Instances$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
5263
5564
  get(params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5264
5565
  get(params: Params$Resource$Projects$Instances$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
5265
5566
  get(params: Params$Resource$Projects$Instances$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
@@ -5272,8 +5573,8 @@ export declare namespace spanner_v1 {
5272
5573
  * @param callback - Optional callback that handles the response.
5273
5574
  * @returns A promise if used with async/await, or void if used with a callback.
5274
5575
  */
5275
- list(params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5276
- list(params?: Params$Resource$Projects$Instances$Operations$List, options?: MethodOptions): GaxiosPromise<Schema$ListOperationsResponse>;
5576
+ list(params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5577
+ list(params?: Params$Resource$Projects$Instances$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
5277
5578
  list(params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5278
5579
  list(params: Params$Resource$Projects$Instances$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
5279
5580
  list(params: Params$Resource$Projects$Instances$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
@@ -5326,8 +5627,8 @@ export declare namespace spanner_v1 {
5326
5627
  * @param callback - Optional callback that handles the response.
5327
5628
  * @returns A promise if used with async/await, or void if used with a callback.
5328
5629
  */
5329
- list(params: Params$Resource$Scans$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
5330
- list(params?: Params$Resource$Scans$List, options?: MethodOptions): GaxiosPromise<Schema$ListScansResponse>;
5630
+ list(params: Params$Resource$Scans$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5631
+ list(params?: Params$Resource$Scans$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListScansResponse>>;
5331
5632
  list(params: Params$Resource$Scans$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5332
5633
  list(params: Params$Resource$Scans$List, options: MethodOptions | BodyResponseCallback<Schema$ListScansResponse>, callback: BodyResponseCallback<Schema$ListScansResponse>): void;
5333
5634
  list(params: Params$Resource$Scans$List, callback: BodyResponseCallback<Schema$ListScansResponse>): void;