@googleapis/spanner 7.6.0 → 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/CHANGELOG.md +25 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +381 -269
- package/build/v1.js +66 -0
- package/build/v1.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +873 -398
package/v1.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -126,12 +126,51 @@ export namespace spanner_v1 {
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
/**
|
|
130
|
+
* A session in the Cloud Spanner Adapter API.
|
|
131
|
+
*/
|
|
132
|
+
export interface Schema$AdapterSession {
|
|
133
|
+
/**
|
|
134
|
+
* Identifier. The name of the session. This is always system-assigned.
|
|
135
|
+
*/
|
|
136
|
+
name?: string | null;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Message sent by the client to the adapter.
|
|
140
|
+
*/
|
|
141
|
+
export interface Schema$AdaptMessageRequest {
|
|
142
|
+
/**
|
|
143
|
+
* Optional. Opaque request state passed by the client to the server.
|
|
144
|
+
*/
|
|
145
|
+
attachments?: {[key: string]: string} | null;
|
|
146
|
+
/**
|
|
147
|
+
* Optional. Uninterpreted bytes from the underlying wire protocol.
|
|
148
|
+
*/
|
|
149
|
+
payload?: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* Required. Identifier for the underlying wire protocol.
|
|
152
|
+
*/
|
|
153
|
+
protocol?: string | null;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Message sent by the adapter to the client.
|
|
157
|
+
*/
|
|
158
|
+
export interface Schema$AdaptMessageResponse {
|
|
159
|
+
/**
|
|
160
|
+
* Optional. Uninterpreted bytes from the underlying wire protocol.
|
|
161
|
+
*/
|
|
162
|
+
payload?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* Optional. Opaque state updates to be applied by the client.
|
|
165
|
+
*/
|
|
166
|
+
stateUpdates?: {[key: string]: string} | null;
|
|
167
|
+
}
|
|
129
168
|
/**
|
|
130
169
|
* The request for AddSplitPoints.
|
|
131
170
|
*/
|
|
132
171
|
export interface Schema$AddSplitPointsRequest {
|
|
133
172
|
/**
|
|
134
|
-
* Optional. A user-supplied tag associated with the split points. For example, "
|
|
173
|
+
* 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.
|
|
135
174
|
*/
|
|
136
175
|
initiator?: string | null;
|
|
137
176
|
/**
|
|
@@ -264,6 +303,10 @@ export namespace spanner_v1 {
|
|
|
264
303
|
* 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`.
|
|
265
304
|
*/
|
|
266
305
|
incrementalBackupChainId?: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* 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`.
|
|
308
|
+
*/
|
|
309
|
+
instancePartitions?: Schema$BackupInstancePartition[];
|
|
267
310
|
/**
|
|
268
311
|
* 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`.
|
|
269
312
|
*/
|
|
@@ -318,12 +361,21 @@ export namespace spanner_v1 {
|
|
|
318
361
|
*/
|
|
319
362
|
versionTime?: string | null;
|
|
320
363
|
}
|
|
364
|
+
/**
|
|
365
|
+
* Instance partition information for the backup.
|
|
366
|
+
*/
|
|
367
|
+
export interface Schema$BackupInstancePartition {
|
|
368
|
+
/**
|
|
369
|
+
* A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/`
|
|
370
|
+
*/
|
|
371
|
+
instancePartition?: string | null;
|
|
372
|
+
}
|
|
321
373
|
/**
|
|
322
374
|
* BackupSchedule expresses the automated backup creation specification for a Spanner database.
|
|
323
375
|
*/
|
|
324
376
|
export interface Schema$BackupSchedule {
|
|
325
377
|
/**
|
|
326
|
-
* Optional. The encryption configuration that
|
|
378
|
+
* 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.
|
|
327
379
|
*/
|
|
328
380
|
encryptionConfig?: Schema$CreateBackupEncryptionConfig;
|
|
329
381
|
/**
|
|
@@ -365,11 +417,11 @@ export namespace spanner_v1 {
|
|
|
365
417
|
*/
|
|
366
418
|
export interface Schema$BatchCreateSessionsRequest {
|
|
367
419
|
/**
|
|
368
|
-
* Required. The number of sessions to be created in this batch call. The API
|
|
420
|
+
* 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).
|
|
369
421
|
*/
|
|
370
422
|
sessionCount?: number | null;
|
|
371
423
|
/**
|
|
372
|
-
* Parameters to
|
|
424
|
+
* Parameters to apply to each created session.
|
|
373
425
|
*/
|
|
374
426
|
sessionTemplate?: Schema$Session;
|
|
375
427
|
}
|
|
@@ -387,7 +439,7 @@ export namespace spanner_v1 {
|
|
|
387
439
|
*/
|
|
388
440
|
export interface Schema$BatchWriteRequest {
|
|
389
441
|
/**
|
|
390
|
-
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation
|
|
442
|
+
* 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.
|
|
391
443
|
*/
|
|
392
444
|
excludeTxnFromChangeStreams?: boolean | null;
|
|
393
445
|
/**
|
|
@@ -421,7 +473,7 @@ export namespace spanner_v1 {
|
|
|
421
473
|
*/
|
|
422
474
|
export interface Schema$BeginTransactionRequest {
|
|
423
475
|
/**
|
|
424
|
-
* Optional. Required for read-write transactions on a multiplexed session that commit mutations but
|
|
476
|
+
* 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.
|
|
425
477
|
*/
|
|
426
478
|
mutationKey?: Schema$Mutation;
|
|
427
479
|
/**
|
|
@@ -429,7 +481,7 @@ export namespace spanner_v1 {
|
|
|
429
481
|
*/
|
|
430
482
|
options?: Schema$TransactionOptions;
|
|
431
483
|
/**
|
|
432
|
-
* Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct
|
|
484
|
+
* 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.
|
|
433
485
|
*/
|
|
434
486
|
requestOptions?: Schema$RequestOptions;
|
|
435
487
|
}
|
|
@@ -506,7 +558,7 @@ export namespace spanner_v1 {
|
|
|
506
558
|
*/
|
|
507
559
|
export interface Schema$CommitRequest {
|
|
508
560
|
/**
|
|
509
|
-
* Optional. The amount of latency this request is configured to incur in order to improve throughput. If this field
|
|
561
|
+
* 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.
|
|
510
562
|
*/
|
|
511
563
|
maxCommitDelay?: string | null;
|
|
512
564
|
/**
|
|
@@ -514,7 +566,7 @@ export namespace spanner_v1 {
|
|
|
514
566
|
*/
|
|
515
567
|
mutations?: Schema$Mutation[];
|
|
516
568
|
/**
|
|
517
|
-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit token with the highest sequence number received in this transaction attempt
|
|
569
|
+
* 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.
|
|
518
570
|
*/
|
|
519
571
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
520
572
|
/**
|
|
@@ -522,11 +574,11 @@ export namespace spanner_v1 {
|
|
|
522
574
|
*/
|
|
523
575
|
requestOptions?: Schema$RequestOptions;
|
|
524
576
|
/**
|
|
525
|
-
* If `true`, then statistics related to the transaction
|
|
577
|
+
* If `true`, then statistics related to the transaction is included in the CommitResponse. Default value is `false`.
|
|
526
578
|
*/
|
|
527
579
|
returnCommitStats?: boolean | null;
|
|
528
580
|
/**
|
|
529
|
-
* 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
|
|
581
|
+
* 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.
|
|
530
582
|
*/
|
|
531
583
|
singleUseTransaction?: Schema$TransactionOptions;
|
|
532
584
|
/**
|
|
@@ -539,7 +591,7 @@ export namespace spanner_v1 {
|
|
|
539
591
|
*/
|
|
540
592
|
export interface Schema$CommitResponse {
|
|
541
593
|
/**
|
|
542
|
-
* The statistics about this Commit
|
|
594
|
+
* The statistics about this `Commit`. Not returned by default. For more information, see CommitRequest.return_commit_stats.
|
|
543
595
|
*/
|
|
544
596
|
commitStats?: Schema$CommitStats;
|
|
545
597
|
/**
|
|
@@ -547,7 +599,7 @@ export namespace spanner_v1 {
|
|
|
547
599
|
*/
|
|
548
600
|
commitTimestamp?: string | null;
|
|
549
601
|
/**
|
|
550
|
-
* If specified, transaction has not committed yet.
|
|
602
|
+
* If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
|
|
551
603
|
*/
|
|
552
604
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
553
605
|
}
|
|
@@ -828,19 +880,19 @@ export namespace spanner_v1 {
|
|
|
828
880
|
session?: Schema$Session;
|
|
829
881
|
}
|
|
830
882
|
/**
|
|
831
|
-
* CrontabSpec can be used to specify the version time and frequency at which the backup
|
|
883
|
+
* CrontabSpec can be used to specify the version time and frequency at which the backup is created.
|
|
832
884
|
*/
|
|
833
885
|
export interface Schema$CrontabSpec {
|
|
834
886
|
/**
|
|
835
|
-
* Output only.
|
|
887
|
+
* 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`.
|
|
836
888
|
*/
|
|
837
889
|
creationWindow?: string | null;
|
|
838
890
|
/**
|
|
839
|
-
* 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.
|
|
891
|
+
* 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.
|
|
840
892
|
*/
|
|
841
893
|
text?: string | null;
|
|
842
894
|
/**
|
|
843
|
-
* Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported.
|
|
895
|
+
* Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is supported.
|
|
844
896
|
*/
|
|
845
897
|
timeZone?: string | null;
|
|
846
898
|
}
|
|
@@ -979,15 +1031,15 @@ export namespace spanner_v1 {
|
|
|
979
1031
|
shortMessage?: Schema$LocalizedString;
|
|
980
1032
|
}
|
|
981
1033
|
/**
|
|
982
|
-
* The DirectedReadOptions can be used to indicate which replicas or regions should be used for non-transactional reads or queries. DirectedReadOptions
|
|
1034
|
+
* 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.
|
|
983
1035
|
*/
|
|
984
1036
|
export interface Schema$DirectedReadOptions {
|
|
985
1037
|
/**
|
|
986
|
-
* Exclude_replicas indicates that specified replicas should be excluded from serving requests. Spanner
|
|
1038
|
+
* `Exclude_replicas` indicates that specified replicas should be excluded from serving requests. Spanner doesn't route requests to the replicas in this list.
|
|
987
1039
|
*/
|
|
988
1040
|
excludeReplicas?: Schema$ExcludeReplicas;
|
|
989
1041
|
/**
|
|
990
|
-
* 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
|
|
1042
|
+
* `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.
|
|
991
1043
|
*/
|
|
992
1044
|
includeReplicas?: Schema$IncludeReplicas;
|
|
993
1045
|
}
|
|
@@ -1043,7 +1095,7 @@ export namespace spanner_v1 {
|
|
|
1043
1095
|
*/
|
|
1044
1096
|
export interface Schema$ExecuteBatchDmlRequest {
|
|
1045
1097
|
/**
|
|
1046
|
-
* Optional. If set to true
|
|
1098
|
+
* 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.
|
|
1047
1099
|
*/
|
|
1048
1100
|
lastStatements?: boolean | null;
|
|
1049
1101
|
/**
|
|
@@ -1051,7 +1103,7 @@ export namespace spanner_v1 {
|
|
|
1051
1103
|
*/
|
|
1052
1104
|
requestOptions?: Schema$RequestOptions;
|
|
1053
1105
|
/**
|
|
1054
|
-
* 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
|
|
1106
|
+
* 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.
|
|
1055
1107
|
*/
|
|
1056
1108
|
seqno?: string | null;
|
|
1057
1109
|
/**
|
|
@@ -1068,7 +1120,7 @@ export namespace spanner_v1 {
|
|
|
1068
1120
|
*/
|
|
1069
1121
|
export interface Schema$ExecuteBatchDmlResponse {
|
|
1070
1122
|
/**
|
|
1071
|
-
* Optional. A precommit token
|
|
1123
|
+
* 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.
|
|
1072
1124
|
*/
|
|
1073
1125
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
1074
1126
|
/**
|
|
@@ -1085,7 +1137,7 @@ export namespace spanner_v1 {
|
|
|
1085
1137
|
*/
|
|
1086
1138
|
export interface Schema$ExecuteSqlRequest {
|
|
1087
1139
|
/**
|
|
1088
|
-
* 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
|
|
1140
|
+
* 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.
|
|
1089
1141
|
*/
|
|
1090
1142
|
dataBoostEnabled?: boolean | null;
|
|
1091
1143
|
/**
|
|
@@ -1093,19 +1145,19 @@ export namespace spanner_v1 {
|
|
|
1093
1145
|
*/
|
|
1094
1146
|
directedReadOptions?: Schema$DirectedReadOptions;
|
|
1095
1147
|
/**
|
|
1096
|
-
* Optional. If set to true
|
|
1148
|
+
* 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.
|
|
1097
1149
|
*/
|
|
1098
1150
|
lastStatement?: boolean | null;
|
|
1099
1151
|
/**
|
|
1100
|
-
* 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
|
|
1152
|
+
* 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.
|
|
1101
1153
|
*/
|
|
1102
1154
|
params?: {[key: string]: any} | null;
|
|
1103
1155
|
/**
|
|
1104
|
-
* It
|
|
1156
|
+
* 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.
|
|
1105
1157
|
*/
|
|
1106
1158
|
paramTypes?: {[key: string]: Schema$Type} | null;
|
|
1107
1159
|
/**
|
|
1108
|
-
* If present, results
|
|
1160
|
+
* 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`.
|
|
1109
1161
|
*/
|
|
1110
1162
|
partitionToken?: string | null;
|
|
1111
1163
|
/**
|
|
@@ -1125,7 +1177,7 @@ export namespace spanner_v1 {
|
|
|
1125
1177
|
*/
|
|
1126
1178
|
resumeToken?: string | null;
|
|
1127
1179
|
/**
|
|
1128
|
-
* 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
|
|
1180
|
+
* 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.
|
|
1129
1181
|
*/
|
|
1130
1182
|
seqno?: string | null;
|
|
1131
1183
|
/**
|
|
@@ -1224,11 +1276,11 @@ export namespace spanner_v1 {
|
|
|
1224
1276
|
requestedPolicyVersion?: number | null;
|
|
1225
1277
|
}
|
|
1226
1278
|
/**
|
|
1227
|
-
* An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.
|
|
1279
|
+
* An `IncludeReplicas` contains a repeated set of `ReplicaSelection` which indicates the order in which replicas should be considered.
|
|
1228
1280
|
*/
|
|
1229
1281
|
export interface Schema$IncludeReplicas {
|
|
1230
1282
|
/**
|
|
1231
|
-
* If true
|
|
1283
|
+
* 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`.
|
|
1232
1284
|
*/
|
|
1233
1285
|
autoFailoverDisabled?: boolean | null;
|
|
1234
1286
|
/**
|
|
@@ -1320,11 +1372,11 @@ export namespace spanner_v1 {
|
|
|
1320
1372
|
*/
|
|
1321
1373
|
name?: string | null;
|
|
1322
1374
|
/**
|
|
1323
|
-
* 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).
|
|
1375
|
+
* 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).
|
|
1324
1376
|
*/
|
|
1325
1377
|
nodeCount?: number | null;
|
|
1326
1378
|
/**
|
|
1327
|
-
* 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).
|
|
1379
|
+
* 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).
|
|
1328
1380
|
*/
|
|
1329
1381
|
processingUnits?: number | null;
|
|
1330
1382
|
/**
|
|
@@ -1869,7 +1921,7 @@ export namespace spanner_v1 {
|
|
|
1869
1921
|
targetConfig?: string | null;
|
|
1870
1922
|
}
|
|
1871
1923
|
/**
|
|
1872
|
-
* 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
|
|
1924
|
+
* 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.
|
|
1873
1925
|
*/
|
|
1874
1926
|
export interface Schema$MultiplexedSessionPrecommitToken {
|
|
1875
1927
|
/**
|
|
@@ -1978,12 +2030,16 @@ export namespace spanner_v1 {
|
|
|
1978
2030
|
* 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.
|
|
1979
2031
|
*/
|
|
1980
2032
|
chunkedValue?: boolean | null;
|
|
2033
|
+
/**
|
|
2034
|
+
* 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.
|
|
2035
|
+
*/
|
|
2036
|
+
last?: boolean | null;
|
|
1981
2037
|
/**
|
|
1982
2038
|
* Metadata about the result set, such as row type information. Only present in the first response.
|
|
1983
2039
|
*/
|
|
1984
2040
|
metadata?: Schema$ResultSetMetadata;
|
|
1985
2041
|
/**
|
|
1986
|
-
* Optional. A precommit token
|
|
2042
|
+
* 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.
|
|
1987
2043
|
*/
|
|
1988
2044
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
1989
2045
|
/**
|
|
@@ -1991,11 +2047,11 @@ export namespace spanner_v1 {
|
|
|
1991
2047
|
*/
|
|
1992
2048
|
resumeToken?: string | null;
|
|
1993
2049
|
/**
|
|
1994
|
-
* 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
|
|
2050
|
+
* 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.
|
|
1995
2051
|
*/
|
|
1996
2052
|
stats?: Schema$ResultSetStats;
|
|
1997
2053
|
/**
|
|
1998
|
-
* 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
|
|
2054
|
+
* 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".
|
|
1999
2055
|
*/
|
|
2000
2056
|
values?: any[] | null;
|
|
2001
2057
|
}
|
|
@@ -2004,7 +2060,7 @@ export namespace spanner_v1 {
|
|
|
2004
2060
|
*/
|
|
2005
2061
|
export interface Schema$Partition {
|
|
2006
2062
|
/**
|
|
2007
|
-
* This token can be passed to Read
|
|
2063
|
+
* This token can be passed to `Read`, `StreamingRead`, `ExecuteSql`, or `ExecuteStreamingSql` requests to restrict the results to those identified by this partition token.
|
|
2008
2064
|
*/
|
|
2009
2065
|
partitionToken?: string | null;
|
|
2010
2066
|
}
|
|
@@ -2013,15 +2069,15 @@ export namespace spanner_v1 {
|
|
|
2013
2069
|
*/
|
|
2014
2070
|
export interface Schema$PartitionedDml {}
|
|
2015
2071
|
/**
|
|
2016
|
-
* Options for a PartitionQueryRequest and PartitionReadRequest
|
|
2072
|
+
* Options for a `PartitionQueryRequest` and `PartitionReadRequest`.
|
|
2017
2073
|
*/
|
|
2018
2074
|
export interface Schema$PartitionOptions {
|
|
2019
2075
|
/**
|
|
2020
|
-
* **Note:** This hint is currently ignored by PartitionQuery and PartitionRead requests. The desired maximum number of partitions to return. For example, this
|
|
2076
|
+
* **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.
|
|
2021
2077
|
*/
|
|
2022
2078
|
maxPartitions?: string | null;
|
|
2023
2079
|
/**
|
|
2024
|
-
* **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
|
|
2080
|
+
* **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.
|
|
2025
2081
|
*/
|
|
2026
2082
|
partitionSizeBytes?: string | null;
|
|
2027
2083
|
}
|
|
@@ -2030,11 +2086,11 @@ export namespace spanner_v1 {
|
|
|
2030
2086
|
*/
|
|
2031
2087
|
export interface Schema$PartitionQueryRequest {
|
|
2032
2088
|
/**
|
|
2033
|
-
* 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
|
|
2089
|
+
* 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.
|
|
2034
2090
|
*/
|
|
2035
2091
|
params?: {[key: string]: any} | null;
|
|
2036
2092
|
/**
|
|
2037
|
-
* It
|
|
2093
|
+
* 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.
|
|
2038
2094
|
*/
|
|
2039
2095
|
paramTypes?: {[key: string]: Schema$Type} | null;
|
|
2040
2096
|
/**
|
|
@@ -2042,11 +2098,11 @@ export namespace spanner_v1 {
|
|
|
2042
2098
|
*/
|
|
2043
2099
|
partitionOptions?: Schema$PartitionOptions;
|
|
2044
2100
|
/**
|
|
2045
|
-
* Required. The query request to generate partitions for. The request fails if the query
|
|
2101
|
+
* 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.
|
|
2046
2102
|
*/
|
|
2047
2103
|
sql?: string | null;
|
|
2048
2104
|
/**
|
|
2049
|
-
* Read
|
|
2105
|
+
* Read-only snapshot transactions are supported, read and write and single-use transactions are not.
|
|
2050
2106
|
*/
|
|
2051
2107
|
transaction?: Schema$TransactionSelector;
|
|
2052
2108
|
}
|
|
@@ -2063,7 +2119,7 @@ export namespace spanner_v1 {
|
|
|
2063
2119
|
*/
|
|
2064
2120
|
index?: string | null;
|
|
2065
2121
|
/**
|
|
2066
|
-
* 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
|
|
2122
|
+
* 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.
|
|
2067
2123
|
*/
|
|
2068
2124
|
keySet?: Schema$KeySet;
|
|
2069
2125
|
/**
|
|
@@ -2181,11 +2237,11 @@ export namespace spanner_v1 {
|
|
|
2181
2237
|
*/
|
|
2182
2238
|
export interface Schema$QueryOptions {
|
|
2183
2239
|
/**
|
|
2184
|
-
* 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
|
|
2240
|
+
* 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.
|
|
2185
2241
|
*/
|
|
2186
2242
|
optimizerStatisticsPackage?: string | null;
|
|
2187
2243
|
/**
|
|
2188
|
-
* 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
|
|
2244
|
+
* 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.
|
|
2189
2245
|
*/
|
|
2190
2246
|
optimizerVersion?: string | null;
|
|
2191
2247
|
}
|
|
@@ -2274,7 +2330,7 @@ export namespace spanner_v1 {
|
|
|
2274
2330
|
*/
|
|
2275
2331
|
columns?: string[] | null;
|
|
2276
2332
|
/**
|
|
2277
|
-
* 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
|
|
2333
|
+
* 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.
|
|
2278
2334
|
*/
|
|
2279
2335
|
dataBoostEnabled?: boolean | null;
|
|
2280
2336
|
/**
|
|
@@ -2286,11 +2342,11 @@ export namespace spanner_v1 {
|
|
|
2286
2342
|
*/
|
|
2287
2343
|
index?: string | null;
|
|
2288
2344
|
/**
|
|
2289
|
-
* 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
|
|
2345
|
+
* 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.
|
|
2290
2346
|
*/
|
|
2291
2347
|
keySet?: Schema$KeySet;
|
|
2292
2348
|
/**
|
|
2293
|
-
* If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit
|
|
2349
|
+
* 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.
|
|
2294
2350
|
*/
|
|
2295
2351
|
limit?: string | null;
|
|
2296
2352
|
/**
|
|
@@ -2298,11 +2354,11 @@ export namespace spanner_v1 {
|
|
|
2298
2354
|
*/
|
|
2299
2355
|
lockHint?: string | null;
|
|
2300
2356
|
/**
|
|
2301
|
-
* Optional. Order for the returned rows. By default, Spanner
|
|
2357
|
+
* 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).
|
|
2302
2358
|
*/
|
|
2303
2359
|
orderBy?: string | null;
|
|
2304
2360
|
/**
|
|
2305
|
-
* If present, results
|
|
2361
|
+
* 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.
|
|
2306
2362
|
*/
|
|
2307
2363
|
partitionToken?: string | null;
|
|
2308
2364
|
/**
|
|
@@ -2367,11 +2423,11 @@ export namespace spanner_v1 {
|
|
|
2367
2423
|
type?: string | null;
|
|
2368
2424
|
}
|
|
2369
2425
|
/**
|
|
2370
|
-
* 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
|
|
2426
|
+
* 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.
|
|
2371
2427
|
*/
|
|
2372
2428
|
export interface Schema$ReplicaSelection {
|
|
2373
2429
|
/**
|
|
2374
|
-
* The location or region of the serving requests,
|
|
2430
|
+
* The location or region of the serving requests, for example, "us-east1".
|
|
2375
2431
|
*/
|
|
2376
2432
|
location?: string | null;
|
|
2377
2433
|
/**
|
|
@@ -2388,11 +2444,11 @@ export namespace spanner_v1 {
|
|
|
2388
2444
|
*/
|
|
2389
2445
|
priority?: string | null;
|
|
2390
2446
|
/**
|
|
2391
|
-
* 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 (
|
|
2447
|
+
* 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.
|
|
2392
2448
|
*/
|
|
2393
2449
|
requestTag?: string | null;
|
|
2394
2450
|
/**
|
|
2395
|
-
* 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
|
|
2451
|
+
* 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.
|
|
2396
2452
|
*/
|
|
2397
2453
|
transactionTag?: string | null;
|
|
2398
2454
|
}
|
|
@@ -2481,7 +2537,7 @@ export namespace spanner_v1 {
|
|
|
2481
2537
|
*/
|
|
2482
2538
|
metadata?: Schema$ResultSetMetadata;
|
|
2483
2539
|
/**
|
|
2484
|
-
* Optional. A precommit token
|
|
2540
|
+
* 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.
|
|
2485
2541
|
*/
|
|
2486
2542
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
2487
2543
|
/**
|
|
@@ -2489,7 +2545,7 @@ export namespace spanner_v1 {
|
|
|
2489
2545
|
*/
|
|
2490
2546
|
rows?: any[][] | null;
|
|
2491
2547
|
/**
|
|
2492
|
-
* 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
|
|
2548
|
+
* 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.
|
|
2493
2549
|
*/
|
|
2494
2550
|
stats?: Schema$ResultSetStats;
|
|
2495
2551
|
}
|
|
@@ -2527,7 +2583,7 @@ export namespace spanner_v1 {
|
|
|
2527
2583
|
*/
|
|
2528
2584
|
rowCountExact?: string | null;
|
|
2529
2585
|
/**
|
|
2530
|
-
* Partitioned DML
|
|
2586
|
+
* Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.
|
|
2531
2587
|
*/
|
|
2532
2588
|
rowCountLowerBound?: string | null;
|
|
2533
2589
|
}
|
|
@@ -2587,7 +2643,7 @@ export namespace spanner_v1 {
|
|
|
2587
2643
|
*/
|
|
2588
2644
|
export interface Schema$Session {
|
|
2589
2645
|
/**
|
|
2590
|
-
* Output only. The approximate timestamp when the session is last used. It
|
|
2646
|
+
* Output only. The approximate timestamp when the session is last used. It's typically earlier than the actual last use time.
|
|
2591
2647
|
*/
|
|
2592
2648
|
approximateLastUseTime?: string | null;
|
|
2593
2649
|
/**
|
|
@@ -2603,7 +2659,7 @@ export namespace spanner_v1 {
|
|
|
2603
2659
|
*/
|
|
2604
2660
|
labels?: {[key: string]: string} | null;
|
|
2605
2661
|
/**
|
|
2606
|
-
* Optional. If true
|
|
2662
|
+
* 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.
|
|
2607
2663
|
*/
|
|
2608
2664
|
multiplexed?: boolean | null;
|
|
2609
2665
|
/**
|
|
@@ -2668,11 +2724,11 @@ export namespace spanner_v1 {
|
|
|
2668
2724
|
*/
|
|
2669
2725
|
export interface Schema$Statement {
|
|
2670
2726
|
/**
|
|
2671
|
-
* 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
|
|
2727
|
+
* 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.
|
|
2672
2728
|
*/
|
|
2673
2729
|
params?: {[key: string]: any} | null;
|
|
2674
2730
|
/**
|
|
2675
|
-
* It
|
|
2731
|
+
* 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.
|
|
2676
2732
|
*/
|
|
2677
2733
|
paramTypes?: {[key: string]: Schema$Type} | null;
|
|
2678
2734
|
/**
|
|
@@ -2749,6 +2805,10 @@ export namespace spanner_v1 {
|
|
|
2749
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.
|
|
2750
2806
|
*/
|
|
2751
2807
|
excludeTxnFromChangeStreams?: boolean | null;
|
|
2808
|
+
/**
|
|
2809
|
+
* Isolation level for the transaction.
|
|
2810
|
+
*/
|
|
2811
|
+
isolationLevel?: string | null;
|
|
2752
2812
|
/**
|
|
2753
2813
|
* Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
|
|
2754
2814
|
*/
|
|
@@ -3079,11 +3139,13 @@ export namespace spanner_v1 {
|
|
|
3079
3139
|
list(
|
|
3080
3140
|
params: Params$Resource$Projects$Instanceconfigoperations$List,
|
|
3081
3141
|
options: StreamMethodOptions
|
|
3082
|
-
):
|
|
3142
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3083
3143
|
list(
|
|
3084
3144
|
params?: Params$Resource$Projects$Instanceconfigoperations$List,
|
|
3085
3145
|
options?: MethodOptions
|
|
3086
|
-
):
|
|
3146
|
+
): Promise<
|
|
3147
|
+
GaxiosResponseWithHTTP2<Schema$ListInstanceConfigOperationsResponse>
|
|
3148
|
+
>;
|
|
3087
3149
|
list(
|
|
3088
3150
|
params: Params$Resource$Projects$Instanceconfigoperations$List,
|
|
3089
3151
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3118,8 +3180,10 @@ export namespace spanner_v1 {
|
|
|
3118
3180
|
| BodyResponseCallback<Readable>
|
|
3119
3181
|
):
|
|
3120
3182
|
| void
|
|
3121
|
-
|
|
|
3122
|
-
|
|
3183
|
+
| Promise<
|
|
3184
|
+
GaxiosResponseWithHTTP2<Schema$ListInstanceConfigOperationsResponse>
|
|
3185
|
+
>
|
|
3186
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3123
3187
|
let params = (paramsOrCallback ||
|
|
3124
3188
|
{}) as Params$Resource$Projects$Instanceconfigoperations$List;
|
|
3125
3189
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3211,11 +3275,11 @@ export namespace spanner_v1 {
|
|
|
3211
3275
|
create(
|
|
3212
3276
|
params: Params$Resource$Projects$Instanceconfigs$Create,
|
|
3213
3277
|
options: StreamMethodOptions
|
|
3214
|
-
):
|
|
3278
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3215
3279
|
create(
|
|
3216
3280
|
params?: Params$Resource$Projects$Instanceconfigs$Create,
|
|
3217
3281
|
options?: MethodOptions
|
|
3218
|
-
):
|
|
3282
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3219
3283
|
create(
|
|
3220
3284
|
params: Params$Resource$Projects$Instanceconfigs$Create,
|
|
3221
3285
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3244,7 +3308,10 @@ export namespace spanner_v1 {
|
|
|
3244
3308
|
callback?:
|
|
3245
3309
|
| BodyResponseCallback<Schema$Operation>
|
|
3246
3310
|
| BodyResponseCallback<Readable>
|
|
3247
|
-
):
|
|
3311
|
+
):
|
|
3312
|
+
| void
|
|
3313
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3314
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3248
3315
|
let params = (paramsOrCallback ||
|
|
3249
3316
|
{}) as Params$Resource$Projects$Instanceconfigs$Create;
|
|
3250
3317
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3299,11 +3366,11 @@ export namespace spanner_v1 {
|
|
|
3299
3366
|
delete(
|
|
3300
3367
|
params: Params$Resource$Projects$Instanceconfigs$Delete,
|
|
3301
3368
|
options: StreamMethodOptions
|
|
3302
|
-
):
|
|
3369
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3303
3370
|
delete(
|
|
3304
3371
|
params?: Params$Resource$Projects$Instanceconfigs$Delete,
|
|
3305
3372
|
options?: MethodOptions
|
|
3306
|
-
):
|
|
3373
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3307
3374
|
delete(
|
|
3308
3375
|
params: Params$Resource$Projects$Instanceconfigs$Delete,
|
|
3309
3376
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3332,7 +3399,10 @@ export namespace spanner_v1 {
|
|
|
3332
3399
|
callback?:
|
|
3333
3400
|
| BodyResponseCallback<Schema$Empty>
|
|
3334
3401
|
| BodyResponseCallback<Readable>
|
|
3335
|
-
):
|
|
3402
|
+
):
|
|
3403
|
+
| void
|
|
3404
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
3405
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3336
3406
|
let params = (paramsOrCallback ||
|
|
3337
3407
|
{}) as Params$Resource$Projects$Instanceconfigs$Delete;
|
|
3338
3408
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3384,11 +3454,11 @@ export namespace spanner_v1 {
|
|
|
3384
3454
|
get(
|
|
3385
3455
|
params: Params$Resource$Projects$Instanceconfigs$Get,
|
|
3386
3456
|
options: StreamMethodOptions
|
|
3387
|
-
):
|
|
3457
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3388
3458
|
get(
|
|
3389
3459
|
params?: Params$Resource$Projects$Instanceconfigs$Get,
|
|
3390
3460
|
options?: MethodOptions
|
|
3391
|
-
):
|
|
3461
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$InstanceConfig>>;
|
|
3392
3462
|
get(
|
|
3393
3463
|
params: Params$Resource$Projects$Instanceconfigs$Get,
|
|
3394
3464
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3417,7 +3487,10 @@ export namespace spanner_v1 {
|
|
|
3417
3487
|
callback?:
|
|
3418
3488
|
| BodyResponseCallback<Schema$InstanceConfig>
|
|
3419
3489
|
| BodyResponseCallback<Readable>
|
|
3420
|
-
):
|
|
3490
|
+
):
|
|
3491
|
+
| void
|
|
3492
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$InstanceConfig>>
|
|
3493
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3421
3494
|
let params = (paramsOrCallback ||
|
|
3422
3495
|
{}) as Params$Resource$Projects$Instanceconfigs$Get;
|
|
3423
3496
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3469,11 +3542,11 @@ export namespace spanner_v1 {
|
|
|
3469
3542
|
list(
|
|
3470
3543
|
params: Params$Resource$Projects$Instanceconfigs$List,
|
|
3471
3544
|
options: StreamMethodOptions
|
|
3472
|
-
):
|
|
3545
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3473
3546
|
list(
|
|
3474
3547
|
params?: Params$Resource$Projects$Instanceconfigs$List,
|
|
3475
3548
|
options?: MethodOptions
|
|
3476
|
-
):
|
|
3549
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListInstanceConfigsResponse>>;
|
|
3477
3550
|
list(
|
|
3478
3551
|
params: Params$Resource$Projects$Instanceconfigs$List,
|
|
3479
3552
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3508,8 +3581,8 @@ export namespace spanner_v1 {
|
|
|
3508
3581
|
| BodyResponseCallback<Readable>
|
|
3509
3582
|
):
|
|
3510
3583
|
| void
|
|
3511
|
-
|
|
|
3512
|
-
|
|
|
3584
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListInstanceConfigsResponse>>
|
|
3585
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3513
3586
|
let params = (paramsOrCallback ||
|
|
3514
3587
|
{}) as Params$Resource$Projects$Instanceconfigs$List;
|
|
3515
3588
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3564,11 +3637,11 @@ export namespace spanner_v1 {
|
|
|
3564
3637
|
patch(
|
|
3565
3638
|
params: Params$Resource$Projects$Instanceconfigs$Patch,
|
|
3566
3639
|
options: StreamMethodOptions
|
|
3567
|
-
):
|
|
3640
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3568
3641
|
patch(
|
|
3569
3642
|
params?: Params$Resource$Projects$Instanceconfigs$Patch,
|
|
3570
3643
|
options?: MethodOptions
|
|
3571
|
-
):
|
|
3644
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3572
3645
|
patch(
|
|
3573
3646
|
params: Params$Resource$Projects$Instanceconfigs$Patch,
|
|
3574
3647
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3597,7 +3670,10 @@ export namespace spanner_v1 {
|
|
|
3597
3670
|
callback?:
|
|
3598
3671
|
| BodyResponseCallback<Schema$Operation>
|
|
3599
3672
|
| BodyResponseCallback<Readable>
|
|
3600
|
-
):
|
|
3673
|
+
):
|
|
3674
|
+
| void
|
|
3675
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
3676
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3601
3677
|
let params = (paramsOrCallback ||
|
|
3602
3678
|
{}) as Params$Resource$Projects$Instanceconfigs$Patch;
|
|
3603
3679
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3718,11 +3794,11 @@ export namespace spanner_v1 {
|
|
|
3718
3794
|
cancel(
|
|
3719
3795
|
params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel,
|
|
3720
3796
|
options: StreamMethodOptions
|
|
3721
|
-
):
|
|
3797
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3722
3798
|
cancel(
|
|
3723
3799
|
params?: Params$Resource$Projects$Instanceconfigs$Operations$Cancel,
|
|
3724
3800
|
options?: MethodOptions
|
|
3725
|
-
):
|
|
3801
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3726
3802
|
cancel(
|
|
3727
3803
|
params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel,
|
|
3728
3804
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3751,7 +3827,10 @@ export namespace spanner_v1 {
|
|
|
3751
3827
|
callback?:
|
|
3752
3828
|
| BodyResponseCallback<Schema$Empty>
|
|
3753
3829
|
| BodyResponseCallback<Readable>
|
|
3754
|
-
):
|
|
3830
|
+
):
|
|
3831
|
+
| void
|
|
3832
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
3833
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3755
3834
|
let params = (paramsOrCallback ||
|
|
3756
3835
|
{}) as Params$Resource$Projects$Instanceconfigs$Operations$Cancel;
|
|
3757
3836
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3804,11 +3883,11 @@ export namespace spanner_v1 {
|
|
|
3804
3883
|
delete(
|
|
3805
3884
|
params: Params$Resource$Projects$Instanceconfigs$Operations$Delete,
|
|
3806
3885
|
options: StreamMethodOptions
|
|
3807
|
-
):
|
|
3886
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3808
3887
|
delete(
|
|
3809
3888
|
params?: Params$Resource$Projects$Instanceconfigs$Operations$Delete,
|
|
3810
3889
|
options?: MethodOptions
|
|
3811
|
-
):
|
|
3890
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3812
3891
|
delete(
|
|
3813
3892
|
params: Params$Resource$Projects$Instanceconfigs$Operations$Delete,
|
|
3814
3893
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3837,7 +3916,10 @@ export namespace spanner_v1 {
|
|
|
3837
3916
|
callback?:
|
|
3838
3917
|
| BodyResponseCallback<Schema$Empty>
|
|
3839
3918
|
| BodyResponseCallback<Readable>
|
|
3840
|
-
):
|
|
3919
|
+
):
|
|
3920
|
+
| void
|
|
3921
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
3922
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3841
3923
|
let params = (paramsOrCallback ||
|
|
3842
3924
|
{}) as Params$Resource$Projects$Instanceconfigs$Operations$Delete;
|
|
3843
3925
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3890,11 +3972,11 @@ export namespace spanner_v1 {
|
|
|
3890
3972
|
get(
|
|
3891
3973
|
params: Params$Resource$Projects$Instanceconfigs$Operations$Get,
|
|
3892
3974
|
options: StreamMethodOptions
|
|
3893
|
-
):
|
|
3975
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3894
3976
|
get(
|
|
3895
3977
|
params?: Params$Resource$Projects$Instanceconfigs$Operations$Get,
|
|
3896
3978
|
options?: MethodOptions
|
|
3897
|
-
):
|
|
3979
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3898
3980
|
get(
|
|
3899
3981
|
params: Params$Resource$Projects$Instanceconfigs$Operations$Get,
|
|
3900
3982
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -3923,7 +4005,10 @@ export namespace spanner_v1 {
|
|
|
3923
4005
|
callback?:
|
|
3924
4006
|
| BodyResponseCallback<Schema$Operation>
|
|
3925
4007
|
| BodyResponseCallback<Readable>
|
|
3926
|
-
):
|
|
4008
|
+
):
|
|
4009
|
+
| void
|
|
4010
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4011
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
3927
4012
|
let params = (paramsOrCallback ||
|
|
3928
4013
|
{}) as Params$Resource$Projects$Instanceconfigs$Operations$Get;
|
|
3929
4014
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -3975,11 +4060,11 @@ export namespace spanner_v1 {
|
|
|
3975
4060
|
list(
|
|
3976
4061
|
params: Params$Resource$Projects$Instanceconfigs$Operations$List,
|
|
3977
4062
|
options: StreamMethodOptions
|
|
3978
|
-
):
|
|
4063
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3979
4064
|
list(
|
|
3980
4065
|
params?: Params$Resource$Projects$Instanceconfigs$Operations$List,
|
|
3981
4066
|
options?: MethodOptions
|
|
3982
|
-
):
|
|
4067
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
3983
4068
|
list(
|
|
3984
4069
|
params: Params$Resource$Projects$Instanceconfigs$Operations$List,
|
|
3985
4070
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4012,8 +4097,8 @@ export namespace spanner_v1 {
|
|
|
4012
4097
|
| BodyResponseCallback<Readable>
|
|
4013
4098
|
):
|
|
4014
4099
|
| void
|
|
4015
|
-
|
|
|
4016
|
-
|
|
|
4100
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
4101
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4017
4102
|
let params = (paramsOrCallback ||
|
|
4018
4103
|
{}) as Params$Resource$Projects$Instanceconfigs$Operations$List;
|
|
4019
4104
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4125,11 +4210,11 @@ export namespace spanner_v1 {
|
|
|
4125
4210
|
cancel(
|
|
4126
4211
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel,
|
|
4127
4212
|
options: StreamMethodOptions
|
|
4128
|
-
):
|
|
4213
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4129
4214
|
cancel(
|
|
4130
4215
|
params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel,
|
|
4131
4216
|
options?: MethodOptions
|
|
4132
|
-
):
|
|
4217
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4133
4218
|
cancel(
|
|
4134
4219
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel,
|
|
4135
4220
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4158,7 +4243,10 @@ export namespace spanner_v1 {
|
|
|
4158
4243
|
callback?:
|
|
4159
4244
|
| BodyResponseCallback<Schema$Empty>
|
|
4160
4245
|
| BodyResponseCallback<Readable>
|
|
4161
|
-
):
|
|
4246
|
+
):
|
|
4247
|
+
| void
|
|
4248
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
4249
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4162
4250
|
let params = (paramsOrCallback ||
|
|
4163
4251
|
{}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel;
|
|
4164
4252
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4211,11 +4299,11 @@ export namespace spanner_v1 {
|
|
|
4211
4299
|
delete(
|
|
4212
4300
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete,
|
|
4213
4301
|
options: StreamMethodOptions
|
|
4214
|
-
):
|
|
4302
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4215
4303
|
delete(
|
|
4216
4304
|
params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete,
|
|
4217
4305
|
options?: MethodOptions
|
|
4218
|
-
):
|
|
4306
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4219
4307
|
delete(
|
|
4220
4308
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete,
|
|
4221
4309
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4244,7 +4332,10 @@ export namespace spanner_v1 {
|
|
|
4244
4332
|
callback?:
|
|
4245
4333
|
| BodyResponseCallback<Schema$Empty>
|
|
4246
4334
|
| BodyResponseCallback<Readable>
|
|
4247
|
-
):
|
|
4335
|
+
):
|
|
4336
|
+
| void
|
|
4337
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
4338
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4248
4339
|
let params = (paramsOrCallback ||
|
|
4249
4340
|
{}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete;
|
|
4250
4341
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4297,11 +4388,11 @@ export namespace spanner_v1 {
|
|
|
4297
4388
|
get(
|
|
4298
4389
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get,
|
|
4299
4390
|
options: StreamMethodOptions
|
|
4300
|
-
):
|
|
4391
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4301
4392
|
get(
|
|
4302
4393
|
params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get,
|
|
4303
4394
|
options?: MethodOptions
|
|
4304
|
-
):
|
|
4395
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4305
4396
|
get(
|
|
4306
4397
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get,
|
|
4307
4398
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4330,7 +4421,10 @@ export namespace spanner_v1 {
|
|
|
4330
4421
|
callback?:
|
|
4331
4422
|
| BodyResponseCallback<Schema$Operation>
|
|
4332
4423
|
| BodyResponseCallback<Readable>
|
|
4333
|
-
):
|
|
4424
|
+
):
|
|
4425
|
+
| void
|
|
4426
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4427
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4334
4428
|
let params = (paramsOrCallback ||
|
|
4335
4429
|
{}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get;
|
|
4336
4430
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4383,11 +4477,11 @@ export namespace spanner_v1 {
|
|
|
4383
4477
|
list(
|
|
4384
4478
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List,
|
|
4385
4479
|
options: StreamMethodOptions
|
|
4386
|
-
):
|
|
4480
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4387
4481
|
list(
|
|
4388
4482
|
params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List,
|
|
4389
4483
|
options?: MethodOptions
|
|
4390
|
-
):
|
|
4484
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
4391
4485
|
list(
|
|
4392
4486
|
params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List,
|
|
4393
4487
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4420,8 +4514,8 @@ export namespace spanner_v1 {
|
|
|
4420
4514
|
| BodyResponseCallback<Readable>
|
|
4421
4515
|
):
|
|
4422
4516
|
| void
|
|
4423
|
-
|
|
|
4424
|
-
|
|
|
4517
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
4518
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4425
4519
|
let params = (paramsOrCallback ||
|
|
4426
4520
|
{}) as Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List;
|
|
4427
4521
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4545,11 +4639,11 @@ export namespace spanner_v1 {
|
|
|
4545
4639
|
create(
|
|
4546
4640
|
params: Params$Resource$Projects$Instances$Create,
|
|
4547
4641
|
options: StreamMethodOptions
|
|
4548
|
-
):
|
|
4642
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4549
4643
|
create(
|
|
4550
4644
|
params?: Params$Resource$Projects$Instances$Create,
|
|
4551
4645
|
options?: MethodOptions
|
|
4552
|
-
):
|
|
4646
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4553
4647
|
create(
|
|
4554
4648
|
params: Params$Resource$Projects$Instances$Create,
|
|
4555
4649
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4578,7 +4672,10 @@ export namespace spanner_v1 {
|
|
|
4578
4672
|
callback?:
|
|
4579
4673
|
| BodyResponseCallback<Schema$Operation>
|
|
4580
4674
|
| BodyResponseCallback<Readable>
|
|
4581
|
-
):
|
|
4675
|
+
):
|
|
4676
|
+
| void
|
|
4677
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
4678
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4582
4679
|
let params = (paramsOrCallback ||
|
|
4583
4680
|
{}) as Params$Resource$Projects$Instances$Create;
|
|
4584
4681
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4633,11 +4730,11 @@ export namespace spanner_v1 {
|
|
|
4633
4730
|
delete(
|
|
4634
4731
|
params: Params$Resource$Projects$Instances$Delete,
|
|
4635
4732
|
options: StreamMethodOptions
|
|
4636
|
-
):
|
|
4733
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4637
4734
|
delete(
|
|
4638
4735
|
params?: Params$Resource$Projects$Instances$Delete,
|
|
4639
4736
|
options?: MethodOptions
|
|
4640
|
-
):
|
|
4737
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4641
4738
|
delete(
|
|
4642
4739
|
params: Params$Resource$Projects$Instances$Delete,
|
|
4643
4740
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4666,7 +4763,10 @@ export namespace spanner_v1 {
|
|
|
4666
4763
|
callback?:
|
|
4667
4764
|
| BodyResponseCallback<Schema$Empty>
|
|
4668
4765
|
| BodyResponseCallback<Readable>
|
|
4669
|
-
):
|
|
4766
|
+
):
|
|
4767
|
+
| void
|
|
4768
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
4769
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4670
4770
|
let params = (paramsOrCallback ||
|
|
4671
4771
|
{}) as Params$Resource$Projects$Instances$Delete;
|
|
4672
4772
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4718,11 +4818,11 @@ export namespace spanner_v1 {
|
|
|
4718
4818
|
get(
|
|
4719
4819
|
params: Params$Resource$Projects$Instances$Get,
|
|
4720
4820
|
options: StreamMethodOptions
|
|
4721
|
-
):
|
|
4821
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4722
4822
|
get(
|
|
4723
4823
|
params?: Params$Resource$Projects$Instances$Get,
|
|
4724
4824
|
options?: MethodOptions
|
|
4725
|
-
):
|
|
4825
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
|
|
4726
4826
|
get(
|
|
4727
4827
|
params: Params$Resource$Projects$Instances$Get,
|
|
4728
4828
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4751,7 +4851,10 @@ export namespace spanner_v1 {
|
|
|
4751
4851
|
callback?:
|
|
4752
4852
|
| BodyResponseCallback<Schema$Instance>
|
|
4753
4853
|
| BodyResponseCallback<Readable>
|
|
4754
|
-
):
|
|
4854
|
+
):
|
|
4855
|
+
| void
|
|
4856
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Instance>>
|
|
4857
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4755
4858
|
let params = (paramsOrCallback ||
|
|
4756
4859
|
{}) as Params$Resource$Projects$Instances$Get;
|
|
4757
4860
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4803,11 +4906,11 @@ export namespace spanner_v1 {
|
|
|
4803
4906
|
getIamPolicy(
|
|
4804
4907
|
params: Params$Resource$Projects$Instances$Getiampolicy,
|
|
4805
4908
|
options: StreamMethodOptions
|
|
4806
|
-
):
|
|
4909
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4807
4910
|
getIamPolicy(
|
|
4808
4911
|
params?: Params$Resource$Projects$Instances$Getiampolicy,
|
|
4809
4912
|
options?: MethodOptions
|
|
4810
|
-
):
|
|
4913
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
4811
4914
|
getIamPolicy(
|
|
4812
4915
|
params: Params$Resource$Projects$Instances$Getiampolicy,
|
|
4813
4916
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4836,7 +4939,10 @@ export namespace spanner_v1 {
|
|
|
4836
4939
|
callback?:
|
|
4837
4940
|
| BodyResponseCallback<Schema$Policy>
|
|
4838
4941
|
| BodyResponseCallback<Readable>
|
|
4839
|
-
):
|
|
4942
|
+
):
|
|
4943
|
+
| void
|
|
4944
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
4945
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4840
4946
|
let params = (paramsOrCallback ||
|
|
4841
4947
|
{}) as Params$Resource$Projects$Instances$Getiampolicy;
|
|
4842
4948
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4891,11 +4997,11 @@ export namespace spanner_v1 {
|
|
|
4891
4997
|
list(
|
|
4892
4998
|
params: Params$Resource$Projects$Instances$List,
|
|
4893
4999
|
options: StreamMethodOptions
|
|
4894
|
-
):
|
|
5000
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4895
5001
|
list(
|
|
4896
5002
|
params?: Params$Resource$Projects$Instances$List,
|
|
4897
5003
|
options?: MethodOptions
|
|
4898
|
-
):
|
|
5004
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
|
|
4899
5005
|
list(
|
|
4900
5006
|
params: Params$Resource$Projects$Instances$List,
|
|
4901
5007
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -4928,8 +5034,8 @@ export namespace spanner_v1 {
|
|
|
4928
5034
|
| BodyResponseCallback<Readable>
|
|
4929
5035
|
):
|
|
4930
5036
|
| void
|
|
4931
|
-
|
|
|
4932
|
-
|
|
|
5037
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>
|
|
5038
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
4933
5039
|
let params = (paramsOrCallback ||
|
|
4934
5040
|
{}) as Params$Resource$Projects$Instances$List;
|
|
4935
5041
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -4984,11 +5090,11 @@ export namespace spanner_v1 {
|
|
|
4984
5090
|
move(
|
|
4985
5091
|
params: Params$Resource$Projects$Instances$Move,
|
|
4986
5092
|
options: StreamMethodOptions
|
|
4987
|
-
):
|
|
5093
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4988
5094
|
move(
|
|
4989
5095
|
params?: Params$Resource$Projects$Instances$Move,
|
|
4990
5096
|
options?: MethodOptions
|
|
4991
|
-
):
|
|
5097
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4992
5098
|
move(
|
|
4993
5099
|
params: Params$Resource$Projects$Instances$Move,
|
|
4994
5100
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5017,7 +5123,10 @@ export namespace spanner_v1 {
|
|
|
5017
5123
|
callback?:
|
|
5018
5124
|
| BodyResponseCallback<Schema$Operation>
|
|
5019
5125
|
| BodyResponseCallback<Readable>
|
|
5020
|
-
):
|
|
5126
|
+
):
|
|
5127
|
+
| void
|
|
5128
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5129
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5021
5130
|
let params = (paramsOrCallback ||
|
|
5022
5131
|
{}) as Params$Resource$Projects$Instances$Move;
|
|
5023
5132
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5069,11 +5178,11 @@ export namespace spanner_v1 {
|
|
|
5069
5178
|
patch(
|
|
5070
5179
|
params: Params$Resource$Projects$Instances$Patch,
|
|
5071
5180
|
options: StreamMethodOptions
|
|
5072
|
-
):
|
|
5181
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5073
5182
|
patch(
|
|
5074
5183
|
params?: Params$Resource$Projects$Instances$Patch,
|
|
5075
5184
|
options?: MethodOptions
|
|
5076
|
-
):
|
|
5185
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5077
5186
|
patch(
|
|
5078
5187
|
params: Params$Resource$Projects$Instances$Patch,
|
|
5079
5188
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5102,7 +5211,10 @@ export namespace spanner_v1 {
|
|
|
5102
5211
|
callback?:
|
|
5103
5212
|
| BodyResponseCallback<Schema$Operation>
|
|
5104
5213
|
| BodyResponseCallback<Readable>
|
|
5105
|
-
):
|
|
5214
|
+
):
|
|
5215
|
+
| void
|
|
5216
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5217
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5106
5218
|
let params = (paramsOrCallback ||
|
|
5107
5219
|
{}) as Params$Resource$Projects$Instances$Patch;
|
|
5108
5220
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5154,11 +5266,11 @@ export namespace spanner_v1 {
|
|
|
5154
5266
|
setIamPolicy(
|
|
5155
5267
|
params: Params$Resource$Projects$Instances$Setiampolicy,
|
|
5156
5268
|
options: StreamMethodOptions
|
|
5157
|
-
):
|
|
5269
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5158
5270
|
setIamPolicy(
|
|
5159
5271
|
params?: Params$Resource$Projects$Instances$Setiampolicy,
|
|
5160
5272
|
options?: MethodOptions
|
|
5161
|
-
):
|
|
5273
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
5162
5274
|
setIamPolicy(
|
|
5163
5275
|
params: Params$Resource$Projects$Instances$Setiampolicy,
|
|
5164
5276
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5187,7 +5299,10 @@ export namespace spanner_v1 {
|
|
|
5187
5299
|
callback?:
|
|
5188
5300
|
| BodyResponseCallback<Schema$Policy>
|
|
5189
5301
|
| BodyResponseCallback<Readable>
|
|
5190
|
-
):
|
|
5302
|
+
):
|
|
5303
|
+
| void
|
|
5304
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
5305
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5191
5306
|
let params = (paramsOrCallback ||
|
|
5192
5307
|
{}) as Params$Resource$Projects$Instances$Setiampolicy;
|
|
5193
5308
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5242,11 +5357,11 @@ export namespace spanner_v1 {
|
|
|
5242
5357
|
testIamPermissions(
|
|
5243
5358
|
params: Params$Resource$Projects$Instances$Testiampermissions,
|
|
5244
5359
|
options: StreamMethodOptions
|
|
5245
|
-
):
|
|
5360
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5246
5361
|
testIamPermissions(
|
|
5247
5362
|
params?: Params$Resource$Projects$Instances$Testiampermissions,
|
|
5248
5363
|
options?: MethodOptions
|
|
5249
|
-
):
|
|
5364
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
5250
5365
|
testIamPermissions(
|
|
5251
5366
|
params: Params$Resource$Projects$Instances$Testiampermissions,
|
|
5252
5367
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5281,8 +5396,8 @@ export namespace spanner_v1 {
|
|
|
5281
5396
|
| BodyResponseCallback<Readable>
|
|
5282
5397
|
):
|
|
5283
5398
|
| void
|
|
5284
|
-
|
|
|
5285
|
-
|
|
|
5399
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
|
|
5400
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5286
5401
|
let params = (paramsOrCallback ||
|
|
5287
5402
|
{}) as Params$Resource$Projects$Instances$Testiampermissions;
|
|
5288
5403
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5458,11 +5573,11 @@ export namespace spanner_v1 {
|
|
|
5458
5573
|
list(
|
|
5459
5574
|
params: Params$Resource$Projects$Instances$Backupoperations$List,
|
|
5460
5575
|
options: StreamMethodOptions
|
|
5461
|
-
):
|
|
5576
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5462
5577
|
list(
|
|
5463
5578
|
params?: Params$Resource$Projects$Instances$Backupoperations$List,
|
|
5464
5579
|
options?: MethodOptions
|
|
5465
|
-
):
|
|
5580
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupOperationsResponse>>;
|
|
5466
5581
|
list(
|
|
5467
5582
|
params: Params$Resource$Projects$Instances$Backupoperations$List,
|
|
5468
5583
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5497,8 +5612,8 @@ export namespace spanner_v1 {
|
|
|
5497
5612
|
| BodyResponseCallback<Readable>
|
|
5498
5613
|
):
|
|
5499
5614
|
| void
|
|
5500
|
-
|
|
|
5501
|
-
|
|
|
5615
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListBackupOperationsResponse>>
|
|
5616
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5502
5617
|
let params = (paramsOrCallback ||
|
|
5503
5618
|
{}) as Params$Resource$Projects$Instances$Backupoperations$List;
|
|
5504
5619
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5586,11 +5701,11 @@ export namespace spanner_v1 {
|
|
|
5586
5701
|
copy(
|
|
5587
5702
|
params: Params$Resource$Projects$Instances$Backups$Copy,
|
|
5588
5703
|
options: StreamMethodOptions
|
|
5589
|
-
):
|
|
5704
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5590
5705
|
copy(
|
|
5591
5706
|
params?: Params$Resource$Projects$Instances$Backups$Copy,
|
|
5592
5707
|
options?: MethodOptions
|
|
5593
|
-
):
|
|
5708
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5594
5709
|
copy(
|
|
5595
5710
|
params: Params$Resource$Projects$Instances$Backups$Copy,
|
|
5596
5711
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5619,7 +5734,10 @@ export namespace spanner_v1 {
|
|
|
5619
5734
|
callback?:
|
|
5620
5735
|
| BodyResponseCallback<Schema$Operation>
|
|
5621
5736
|
| BodyResponseCallback<Readable>
|
|
5622
|
-
):
|
|
5737
|
+
):
|
|
5738
|
+
| void
|
|
5739
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5740
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5623
5741
|
let params = (paramsOrCallback ||
|
|
5624
5742
|
{}) as Params$Resource$Projects$Instances$Backups$Copy;
|
|
5625
5743
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5674,11 +5792,11 @@ export namespace spanner_v1 {
|
|
|
5674
5792
|
create(
|
|
5675
5793
|
params: Params$Resource$Projects$Instances$Backups$Create,
|
|
5676
5794
|
options: StreamMethodOptions
|
|
5677
|
-
):
|
|
5795
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5678
5796
|
create(
|
|
5679
5797
|
params?: Params$Resource$Projects$Instances$Backups$Create,
|
|
5680
5798
|
options?: MethodOptions
|
|
5681
|
-
):
|
|
5799
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5682
5800
|
create(
|
|
5683
5801
|
params: Params$Resource$Projects$Instances$Backups$Create,
|
|
5684
5802
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5707,7 +5825,10 @@ export namespace spanner_v1 {
|
|
|
5707
5825
|
callback?:
|
|
5708
5826
|
| BodyResponseCallback<Schema$Operation>
|
|
5709
5827
|
| BodyResponseCallback<Readable>
|
|
5710
|
-
):
|
|
5828
|
+
):
|
|
5829
|
+
| void
|
|
5830
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5831
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5711
5832
|
let params = (paramsOrCallback ||
|
|
5712
5833
|
{}) as Params$Resource$Projects$Instances$Backups$Create;
|
|
5713
5834
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5762,11 +5883,11 @@ export namespace spanner_v1 {
|
|
|
5762
5883
|
delete(
|
|
5763
5884
|
params: Params$Resource$Projects$Instances$Backups$Delete,
|
|
5764
5885
|
options: StreamMethodOptions
|
|
5765
|
-
):
|
|
5886
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5766
5887
|
delete(
|
|
5767
5888
|
params?: Params$Resource$Projects$Instances$Backups$Delete,
|
|
5768
5889
|
options?: MethodOptions
|
|
5769
|
-
):
|
|
5890
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5770
5891
|
delete(
|
|
5771
5892
|
params: Params$Resource$Projects$Instances$Backups$Delete,
|
|
5772
5893
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5795,7 +5916,10 @@ export namespace spanner_v1 {
|
|
|
5795
5916
|
callback?:
|
|
5796
5917
|
| BodyResponseCallback<Schema$Empty>
|
|
5797
5918
|
| BodyResponseCallback<Readable>
|
|
5798
|
-
):
|
|
5919
|
+
):
|
|
5920
|
+
| void
|
|
5921
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
5922
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5799
5923
|
let params = (paramsOrCallback ||
|
|
5800
5924
|
{}) as Params$Resource$Projects$Instances$Backups$Delete;
|
|
5801
5925
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5847,11 +5971,11 @@ export namespace spanner_v1 {
|
|
|
5847
5971
|
get(
|
|
5848
5972
|
params: Params$Resource$Projects$Instances$Backups$Get,
|
|
5849
5973
|
options: StreamMethodOptions
|
|
5850
|
-
):
|
|
5974
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5851
5975
|
get(
|
|
5852
5976
|
params?: Params$Resource$Projects$Instances$Backups$Get,
|
|
5853
5977
|
options?: MethodOptions
|
|
5854
|
-
):
|
|
5978
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
|
|
5855
5979
|
get(
|
|
5856
5980
|
params: Params$Resource$Projects$Instances$Backups$Get,
|
|
5857
5981
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5880,7 +6004,10 @@ export namespace spanner_v1 {
|
|
|
5880
6004
|
callback?:
|
|
5881
6005
|
| BodyResponseCallback<Schema$Backup>
|
|
5882
6006
|
| BodyResponseCallback<Readable>
|
|
5883
|
-
):
|
|
6007
|
+
):
|
|
6008
|
+
| void
|
|
6009
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Backup>>
|
|
6010
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5884
6011
|
let params = (paramsOrCallback ||
|
|
5885
6012
|
{}) as Params$Resource$Projects$Instances$Backups$Get;
|
|
5886
6013
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5932,11 +6059,11 @@ export namespace spanner_v1 {
|
|
|
5932
6059
|
getIamPolicy(
|
|
5933
6060
|
params: Params$Resource$Projects$Instances$Backups$Getiampolicy,
|
|
5934
6061
|
options: StreamMethodOptions
|
|
5935
|
-
):
|
|
6062
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5936
6063
|
getIamPolicy(
|
|
5937
6064
|
params?: Params$Resource$Projects$Instances$Backups$Getiampolicy,
|
|
5938
6065
|
options?: MethodOptions
|
|
5939
|
-
):
|
|
6066
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
5940
6067
|
getIamPolicy(
|
|
5941
6068
|
params: Params$Resource$Projects$Instances$Backups$Getiampolicy,
|
|
5942
6069
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5965,7 +6092,10 @@ export namespace spanner_v1 {
|
|
|
5965
6092
|
callback?:
|
|
5966
6093
|
| BodyResponseCallback<Schema$Policy>
|
|
5967
6094
|
| BodyResponseCallback<Readable>
|
|
5968
|
-
):
|
|
6095
|
+
):
|
|
6096
|
+
| void
|
|
6097
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
6098
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5969
6099
|
let params = (paramsOrCallback ||
|
|
5970
6100
|
{}) as Params$Resource$Projects$Instances$Backups$Getiampolicy;
|
|
5971
6101
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6020,11 +6150,11 @@ export namespace spanner_v1 {
|
|
|
6020
6150
|
list(
|
|
6021
6151
|
params: Params$Resource$Projects$Instances$Backups$List,
|
|
6022
6152
|
options: StreamMethodOptions
|
|
6023
|
-
):
|
|
6153
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6024
6154
|
list(
|
|
6025
6155
|
params?: Params$Resource$Projects$Instances$Backups$List,
|
|
6026
6156
|
options?: MethodOptions
|
|
6027
|
-
):
|
|
6157
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
|
|
6028
6158
|
list(
|
|
6029
6159
|
params: Params$Resource$Projects$Instances$Backups$List,
|
|
6030
6160
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6055,8 +6185,8 @@ export namespace spanner_v1 {
|
|
|
6055
6185
|
| BodyResponseCallback<Readable>
|
|
6056
6186
|
):
|
|
6057
6187
|
| void
|
|
6058
|
-
|
|
|
6059
|
-
|
|
|
6188
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>
|
|
6189
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6060
6190
|
let params = (paramsOrCallback ||
|
|
6061
6191
|
{}) as Params$Resource$Projects$Instances$Backups$List;
|
|
6062
6192
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6111,11 +6241,11 @@ export namespace spanner_v1 {
|
|
|
6111
6241
|
patch(
|
|
6112
6242
|
params: Params$Resource$Projects$Instances$Backups$Patch,
|
|
6113
6243
|
options: StreamMethodOptions
|
|
6114
|
-
):
|
|
6244
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6115
6245
|
patch(
|
|
6116
6246
|
params?: Params$Resource$Projects$Instances$Backups$Patch,
|
|
6117
6247
|
options?: MethodOptions
|
|
6118
|
-
):
|
|
6248
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
|
|
6119
6249
|
patch(
|
|
6120
6250
|
params: Params$Resource$Projects$Instances$Backups$Patch,
|
|
6121
6251
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6144,7 +6274,10 @@ export namespace spanner_v1 {
|
|
|
6144
6274
|
callback?:
|
|
6145
6275
|
| BodyResponseCallback<Schema$Backup>
|
|
6146
6276
|
| BodyResponseCallback<Readable>
|
|
6147
|
-
):
|
|
6277
|
+
):
|
|
6278
|
+
| void
|
|
6279
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Backup>>
|
|
6280
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6148
6281
|
let params = (paramsOrCallback ||
|
|
6149
6282
|
{}) as Params$Resource$Projects$Instances$Backups$Patch;
|
|
6150
6283
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6196,11 +6329,11 @@ export namespace spanner_v1 {
|
|
|
6196
6329
|
setIamPolicy(
|
|
6197
6330
|
params: Params$Resource$Projects$Instances$Backups$Setiampolicy,
|
|
6198
6331
|
options: StreamMethodOptions
|
|
6199
|
-
):
|
|
6332
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6200
6333
|
setIamPolicy(
|
|
6201
6334
|
params?: Params$Resource$Projects$Instances$Backups$Setiampolicy,
|
|
6202
6335
|
options?: MethodOptions
|
|
6203
|
-
):
|
|
6336
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
6204
6337
|
setIamPolicy(
|
|
6205
6338
|
params: Params$Resource$Projects$Instances$Backups$Setiampolicy,
|
|
6206
6339
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6229,7 +6362,10 @@ export namespace spanner_v1 {
|
|
|
6229
6362
|
callback?:
|
|
6230
6363
|
| BodyResponseCallback<Schema$Policy>
|
|
6231
6364
|
| BodyResponseCallback<Readable>
|
|
6232
|
-
):
|
|
6365
|
+
):
|
|
6366
|
+
| void
|
|
6367
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
6368
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6233
6369
|
let params = (paramsOrCallback ||
|
|
6234
6370
|
{}) as Params$Resource$Projects$Instances$Backups$Setiampolicy;
|
|
6235
6371
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6284,11 +6420,11 @@ export namespace spanner_v1 {
|
|
|
6284
6420
|
testIamPermissions(
|
|
6285
6421
|
params: Params$Resource$Projects$Instances$Backups$Testiampermissions,
|
|
6286
6422
|
options: StreamMethodOptions
|
|
6287
|
-
):
|
|
6423
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6288
6424
|
testIamPermissions(
|
|
6289
6425
|
params?: Params$Resource$Projects$Instances$Backups$Testiampermissions,
|
|
6290
6426
|
options?: MethodOptions
|
|
6291
|
-
):
|
|
6427
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
6292
6428
|
testIamPermissions(
|
|
6293
6429
|
params: Params$Resource$Projects$Instances$Backups$Testiampermissions,
|
|
6294
6430
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6323,8 +6459,8 @@ export namespace spanner_v1 {
|
|
|
6323
6459
|
| BodyResponseCallback<Readable>
|
|
6324
6460
|
):
|
|
6325
6461
|
| void
|
|
6326
|
-
|
|
|
6327
|
-
|
|
|
6462
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
|
|
6463
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6328
6464
|
let params = (paramsOrCallback ||
|
|
6329
6465
|
{}) as Params$Resource$Projects$Instances$Backups$Testiampermissions;
|
|
6330
6466
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6513,11 +6649,11 @@ export namespace spanner_v1 {
|
|
|
6513
6649
|
cancel(
|
|
6514
6650
|
params: Params$Resource$Projects$Instances$Backups$Operations$Cancel,
|
|
6515
6651
|
options: StreamMethodOptions
|
|
6516
|
-
):
|
|
6652
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6517
6653
|
cancel(
|
|
6518
6654
|
params?: Params$Resource$Projects$Instances$Backups$Operations$Cancel,
|
|
6519
6655
|
options?: MethodOptions
|
|
6520
|
-
):
|
|
6656
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
6521
6657
|
cancel(
|
|
6522
6658
|
params: Params$Resource$Projects$Instances$Backups$Operations$Cancel,
|
|
6523
6659
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6546,7 +6682,10 @@ export namespace spanner_v1 {
|
|
|
6546
6682
|
callback?:
|
|
6547
6683
|
| BodyResponseCallback<Schema$Empty>
|
|
6548
6684
|
| BodyResponseCallback<Readable>
|
|
6549
|
-
):
|
|
6685
|
+
):
|
|
6686
|
+
| void
|
|
6687
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
6688
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6550
6689
|
let params = (paramsOrCallback ||
|
|
6551
6690
|
{}) as Params$Resource$Projects$Instances$Backups$Operations$Cancel;
|
|
6552
6691
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6599,11 +6738,11 @@ export namespace spanner_v1 {
|
|
|
6599
6738
|
delete(
|
|
6600
6739
|
params: Params$Resource$Projects$Instances$Backups$Operations$Delete,
|
|
6601
6740
|
options: StreamMethodOptions
|
|
6602
|
-
):
|
|
6741
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6603
6742
|
delete(
|
|
6604
6743
|
params?: Params$Resource$Projects$Instances$Backups$Operations$Delete,
|
|
6605
6744
|
options?: MethodOptions
|
|
6606
|
-
):
|
|
6745
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
6607
6746
|
delete(
|
|
6608
6747
|
params: Params$Resource$Projects$Instances$Backups$Operations$Delete,
|
|
6609
6748
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6632,7 +6771,10 @@ export namespace spanner_v1 {
|
|
|
6632
6771
|
callback?:
|
|
6633
6772
|
| BodyResponseCallback<Schema$Empty>
|
|
6634
6773
|
| BodyResponseCallback<Readable>
|
|
6635
|
-
):
|
|
6774
|
+
):
|
|
6775
|
+
| void
|
|
6776
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
6777
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6636
6778
|
let params = (paramsOrCallback ||
|
|
6637
6779
|
{}) as Params$Resource$Projects$Instances$Backups$Operations$Delete;
|
|
6638
6780
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6685,11 +6827,11 @@ export namespace spanner_v1 {
|
|
|
6685
6827
|
get(
|
|
6686
6828
|
params: Params$Resource$Projects$Instances$Backups$Operations$Get,
|
|
6687
6829
|
options: StreamMethodOptions
|
|
6688
|
-
):
|
|
6830
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6689
6831
|
get(
|
|
6690
6832
|
params?: Params$Resource$Projects$Instances$Backups$Operations$Get,
|
|
6691
6833
|
options?: MethodOptions
|
|
6692
|
-
):
|
|
6834
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
6693
6835
|
get(
|
|
6694
6836
|
params: Params$Resource$Projects$Instances$Backups$Operations$Get,
|
|
6695
6837
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6718,7 +6860,10 @@ export namespace spanner_v1 {
|
|
|
6718
6860
|
callback?:
|
|
6719
6861
|
| BodyResponseCallback<Schema$Operation>
|
|
6720
6862
|
| BodyResponseCallback<Readable>
|
|
6721
|
-
):
|
|
6863
|
+
):
|
|
6864
|
+
| void
|
|
6865
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
6866
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6722
6867
|
let params = (paramsOrCallback ||
|
|
6723
6868
|
{}) as Params$Resource$Projects$Instances$Backups$Operations$Get;
|
|
6724
6869
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6771,11 +6916,11 @@ export namespace spanner_v1 {
|
|
|
6771
6916
|
list(
|
|
6772
6917
|
params: Params$Resource$Projects$Instances$Backups$Operations$List,
|
|
6773
6918
|
options: StreamMethodOptions
|
|
6774
|
-
):
|
|
6919
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6775
6920
|
list(
|
|
6776
6921
|
params?: Params$Resource$Projects$Instances$Backups$Operations$List,
|
|
6777
6922
|
options?: MethodOptions
|
|
6778
|
-
):
|
|
6923
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
6779
6924
|
list(
|
|
6780
6925
|
params: Params$Resource$Projects$Instances$Backups$Operations$List,
|
|
6781
6926
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6808,8 +6953,8 @@ export namespace spanner_v1 {
|
|
|
6808
6953
|
| BodyResponseCallback<Readable>
|
|
6809
6954
|
):
|
|
6810
6955
|
| void
|
|
6811
|
-
|
|
|
6812
|
-
|
|
|
6956
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
6957
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6813
6958
|
let params = (paramsOrCallback ||
|
|
6814
6959
|
{}) as Params$Resource$Projects$Instances$Backups$Operations$List;
|
|
6815
6960
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6910,11 +7055,11 @@ export namespace spanner_v1 {
|
|
|
6910
7055
|
list(
|
|
6911
7056
|
params: Params$Resource$Projects$Instances$Databaseoperations$List,
|
|
6912
7057
|
options: StreamMethodOptions
|
|
6913
|
-
):
|
|
7058
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6914
7059
|
list(
|
|
6915
7060
|
params?: Params$Resource$Projects$Instances$Databaseoperations$List,
|
|
6916
7061
|
options?: MethodOptions
|
|
6917
|
-
):
|
|
7062
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseOperationsResponse>>;
|
|
6918
7063
|
list(
|
|
6919
7064
|
params: Params$Resource$Projects$Instances$Databaseoperations$List,
|
|
6920
7065
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6949,8 +7094,8 @@ export namespace spanner_v1 {
|
|
|
6949
7094
|
| BodyResponseCallback<Readable>
|
|
6950
7095
|
):
|
|
6951
7096
|
| void
|
|
6952
|
-
|
|
|
6953
|
-
|
|
|
7097
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseOperationsResponse>>
|
|
7098
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6954
7099
|
let params = (paramsOrCallback ||
|
|
6955
7100
|
{}) as Params$Resource$Projects$Instances$Databaseoperations$List;
|
|
6956
7101
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7049,11 +7194,11 @@ export namespace spanner_v1 {
|
|
|
7049
7194
|
addSplitPoints(
|
|
7050
7195
|
params: Params$Resource$Projects$Instances$Databases$Addsplitpoints,
|
|
7051
7196
|
options: StreamMethodOptions
|
|
7052
|
-
):
|
|
7197
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7053
7198
|
addSplitPoints(
|
|
7054
7199
|
params?: Params$Resource$Projects$Instances$Databases$Addsplitpoints,
|
|
7055
7200
|
options?: MethodOptions
|
|
7056
|
-
):
|
|
7201
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AddSplitPointsResponse>>;
|
|
7057
7202
|
addSplitPoints(
|
|
7058
7203
|
params: Params$Resource$Projects$Instances$Databases$Addsplitpoints,
|
|
7059
7204
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7088,8 +7233,8 @@ export namespace spanner_v1 {
|
|
|
7088
7233
|
| BodyResponseCallback<Readable>
|
|
7089
7234
|
):
|
|
7090
7235
|
| void
|
|
7091
|
-
|
|
|
7092
|
-
|
|
|
7236
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AddSplitPointsResponse>>
|
|
7237
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7093
7238
|
let params = (paramsOrCallback ||
|
|
7094
7239
|
{}) as Params$Resource$Projects$Instances$Databases$Addsplitpoints;
|
|
7095
7240
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7145,11 +7290,11 @@ export namespace spanner_v1 {
|
|
|
7145
7290
|
changequorum(
|
|
7146
7291
|
params: Params$Resource$Projects$Instances$Databases$Changequorum,
|
|
7147
7292
|
options: StreamMethodOptions
|
|
7148
|
-
):
|
|
7293
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7149
7294
|
changequorum(
|
|
7150
7295
|
params?: Params$Resource$Projects$Instances$Databases$Changequorum,
|
|
7151
7296
|
options?: MethodOptions
|
|
7152
|
-
):
|
|
7297
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
7153
7298
|
changequorum(
|
|
7154
7299
|
params: Params$Resource$Projects$Instances$Databases$Changequorum,
|
|
7155
7300
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7178,7 +7323,10 @@ export namespace spanner_v1 {
|
|
|
7178
7323
|
callback?:
|
|
7179
7324
|
| BodyResponseCallback<Schema$Operation>
|
|
7180
7325
|
| BodyResponseCallback<Readable>
|
|
7181
|
-
):
|
|
7326
|
+
):
|
|
7327
|
+
| void
|
|
7328
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
7329
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7182
7330
|
let params = (paramsOrCallback ||
|
|
7183
7331
|
{}) as Params$Resource$Projects$Instances$Databases$Changequorum;
|
|
7184
7332
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7234,11 +7382,11 @@ export namespace spanner_v1 {
|
|
|
7234
7382
|
create(
|
|
7235
7383
|
params: Params$Resource$Projects$Instances$Databases$Create,
|
|
7236
7384
|
options: StreamMethodOptions
|
|
7237
|
-
):
|
|
7385
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7238
7386
|
create(
|
|
7239
7387
|
params?: Params$Resource$Projects$Instances$Databases$Create,
|
|
7240
7388
|
options?: MethodOptions
|
|
7241
|
-
):
|
|
7389
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
7242
7390
|
create(
|
|
7243
7391
|
params: Params$Resource$Projects$Instances$Databases$Create,
|
|
7244
7392
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7267,7 +7415,10 @@ export namespace spanner_v1 {
|
|
|
7267
7415
|
callback?:
|
|
7268
7416
|
| BodyResponseCallback<Schema$Operation>
|
|
7269
7417
|
| BodyResponseCallback<Readable>
|
|
7270
|
-
):
|
|
7418
|
+
):
|
|
7419
|
+
| void
|
|
7420
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
7421
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7271
7422
|
let params = (paramsOrCallback ||
|
|
7272
7423
|
{}) as Params$Resource$Projects$Instances$Databases$Create;
|
|
7273
7424
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7322,11 +7473,11 @@ export namespace spanner_v1 {
|
|
|
7322
7473
|
dropDatabase(
|
|
7323
7474
|
params: Params$Resource$Projects$Instances$Databases$Dropdatabase,
|
|
7324
7475
|
options: StreamMethodOptions
|
|
7325
|
-
):
|
|
7476
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7326
7477
|
dropDatabase(
|
|
7327
7478
|
params?: Params$Resource$Projects$Instances$Databases$Dropdatabase,
|
|
7328
7479
|
options?: MethodOptions
|
|
7329
|
-
):
|
|
7480
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
7330
7481
|
dropDatabase(
|
|
7331
7482
|
params: Params$Resource$Projects$Instances$Databases$Dropdatabase,
|
|
7332
7483
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7355,7 +7506,10 @@ export namespace spanner_v1 {
|
|
|
7355
7506
|
callback?:
|
|
7356
7507
|
| BodyResponseCallback<Schema$Empty>
|
|
7357
7508
|
| BodyResponseCallback<Readable>
|
|
7358
|
-
):
|
|
7509
|
+
):
|
|
7510
|
+
| void
|
|
7511
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
7512
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7359
7513
|
let params = (paramsOrCallback ||
|
|
7360
7514
|
{}) as Params$Resource$Projects$Instances$Databases$Dropdatabase;
|
|
7361
7515
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7408,11 +7562,11 @@ export namespace spanner_v1 {
|
|
|
7408
7562
|
get(
|
|
7409
7563
|
params: Params$Resource$Projects$Instances$Databases$Get,
|
|
7410
7564
|
options: StreamMethodOptions
|
|
7411
|
-
):
|
|
7565
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7412
7566
|
get(
|
|
7413
7567
|
params?: Params$Resource$Projects$Instances$Databases$Get,
|
|
7414
7568
|
options?: MethodOptions
|
|
7415
|
-
):
|
|
7569
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Database>>;
|
|
7416
7570
|
get(
|
|
7417
7571
|
params: Params$Resource$Projects$Instances$Databases$Get,
|
|
7418
7572
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7441,7 +7595,10 @@ export namespace spanner_v1 {
|
|
|
7441
7595
|
callback?:
|
|
7442
7596
|
| BodyResponseCallback<Schema$Database>
|
|
7443
7597
|
| BodyResponseCallback<Readable>
|
|
7444
|
-
):
|
|
7598
|
+
):
|
|
7599
|
+
| void
|
|
7600
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Database>>
|
|
7601
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7445
7602
|
let params = (paramsOrCallback ||
|
|
7446
7603
|
{}) as Params$Resource$Projects$Instances$Databases$Get;
|
|
7447
7604
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7493,11 +7650,11 @@ export namespace spanner_v1 {
|
|
|
7493
7650
|
getDdl(
|
|
7494
7651
|
params: Params$Resource$Projects$Instances$Databases$Getddl,
|
|
7495
7652
|
options: StreamMethodOptions
|
|
7496
|
-
):
|
|
7653
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7497
7654
|
getDdl(
|
|
7498
7655
|
params?: Params$Resource$Projects$Instances$Databases$Getddl,
|
|
7499
7656
|
options?: MethodOptions
|
|
7500
|
-
):
|
|
7657
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$GetDatabaseDdlResponse>>;
|
|
7501
7658
|
getDdl(
|
|
7502
7659
|
params: Params$Resource$Projects$Instances$Databases$Getddl,
|
|
7503
7660
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7530,8 +7687,8 @@ export namespace spanner_v1 {
|
|
|
7530
7687
|
| BodyResponseCallback<Readable>
|
|
7531
7688
|
):
|
|
7532
7689
|
| void
|
|
7533
|
-
|
|
|
7534
|
-
|
|
|
7690
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$GetDatabaseDdlResponse>>
|
|
7691
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7535
7692
|
let params = (paramsOrCallback ||
|
|
7536
7693
|
{}) as Params$Resource$Projects$Instances$Databases$Getddl;
|
|
7537
7694
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7586,11 +7743,11 @@ export namespace spanner_v1 {
|
|
|
7586
7743
|
getIamPolicy(
|
|
7587
7744
|
params: Params$Resource$Projects$Instances$Databases$Getiampolicy,
|
|
7588
7745
|
options: StreamMethodOptions
|
|
7589
|
-
):
|
|
7746
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7590
7747
|
getIamPolicy(
|
|
7591
7748
|
params?: Params$Resource$Projects$Instances$Databases$Getiampolicy,
|
|
7592
7749
|
options?: MethodOptions
|
|
7593
|
-
):
|
|
7750
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
7594
7751
|
getIamPolicy(
|
|
7595
7752
|
params: Params$Resource$Projects$Instances$Databases$Getiampolicy,
|
|
7596
7753
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7619,7 +7776,10 @@ export namespace spanner_v1 {
|
|
|
7619
7776
|
callback?:
|
|
7620
7777
|
| BodyResponseCallback<Schema$Policy>
|
|
7621
7778
|
| BodyResponseCallback<Readable>
|
|
7622
|
-
):
|
|
7779
|
+
):
|
|
7780
|
+
| void
|
|
7781
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
7782
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7623
7783
|
let params = (paramsOrCallback ||
|
|
7624
7784
|
{}) as Params$Resource$Projects$Instances$Databases$Getiampolicy;
|
|
7625
7785
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7675,11 +7835,11 @@ export namespace spanner_v1 {
|
|
|
7675
7835
|
getScans(
|
|
7676
7836
|
params: Params$Resource$Projects$Instances$Databases$Getscans,
|
|
7677
7837
|
options: StreamMethodOptions
|
|
7678
|
-
):
|
|
7838
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7679
7839
|
getScans(
|
|
7680
7840
|
params?: Params$Resource$Projects$Instances$Databases$Getscans,
|
|
7681
7841
|
options?: MethodOptions
|
|
7682
|
-
):
|
|
7842
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Scan>>;
|
|
7683
7843
|
getScans(
|
|
7684
7844
|
params: Params$Resource$Projects$Instances$Databases$Getscans,
|
|
7685
7845
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7708,7 +7868,10 @@ export namespace spanner_v1 {
|
|
|
7708
7868
|
callback?:
|
|
7709
7869
|
| BodyResponseCallback<Schema$Scan>
|
|
7710
7870
|
| BodyResponseCallback<Readable>
|
|
7711
|
-
):
|
|
7871
|
+
):
|
|
7872
|
+
| void
|
|
7873
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Scan>>
|
|
7874
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7712
7875
|
let params = (paramsOrCallback ||
|
|
7713
7876
|
{}) as Params$Resource$Projects$Instances$Databases$Getscans;
|
|
7714
7877
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7760,11 +7923,11 @@ export namespace spanner_v1 {
|
|
|
7760
7923
|
list(
|
|
7761
7924
|
params: Params$Resource$Projects$Instances$Databases$List,
|
|
7762
7925
|
options: StreamMethodOptions
|
|
7763
|
-
):
|
|
7926
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7764
7927
|
list(
|
|
7765
7928
|
params?: Params$Resource$Projects$Instances$Databases$List,
|
|
7766
7929
|
options?: MethodOptions
|
|
7767
|
-
):
|
|
7930
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabasesResponse>>;
|
|
7768
7931
|
list(
|
|
7769
7932
|
params: Params$Resource$Projects$Instances$Databases$List,
|
|
7770
7933
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7797,8 +7960,8 @@ export namespace spanner_v1 {
|
|
|
7797
7960
|
| BodyResponseCallback<Readable>
|
|
7798
7961
|
):
|
|
7799
7962
|
| void
|
|
7800
|
-
|
|
|
7801
|
-
|
|
|
7963
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListDatabasesResponse>>
|
|
7964
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7802
7965
|
let params = (paramsOrCallback ||
|
|
7803
7966
|
{}) as Params$Resource$Projects$Instances$Databases$List;
|
|
7804
7967
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7853,11 +8016,11 @@ export namespace spanner_v1 {
|
|
|
7853
8016
|
patch(
|
|
7854
8017
|
params: Params$Resource$Projects$Instances$Databases$Patch,
|
|
7855
8018
|
options: StreamMethodOptions
|
|
7856
|
-
):
|
|
8019
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7857
8020
|
patch(
|
|
7858
8021
|
params?: Params$Resource$Projects$Instances$Databases$Patch,
|
|
7859
8022
|
options?: MethodOptions
|
|
7860
|
-
):
|
|
8023
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
7861
8024
|
patch(
|
|
7862
8025
|
params: Params$Resource$Projects$Instances$Databases$Patch,
|
|
7863
8026
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7886,7 +8049,10 @@ export namespace spanner_v1 {
|
|
|
7886
8049
|
callback?:
|
|
7887
8050
|
| BodyResponseCallback<Schema$Operation>
|
|
7888
8051
|
| BodyResponseCallback<Readable>
|
|
7889
|
-
):
|
|
8052
|
+
):
|
|
8053
|
+
| void
|
|
8054
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
8055
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7890
8056
|
let params = (paramsOrCallback ||
|
|
7891
8057
|
{}) as Params$Resource$Projects$Instances$Databases$Patch;
|
|
7892
8058
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -7938,11 +8104,11 @@ export namespace spanner_v1 {
|
|
|
7938
8104
|
restore(
|
|
7939
8105
|
params: Params$Resource$Projects$Instances$Databases$Restore,
|
|
7940
8106
|
options: StreamMethodOptions
|
|
7941
|
-
):
|
|
8107
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7942
8108
|
restore(
|
|
7943
8109
|
params?: Params$Resource$Projects$Instances$Databases$Restore,
|
|
7944
8110
|
options?: MethodOptions
|
|
7945
|
-
):
|
|
8111
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
7946
8112
|
restore(
|
|
7947
8113
|
params: Params$Resource$Projects$Instances$Databases$Restore,
|
|
7948
8114
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -7971,7 +8137,10 @@ export namespace spanner_v1 {
|
|
|
7971
8137
|
callback?:
|
|
7972
8138
|
| BodyResponseCallback<Schema$Operation>
|
|
7973
8139
|
| BodyResponseCallback<Readable>
|
|
7974
|
-
):
|
|
8140
|
+
):
|
|
8141
|
+
| void
|
|
8142
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
8143
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
7975
8144
|
let params = (paramsOrCallback ||
|
|
7976
8145
|
{}) as Params$Resource$Projects$Instances$Databases$Restore;
|
|
7977
8146
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8026,11 +8195,11 @@ export namespace spanner_v1 {
|
|
|
8026
8195
|
setIamPolicy(
|
|
8027
8196
|
params: Params$Resource$Projects$Instances$Databases$Setiampolicy,
|
|
8028
8197
|
options: StreamMethodOptions
|
|
8029
|
-
):
|
|
8198
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8030
8199
|
setIamPolicy(
|
|
8031
8200
|
params?: Params$Resource$Projects$Instances$Databases$Setiampolicy,
|
|
8032
8201
|
options?: MethodOptions
|
|
8033
|
-
):
|
|
8202
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
8034
8203
|
setIamPolicy(
|
|
8035
8204
|
params: Params$Resource$Projects$Instances$Databases$Setiampolicy,
|
|
8036
8205
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8059,7 +8228,10 @@ export namespace spanner_v1 {
|
|
|
8059
8228
|
callback?:
|
|
8060
8229
|
| BodyResponseCallback<Schema$Policy>
|
|
8061
8230
|
| BodyResponseCallback<Readable>
|
|
8062
|
-
):
|
|
8231
|
+
):
|
|
8232
|
+
| void
|
|
8233
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
8234
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8063
8235
|
let params = (paramsOrCallback ||
|
|
8064
8236
|
{}) as Params$Resource$Projects$Instances$Databases$Setiampolicy;
|
|
8065
8237
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8115,11 +8287,11 @@ export namespace spanner_v1 {
|
|
|
8115
8287
|
testIamPermissions(
|
|
8116
8288
|
params: Params$Resource$Projects$Instances$Databases$Testiampermissions,
|
|
8117
8289
|
options: StreamMethodOptions
|
|
8118
|
-
):
|
|
8290
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8119
8291
|
testIamPermissions(
|
|
8120
8292
|
params?: Params$Resource$Projects$Instances$Databases$Testiampermissions,
|
|
8121
8293
|
options?: MethodOptions
|
|
8122
|
-
):
|
|
8294
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
8123
8295
|
testIamPermissions(
|
|
8124
8296
|
params: Params$Resource$Projects$Instances$Databases$Testiampermissions,
|
|
8125
8297
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8154,8 +8326,8 @@ export namespace spanner_v1 {
|
|
|
8154
8326
|
| BodyResponseCallback<Readable>
|
|
8155
8327
|
):
|
|
8156
8328
|
| void
|
|
8157
|
-
|
|
|
8158
|
-
|
|
|
8329
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
|
|
8330
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8159
8331
|
let params = (paramsOrCallback ||
|
|
8160
8332
|
{}) as Params$Resource$Projects$Instances$Databases$Testiampermissions;
|
|
8161
8333
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8211,11 +8383,11 @@ export namespace spanner_v1 {
|
|
|
8211
8383
|
updateDdl(
|
|
8212
8384
|
params: Params$Resource$Projects$Instances$Databases$Updateddl,
|
|
8213
8385
|
options: StreamMethodOptions
|
|
8214
|
-
):
|
|
8386
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8215
8387
|
updateDdl(
|
|
8216
8388
|
params?: Params$Resource$Projects$Instances$Databases$Updateddl,
|
|
8217
8389
|
options?: MethodOptions
|
|
8218
|
-
):
|
|
8390
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
8219
8391
|
updateDdl(
|
|
8220
8392
|
params: Params$Resource$Projects$Instances$Databases$Updateddl,
|
|
8221
8393
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8244,7 +8416,10 @@ export namespace spanner_v1 {
|
|
|
8244
8416
|
callback?:
|
|
8245
8417
|
| BodyResponseCallback<Schema$Operation>
|
|
8246
8418
|
| BodyResponseCallback<Readable>
|
|
8247
|
-
):
|
|
8419
|
+
):
|
|
8420
|
+
| void
|
|
8421
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
8422
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8248
8423
|
let params = (paramsOrCallback ||
|
|
8249
8424
|
{}) as Params$Resource$Projects$Instances$Databases$Updateddl;
|
|
8250
8425
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8474,11 +8649,11 @@ export namespace spanner_v1 {
|
|
|
8474
8649
|
create(
|
|
8475
8650
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create,
|
|
8476
8651
|
options: StreamMethodOptions
|
|
8477
|
-
):
|
|
8652
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8478
8653
|
create(
|
|
8479
8654
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Create,
|
|
8480
8655
|
options?: MethodOptions
|
|
8481
|
-
):
|
|
8656
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
|
|
8482
8657
|
create(
|
|
8483
8658
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create,
|
|
8484
8659
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8507,7 +8682,10 @@ export namespace spanner_v1 {
|
|
|
8507
8682
|
callback?:
|
|
8508
8683
|
| BodyResponseCallback<Schema$BackupSchedule>
|
|
8509
8684
|
| BodyResponseCallback<Readable>
|
|
8510
|
-
):
|
|
8685
|
+
):
|
|
8686
|
+
| void
|
|
8687
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>
|
|
8688
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8511
8689
|
let params = (paramsOrCallback ||
|
|
8512
8690
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Create;
|
|
8513
8691
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8563,11 +8741,11 @@ export namespace spanner_v1 {
|
|
|
8563
8741
|
delete(
|
|
8564
8742
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete,
|
|
8565
8743
|
options: StreamMethodOptions
|
|
8566
|
-
):
|
|
8744
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8567
8745
|
delete(
|
|
8568
8746
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete,
|
|
8569
8747
|
options?: MethodOptions
|
|
8570
|
-
):
|
|
8748
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
8571
8749
|
delete(
|
|
8572
8750
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete,
|
|
8573
8751
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8596,7 +8774,10 @@ export namespace spanner_v1 {
|
|
|
8596
8774
|
callback?:
|
|
8597
8775
|
| BodyResponseCallback<Schema$Empty>
|
|
8598
8776
|
| BodyResponseCallback<Readable>
|
|
8599
|
-
):
|
|
8777
|
+
):
|
|
8778
|
+
| void
|
|
8779
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
8780
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8600
8781
|
let params = (paramsOrCallback ||
|
|
8601
8782
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Delete;
|
|
8602
8783
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8649,11 +8830,11 @@ export namespace spanner_v1 {
|
|
|
8649
8830
|
get(
|
|
8650
8831
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get,
|
|
8651
8832
|
options: StreamMethodOptions
|
|
8652
|
-
):
|
|
8833
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8653
8834
|
get(
|
|
8654
8835
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Get,
|
|
8655
8836
|
options?: MethodOptions
|
|
8656
|
-
):
|
|
8837
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
|
|
8657
8838
|
get(
|
|
8658
8839
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get,
|
|
8659
8840
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8682,7 +8863,10 @@ export namespace spanner_v1 {
|
|
|
8682
8863
|
callback?:
|
|
8683
8864
|
| BodyResponseCallback<Schema$BackupSchedule>
|
|
8684
8865
|
| BodyResponseCallback<Readable>
|
|
8685
|
-
):
|
|
8866
|
+
):
|
|
8867
|
+
| void
|
|
8868
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>
|
|
8869
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8686
8870
|
let params = (paramsOrCallback ||
|
|
8687
8871
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Get;
|
|
8688
8872
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8735,11 +8919,11 @@ export namespace spanner_v1 {
|
|
|
8735
8919
|
getIamPolicy(
|
|
8736
8920
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy,
|
|
8737
8921
|
options: StreamMethodOptions
|
|
8738
|
-
):
|
|
8922
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8739
8923
|
getIamPolicy(
|
|
8740
8924
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy,
|
|
8741
8925
|
options?: MethodOptions
|
|
8742
|
-
):
|
|
8926
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
8743
8927
|
getIamPolicy(
|
|
8744
8928
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy,
|
|
8745
8929
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8768,7 +8952,10 @@ export namespace spanner_v1 {
|
|
|
8768
8952
|
callback?:
|
|
8769
8953
|
| BodyResponseCallback<Schema$Policy>
|
|
8770
8954
|
| BodyResponseCallback<Readable>
|
|
8771
|
-
):
|
|
8955
|
+
):
|
|
8956
|
+
| void
|
|
8957
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
8958
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8772
8959
|
let params = (paramsOrCallback ||
|
|
8773
8960
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy;
|
|
8774
8961
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8824,11 +9011,11 @@ export namespace spanner_v1 {
|
|
|
8824
9011
|
list(
|
|
8825
9012
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$List,
|
|
8826
9013
|
options: StreamMethodOptions
|
|
8827
|
-
):
|
|
9014
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8828
9015
|
list(
|
|
8829
9016
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$List,
|
|
8830
9017
|
options?: MethodOptions
|
|
8831
|
-
):
|
|
9018
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupSchedulesResponse>>;
|
|
8832
9019
|
list(
|
|
8833
9020
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$List,
|
|
8834
9021
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8863,8 +9050,8 @@ export namespace spanner_v1 {
|
|
|
8863
9050
|
| BodyResponseCallback<Readable>
|
|
8864
9051
|
):
|
|
8865
9052
|
| void
|
|
8866
|
-
|
|
|
8867
|
-
|
|
|
9053
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListBackupSchedulesResponse>>
|
|
9054
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8868
9055
|
let params = (paramsOrCallback ||
|
|
8869
9056
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$List;
|
|
8870
9057
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -8920,11 +9107,11 @@ export namespace spanner_v1 {
|
|
|
8920
9107
|
patch(
|
|
8921
9108
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch,
|
|
8922
9109
|
options: StreamMethodOptions
|
|
8923
|
-
):
|
|
9110
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
8924
9111
|
patch(
|
|
8925
9112
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch,
|
|
8926
9113
|
options?: MethodOptions
|
|
8927
|
-
):
|
|
9114
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
|
|
8928
9115
|
patch(
|
|
8929
9116
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch,
|
|
8930
9117
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -8953,7 +9140,10 @@ export namespace spanner_v1 {
|
|
|
8953
9140
|
callback?:
|
|
8954
9141
|
| BodyResponseCallback<Schema$BackupSchedule>
|
|
8955
9142
|
| BodyResponseCallback<Readable>
|
|
8956
|
-
):
|
|
9143
|
+
):
|
|
9144
|
+
| void
|
|
9145
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>
|
|
9146
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
8957
9147
|
let params = (paramsOrCallback ||
|
|
8958
9148
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Patch;
|
|
8959
9149
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9006,11 +9196,11 @@ export namespace spanner_v1 {
|
|
|
9006
9196
|
setIamPolicy(
|
|
9007
9197
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy,
|
|
9008
9198
|
options: StreamMethodOptions
|
|
9009
|
-
):
|
|
9199
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9010
9200
|
setIamPolicy(
|
|
9011
9201
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy,
|
|
9012
9202
|
options?: MethodOptions
|
|
9013
|
-
):
|
|
9203
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
9014
9204
|
setIamPolicy(
|
|
9015
9205
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy,
|
|
9016
9206
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9039,7 +9229,10 @@ export namespace spanner_v1 {
|
|
|
9039
9229
|
callback?:
|
|
9040
9230
|
| BodyResponseCallback<Schema$Policy>
|
|
9041
9231
|
| BodyResponseCallback<Readable>
|
|
9042
|
-
):
|
|
9232
|
+
):
|
|
9233
|
+
| void
|
|
9234
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Policy>>
|
|
9235
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9043
9236
|
let params = (paramsOrCallback ||
|
|
9044
9237
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy;
|
|
9045
9238
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9095,11 +9288,11 @@ export namespace spanner_v1 {
|
|
|
9095
9288
|
testIamPermissions(
|
|
9096
9289
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions,
|
|
9097
9290
|
options: StreamMethodOptions
|
|
9098
|
-
):
|
|
9291
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9099
9292
|
testIamPermissions(
|
|
9100
9293
|
params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions,
|
|
9101
9294
|
options?: MethodOptions
|
|
9102
|
-
):
|
|
9295
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
9103
9296
|
testIamPermissions(
|
|
9104
9297
|
params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions,
|
|
9105
9298
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9134,8 +9327,8 @@ export namespace spanner_v1 {
|
|
|
9134
9327
|
| BodyResponseCallback<Readable>
|
|
9135
9328
|
):
|
|
9136
9329
|
| void
|
|
9137
|
-
|
|
|
9138
|
-
|
|
|
9330
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
|
|
9331
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9139
9332
|
let params = (paramsOrCallback ||
|
|
9140
9333
|
{}) as Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions;
|
|
9141
9334
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9296,11 +9489,11 @@ export namespace spanner_v1 {
|
|
|
9296
9489
|
list(
|
|
9297
9490
|
params: Params$Resource$Projects$Instances$Databases$Databaseroles$List,
|
|
9298
9491
|
options: StreamMethodOptions
|
|
9299
|
-
):
|
|
9492
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9300
9493
|
list(
|
|
9301
9494
|
params?: Params$Resource$Projects$Instances$Databases$Databaseroles$List,
|
|
9302
9495
|
options?: MethodOptions
|
|
9303
|
-
):
|
|
9496
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseRolesResponse>>;
|
|
9304
9497
|
list(
|
|
9305
9498
|
params: Params$Resource$Projects$Instances$Databases$Databaseroles$List,
|
|
9306
9499
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9335,8 +9528,8 @@ export namespace spanner_v1 {
|
|
|
9335
9528
|
| BodyResponseCallback<Readable>
|
|
9336
9529
|
):
|
|
9337
9530
|
| void
|
|
9338
|
-
|
|
|
9339
|
-
|
|
|
9531
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseRolesResponse>>
|
|
9532
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9340
9533
|
let params = (paramsOrCallback ||
|
|
9341
9534
|
{}) as Params$Resource$Projects$Instances$Databases$Databaseroles$List;
|
|
9342
9535
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9392,11 +9585,11 @@ export namespace spanner_v1 {
|
|
|
9392
9585
|
testIamPermissions(
|
|
9393
9586
|
params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions,
|
|
9394
9587
|
options: StreamMethodOptions
|
|
9395
|
-
):
|
|
9588
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9396
9589
|
testIamPermissions(
|
|
9397
9590
|
params?: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions,
|
|
9398
9591
|
options?: MethodOptions
|
|
9399
|
-
):
|
|
9592
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
9400
9593
|
testIamPermissions(
|
|
9401
9594
|
params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions,
|
|
9402
9595
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9431,8 +9624,8 @@ export namespace spanner_v1 {
|
|
|
9431
9624
|
| BodyResponseCallback<Readable>
|
|
9432
9625
|
):
|
|
9433
9626
|
| void
|
|
9434
|
-
|
|
|
9435
|
-
|
|
|
9627
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>
|
|
9628
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9436
9629
|
let params = (paramsOrCallback ||
|
|
9437
9630
|
{}) as Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions;
|
|
9438
9631
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9523,11 +9716,11 @@ export namespace spanner_v1 {
|
|
|
9523
9716
|
cancel(
|
|
9524
9717
|
params: Params$Resource$Projects$Instances$Databases$Operations$Cancel,
|
|
9525
9718
|
options: StreamMethodOptions
|
|
9526
|
-
):
|
|
9719
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9527
9720
|
cancel(
|
|
9528
9721
|
params?: Params$Resource$Projects$Instances$Databases$Operations$Cancel,
|
|
9529
9722
|
options?: MethodOptions
|
|
9530
|
-
):
|
|
9723
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
9531
9724
|
cancel(
|
|
9532
9725
|
params: Params$Resource$Projects$Instances$Databases$Operations$Cancel,
|
|
9533
9726
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9556,7 +9749,10 @@ export namespace spanner_v1 {
|
|
|
9556
9749
|
callback?:
|
|
9557
9750
|
| BodyResponseCallback<Schema$Empty>
|
|
9558
9751
|
| BodyResponseCallback<Readable>
|
|
9559
|
-
):
|
|
9752
|
+
):
|
|
9753
|
+
| void
|
|
9754
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
9755
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9560
9756
|
let params = (paramsOrCallback ||
|
|
9561
9757
|
{}) as Params$Resource$Projects$Instances$Databases$Operations$Cancel;
|
|
9562
9758
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9609,11 +9805,11 @@ export namespace spanner_v1 {
|
|
|
9609
9805
|
delete(
|
|
9610
9806
|
params: Params$Resource$Projects$Instances$Databases$Operations$Delete,
|
|
9611
9807
|
options: StreamMethodOptions
|
|
9612
|
-
):
|
|
9808
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9613
9809
|
delete(
|
|
9614
9810
|
params?: Params$Resource$Projects$Instances$Databases$Operations$Delete,
|
|
9615
9811
|
options?: MethodOptions
|
|
9616
|
-
):
|
|
9812
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
9617
9813
|
delete(
|
|
9618
9814
|
params: Params$Resource$Projects$Instances$Databases$Operations$Delete,
|
|
9619
9815
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9642,7 +9838,10 @@ export namespace spanner_v1 {
|
|
|
9642
9838
|
callback?:
|
|
9643
9839
|
| BodyResponseCallback<Schema$Empty>
|
|
9644
9840
|
| BodyResponseCallback<Readable>
|
|
9645
|
-
):
|
|
9841
|
+
):
|
|
9842
|
+
| void
|
|
9843
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
9844
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9646
9845
|
let params = (paramsOrCallback ||
|
|
9647
9846
|
{}) as Params$Resource$Projects$Instances$Databases$Operations$Delete;
|
|
9648
9847
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9695,11 +9894,11 @@ export namespace spanner_v1 {
|
|
|
9695
9894
|
get(
|
|
9696
9895
|
params: Params$Resource$Projects$Instances$Databases$Operations$Get,
|
|
9697
9896
|
options: StreamMethodOptions
|
|
9698
|
-
):
|
|
9897
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9699
9898
|
get(
|
|
9700
9899
|
params?: Params$Resource$Projects$Instances$Databases$Operations$Get,
|
|
9701
9900
|
options?: MethodOptions
|
|
9702
|
-
):
|
|
9901
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
9703
9902
|
get(
|
|
9704
9903
|
params: Params$Resource$Projects$Instances$Databases$Operations$Get,
|
|
9705
9904
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9728,7 +9927,10 @@ export namespace spanner_v1 {
|
|
|
9728
9927
|
callback?:
|
|
9729
9928
|
| BodyResponseCallback<Schema$Operation>
|
|
9730
9929
|
| BodyResponseCallback<Readable>
|
|
9731
|
-
):
|
|
9930
|
+
):
|
|
9931
|
+
| void
|
|
9932
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
9933
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9732
9934
|
let params = (paramsOrCallback ||
|
|
9733
9935
|
{}) as Params$Resource$Projects$Instances$Databases$Operations$Get;
|
|
9734
9936
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9781,11 +9983,11 @@ export namespace spanner_v1 {
|
|
|
9781
9983
|
list(
|
|
9782
9984
|
params: Params$Resource$Projects$Instances$Databases$Operations$List,
|
|
9783
9985
|
options: StreamMethodOptions
|
|
9784
|
-
):
|
|
9986
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9785
9987
|
list(
|
|
9786
9988
|
params?: Params$Resource$Projects$Instances$Databases$Operations$List,
|
|
9787
9989
|
options?: MethodOptions
|
|
9788
|
-
):
|
|
9990
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
9789
9991
|
list(
|
|
9790
9992
|
params: Params$Resource$Projects$Instances$Databases$Operations$List,
|
|
9791
9993
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9818,8 +10020,8 @@ export namespace spanner_v1 {
|
|
|
9818
10020
|
| BodyResponseCallback<Readable>
|
|
9819
10021
|
):
|
|
9820
10022
|
| void
|
|
9821
|
-
|
|
|
9822
|
-
|
|
|
10023
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
10024
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9823
10025
|
let params = (paramsOrCallback ||
|
|
9824
10026
|
{}) as Params$Resource$Projects$Instances$Databases$Operations$List;
|
|
9825
10027
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -9909,6 +10111,194 @@ export namespace spanner_v1 {
|
|
|
9909
10111
|
this.context = context;
|
|
9910
10112
|
}
|
|
9911
10113
|
|
|
10114
|
+
/**
|
|
10115
|
+
* 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.
|
|
10116
|
+
*
|
|
10117
|
+
* @param params - Parameters for request
|
|
10118
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
10119
|
+
* @param callback - Optional callback that handles the response.
|
|
10120
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
10121
|
+
*/
|
|
10122
|
+
adapter(
|
|
10123
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter,
|
|
10124
|
+
options: StreamMethodOptions
|
|
10125
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10126
|
+
adapter(
|
|
10127
|
+
params?: Params$Resource$Projects$Instances$Databases$Sessions$Adapter,
|
|
10128
|
+
options?: MethodOptions
|
|
10129
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AdapterSession>>;
|
|
10130
|
+
adapter(
|
|
10131
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter,
|
|
10132
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
10133
|
+
callback: BodyResponseCallback<Readable>
|
|
10134
|
+
): void;
|
|
10135
|
+
adapter(
|
|
10136
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter,
|
|
10137
|
+
options: MethodOptions | BodyResponseCallback<Schema$AdapterSession>,
|
|
10138
|
+
callback: BodyResponseCallback<Schema$AdapterSession>
|
|
10139
|
+
): void;
|
|
10140
|
+
adapter(
|
|
10141
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter,
|
|
10142
|
+
callback: BodyResponseCallback<Schema$AdapterSession>
|
|
10143
|
+
): void;
|
|
10144
|
+
adapter(callback: BodyResponseCallback<Schema$AdapterSession>): void;
|
|
10145
|
+
adapter(
|
|
10146
|
+
paramsOrCallback?:
|
|
10147
|
+
| Params$Resource$Projects$Instances$Databases$Sessions$Adapter
|
|
10148
|
+
| BodyResponseCallback<Schema$AdapterSession>
|
|
10149
|
+
| BodyResponseCallback<Readable>,
|
|
10150
|
+
optionsOrCallback?:
|
|
10151
|
+
| MethodOptions
|
|
10152
|
+
| StreamMethodOptions
|
|
10153
|
+
| BodyResponseCallback<Schema$AdapterSession>
|
|
10154
|
+
| BodyResponseCallback<Readable>,
|
|
10155
|
+
callback?:
|
|
10156
|
+
| BodyResponseCallback<Schema$AdapterSession>
|
|
10157
|
+
| BodyResponseCallback<Readable>
|
|
10158
|
+
):
|
|
10159
|
+
| void
|
|
10160
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AdapterSession>>
|
|
10161
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10162
|
+
let params = (paramsOrCallback ||
|
|
10163
|
+
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Adapter;
|
|
10164
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
10165
|
+
|
|
10166
|
+
if (typeof paramsOrCallback === 'function') {
|
|
10167
|
+
callback = paramsOrCallback;
|
|
10168
|
+
params =
|
|
10169
|
+
{} as Params$Resource$Projects$Instances$Databases$Sessions$Adapter;
|
|
10170
|
+
options = {};
|
|
10171
|
+
}
|
|
10172
|
+
|
|
10173
|
+
if (typeof optionsOrCallback === 'function') {
|
|
10174
|
+
callback = optionsOrCallback;
|
|
10175
|
+
options = {};
|
|
10176
|
+
}
|
|
10177
|
+
|
|
10178
|
+
const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';
|
|
10179
|
+
const parameters = {
|
|
10180
|
+
options: Object.assign(
|
|
10181
|
+
{
|
|
10182
|
+
url: (rootUrl + '/v1/{+parent}/sessions:adapter').replace(
|
|
10183
|
+
/([^:]\/)\/+/g,
|
|
10184
|
+
'$1'
|
|
10185
|
+
),
|
|
10186
|
+
method: 'POST',
|
|
10187
|
+
apiVersion: '',
|
|
10188
|
+
},
|
|
10189
|
+
options
|
|
10190
|
+
),
|
|
10191
|
+
params,
|
|
10192
|
+
requiredParams: ['parent'],
|
|
10193
|
+
pathParams: ['parent'],
|
|
10194
|
+
context: this.context,
|
|
10195
|
+
};
|
|
10196
|
+
if (callback) {
|
|
10197
|
+
createAPIRequest<Schema$AdapterSession>(
|
|
10198
|
+
parameters,
|
|
10199
|
+
callback as BodyResponseCallback<unknown>
|
|
10200
|
+
);
|
|
10201
|
+
} else {
|
|
10202
|
+
return createAPIRequest<Schema$AdapterSession>(parameters);
|
|
10203
|
+
}
|
|
10204
|
+
}
|
|
10205
|
+
|
|
10206
|
+
/**
|
|
10207
|
+
* 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.
|
|
10208
|
+
*
|
|
10209
|
+
* @param params - Parameters for request
|
|
10210
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
10211
|
+
* @param callback - Optional callback that handles the response.
|
|
10212
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
10213
|
+
*/
|
|
10214
|
+
adaptMessage(
|
|
10215
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage,
|
|
10216
|
+
options: StreamMethodOptions
|
|
10217
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10218
|
+
adaptMessage(
|
|
10219
|
+
params?: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage,
|
|
10220
|
+
options?: MethodOptions
|
|
10221
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$AdaptMessageResponse>>;
|
|
10222
|
+
adaptMessage(
|
|
10223
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage,
|
|
10224
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
10225
|
+
callback: BodyResponseCallback<Readable>
|
|
10226
|
+
): void;
|
|
10227
|
+
adaptMessage(
|
|
10228
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage,
|
|
10229
|
+
options:
|
|
10230
|
+
| MethodOptions
|
|
10231
|
+
| BodyResponseCallback<Schema$AdaptMessageResponse>,
|
|
10232
|
+
callback: BodyResponseCallback<Schema$AdaptMessageResponse>
|
|
10233
|
+
): void;
|
|
10234
|
+
adaptMessage(
|
|
10235
|
+
params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage,
|
|
10236
|
+
callback: BodyResponseCallback<Schema$AdaptMessageResponse>
|
|
10237
|
+
): void;
|
|
10238
|
+
adaptMessage(
|
|
10239
|
+
callback: BodyResponseCallback<Schema$AdaptMessageResponse>
|
|
10240
|
+
): void;
|
|
10241
|
+
adaptMessage(
|
|
10242
|
+
paramsOrCallback?:
|
|
10243
|
+
| Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage
|
|
10244
|
+
| BodyResponseCallback<Schema$AdaptMessageResponse>
|
|
10245
|
+
| BodyResponseCallback<Readable>,
|
|
10246
|
+
optionsOrCallback?:
|
|
10247
|
+
| MethodOptions
|
|
10248
|
+
| StreamMethodOptions
|
|
10249
|
+
| BodyResponseCallback<Schema$AdaptMessageResponse>
|
|
10250
|
+
| BodyResponseCallback<Readable>,
|
|
10251
|
+
callback?:
|
|
10252
|
+
| BodyResponseCallback<Schema$AdaptMessageResponse>
|
|
10253
|
+
| BodyResponseCallback<Readable>
|
|
10254
|
+
):
|
|
10255
|
+
| void
|
|
10256
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$AdaptMessageResponse>>
|
|
10257
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10258
|
+
let params = (paramsOrCallback ||
|
|
10259
|
+
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage;
|
|
10260
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
10261
|
+
|
|
10262
|
+
if (typeof paramsOrCallback === 'function') {
|
|
10263
|
+
callback = paramsOrCallback;
|
|
10264
|
+
params =
|
|
10265
|
+
{} as Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage;
|
|
10266
|
+
options = {};
|
|
10267
|
+
}
|
|
10268
|
+
|
|
10269
|
+
if (typeof optionsOrCallback === 'function') {
|
|
10270
|
+
callback = optionsOrCallback;
|
|
10271
|
+
options = {};
|
|
10272
|
+
}
|
|
10273
|
+
|
|
10274
|
+
const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';
|
|
10275
|
+
const parameters = {
|
|
10276
|
+
options: Object.assign(
|
|
10277
|
+
{
|
|
10278
|
+
url: (rootUrl + '/v1/{+name}:adaptMessage').replace(
|
|
10279
|
+
/([^:]\/)\/+/g,
|
|
10280
|
+
'$1'
|
|
10281
|
+
),
|
|
10282
|
+
method: 'POST',
|
|
10283
|
+
apiVersion: '',
|
|
10284
|
+
},
|
|
10285
|
+
options
|
|
10286
|
+
),
|
|
10287
|
+
params,
|
|
10288
|
+
requiredParams: ['name'],
|
|
10289
|
+
pathParams: ['name'],
|
|
10290
|
+
context: this.context,
|
|
10291
|
+
};
|
|
10292
|
+
if (callback) {
|
|
10293
|
+
createAPIRequest<Schema$AdaptMessageResponse>(
|
|
10294
|
+
parameters,
|
|
10295
|
+
callback as BodyResponseCallback<unknown>
|
|
10296
|
+
);
|
|
10297
|
+
} else {
|
|
10298
|
+
return createAPIRequest<Schema$AdaptMessageResponse>(parameters);
|
|
10299
|
+
}
|
|
10300
|
+
}
|
|
10301
|
+
|
|
9912
10302
|
/**
|
|
9913
10303
|
* 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.
|
|
9914
10304
|
*
|
|
@@ -9920,11 +10310,11 @@ export namespace spanner_v1 {
|
|
|
9920
10310
|
batchCreate(
|
|
9921
10311
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate,
|
|
9922
10312
|
options: StreamMethodOptions
|
|
9923
|
-
):
|
|
10313
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
9924
10314
|
batchCreate(
|
|
9925
10315
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate,
|
|
9926
10316
|
options?: MethodOptions
|
|
9927
|
-
):
|
|
10317
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchCreateSessionsResponse>>;
|
|
9928
10318
|
batchCreate(
|
|
9929
10319
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate,
|
|
9930
10320
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -9959,8 +10349,8 @@ export namespace spanner_v1 {
|
|
|
9959
10349
|
| BodyResponseCallback<Readable>
|
|
9960
10350
|
):
|
|
9961
10351
|
| void
|
|
9962
|
-
|
|
|
9963
|
-
|
|
|
10352
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchCreateSessionsResponse>>
|
|
10353
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
9964
10354
|
let params = (paramsOrCallback ||
|
|
9965
10355
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate;
|
|
9966
10356
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10006,7 +10396,7 @@ export namespace spanner_v1 {
|
|
|
10006
10396
|
}
|
|
10007
10397
|
|
|
10008
10398
|
/**
|
|
10009
|
-
* 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,
|
|
10399
|
+
* 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.
|
|
10010
10400
|
*
|
|
10011
10401
|
* @param params - Parameters for request
|
|
10012
10402
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10016,11 +10406,11 @@ export namespace spanner_v1 {
|
|
|
10016
10406
|
batchWrite(
|
|
10017
10407
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite,
|
|
10018
10408
|
options: StreamMethodOptions
|
|
10019
|
-
):
|
|
10409
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10020
10410
|
batchWrite(
|
|
10021
10411
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite,
|
|
10022
10412
|
options?: MethodOptions
|
|
10023
|
-
):
|
|
10413
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$BatchWriteResponse>>;
|
|
10024
10414
|
batchWrite(
|
|
10025
10415
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite,
|
|
10026
10416
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10051,8 +10441,8 @@ export namespace spanner_v1 {
|
|
|
10051
10441
|
| BodyResponseCallback<Readable>
|
|
10052
10442
|
):
|
|
10053
10443
|
| void
|
|
10054
|
-
|
|
|
10055
|
-
|
|
|
10444
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$BatchWriteResponse>>
|
|
10445
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10056
10446
|
let params = (paramsOrCallback ||
|
|
10057
10447
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite;
|
|
10058
10448
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10108,11 +10498,11 @@ export namespace spanner_v1 {
|
|
|
10108
10498
|
beginTransaction(
|
|
10109
10499
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction,
|
|
10110
10500
|
options: StreamMethodOptions
|
|
10111
|
-
):
|
|
10501
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10112
10502
|
beginTransaction(
|
|
10113
10503
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction,
|
|
10114
10504
|
options?: MethodOptions
|
|
10115
|
-
):
|
|
10505
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Transaction>>;
|
|
10116
10506
|
beginTransaction(
|
|
10117
10507
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction,
|
|
10118
10508
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10141,7 +10531,10 @@ export namespace spanner_v1 {
|
|
|
10141
10531
|
callback?:
|
|
10142
10532
|
| BodyResponseCallback<Schema$Transaction>
|
|
10143
10533
|
| BodyResponseCallback<Readable>
|
|
10144
|
-
):
|
|
10534
|
+
):
|
|
10535
|
+
| void
|
|
10536
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Transaction>>
|
|
10537
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10145
10538
|
let params = (paramsOrCallback ||
|
|
10146
10539
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction;
|
|
10147
10540
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10187,7 +10580,7 @@ export namespace spanner_v1 {
|
|
|
10187
10580
|
}
|
|
10188
10581
|
|
|
10189
10582
|
/**
|
|
10190
|
-
* 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
|
|
10583
|
+
* 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.
|
|
10191
10584
|
*
|
|
10192
10585
|
* @param params - Parameters for request
|
|
10193
10586
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10197,11 +10590,11 @@ export namespace spanner_v1 {
|
|
|
10197
10590
|
commit(
|
|
10198
10591
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Commit,
|
|
10199
10592
|
options: StreamMethodOptions
|
|
10200
|
-
):
|
|
10593
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10201
10594
|
commit(
|
|
10202
10595
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Commit,
|
|
10203
10596
|
options?: MethodOptions
|
|
10204
|
-
):
|
|
10597
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$CommitResponse>>;
|
|
10205
10598
|
commit(
|
|
10206
10599
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Commit,
|
|
10207
10600
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10230,7 +10623,10 @@ export namespace spanner_v1 {
|
|
|
10230
10623
|
callback?:
|
|
10231
10624
|
| BodyResponseCallback<Schema$CommitResponse>
|
|
10232
10625
|
| BodyResponseCallback<Readable>
|
|
10233
|
-
):
|
|
10626
|
+
):
|
|
10627
|
+
| void
|
|
10628
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$CommitResponse>>
|
|
10629
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10234
10630
|
let params = (paramsOrCallback ||
|
|
10235
10631
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Commit;
|
|
10236
10632
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10276,7 +10672,7 @@ export namespace spanner_v1 {
|
|
|
10276
10672
|
}
|
|
10277
10673
|
|
|
10278
10674
|
/**
|
|
10279
|
-
* 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
|
|
10675
|
+
* 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"`.
|
|
10280
10676
|
*
|
|
10281
10677
|
* @param params - Parameters for request
|
|
10282
10678
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10286,11 +10682,11 @@ export namespace spanner_v1 {
|
|
|
10286
10682
|
create(
|
|
10287
10683
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Create,
|
|
10288
10684
|
options: StreamMethodOptions
|
|
10289
|
-
):
|
|
10685
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10290
10686
|
create(
|
|
10291
10687
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Create,
|
|
10292
10688
|
options?: MethodOptions
|
|
10293
|
-
):
|
|
10689
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Session>>;
|
|
10294
10690
|
create(
|
|
10295
10691
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Create,
|
|
10296
10692
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10319,7 +10715,10 @@ export namespace spanner_v1 {
|
|
|
10319
10715
|
callback?:
|
|
10320
10716
|
| BodyResponseCallback<Schema$Session>
|
|
10321
10717
|
| BodyResponseCallback<Readable>
|
|
10322
|
-
):
|
|
10718
|
+
):
|
|
10719
|
+
| void
|
|
10720
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Session>>
|
|
10721
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10323
10722
|
let params = (paramsOrCallback ||
|
|
10324
10723
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Create;
|
|
10325
10724
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10365,7 +10764,7 @@ export namespace spanner_v1 {
|
|
|
10365
10764
|
}
|
|
10366
10765
|
|
|
10367
10766
|
/**
|
|
10368
|
-
* Ends a session, releasing server resources associated with it. This
|
|
10767
|
+
* Ends a session, releasing server resources associated with it. This asynchronously triggers the cancellation of any operations that are running with this session.
|
|
10369
10768
|
*
|
|
10370
10769
|
* @param params - Parameters for request
|
|
10371
10770
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10375,11 +10774,11 @@ export namespace spanner_v1 {
|
|
|
10375
10774
|
delete(
|
|
10376
10775
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Delete,
|
|
10377
10776
|
options: StreamMethodOptions
|
|
10378
|
-
):
|
|
10777
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10379
10778
|
delete(
|
|
10380
10779
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Delete,
|
|
10381
10780
|
options?: MethodOptions
|
|
10382
|
-
):
|
|
10781
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
10383
10782
|
delete(
|
|
10384
10783
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Delete,
|
|
10385
10784
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10408,7 +10807,10 @@ export namespace spanner_v1 {
|
|
|
10408
10807
|
callback?:
|
|
10409
10808
|
| BodyResponseCallback<Schema$Empty>
|
|
10410
10809
|
| BodyResponseCallback<Readable>
|
|
10411
|
-
):
|
|
10810
|
+
):
|
|
10811
|
+
| void
|
|
10812
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
10813
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10412
10814
|
let params = (paramsOrCallback ||
|
|
10413
10815
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Delete;
|
|
10414
10816
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10461,11 +10863,11 @@ export namespace spanner_v1 {
|
|
|
10461
10863
|
executeBatchDml(
|
|
10462
10864
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml,
|
|
10463
10865
|
options: StreamMethodOptions
|
|
10464
|
-
):
|
|
10866
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10465
10867
|
executeBatchDml(
|
|
10466
10868
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml,
|
|
10467
10869
|
options?: MethodOptions
|
|
10468
|
-
):
|
|
10870
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ExecuteBatchDmlResponse>>;
|
|
10469
10871
|
executeBatchDml(
|
|
10470
10872
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml,
|
|
10471
10873
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10500,8 +10902,8 @@ export namespace spanner_v1 {
|
|
|
10500
10902
|
| BodyResponseCallback<Readable>
|
|
10501
10903
|
):
|
|
10502
10904
|
| void
|
|
10503
|
-
|
|
|
10504
|
-
|
|
|
10905
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ExecuteBatchDmlResponse>>
|
|
10906
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10505
10907
|
let params = (paramsOrCallback ||
|
|
10506
10908
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml;
|
|
10507
10909
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10547,7 +10949,7 @@ export namespace spanner_v1 {
|
|
|
10547
10949
|
}
|
|
10548
10950
|
|
|
10549
10951
|
/**
|
|
10550
|
-
* Executes an SQL statement, returning all results in a single reply. This method
|
|
10952
|
+
* 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).
|
|
10551
10953
|
*
|
|
10552
10954
|
* @param params - Parameters for request
|
|
10553
10955
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10557,11 +10959,11 @@ export namespace spanner_v1 {
|
|
|
10557
10959
|
executeSql(
|
|
10558
10960
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql,
|
|
10559
10961
|
options: StreamMethodOptions
|
|
10560
|
-
):
|
|
10962
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10561
10963
|
executeSql(
|
|
10562
10964
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Executesql,
|
|
10563
10965
|
options?: MethodOptions
|
|
10564
|
-
):
|
|
10966
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>;
|
|
10565
10967
|
executeSql(
|
|
10566
10968
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql,
|
|
10567
10969
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10590,7 +10992,10 @@ export namespace spanner_v1 {
|
|
|
10590
10992
|
callback?:
|
|
10591
10993
|
| BodyResponseCallback<Schema$ResultSet>
|
|
10592
10994
|
| BodyResponseCallback<Readable>
|
|
10593
|
-
):
|
|
10995
|
+
):
|
|
10996
|
+
| void
|
|
10997
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>
|
|
10998
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10594
10999
|
let params = (paramsOrCallback ||
|
|
10595
11000
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Executesql;
|
|
10596
11001
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10646,11 +11051,11 @@ export namespace spanner_v1 {
|
|
|
10646
11051
|
executeStreamingSql(
|
|
10647
11052
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql,
|
|
10648
11053
|
options: StreamMethodOptions
|
|
10649
|
-
):
|
|
11054
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10650
11055
|
executeStreamingSql(
|
|
10651
11056
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql,
|
|
10652
11057
|
options?: MethodOptions
|
|
10653
|
-
):
|
|
11058
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>;
|
|
10654
11059
|
executeStreamingSql(
|
|
10655
11060
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql,
|
|
10656
11061
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10681,7 +11086,10 @@ export namespace spanner_v1 {
|
|
|
10681
11086
|
callback?:
|
|
10682
11087
|
| BodyResponseCallback<Schema$PartialResultSet>
|
|
10683
11088
|
| BodyResponseCallback<Readable>
|
|
10684
|
-
):
|
|
11089
|
+
):
|
|
11090
|
+
| void
|
|
11091
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>
|
|
11092
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10685
11093
|
let params = (paramsOrCallback ||
|
|
10686
11094
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql;
|
|
10687
11095
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10727,7 +11135,7 @@ export namespace spanner_v1 {
|
|
|
10727
11135
|
}
|
|
10728
11136
|
|
|
10729
11137
|
/**
|
|
10730
|
-
* Gets a session. Returns `NOT_FOUND` if the session
|
|
11138
|
+
* Gets a session. Returns `NOT_FOUND` if the session doesn't exist. This is mainly useful for determining whether a session is still alive.
|
|
10731
11139
|
*
|
|
10732
11140
|
* @param params - Parameters for request
|
|
10733
11141
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10737,11 +11145,11 @@ export namespace spanner_v1 {
|
|
|
10737
11145
|
get(
|
|
10738
11146
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Get,
|
|
10739
11147
|
options: StreamMethodOptions
|
|
10740
|
-
):
|
|
11148
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10741
11149
|
get(
|
|
10742
11150
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Get,
|
|
10743
11151
|
options?: MethodOptions
|
|
10744
|
-
):
|
|
11152
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Session>>;
|
|
10745
11153
|
get(
|
|
10746
11154
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Get,
|
|
10747
11155
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10770,7 +11178,10 @@ export namespace spanner_v1 {
|
|
|
10770
11178
|
callback?:
|
|
10771
11179
|
| BodyResponseCallback<Schema$Session>
|
|
10772
11180
|
| BodyResponseCallback<Readable>
|
|
10773
|
-
):
|
|
11181
|
+
):
|
|
11182
|
+
| void
|
|
11183
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Session>>
|
|
11184
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10774
11185
|
let params = (paramsOrCallback ||
|
|
10775
11186
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Get;
|
|
10776
11187
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10823,11 +11234,11 @@ export namespace spanner_v1 {
|
|
|
10823
11234
|
list(
|
|
10824
11235
|
params: Params$Resource$Projects$Instances$Databases$Sessions$List,
|
|
10825
11236
|
options: StreamMethodOptions
|
|
10826
|
-
):
|
|
11237
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10827
11238
|
list(
|
|
10828
11239
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$List,
|
|
10829
11240
|
options?: MethodOptions
|
|
10830
|
-
):
|
|
11241
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListSessionsResponse>>;
|
|
10831
11242
|
list(
|
|
10832
11243
|
params: Params$Resource$Projects$Instances$Databases$Sessions$List,
|
|
10833
11244
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10860,8 +11271,8 @@ export namespace spanner_v1 {
|
|
|
10860
11271
|
| BodyResponseCallback<Readable>
|
|
10861
11272
|
):
|
|
10862
11273
|
| void
|
|
10863
|
-
|
|
|
10864
|
-
|
|
|
11274
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListSessionsResponse>>
|
|
11275
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10865
11276
|
let params = (paramsOrCallback ||
|
|
10866
11277
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$List;
|
|
10867
11278
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -10907,7 +11318,7 @@ export namespace spanner_v1 {
|
|
|
10907
11318
|
}
|
|
10908
11319
|
|
|
10909
11320
|
/**
|
|
10910
|
-
* 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
|
|
11321
|
+
* 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.
|
|
10911
11322
|
*
|
|
10912
11323
|
* @param params - Parameters for request
|
|
10913
11324
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -10917,11 +11328,11 @@ export namespace spanner_v1 {
|
|
|
10917
11328
|
partitionQuery(
|
|
10918
11329
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery,
|
|
10919
11330
|
options: StreamMethodOptions
|
|
10920
|
-
):
|
|
11331
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
10921
11332
|
partitionQuery(
|
|
10922
11333
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery,
|
|
10923
11334
|
options?: MethodOptions
|
|
10924
|
-
):
|
|
11335
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>;
|
|
10925
11336
|
partitionQuery(
|
|
10926
11337
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery,
|
|
10927
11338
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -10954,8 +11365,8 @@ export namespace spanner_v1 {
|
|
|
10954
11365
|
| BodyResponseCallback<Readable>
|
|
10955
11366
|
):
|
|
10956
11367
|
| void
|
|
10957
|
-
|
|
|
10958
|
-
|
|
|
11368
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>
|
|
11369
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
10959
11370
|
let params = (paramsOrCallback ||
|
|
10960
11371
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery;
|
|
10961
11372
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11001,7 +11412,7 @@ export namespace spanner_v1 {
|
|
|
11001
11412
|
}
|
|
11002
11413
|
|
|
11003
11414
|
/**
|
|
11004
|
-
* 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
|
|
11415
|
+
* 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.
|
|
11005
11416
|
*
|
|
11006
11417
|
* @param params - Parameters for request
|
|
11007
11418
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -11011,11 +11422,11 @@ export namespace spanner_v1 {
|
|
|
11011
11422
|
partitionRead(
|
|
11012
11423
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread,
|
|
11013
11424
|
options: StreamMethodOptions
|
|
11014
|
-
):
|
|
11425
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11015
11426
|
partitionRead(
|
|
11016
11427
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread,
|
|
11017
11428
|
options?: MethodOptions
|
|
11018
|
-
):
|
|
11429
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>;
|
|
11019
11430
|
partitionRead(
|
|
11020
11431
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread,
|
|
11021
11432
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11048,8 +11459,8 @@ export namespace spanner_v1 {
|
|
|
11048
11459
|
| BodyResponseCallback<Readable>
|
|
11049
11460
|
):
|
|
11050
11461
|
| void
|
|
11051
|
-
|
|
|
11052
|
-
|
|
|
11462
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>
|
|
11463
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11053
11464
|
let params = (paramsOrCallback ||
|
|
11054
11465
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Partitionread;
|
|
11055
11466
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11095,7 +11506,7 @@ export namespace spanner_v1 {
|
|
|
11095
11506
|
}
|
|
11096
11507
|
|
|
11097
11508
|
/**
|
|
11098
|
-
* Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method
|
|
11509
|
+
* 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.
|
|
11099
11510
|
*
|
|
11100
11511
|
* @param params - Parameters for request
|
|
11101
11512
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -11105,11 +11516,11 @@ export namespace spanner_v1 {
|
|
|
11105
11516
|
read(
|
|
11106
11517
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Read,
|
|
11107
11518
|
options: StreamMethodOptions
|
|
11108
|
-
):
|
|
11519
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11109
11520
|
read(
|
|
11110
11521
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Read,
|
|
11111
11522
|
options?: MethodOptions
|
|
11112
|
-
):
|
|
11523
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>;
|
|
11113
11524
|
read(
|
|
11114
11525
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Read,
|
|
11115
11526
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11138,7 +11549,10 @@ export namespace spanner_v1 {
|
|
|
11138
11549
|
callback?:
|
|
11139
11550
|
| BodyResponseCallback<Schema$ResultSet>
|
|
11140
11551
|
| BodyResponseCallback<Readable>
|
|
11141
|
-
):
|
|
11552
|
+
):
|
|
11553
|
+
| void
|
|
11554
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>
|
|
11555
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11142
11556
|
let params = (paramsOrCallback ||
|
|
11143
11557
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Read;
|
|
11144
11558
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11184,7 +11598,7 @@ export namespace spanner_v1 {
|
|
|
11184
11598
|
}
|
|
11185
11599
|
|
|
11186
11600
|
/**
|
|
11187
|
-
* Rolls back a transaction, releasing any locks it holds. It
|
|
11601
|
+
* 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`.
|
|
11188
11602
|
*
|
|
11189
11603
|
* @param params - Parameters for request
|
|
11190
11604
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -11194,11 +11608,11 @@ export namespace spanner_v1 {
|
|
|
11194
11608
|
rollback(
|
|
11195
11609
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback,
|
|
11196
11610
|
options: StreamMethodOptions
|
|
11197
|
-
):
|
|
11611
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11198
11612
|
rollback(
|
|
11199
11613
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Rollback,
|
|
11200
11614
|
options?: MethodOptions
|
|
11201
|
-
):
|
|
11615
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
11202
11616
|
rollback(
|
|
11203
11617
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback,
|
|
11204
11618
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11227,7 +11641,10 @@ export namespace spanner_v1 {
|
|
|
11227
11641
|
callback?:
|
|
11228
11642
|
| BodyResponseCallback<Schema$Empty>
|
|
11229
11643
|
| BodyResponseCallback<Readable>
|
|
11230
|
-
):
|
|
11644
|
+
):
|
|
11645
|
+
| void
|
|
11646
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
11647
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11231
11648
|
let params = (paramsOrCallback ||
|
|
11232
11649
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Rollback;
|
|
11233
11650
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11283,11 +11700,11 @@ export namespace spanner_v1 {
|
|
|
11283
11700
|
streamingRead(
|
|
11284
11701
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread,
|
|
11285
11702
|
options: StreamMethodOptions
|
|
11286
|
-
):
|
|
11703
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11287
11704
|
streamingRead(
|
|
11288
11705
|
params?: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread,
|
|
11289
11706
|
options?: MethodOptions
|
|
11290
|
-
):
|
|
11707
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>;
|
|
11291
11708
|
streamingRead(
|
|
11292
11709
|
params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread,
|
|
11293
11710
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11318,7 +11735,10 @@ export namespace spanner_v1 {
|
|
|
11318
11735
|
callback?:
|
|
11319
11736
|
| BodyResponseCallback<Schema$PartialResultSet>
|
|
11320
11737
|
| BodyResponseCallback<Readable>
|
|
11321
|
-
):
|
|
11738
|
+
):
|
|
11739
|
+
| void
|
|
11740
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>
|
|
11741
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11322
11742
|
let params = (paramsOrCallback ||
|
|
11323
11743
|
{}) as Params$Resource$Projects$Instances$Databases$Sessions$Streamingread;
|
|
11324
11744
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11364,6 +11784,30 @@ export namespace spanner_v1 {
|
|
|
11364
11784
|
}
|
|
11365
11785
|
}
|
|
11366
11786
|
|
|
11787
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adapter
|
|
11788
|
+
extends StandardParameters {
|
|
11789
|
+
/**
|
|
11790
|
+
* Required. The database in which the new session is created.
|
|
11791
|
+
*/
|
|
11792
|
+
parent?: string;
|
|
11793
|
+
|
|
11794
|
+
/**
|
|
11795
|
+
* Request body metadata
|
|
11796
|
+
*/
|
|
11797
|
+
requestBody?: Schema$AdapterSession;
|
|
11798
|
+
}
|
|
11799
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage
|
|
11800
|
+
extends StandardParameters {
|
|
11801
|
+
/**
|
|
11802
|
+
* Required. The database session in which the adapter request is processed.
|
|
11803
|
+
*/
|
|
11804
|
+
name?: string;
|
|
11805
|
+
|
|
11806
|
+
/**
|
|
11807
|
+
* Request body metadata
|
|
11808
|
+
*/
|
|
11809
|
+
requestBody?: Schema$AdaptMessageRequest;
|
|
11810
|
+
}
|
|
11367
11811
|
export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate
|
|
11368
11812
|
extends StandardParameters {
|
|
11369
11813
|
/**
|
|
@@ -11571,11 +12015,13 @@ export namespace spanner_v1 {
|
|
|
11571
12015
|
list(
|
|
11572
12016
|
params: Params$Resource$Projects$Instances$Instancepartitionoperations$List,
|
|
11573
12017
|
options: StreamMethodOptions
|
|
11574
|
-
):
|
|
12018
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11575
12019
|
list(
|
|
11576
12020
|
params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List,
|
|
11577
12021
|
options?: MethodOptions
|
|
11578
|
-
):
|
|
12022
|
+
): Promise<
|
|
12023
|
+
GaxiosResponseWithHTTP2<Schema$ListInstancePartitionOperationsResponse>
|
|
12024
|
+
>;
|
|
11579
12025
|
list(
|
|
11580
12026
|
params: Params$Resource$Projects$Instances$Instancepartitionoperations$List,
|
|
11581
12027
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11610,8 +12056,10 @@ export namespace spanner_v1 {
|
|
|
11610
12056
|
| BodyResponseCallback<Readable>
|
|
11611
12057
|
):
|
|
11612
12058
|
| void
|
|
11613
|
-
|
|
|
11614
|
-
|
|
12059
|
+
| Promise<
|
|
12060
|
+
GaxiosResponseWithHTTP2<Schema$ListInstancePartitionOperationsResponse>
|
|
12061
|
+
>
|
|
12062
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11615
12063
|
let params = (paramsOrCallback ||
|
|
11616
12064
|
{}) as Params$Resource$Projects$Instances$Instancepartitionoperations$List;
|
|
11617
12065
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11704,11 +12152,11 @@ export namespace spanner_v1 {
|
|
|
11704
12152
|
create(
|
|
11705
12153
|
params: Params$Resource$Projects$Instances$Instancepartitions$Create,
|
|
11706
12154
|
options: StreamMethodOptions
|
|
11707
|
-
):
|
|
12155
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11708
12156
|
create(
|
|
11709
12157
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Create,
|
|
11710
12158
|
options?: MethodOptions
|
|
11711
|
-
):
|
|
12159
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
11712
12160
|
create(
|
|
11713
12161
|
params: Params$Resource$Projects$Instances$Instancepartitions$Create,
|
|
11714
12162
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11737,7 +12185,10 @@ export namespace spanner_v1 {
|
|
|
11737
12185
|
callback?:
|
|
11738
12186
|
| BodyResponseCallback<Schema$Operation>
|
|
11739
12187
|
| BodyResponseCallback<Readable>
|
|
11740
|
-
):
|
|
12188
|
+
):
|
|
12189
|
+
| void
|
|
12190
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
12191
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11741
12192
|
let params = (paramsOrCallback ||
|
|
11742
12193
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Create;
|
|
11743
12194
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11793,11 +12244,11 @@ export namespace spanner_v1 {
|
|
|
11793
12244
|
delete(
|
|
11794
12245
|
params: Params$Resource$Projects$Instances$Instancepartitions$Delete,
|
|
11795
12246
|
options: StreamMethodOptions
|
|
11796
|
-
):
|
|
12247
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11797
12248
|
delete(
|
|
11798
12249
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Delete,
|
|
11799
12250
|
options?: MethodOptions
|
|
11800
|
-
):
|
|
12251
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
11801
12252
|
delete(
|
|
11802
12253
|
params: Params$Resource$Projects$Instances$Instancepartitions$Delete,
|
|
11803
12254
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11826,7 +12277,10 @@ export namespace spanner_v1 {
|
|
|
11826
12277
|
callback?:
|
|
11827
12278
|
| BodyResponseCallback<Schema$Empty>
|
|
11828
12279
|
| BodyResponseCallback<Readable>
|
|
11829
|
-
):
|
|
12280
|
+
):
|
|
12281
|
+
| void
|
|
12282
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
12283
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11830
12284
|
let params = (paramsOrCallback ||
|
|
11831
12285
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Delete;
|
|
11832
12286
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11879,11 +12333,11 @@ export namespace spanner_v1 {
|
|
|
11879
12333
|
get(
|
|
11880
12334
|
params: Params$Resource$Projects$Instances$Instancepartitions$Get,
|
|
11881
12335
|
options: StreamMethodOptions
|
|
11882
|
-
):
|
|
12336
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11883
12337
|
get(
|
|
11884
12338
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Get,
|
|
11885
12339
|
options?: MethodOptions
|
|
11886
|
-
):
|
|
12340
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$InstancePartition>>;
|
|
11887
12341
|
get(
|
|
11888
12342
|
params: Params$Resource$Projects$Instances$Instancepartitions$Get,
|
|
11889
12343
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -11914,8 +12368,8 @@ export namespace spanner_v1 {
|
|
|
11914
12368
|
| BodyResponseCallback<Readable>
|
|
11915
12369
|
):
|
|
11916
12370
|
| void
|
|
11917
|
-
|
|
|
11918
|
-
|
|
|
12371
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$InstancePartition>>
|
|
12372
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
11919
12373
|
let params = (paramsOrCallback ||
|
|
11920
12374
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Get;
|
|
11921
12375
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -11968,11 +12422,11 @@ export namespace spanner_v1 {
|
|
|
11968
12422
|
list(
|
|
11969
12423
|
params: Params$Resource$Projects$Instances$Instancepartitions$List,
|
|
11970
12424
|
options: StreamMethodOptions
|
|
11971
|
-
):
|
|
12425
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
11972
12426
|
list(
|
|
11973
12427
|
params?: Params$Resource$Projects$Instances$Instancepartitions$List,
|
|
11974
12428
|
options?: MethodOptions
|
|
11975
|
-
):
|
|
12429
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancePartitionsResponse>>;
|
|
11976
12430
|
list(
|
|
11977
12431
|
params: Params$Resource$Projects$Instances$Instancepartitions$List,
|
|
11978
12432
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12007,8 +12461,8 @@ export namespace spanner_v1 {
|
|
|
12007
12461
|
| BodyResponseCallback<Readable>
|
|
12008
12462
|
):
|
|
12009
12463
|
| void
|
|
12010
|
-
|
|
|
12011
|
-
|
|
|
12464
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListInstancePartitionsResponse>>
|
|
12465
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12012
12466
|
let params = (paramsOrCallback ||
|
|
12013
12467
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$List;
|
|
12014
12468
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12066,11 +12520,11 @@ export namespace spanner_v1 {
|
|
|
12066
12520
|
patch(
|
|
12067
12521
|
params: Params$Resource$Projects$Instances$Instancepartitions$Patch,
|
|
12068
12522
|
options: StreamMethodOptions
|
|
12069
|
-
):
|
|
12523
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12070
12524
|
patch(
|
|
12071
12525
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Patch,
|
|
12072
12526
|
options?: MethodOptions
|
|
12073
|
-
):
|
|
12527
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12074
12528
|
patch(
|
|
12075
12529
|
params: Params$Resource$Projects$Instances$Instancepartitions$Patch,
|
|
12076
12530
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12099,7 +12553,10 @@ export namespace spanner_v1 {
|
|
|
12099
12553
|
callback?:
|
|
12100
12554
|
| BodyResponseCallback<Schema$Operation>
|
|
12101
12555
|
| BodyResponseCallback<Readable>
|
|
12102
|
-
):
|
|
12556
|
+
):
|
|
12557
|
+
| void
|
|
12558
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
12559
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12103
12560
|
let params = (paramsOrCallback ||
|
|
12104
12561
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Patch;
|
|
12105
12562
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12221,11 +12678,11 @@ export namespace spanner_v1 {
|
|
|
12221
12678
|
cancel(
|
|
12222
12679
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel,
|
|
12223
12680
|
options: StreamMethodOptions
|
|
12224
|
-
):
|
|
12681
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12225
12682
|
cancel(
|
|
12226
12683
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel,
|
|
12227
12684
|
options?: MethodOptions
|
|
12228
|
-
):
|
|
12685
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
12229
12686
|
cancel(
|
|
12230
12687
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel,
|
|
12231
12688
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12254,7 +12711,10 @@ export namespace spanner_v1 {
|
|
|
12254
12711
|
callback?:
|
|
12255
12712
|
| BodyResponseCallback<Schema$Empty>
|
|
12256
12713
|
| BodyResponseCallback<Readable>
|
|
12257
|
-
):
|
|
12714
|
+
):
|
|
12715
|
+
| void
|
|
12716
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
12717
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12258
12718
|
let params = (paramsOrCallback ||
|
|
12259
12719
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel;
|
|
12260
12720
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12307,11 +12767,11 @@ export namespace spanner_v1 {
|
|
|
12307
12767
|
delete(
|
|
12308
12768
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete,
|
|
12309
12769
|
options: StreamMethodOptions
|
|
12310
|
-
):
|
|
12770
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12311
12771
|
delete(
|
|
12312
12772
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete,
|
|
12313
12773
|
options?: MethodOptions
|
|
12314
|
-
):
|
|
12774
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
12315
12775
|
delete(
|
|
12316
12776
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete,
|
|
12317
12777
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12340,7 +12800,10 @@ export namespace spanner_v1 {
|
|
|
12340
12800
|
callback?:
|
|
12341
12801
|
| BodyResponseCallback<Schema$Empty>
|
|
12342
12802
|
| BodyResponseCallback<Readable>
|
|
12343
|
-
):
|
|
12803
|
+
):
|
|
12804
|
+
| void
|
|
12805
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
12806
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12344
12807
|
let params = (paramsOrCallback ||
|
|
12345
12808
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete;
|
|
12346
12809
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12393,11 +12856,11 @@ export namespace spanner_v1 {
|
|
|
12393
12856
|
get(
|
|
12394
12857
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get,
|
|
12395
12858
|
options: StreamMethodOptions
|
|
12396
|
-
):
|
|
12859
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12397
12860
|
get(
|
|
12398
12861
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get,
|
|
12399
12862
|
options?: MethodOptions
|
|
12400
|
-
):
|
|
12863
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12401
12864
|
get(
|
|
12402
12865
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get,
|
|
12403
12866
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12426,7 +12889,10 @@ export namespace spanner_v1 {
|
|
|
12426
12889
|
callback?:
|
|
12427
12890
|
| BodyResponseCallback<Schema$Operation>
|
|
12428
12891
|
| BodyResponseCallback<Readable>
|
|
12429
|
-
):
|
|
12892
|
+
):
|
|
12893
|
+
| void
|
|
12894
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
12895
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12430
12896
|
let params = (paramsOrCallback ||
|
|
12431
12897
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$Get;
|
|
12432
12898
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12479,11 +12945,11 @@ export namespace spanner_v1 {
|
|
|
12479
12945
|
list(
|
|
12480
12946
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List,
|
|
12481
12947
|
options: StreamMethodOptions
|
|
12482
|
-
):
|
|
12948
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12483
12949
|
list(
|
|
12484
12950
|
params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$List,
|
|
12485
12951
|
options?: MethodOptions
|
|
12486
|
-
):
|
|
12952
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
12487
12953
|
list(
|
|
12488
12954
|
params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List,
|
|
12489
12955
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12516,8 +12982,8 @@ export namespace spanner_v1 {
|
|
|
12516
12982
|
| BodyResponseCallback<Readable>
|
|
12517
12983
|
):
|
|
12518
12984
|
| void
|
|
12519
|
-
|
|
|
12520
|
-
|
|
|
12985
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
12986
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12521
12987
|
let params = (paramsOrCallback ||
|
|
12522
12988
|
{}) as Params$Resource$Projects$Instances$Instancepartitions$Operations$List;
|
|
12523
12989
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12618,11 +13084,11 @@ export namespace spanner_v1 {
|
|
|
12618
13084
|
cancel(
|
|
12619
13085
|
params: Params$Resource$Projects$Instances$Operations$Cancel,
|
|
12620
13086
|
options: StreamMethodOptions
|
|
12621
|
-
):
|
|
13087
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12622
13088
|
cancel(
|
|
12623
13089
|
params?: Params$Resource$Projects$Instances$Operations$Cancel,
|
|
12624
13090
|
options?: MethodOptions
|
|
12625
|
-
):
|
|
13091
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
12626
13092
|
cancel(
|
|
12627
13093
|
params: Params$Resource$Projects$Instances$Operations$Cancel,
|
|
12628
13094
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12651,7 +13117,10 @@ export namespace spanner_v1 {
|
|
|
12651
13117
|
callback?:
|
|
12652
13118
|
| BodyResponseCallback<Schema$Empty>
|
|
12653
13119
|
| BodyResponseCallback<Readable>
|
|
12654
|
-
):
|
|
13120
|
+
):
|
|
13121
|
+
| void
|
|
13122
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
13123
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12655
13124
|
let params = (paramsOrCallback ||
|
|
12656
13125
|
{}) as Params$Resource$Projects$Instances$Operations$Cancel;
|
|
12657
13126
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12703,11 +13172,11 @@ export namespace spanner_v1 {
|
|
|
12703
13172
|
delete(
|
|
12704
13173
|
params: Params$Resource$Projects$Instances$Operations$Delete,
|
|
12705
13174
|
options: StreamMethodOptions
|
|
12706
|
-
):
|
|
13175
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12707
13176
|
delete(
|
|
12708
13177
|
params?: Params$Resource$Projects$Instances$Operations$Delete,
|
|
12709
13178
|
options?: MethodOptions
|
|
12710
|
-
):
|
|
13179
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
12711
13180
|
delete(
|
|
12712
13181
|
params: Params$Resource$Projects$Instances$Operations$Delete,
|
|
12713
13182
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12736,7 +13205,10 @@ export namespace spanner_v1 {
|
|
|
12736
13205
|
callback?:
|
|
12737
13206
|
| BodyResponseCallback<Schema$Empty>
|
|
12738
13207
|
| BodyResponseCallback<Readable>
|
|
12739
|
-
):
|
|
13208
|
+
):
|
|
13209
|
+
| void
|
|
13210
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
|
|
13211
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12740
13212
|
let params = (paramsOrCallback ||
|
|
12741
13213
|
{}) as Params$Resource$Projects$Instances$Operations$Delete;
|
|
12742
13214
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12788,11 +13260,11 @@ export namespace spanner_v1 {
|
|
|
12788
13260
|
get(
|
|
12789
13261
|
params: Params$Resource$Projects$Instances$Operations$Get,
|
|
12790
13262
|
options: StreamMethodOptions
|
|
12791
|
-
):
|
|
13263
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12792
13264
|
get(
|
|
12793
13265
|
params?: Params$Resource$Projects$Instances$Operations$Get,
|
|
12794
13266
|
options?: MethodOptions
|
|
12795
|
-
):
|
|
13267
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
12796
13268
|
get(
|
|
12797
13269
|
params: Params$Resource$Projects$Instances$Operations$Get,
|
|
12798
13270
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12821,7 +13293,10 @@ export namespace spanner_v1 {
|
|
|
12821
13293
|
callback?:
|
|
12822
13294
|
| BodyResponseCallback<Schema$Operation>
|
|
12823
13295
|
| BodyResponseCallback<Readable>
|
|
12824
|
-
):
|
|
13296
|
+
):
|
|
13297
|
+
| void
|
|
13298
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
13299
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12825
13300
|
let params = (paramsOrCallback ||
|
|
12826
13301
|
{}) as Params$Resource$Projects$Instances$Operations$Get;
|
|
12827
13302
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -12873,11 +13348,11 @@ export namespace spanner_v1 {
|
|
|
12873
13348
|
list(
|
|
12874
13349
|
params: Params$Resource$Projects$Instances$Operations$List,
|
|
12875
13350
|
options: StreamMethodOptions
|
|
12876
|
-
):
|
|
13351
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
12877
13352
|
list(
|
|
12878
13353
|
params?: Params$Resource$Projects$Instances$Operations$List,
|
|
12879
13354
|
options?: MethodOptions
|
|
12880
|
-
):
|
|
13355
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
12881
13356
|
list(
|
|
12882
13357
|
params: Params$Resource$Projects$Instances$Operations$List,
|
|
12883
13358
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -12910,8 +13385,8 @@ export namespace spanner_v1 {
|
|
|
12910
13385
|
| BodyResponseCallback<Readable>
|
|
12911
13386
|
):
|
|
12912
13387
|
| void
|
|
12913
|
-
|
|
|
12914
|
-
|
|
|
13388
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>
|
|
13389
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
12915
13390
|
let params = (paramsOrCallback ||
|
|
12916
13391
|
{}) as Params$Resource$Projects$Instances$Operations$List;
|
|
12917
13392
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -13011,11 +13486,11 @@ export namespace spanner_v1 {
|
|
|
13011
13486
|
list(
|
|
13012
13487
|
params: Params$Resource$Scans$List,
|
|
13013
13488
|
options: StreamMethodOptions
|
|
13014
|
-
):
|
|
13489
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
13015
13490
|
list(
|
|
13016
13491
|
params?: Params$Resource$Scans$List,
|
|
13017
13492
|
options?: MethodOptions
|
|
13018
|
-
):
|
|
13493
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$ListScansResponse>>;
|
|
13019
13494
|
list(
|
|
13020
13495
|
params: Params$Resource$Scans$List,
|
|
13021
13496
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -13046,8 +13521,8 @@ export namespace spanner_v1 {
|
|
|
13046
13521
|
| BodyResponseCallback<Readable>
|
|
13047
13522
|
):
|
|
13048
13523
|
| void
|
|
13049
|
-
|
|
|
13050
|
-
|
|
|
13524
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$ListScansResponse>>
|
|
13525
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
13051
13526
|
let params = (paramsOrCallback || {}) as Params$Resource$Scans$List;
|
|
13052
13527
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
13053
13528
|
|