@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/build/v1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace spanner_v1 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -72,12 +72,55 @@ export declare namespace spanner_v1 {
|
|
|
72
72
|
scans: Resource$Scans;
|
|
73
73
|
constructor(options: GlobalOptions, google?: GoogleConfigurable);
|
|
74
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* A session in the Cloud Spanner Adapter API.
|
|
77
|
+
*/
|
|
78
|
+
export interface Schema$AdapterSession {
|
|
79
|
+
/**
|
|
80
|
+
* Identifier. The name of the session. This is always system-assigned.
|
|
81
|
+
*/
|
|
82
|
+
name?: string | null;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Message sent by the client to the adapter.
|
|
86
|
+
*/
|
|
87
|
+
export interface Schema$AdaptMessageRequest {
|
|
88
|
+
/**
|
|
89
|
+
* Optional. Opaque request state passed by the client to the server.
|
|
90
|
+
*/
|
|
91
|
+
attachments?: {
|
|
92
|
+
[key: string]: string;
|
|
93
|
+
} | null;
|
|
94
|
+
/**
|
|
95
|
+
* Optional. Uninterpreted bytes from the underlying wire protocol.
|
|
96
|
+
*/
|
|
97
|
+
payload?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Required. Identifier for the underlying wire protocol.
|
|
100
|
+
*/
|
|
101
|
+
protocol?: string | null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Message sent by the adapter to the client.
|
|
105
|
+
*/
|
|
106
|
+
export interface Schema$AdaptMessageResponse {
|
|
107
|
+
/**
|
|
108
|
+
* Optional. Uninterpreted bytes from the underlying wire protocol.
|
|
109
|
+
*/
|
|
110
|
+
payload?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* Optional. Opaque state updates to be applied by the client.
|
|
113
|
+
*/
|
|
114
|
+
stateUpdates?: {
|
|
115
|
+
[key: string]: string;
|
|
116
|
+
} | null;
|
|
117
|
+
}
|
|
75
118
|
/**
|
|
76
119
|
* The request for AddSplitPoints.
|
|
77
120
|
*/
|
|
78
121
|
export interface Schema$AddSplitPointsRequest {
|
|
79
122
|
/**
|
|
80
|
-
* Optional. A user-supplied tag associated with the split points. For example, "
|
|
123
|
+
* Optional. A user-supplied tag associated with the split points. For example, "initial_data_load", "special_event_1". Defaults to "CloudAddSplitPointsAPI" if not specified. The length of the tag must not exceed 50 characters,else will be trimmed. Only valid UTF8 characters are allowed.
|
|
81
124
|
*/
|
|
82
125
|
initiator?: string | null;
|
|
83
126
|
/**
|
|
@@ -211,6 +254,10 @@ export declare namespace spanner_v1 {
|
|
|
211
254
|
* Output only. Populated only for backups in an incremental backup chain. Backups share the same chain id if and only if they belong to the same incremental backup chain. Use this field to determine which backups are part of the same incremental backup chain. The ordering of backups in the chain can be determined by ordering the backup `version_time`.
|
|
212
255
|
*/
|
|
213
256
|
incrementalBackupChainId?: string | null;
|
|
257
|
+
/**
|
|
258
|
+
* Output only. The instance partition(s) storing the backup. This is the same as the list of the instance partition(s) that the database had footprint in at the backup's `version_time`.
|
|
259
|
+
*/
|
|
260
|
+
instancePartitions?: Schema$BackupInstancePartition[];
|
|
214
261
|
/**
|
|
215
262
|
* Output only. The max allowed expiration time of the backup, with microseconds granularity. A backup's expiration time can be configured in multiple APIs: CreateBackup, UpdateBackup, CopyBackup. When updating or copying an existing backup, the expiration time specified must be less than `Backup.max_expire_time`.
|
|
216
263
|
*/
|
|
@@ -265,12 +312,21 @@ export declare namespace spanner_v1 {
|
|
|
265
312
|
*/
|
|
266
313
|
versionTime?: string | null;
|
|
267
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* Instance partition information for the backup.
|
|
317
|
+
*/
|
|
318
|
+
export interface Schema$BackupInstancePartition {
|
|
319
|
+
/**
|
|
320
|
+
* A unique identifier for the instance partition. Values are of the form `projects//instances//instancePartitions/`
|
|
321
|
+
*/
|
|
322
|
+
instancePartition?: string | null;
|
|
323
|
+
}
|
|
268
324
|
/**
|
|
269
325
|
* BackupSchedule expresses the automated backup creation specification for a Spanner database.
|
|
270
326
|
*/
|
|
271
327
|
export interface Schema$BackupSchedule {
|
|
272
328
|
/**
|
|
273
|
-
* Optional. The encryption configuration that
|
|
329
|
+
* Optional. The encryption configuration that is used to encrypt the backup. If this field is not specified, the backup uses the same encryption configuration as the database.
|
|
274
330
|
*/
|
|
275
331
|
encryptionConfig?: Schema$CreateBackupEncryptionConfig;
|
|
276
332
|
/**
|
|
@@ -312,11 +368,11 @@ export declare namespace spanner_v1 {
|
|
|
312
368
|
*/
|
|
313
369
|
export interface Schema$BatchCreateSessionsRequest {
|
|
314
370
|
/**
|
|
315
|
-
* Required. The number of sessions to be created in this batch call. The API
|
|
371
|
+
* Required. The number of sessions to be created in this batch call. The API can return fewer than the requested number of sessions. If a specific number of sessions are desired, the client can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
|
|
316
372
|
*/
|
|
317
373
|
sessionCount?: number | null;
|
|
318
374
|
/**
|
|
319
|
-
* Parameters to
|
|
375
|
+
* Parameters to apply to each created session.
|
|
320
376
|
*/
|
|
321
377
|
sessionTemplate?: Schema$Session;
|
|
322
378
|
}
|
|
@@ -334,7 +390,7 @@ export declare namespace spanner_v1 {
|
|
|
334
390
|
*/
|
|
335
391
|
export interface Schema$BatchWriteRequest {
|
|
336
392
|
/**
|
|
337
|
-
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation
|
|
393
|
+
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all transactions in this batch write operation are not be recorded in change streams with DDL option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. * Modifications from all transactions in this batch write operation are recorded in change streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not set, Modifications from all transactions in this batch write operation are recorded in all change streams that are tracking columns modified by these transactions.
|
|
338
394
|
*/
|
|
339
395
|
excludeTxnFromChangeStreams?: boolean | null;
|
|
340
396
|
/**
|
|
@@ -368,7 +424,7 @@ export declare namespace spanner_v1 {
|
|
|
368
424
|
*/
|
|
369
425
|
export interface Schema$BeginTransactionRequest {
|
|
370
426
|
/**
|
|
371
|
-
* Optional. Required for read-write transactions on a multiplexed session that commit mutations but
|
|
427
|
+
* Optional. Required for read-write transactions on a multiplexed session that commit mutations but don't perform any reads or queries. You must randomly select one of the mutations from the mutation set and send it as a part of this request.
|
|
372
428
|
*/
|
|
373
429
|
mutationKey?: Schema$Mutation;
|
|
374
430
|
/**
|
|
@@ -376,7 +432,7 @@ export declare namespace spanner_v1 {
|
|
|
376
432
|
*/
|
|
377
433
|
options?: Schema$TransactionOptions;
|
|
378
434
|
/**
|
|
379
|
-
* Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct
|
|
435
|
+
* Common options for this request. Priority is ignored for this request. Setting the priority in this `request_options` struct doesn't do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
|
|
380
436
|
*/
|
|
381
437
|
requestOptions?: Schema$RequestOptions;
|
|
382
438
|
}
|
|
@@ -453,7 +509,7 @@ export declare namespace spanner_v1 {
|
|
|
453
509
|
*/
|
|
454
510
|
export interface Schema$CommitRequest {
|
|
455
511
|
/**
|
|
456
|
-
* Optional. The amount of latency this request is configured to incur in order to improve throughput. If this field
|
|
512
|
+
* Optional. The amount of latency this request is configured to incur in order to improve throughput. If this field isn't set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a commit delay value between 0 and 500 ms.
|
|
457
513
|
*/
|
|
458
514
|
maxCommitDelay?: string | null;
|
|
459
515
|
/**
|
|
@@ -461,7 +517,7 @@ export declare namespace spanner_v1 {
|
|
|
461
517
|
*/
|
|
462
518
|
mutations?: Schema$Mutation[];
|
|
463
519
|
/**
|
|
464
|
-
* 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
|
|
520
|
+
* Optional. If the read-write transaction was executed on a multiplexed session, then you must include the precommit token with the highest sequence number received in this transaction attempt. Failing to do so results in a `FailedPrecondition` error.
|
|
465
521
|
*/
|
|
466
522
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
467
523
|
/**
|
|
@@ -469,11 +525,11 @@ export declare namespace spanner_v1 {
|
|
|
469
525
|
*/
|
|
470
526
|
requestOptions?: Schema$RequestOptions;
|
|
471
527
|
/**
|
|
472
|
-
* If `true`, then statistics related to the transaction
|
|
528
|
+
* If `true`, then statistics related to the transaction is included in the CommitResponse. Default value is `false`.
|
|
473
529
|
*/
|
|
474
530
|
returnCommitStats?: boolean | null;
|
|
475
531
|
/**
|
|
476
|
-
* 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
|
|
532
|
+
* Execute mutations in a temporary transaction. Note that unlike commit of a previously-started transaction, commit with a temporary transaction is non-idempotent. That is, if the `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the application, or in the transport library), it's possible that the mutations are executed more than once. If this is undesirable, use BeginTransaction and Commit instead.
|
|
477
533
|
*/
|
|
478
534
|
singleUseTransaction?: Schema$TransactionOptions;
|
|
479
535
|
/**
|
|
@@ -486,7 +542,7 @@ export declare namespace spanner_v1 {
|
|
|
486
542
|
*/
|
|
487
543
|
export interface Schema$CommitResponse {
|
|
488
544
|
/**
|
|
489
|
-
* The statistics about this Commit
|
|
545
|
+
* The statistics about this `Commit`. Not returned by default. For more information, see CommitRequest.return_commit_stats.
|
|
490
546
|
*/
|
|
491
547
|
commitStats?: Schema$CommitStats;
|
|
492
548
|
/**
|
|
@@ -494,7 +550,7 @@ export declare namespace spanner_v1 {
|
|
|
494
550
|
*/
|
|
495
551
|
commitTimestamp?: string | null;
|
|
496
552
|
/**
|
|
497
|
-
* If specified, transaction has not committed yet.
|
|
553
|
+
* If specified, transaction has not committed yet. You must retry the commit with the new precommit token.
|
|
498
554
|
*/
|
|
499
555
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
500
556
|
}
|
|
@@ -775,19 +831,19 @@ export declare namespace spanner_v1 {
|
|
|
775
831
|
session?: Schema$Session;
|
|
776
832
|
}
|
|
777
833
|
/**
|
|
778
|
-
* CrontabSpec can be used to specify the version time and frequency at which the backup
|
|
834
|
+
* CrontabSpec can be used to specify the version time and frequency at which the backup is created.
|
|
779
835
|
*/
|
|
780
836
|
export interface Schema$CrontabSpec {
|
|
781
837
|
/**
|
|
782
|
-
* Output only.
|
|
838
|
+
* Output only. Scheduled backups contain an externally consistent copy of the database at the version time specified in `schedule_spec.cron_spec`. However, Spanner might not initiate the creation of the scheduled backups at that version time. Spanner initiates the creation of scheduled backups within the time window bounded by the version_time specified in `schedule_spec.cron_spec` and version_time + `creation_window`.
|
|
783
839
|
*/
|
|
784
840
|
creationWindow?: string | null;
|
|
785
841
|
/**
|
|
786
|
-
* 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.
|
|
842
|
+
* Required. Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timezone. The backup will contain an externally consistent copy of the database at the version time. Full backups must be scheduled a minimum of 12 hours apart and incremental backups must be scheduled a minimum of 4 hours apart. Examples of valid cron specifications: * `0 2/12 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 2,14 * * *` : every 12 hours at (2, 14) hours past midnight in UTC. * `0 x/4 * * *` : (incremental backups only) every 4 hours at (0, 4, 8, 12, 16, 20) hours past midnight in UTC. * `0 2 * * *` : once a day at 2 past midnight in UTC. * `0 2 * * 0` : once a week every Sunday at 2 past midnight in UTC. * `0 2 8 * *` : once a month on 8th day at 2 past midnight in UTC.
|
|
787
843
|
*/
|
|
788
844
|
text?: string | null;
|
|
789
845
|
/**
|
|
790
|
-
* Output only. The time zone of the times in `CrontabSpec.text`. Currently only UTC is supported.
|
|
846
|
+
* Output only. The time zone of the times in `CrontabSpec.text`. Currently, only UTC is supported.
|
|
791
847
|
*/
|
|
792
848
|
timeZone?: string | null;
|
|
793
849
|
}
|
|
@@ -926,15 +982,15 @@ export declare namespace spanner_v1 {
|
|
|
926
982
|
shortMessage?: Schema$LocalizedString;
|
|
927
983
|
}
|
|
928
984
|
/**
|
|
929
|
-
* The DirectedReadOptions can be used to indicate which replicas or regions should be used for non-transactional reads or queries. DirectedReadOptions
|
|
985
|
+
* The `DirectedReadOptions` can be used to indicate which replicas or regions should be used for non-transactional reads or queries. `DirectedReadOptions` can only be specified for a read-only transaction, otherwise the API returns an `INVALID_ARGUMENT` error.
|
|
930
986
|
*/
|
|
931
987
|
export interface Schema$DirectedReadOptions {
|
|
932
988
|
/**
|
|
933
|
-
* Exclude_replicas indicates that specified replicas should be excluded from serving requests. Spanner
|
|
989
|
+
* `Exclude_replicas` indicates that specified replicas should be excluded from serving requests. Spanner doesn't route requests to the replicas in this list.
|
|
934
990
|
*/
|
|
935
991
|
excludeReplicas?: Schema$ExcludeReplicas;
|
|
936
992
|
/**
|
|
937
|
-
* 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
|
|
993
|
+
* `Include_replicas` indicates the order of replicas (as they appear in this list) to process the request. If `auto_failover_disabled` is set to `true` and all replicas are exhausted without finding a healthy replica, Spanner waits for a replica in the list to become available, requests might fail due to `DEADLINE_EXCEEDED` errors.
|
|
938
994
|
*/
|
|
939
995
|
includeReplicas?: Schema$IncludeReplicas;
|
|
940
996
|
}
|
|
@@ -992,7 +1048,7 @@ export declare namespace spanner_v1 {
|
|
|
992
1048
|
*/
|
|
993
1049
|
export interface Schema$ExecuteBatchDmlRequest {
|
|
994
1050
|
/**
|
|
995
|
-
* Optional. If set to true
|
|
1051
|
+
* Optional. If set to `true`, this request marks the end of the transaction. After these statements execute, you must commit or abort the transaction. Attempts to execute any other requests against this transaction (including reads and queries) are rejected. Setting this option might cause some error reporting to be deferred until commit time (for example, validation of unique constraints). Given this, successful execution of statements shouldn't be assumed until a subsequent `Commit` call completes successfully.
|
|
996
1052
|
*/
|
|
997
1053
|
lastStatements?: boolean | null;
|
|
998
1054
|
/**
|
|
@@ -1000,7 +1056,7 @@ export declare namespace spanner_v1 {
|
|
|
1000
1056
|
*/
|
|
1001
1057
|
requestOptions?: Schema$RequestOptions;
|
|
1002
1058
|
/**
|
|
1003
|
-
* 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
|
|
1059
|
+
* Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one succeeds. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction might be aborted. Replays of previously handled requests yield the same response as the first execution.
|
|
1004
1060
|
*/
|
|
1005
1061
|
seqno?: string | null;
|
|
1006
1062
|
/**
|
|
@@ -1017,7 +1073,7 @@ export declare namespace spanner_v1 {
|
|
|
1017
1073
|
*/
|
|
1018
1074
|
export interface Schema$ExecuteBatchDmlResponse {
|
|
1019
1075
|
/**
|
|
1020
|
-
* Optional. A precommit token
|
|
1076
|
+
* Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt should be passed to the Commit request for this transaction.
|
|
1021
1077
|
*/
|
|
1022
1078
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
1023
1079
|
/**
|
|
@@ -1034,7 +1090,7 @@ export declare namespace spanner_v1 {
|
|
|
1034
1090
|
*/
|
|
1035
1091
|
export interface Schema$ExecuteSqlRequest {
|
|
1036
1092
|
/**
|
|
1037
|
-
* 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
|
|
1093
|
+
* If this is for a partitioned query and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request doesn't set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
|
|
1038
1094
|
*/
|
|
1039
1095
|
dataBoostEnabled?: boolean | null;
|
|
1040
1096
|
/**
|
|
@@ -1042,23 +1098,23 @@ export declare namespace spanner_v1 {
|
|
|
1042
1098
|
*/
|
|
1043
1099
|
directedReadOptions?: Schema$DirectedReadOptions;
|
|
1044
1100
|
/**
|
|
1045
|
-
* Optional. If set to true
|
|
1101
|
+
* Optional. If set to `true`, this statement marks the end of the transaction. After this statement executes, you must commit or abort the transaction. Attempts to execute any other requests against this transaction (including reads and queries) are rejected. For DML statements, setting this option might cause some error reporting to be deferred until commit time (for example, validation of unique constraints). Given this, successful execution of a DML statement shouldn't be assumed until a subsequent `Commit` call completes successfully.
|
|
1046
1102
|
*/
|
|
1047
1103
|
lastStatement?: boolean | null;
|
|
1048
1104
|
/**
|
|
1049
|
-
* 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
|
|
1105
|
+
* Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names must conform to the naming requirements of identifiers as specified at https://cloud.google.com/spanner/docs/lexical#identifiers. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters.
|
|
1050
1106
|
*/
|
|
1051
1107
|
params?: {
|
|
1052
1108
|
[key: string]: any;
|
|
1053
1109
|
} | null;
|
|
1054
1110
|
/**
|
|
1055
|
-
* It
|
|
1111
|
+
* It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, you can use `param_types` to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.
|
|
1056
1112
|
*/
|
|
1057
1113
|
paramTypes?: {
|
|
1058
1114
|
[key: string]: Schema$Type;
|
|
1059
1115
|
} | null;
|
|
1060
1116
|
/**
|
|
1061
|
-
* If present, results
|
|
1117
|
+
* If present, results are restricted to the specified partition previously created using `PartitionQuery`. There must be an exact match for the values of fields common to this message and the `PartitionQueryRequest` message used to create this `partition_token`.
|
|
1062
1118
|
*/
|
|
1063
1119
|
partitionToken?: string | null;
|
|
1064
1120
|
/**
|
|
@@ -1078,7 +1134,7 @@ export declare namespace spanner_v1 {
|
|
|
1078
1134
|
*/
|
|
1079
1135
|
resumeToken?: string | null;
|
|
1080
1136
|
/**
|
|
1081
|
-
* 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
|
|
1137
|
+
* A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one succeeds. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction can be aborted. Replays of previously handled requests yield the same response as the first execution. Required for DML statements. Ignored for queries.
|
|
1082
1138
|
*/
|
|
1083
1139
|
seqno?: string | null;
|
|
1084
1140
|
/**
|
|
@@ -1178,11 +1234,11 @@ export declare namespace spanner_v1 {
|
|
|
1178
1234
|
requestedPolicyVersion?: number | null;
|
|
1179
1235
|
}
|
|
1180
1236
|
/**
|
|
1181
|
-
* An IncludeReplicas contains a repeated set of ReplicaSelection which indicates the order in which replicas should be considered.
|
|
1237
|
+
* An `IncludeReplicas` contains a repeated set of `ReplicaSelection` which indicates the order in which replicas should be considered.
|
|
1182
1238
|
*/
|
|
1183
1239
|
export interface Schema$IncludeReplicas {
|
|
1184
1240
|
/**
|
|
1185
|
-
* If true
|
|
1241
|
+
* If `true`, Spanner doesn't route requests to a replica outside the <`include_replicas` list when all of the specified replicas are unavailable or unhealthy. Default value is `false`.
|
|
1186
1242
|
*/
|
|
1187
1243
|
autoFailoverDisabled?: boolean | null;
|
|
1188
1244
|
/**
|
|
@@ -1281,11 +1337,11 @@ export declare namespace spanner_v1 {
|
|
|
1281
1337
|
*/
|
|
1282
1338
|
name?: string | null;
|
|
1283
1339
|
/**
|
|
1284
|
-
* The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the `node_count` field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, `node_count` is treated as an `OUTPUT_ONLY` field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
|
|
1340
|
+
* The number of nodes allocated to this instance. At most, one of either `node_count` or `processing_units` should be present in the message. Users can set the `node_count` field to specify the target number of nodes allocated to the instance. If autoscaling is enabled, `node_count` is treated as an `OUTPUT_ONLY` field and reflects the current number of nodes allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. If the instance has varying node count across replicas (achieved by setting `asymmetric_autoscaling_options` in the autoscaling configuration), the `node_count` set here is the maximum node count across all replicas. For more information, see [Compute capacity, nodes, and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
|
|
1285
1341
|
*/
|
|
1286
1342
|
nodeCount?: number | null;
|
|
1287
1343
|
/**
|
|
1288
|
-
* The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
|
|
1344
|
+
* The number of processing units allocated to this instance. At most, one of either `processing_units` or `node_count` should be present in the message. Users can set the `processing_units` field to specify the target number of processing units allocated to the instance. If autoscaling is enabled, `processing_units` is treated as an `OUTPUT_ONLY` field and reflects the current number of processing units allocated to the instance. This might be zero in API responses for instances that are not yet in the `READY` state. If the instance has varying processing units per replica (achieved by setting `asymmetric_autoscaling_options` in the autoscaling configuration), the `processing_units` set here is the maximum processing units across all replicas. For more information, see [Compute capacity, nodes and processing units](https://cloud.google.com/spanner/docs/compute-capacity).
|
|
1289
1345
|
*/
|
|
1290
1346
|
processingUnits?: number | null;
|
|
1291
1347
|
/**
|
|
@@ -1838,7 +1894,7 @@ export declare namespace spanner_v1 {
|
|
|
1838
1894
|
targetConfig?: string | null;
|
|
1839
1895
|
}
|
|
1840
1896
|
/**
|
|
1841
|
-
* 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
|
|
1897
|
+
* When a read-write transaction is executed on a multiplexed session, this precommit token is sent back to the client as a part of the Transaction message in the BeginTransaction response and also as a part of the ResultSet and PartialResultSet responses.
|
|
1842
1898
|
*/
|
|
1843
1899
|
export interface Schema$MultiplexedSessionPrecommitToken {
|
|
1844
1900
|
/**
|
|
@@ -1951,12 +2007,16 @@ export declare namespace spanner_v1 {
|
|
|
1951
2007
|
* If true, then the final value in values is chunked, and must be combined with more values from subsequent `PartialResultSet`s to obtain a complete field value.
|
|
1952
2008
|
*/
|
|
1953
2009
|
chunkedValue?: boolean | null;
|
|
2010
|
+
/**
|
|
2011
|
+
* Optional. Indicates whether this is the last `PartialResultSet` in the stream. The server might optionally set this field. Clients shouldn't rely on this field being set in all cases.
|
|
2012
|
+
*/
|
|
2013
|
+
last?: boolean | null;
|
|
1954
2014
|
/**
|
|
1955
2015
|
* Metadata about the result set, such as row type information. Only present in the first response.
|
|
1956
2016
|
*/
|
|
1957
2017
|
metadata?: Schema$ResultSetMetadata;
|
|
1958
2018
|
/**
|
|
1959
|
-
* Optional. A precommit token
|
|
2019
|
+
* Optional. A precommit token is included if the read-write transaction has multiplexed sessions enabled. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction.
|
|
1960
2020
|
*/
|
|
1961
2021
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
1962
2022
|
/**
|
|
@@ -1964,11 +2024,11 @@ export declare namespace spanner_v1 {
|
|
|
1964
2024
|
*/
|
|
1965
2025
|
resumeToken?: string | null;
|
|
1966
2026
|
/**
|
|
1967
|
-
* 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
|
|
2027
|
+
* Query plan and execution statistics for the statement that produced this streaming result set. These can be requested by setting ExecuteSqlRequest.query_mode and are sent only once with the last response in the stream. This field is also present in the last response for DML statements.
|
|
1968
2028
|
*/
|
|
1969
2029
|
stats?: Schema$ResultSetStats;
|
|
1970
2030
|
/**
|
|
1971
|
-
* 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
|
|
2031
|
+
* A streamed result set consists of a stream of values, which might be split into many `PartialResultSet` messages to accommodate large rows and/or large values. Every N complete values defines a row, where N is equal to the number of entries in metadata.row_type.fields. Most values are encoded based on type as described here. It's possible that the last value in values is "chunked", meaning that the rest of the value is sent in subsequent `PartialResultSet`(s). This is denoted by the chunked_value field. Two or more chunked values can be merged to form a complete value as follows: * `bool/number/null`: can't be chunked * `string`: concatenate the strings * `list`: concatenate the lists. If the last element in a list is a `string`, `list`, or `object`, merge it with the first element in the next list by applying these rules recursively. * `object`: concatenate the (field name, field value) pairs. If a field name is duplicated, then apply these rules recursively to merge the field values. Some examples of merging: Strings are concatenated. "foo", "bar" =\> "foobar" Lists of non-strings are concatenated. [2, 3], [4] =\> [2, 3, 4] Lists are concatenated, but the last and first elements are merged because they are strings. ["a", "b"], ["c", "d"] =\> ["a", "bc", "d"] Lists are concatenated, but the last and first elements are merged because they are lists. Recursively, the last and first elements of the inner lists are merged because they are strings. ["a", ["b", "c"]], [["d"], "e"] =\> ["a", ["b", "cd"], "e"] Non-overlapping object fields are combined. {"a": "1"\}, {"b": "2"\} =\> {"a": "1", "b": 2"\} Overlapping object fields are merged. {"a": "1"\}, {"a": "2"\} =\> {"a": "12"\} Examples of merging objects containing lists of strings. {"a": ["1"]\}, {"a": ["2"]\} =\> {"a": ["12"]\} For a more complete example, suppose a streaming SQL query is yielding a result set whose rows contain a single string field. The following `PartialResultSet`s might be yielded: { "metadata": { ... \} "values": ["Hello", "W"] "chunked_value": true "resume_token": "Af65..." \} { "values": ["orl"] "chunked_value": true \} { "values": ["d"] "resume_token": "Zx1B..." \} This sequence of `PartialResultSet`s encodes two rows, one containing the field value `"Hello"`, and a second containing the field value `"World" = "W" + "orl" + "d"`. Not all `PartialResultSet`s contain a `resume_token`. Execution can only be resumed from a previously yielded `resume_token`. For the above sequence of `PartialResultSet`s, resuming the query with `"resume_token": "Af65..."` yields results from the `PartialResultSet` with value "orl".
|
|
1972
2032
|
*/
|
|
1973
2033
|
values?: any[] | null;
|
|
1974
2034
|
}
|
|
@@ -1977,7 +2037,7 @@ export declare namespace spanner_v1 {
|
|
|
1977
2037
|
*/
|
|
1978
2038
|
export interface Schema$Partition {
|
|
1979
2039
|
/**
|
|
1980
|
-
* This token can be passed to Read
|
|
2040
|
+
* This token can be passed to `Read`, `StreamingRead`, `ExecuteSql`, or `ExecuteStreamingSql` requests to restrict the results to those identified by this partition token.
|
|
1981
2041
|
*/
|
|
1982
2042
|
partitionToken?: string | null;
|
|
1983
2043
|
}
|
|
@@ -1987,15 +2047,15 @@ export declare namespace spanner_v1 {
|
|
|
1987
2047
|
export interface Schema$PartitionedDml {
|
|
1988
2048
|
}
|
|
1989
2049
|
/**
|
|
1990
|
-
* Options for a PartitionQueryRequest and PartitionReadRequest
|
|
2050
|
+
* Options for a `PartitionQueryRequest` and `PartitionReadRequest`.
|
|
1991
2051
|
*/
|
|
1992
2052
|
export interface Schema$PartitionOptions {
|
|
1993
2053
|
/**
|
|
1994
|
-
* **Note:** This hint is currently ignored by PartitionQuery and PartitionRead requests. The desired maximum number of partitions to return. For example, this
|
|
2054
|
+
* **Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests. The desired maximum number of partitions to return. For example, this might be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned can be smaller or larger than this maximum count request.
|
|
1995
2055
|
*/
|
|
1996
2056
|
maxPartitions?: string | null;
|
|
1997
2057
|
/**
|
|
1998
|
-
* **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
|
|
2058
|
+
* **Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests. The desired data size for each partition generated. The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition can be smaller or larger than this size request.
|
|
1999
2059
|
*/
|
|
2000
2060
|
partitionSizeBytes?: string | null;
|
|
2001
2061
|
}
|
|
@@ -2004,13 +2064,13 @@ export declare namespace spanner_v1 {
|
|
|
2004
2064
|
*/
|
|
2005
2065
|
export interface Schema$PartitionQueryRequest {
|
|
2006
2066
|
/**
|
|
2007
|
-
* 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
|
|
2067
|
+
* Parameter names and values that bind to placeholders in the SQL string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters.
|
|
2008
2068
|
*/
|
|
2009
2069
|
params?: {
|
|
2010
2070
|
[key: string]: any;
|
|
2011
2071
|
} | null;
|
|
2012
2072
|
/**
|
|
2013
|
-
* It
|
|
2073
|
+
* It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL query parameters. See the definition of Type for more information about SQL types.
|
|
2014
2074
|
*/
|
|
2015
2075
|
paramTypes?: {
|
|
2016
2076
|
[key: string]: Schema$Type;
|
|
@@ -2020,11 +2080,11 @@ export declare namespace spanner_v1 {
|
|
|
2020
2080
|
*/
|
|
2021
2081
|
partitionOptions?: Schema$PartitionOptions;
|
|
2022
2082
|
/**
|
|
2023
|
-
* Required. The query request to generate partitions for. The request fails if the query
|
|
2083
|
+
* Required. The query request to generate partitions for. The request fails if the query isn't root partitionable. For a query to be root partitionable, it needs to satisfy a few conditions. For example, if the query execution plan contains a distributed union operator, then it must be the first operator in the plan. For more information about other conditions, see [Read data in parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). The query request must not contain DML commands, such as `INSERT`, `UPDATE`, or `DELETE`. Use `ExecuteStreamingSql` with a `PartitionedDml` transaction for large, partition-friendly DML operations.
|
|
2024
2084
|
*/
|
|
2025
2085
|
sql?: string | null;
|
|
2026
2086
|
/**
|
|
2027
|
-
* Read
|
|
2087
|
+
* Read-only snapshot transactions are supported, read and write and single-use transactions are not.
|
|
2028
2088
|
*/
|
|
2029
2089
|
transaction?: Schema$TransactionSelector;
|
|
2030
2090
|
}
|
|
@@ -2041,7 +2101,7 @@ export declare namespace spanner_v1 {
|
|
|
2041
2101
|
*/
|
|
2042
2102
|
index?: string | null;
|
|
2043
2103
|
/**
|
|
2044
|
-
* 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
|
|
2104
|
+
* Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. It isn't an error for the `key_set` to name rows that don't exist in the database. Read yields nothing for nonexistent rows.
|
|
2045
2105
|
*/
|
|
2046
2106
|
keySet?: Schema$KeySet;
|
|
2047
2107
|
/**
|
|
@@ -2163,11 +2223,11 @@ export declare namespace spanner_v1 {
|
|
|
2163
2223
|
*/
|
|
2164
2224
|
export interface Schema$QueryOptions {
|
|
2165
2225
|
/**
|
|
2166
|
-
* 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
|
|
2226
|
+
* An option to control the selection of optimizer statistics package. This parameter allows individual queries to use a different query optimizer statistics package. Specifying `latest` as a value instructs Cloud Spanner to use the latest generated statistics package. If not specified, Cloud Spanner uses the statistics package set at the database level options, or the latest package if the database option isn't set. The statistics package requested by the query has to be exempt from garbage collection. This can be achieved with the following DDL statement: ```sql ALTER STATISTICS SET OPTIONS (allow_gc=false) ``` The list of available statistics packages can be queried from `INFORMATION_SCHEMA.SPANNER_STATISTICS`. Executing a SQL statement with an invalid optimizer statistics package or with a statistics package that allows garbage collection fails with an `INVALID_ARGUMENT` error.
|
|
2167
2227
|
*/
|
|
2168
2228
|
optimizerStatisticsPackage?: string | null;
|
|
2169
2229
|
/**
|
|
2170
|
-
* 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
|
|
2230
|
+
* An option to control the selection of optimizer version. This parameter allows individual queries to pick different query optimizer versions. Specifying `latest` as a value instructs Cloud Spanner to use the latest supported query optimizer version. If not specified, Cloud Spanner uses the optimizer version set at the database level options. Any other positive integer (from the list of supported optimizer versions) overrides the default optimizer version for query execution. The list of supported optimizer versions can be queried from `SPANNER_SYS.SUPPORTED_OPTIMIZER_VERSIONS`. Executing a SQL statement with an invalid optimizer version fails with an `INVALID_ARGUMENT` error. See https://cloud.google.com/spanner/docs/query-optimizer/manage-query-optimizer for more information on managing the query optimizer. The `optimizer_version` statement hint has precedence over this setting.
|
|
2171
2231
|
*/
|
|
2172
2232
|
optimizerVersion?: string | null;
|
|
2173
2233
|
}
|
|
@@ -2256,7 +2316,7 @@ export declare namespace spanner_v1 {
|
|
|
2256
2316
|
*/
|
|
2257
2317
|
columns?: string[] | null;
|
|
2258
2318
|
/**
|
|
2259
|
-
* 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
|
|
2319
|
+
* If this is for a partitioned read and this field is set to `true`, the request is executed with Spanner Data Boost independent compute resources. If the field is set to `true` but the request doesn't set `partition_token`, the API returns an `INVALID_ARGUMENT` error.
|
|
2260
2320
|
*/
|
|
2261
2321
|
dataBoostEnabled?: boolean | null;
|
|
2262
2322
|
/**
|
|
@@ -2268,11 +2328,11 @@ export declare namespace spanner_v1 {
|
|
|
2268
2328
|
*/
|
|
2269
2329
|
index?: string | null;
|
|
2270
2330
|
/**
|
|
2271
|
-
* 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
|
|
2331
|
+
* Required. `key_set` identifies the rows to be yielded. `key_set` names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index. If the partition_token field is empty, rows are yielded in table primary key order (if index is empty) or index key order (if index is non-empty). If the partition_token field isn't empty, rows are yielded in an unspecified order. It isn't an error for the `key_set` to name rows that don't exist in the database. Read yields nothing for nonexistent rows.
|
|
2272
2332
|
*/
|
|
2273
2333
|
keySet?: Schema$KeySet;
|
|
2274
2334
|
/**
|
|
2275
|
-
* If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit
|
|
2335
|
+
* If greater than zero, only the first `limit` rows are yielded. If `limit` is zero, the default is no limit. A limit can't be specified if `partition_token` is set.
|
|
2276
2336
|
*/
|
|
2277
2337
|
limit?: string | null;
|
|
2278
2338
|
/**
|
|
@@ -2280,11 +2340,11 @@ export declare namespace spanner_v1 {
|
|
|
2280
2340
|
*/
|
|
2281
2341
|
lockHint?: string | null;
|
|
2282
2342
|
/**
|
|
2283
|
-
* Optional. Order for the returned rows. By default, Spanner
|
|
2343
|
+
* Optional. Order for the returned rows. By default, Spanner returns result rows in primary key order except for PartitionRead requests. For applications that don't require rows to be returned in primary key (`ORDER_BY_PRIMARY_KEY`) order, setting `ORDER_BY_NO_ORDER` option allows Spanner to optimize row retrieval, resulting in lower latencies in certain cases (for example, bulk point lookups).
|
|
2284
2344
|
*/
|
|
2285
2345
|
orderBy?: string | null;
|
|
2286
2346
|
/**
|
|
2287
|
-
* If present, results
|
|
2347
|
+
* If present, results are restricted to the specified partition previously created using `PartitionRead`. There must be an exact match for the values of fields common to this message and the PartitionReadRequest message used to create this partition_token.
|
|
2288
2348
|
*/
|
|
2289
2349
|
partitionToken?: string | null;
|
|
2290
2350
|
/**
|
|
@@ -2349,11 +2409,11 @@ export declare namespace spanner_v1 {
|
|
|
2349
2409
|
type?: string | null;
|
|
2350
2410
|
}
|
|
2351
2411
|
/**
|
|
2352
|
-
* 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
|
|
2412
|
+
* The directed read replica selector. Callers must provide one or more of the following fields for replica selection: * `location` - The location must be one of the regions within the multi-region configuration of your database. * `type` - The type of the replica. Some examples of using replica_selectors are: * `location:us-east1` --\> The "us-east1" replica(s) of any available type is used to process the request. * `type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in the nearest available location are used to process the request. * `location:us-east1 type:READ_ONLY` --\> The "READ_ONLY" type replica(s) in location "us-east1" is used to process the request.
|
|
2353
2413
|
*/
|
|
2354
2414
|
export interface Schema$ReplicaSelection {
|
|
2355
2415
|
/**
|
|
2356
|
-
* The location or region of the serving requests,
|
|
2416
|
+
* The location or region of the serving requests, for example, "us-east1".
|
|
2357
2417
|
*/
|
|
2358
2418
|
location?: string | null;
|
|
2359
2419
|
/**
|
|
@@ -2370,11 +2430,11 @@ export declare namespace spanner_v1 {
|
|
|
2370
2430
|
*/
|
|
2371
2431
|
priority?: string | null;
|
|
2372
2432
|
/**
|
|
2373
|
-
* 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 (
|
|
2433
|
+
* A per-request tag which can be applied to queries or reads, used for statistics collection. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. This field is ignored for requests where it's not applicable (for example, `CommitRequest`). Legal characters for `request_tag` values are all printable characters (ASCII 32 - 126) and the length of a request_tag is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string.
|
|
2374
2434
|
*/
|
|
2375
2435
|
requestTag?: string | null;
|
|
2376
2436
|
/**
|
|
2377
|
-
* 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
|
|
2437
|
+
* A tag used for statistics collection about this transaction. Both `request_tag` and `transaction_tag` can be specified for a read or query that belongs to a transaction. The value of transaction_tag should be the same for all requests belonging to the same transaction. If this request doesn't belong to any transaction, `transaction_tag` is ignored. Legal characters for `transaction_tag` values are all printable characters (ASCII 32 - 126) and the length of a `transaction_tag` is limited to 50 characters. Values that exceed this limit are truncated. Any leading underscore (_) characters are removed from the string.
|
|
2378
2438
|
*/
|
|
2379
2439
|
transactionTag?: string | null;
|
|
2380
2440
|
}
|
|
@@ -2463,7 +2523,7 @@ export declare namespace spanner_v1 {
|
|
|
2463
2523
|
*/
|
|
2464
2524
|
metadata?: Schema$ResultSetMetadata;
|
|
2465
2525
|
/**
|
|
2466
|
-
* Optional. A precommit token
|
|
2526
|
+
* Optional. A precommit token is included if the read-write transaction is on a multiplexed session. Pass the precommit token with the highest sequence number from this transaction attempt to the Commit request for this transaction.
|
|
2467
2527
|
*/
|
|
2468
2528
|
precommitToken?: Schema$MultiplexedSessionPrecommitToken;
|
|
2469
2529
|
/**
|
|
@@ -2471,7 +2531,7 @@ export declare namespace spanner_v1 {
|
|
|
2471
2531
|
*/
|
|
2472
2532
|
rows?: any[][] | null;
|
|
2473
2533
|
/**
|
|
2474
|
-
* 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
|
|
2534
|
+
* Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting ExecuteSqlRequest.query_mode. DML statements always produce stats containing the number of rows modified, unless executed using the ExecuteSqlRequest.QueryMode.PLAN ExecuteSqlRequest.query_mode. Other fields might or might not be populated, based on the ExecuteSqlRequest.query_mode.
|
|
2475
2535
|
*/
|
|
2476
2536
|
stats?: Schema$ResultSetStats;
|
|
2477
2537
|
}
|
|
@@ -2511,7 +2571,7 @@ export declare namespace spanner_v1 {
|
|
|
2511
2571
|
*/
|
|
2512
2572
|
rowCountExact?: string | null;
|
|
2513
2573
|
/**
|
|
2514
|
-
* Partitioned DML
|
|
2574
|
+
* Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.
|
|
2515
2575
|
*/
|
|
2516
2576
|
rowCountLowerBound?: string | null;
|
|
2517
2577
|
}
|
|
@@ -2573,7 +2633,7 @@ export declare namespace spanner_v1 {
|
|
|
2573
2633
|
*/
|
|
2574
2634
|
export interface Schema$Session {
|
|
2575
2635
|
/**
|
|
2576
|
-
* Output only. The approximate timestamp when the session is last used. It
|
|
2636
|
+
* Output only. The approximate timestamp when the session is last used. It's typically earlier than the actual last use time.
|
|
2577
2637
|
*/
|
|
2578
2638
|
approximateLastUseTime?: string | null;
|
|
2579
2639
|
/**
|
|
@@ -2591,7 +2651,7 @@ export declare namespace spanner_v1 {
|
|
|
2591
2651
|
[key: string]: string;
|
|
2592
2652
|
} | null;
|
|
2593
2653
|
/**
|
|
2594
|
-
* Optional. If true
|
|
2654
|
+
* Optional. If `true`, specifies a multiplexed session. Use a multiplexed session for multiple, concurrent read-only operations. Don't use them for read-write transactions, partitioned reads, or partitioned queries. Use `sessions.create` to create multiplexed sessions. Don't use BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed sessions.
|
|
2595
2655
|
*/
|
|
2596
2656
|
multiplexed?: boolean | null;
|
|
2597
2657
|
/**
|
|
@@ -2658,13 +2718,13 @@ export declare namespace spanner_v1 {
|
|
|
2658
2718
|
*/
|
|
2659
2719
|
export interface Schema$Statement {
|
|
2660
2720
|
/**
|
|
2661
|
-
* 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
|
|
2721
|
+
* Parameter names and values that bind to placeholders in the DML string. A parameter placeholder consists of the `@` character followed by the parameter name (for example, `@firstName`). Parameter names can contain letters, numbers, and underscores. Parameters can appear anywhere that a literal value is expected. The same parameter name can be used more than once, for example: `"WHERE id \> @msg_id AND id < @msg_id + 100"` It's an error to execute a SQL statement with unbound parameters.
|
|
2662
2722
|
*/
|
|
2663
2723
|
params?: {
|
|
2664
2724
|
[key: string]: any;
|
|
2665
2725
|
} | null;
|
|
2666
2726
|
/**
|
|
2667
|
-
* It
|
|
2727
|
+
* It isn't always possible for Cloud Spanner to infer the right SQL type from a JSON value. For example, values of type `BYTES` and values of type `STRING` both appear in params as JSON strings. In these cases, `param_types` can be used to specify the exact SQL type for some or all of the SQL statement parameters. See the definition of Type for more information about SQL types.
|
|
2668
2728
|
*/
|
|
2669
2729
|
paramTypes?: {
|
|
2670
2730
|
[key: string]: Schema$Type;
|
|
@@ -2745,6 +2805,10 @@ export declare namespace spanner_v1 {
|
|
|
2745
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.
|
|
2746
2806
|
*/
|
|
2747
2807
|
excludeTxnFromChangeStreams?: boolean | null;
|
|
2808
|
+
/**
|
|
2809
|
+
* Isolation level for the transaction.
|
|
2810
|
+
*/
|
|
2811
|
+
isolationLevel?: string | null;
|
|
2748
2812
|
/**
|
|
2749
2813
|
* Partitioned DML transaction. Authorization to begin a Partitioned DML transaction requires `spanner.databases.beginPartitionedDmlTransaction` permission on the `session` resource.
|
|
2750
2814
|
*/
|
|
@@ -3059,8 +3123,8 @@ export declare namespace spanner_v1 {
|
|
|
3059
3123
|
* @param callback - Optional callback that handles the response.
|
|
3060
3124
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3061
3125
|
*/
|
|
3062
|
-
list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions):
|
|
3063
|
-
list(params?: Params$Resource$Projects$Instanceconfigoperations$List, options?: MethodOptions):
|
|
3126
|
+
list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3127
|
+
list(params?: Params$Resource$Projects$Instanceconfigoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstanceConfigOperationsResponse>>;
|
|
3064
3128
|
list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3065
3129
|
list(params: Params$Resource$Projects$Instanceconfigoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstanceConfigOperationsResponse>, callback: BodyResponseCallback<Schema$ListInstanceConfigOperationsResponse>): void;
|
|
3066
3130
|
list(params: Params$Resource$Projects$Instanceconfigoperations$List, callback: BodyResponseCallback<Schema$ListInstanceConfigOperationsResponse>): void;
|
|
@@ -3097,8 +3161,8 @@ export declare namespace spanner_v1 {
|
|
|
3097
3161
|
* @param callback - Optional callback that handles the response.
|
|
3098
3162
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3099
3163
|
*/
|
|
3100
|
-
create(params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions):
|
|
3101
|
-
create(params?: Params$Resource$Projects$Instanceconfigs$Create, options?: MethodOptions):
|
|
3164
|
+
create(params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3165
|
+
create(params?: Params$Resource$Projects$Instanceconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3102
3166
|
create(params: Params$Resource$Projects$Instanceconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3103
3167
|
create(params: Params$Resource$Projects$Instanceconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3104
3168
|
create(params: Params$Resource$Projects$Instanceconfigs$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3111,8 +3175,8 @@ export declare namespace spanner_v1 {
|
|
|
3111
3175
|
* @param callback - Optional callback that handles the response.
|
|
3112
3176
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3113
3177
|
*/
|
|
3114
|
-
delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions):
|
|
3115
|
-
delete(params?: Params$Resource$Projects$Instanceconfigs$Delete, options?: MethodOptions):
|
|
3178
|
+
delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3179
|
+
delete(params?: Params$Resource$Projects$Instanceconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3116
3180
|
delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3117
3181
|
delete(params: Params$Resource$Projects$Instanceconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3118
3182
|
delete(params: Params$Resource$Projects$Instanceconfigs$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3125,8 +3189,8 @@ export declare namespace spanner_v1 {
|
|
|
3125
3189
|
* @param callback - Optional callback that handles the response.
|
|
3126
3190
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3127
3191
|
*/
|
|
3128
|
-
get(params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions):
|
|
3129
|
-
get(params?: Params$Resource$Projects$Instanceconfigs$Get, options?: MethodOptions):
|
|
3192
|
+
get(params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3193
|
+
get(params?: Params$Resource$Projects$Instanceconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstanceConfig>>;
|
|
3130
3194
|
get(params: Params$Resource$Projects$Instanceconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3131
3195
|
get(params: Params$Resource$Projects$Instanceconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$InstanceConfig>, callback: BodyResponseCallback<Schema$InstanceConfig>): void;
|
|
3132
3196
|
get(params: Params$Resource$Projects$Instanceconfigs$Get, callback: BodyResponseCallback<Schema$InstanceConfig>): void;
|
|
@@ -3139,8 +3203,8 @@ export declare namespace spanner_v1 {
|
|
|
3139
3203
|
* @param callback - Optional callback that handles the response.
|
|
3140
3204
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3141
3205
|
*/
|
|
3142
|
-
list(params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions):
|
|
3143
|
-
list(params?: Params$Resource$Projects$Instanceconfigs$List, options?: MethodOptions):
|
|
3206
|
+
list(params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3207
|
+
list(params?: Params$Resource$Projects$Instanceconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstanceConfigsResponse>>;
|
|
3144
3208
|
list(params: Params$Resource$Projects$Instanceconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3145
3209
|
list(params: Params$Resource$Projects$Instanceconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstanceConfigsResponse>, callback: BodyResponseCallback<Schema$ListInstanceConfigsResponse>): void;
|
|
3146
3210
|
list(params: Params$Resource$Projects$Instanceconfigs$List, callback: BodyResponseCallback<Schema$ListInstanceConfigsResponse>): void;
|
|
@@ -3153,8 +3217,8 @@ export declare namespace spanner_v1 {
|
|
|
3153
3217
|
* @param callback - Optional callback that handles the response.
|
|
3154
3218
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3155
3219
|
*/
|
|
3156
|
-
patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions):
|
|
3157
|
-
patch(params?: Params$Resource$Projects$Instanceconfigs$Patch, options?: MethodOptions):
|
|
3220
|
+
patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3221
|
+
patch(params?: Params$Resource$Projects$Instanceconfigs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3158
3222
|
patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3159
3223
|
patch(params: Params$Resource$Projects$Instanceconfigs$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3160
3224
|
patch(params: Params$Resource$Projects$Instanceconfigs$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3225,8 +3289,8 @@ export declare namespace spanner_v1 {
|
|
|
3225
3289
|
* @param callback - Optional callback that handles the response.
|
|
3226
3290
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3227
3291
|
*/
|
|
3228
|
-
cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions):
|
|
3229
|
-
cancel(params?: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options?: MethodOptions):
|
|
3292
|
+
cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3293
|
+
cancel(params?: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3230
3294
|
cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3231
3295
|
cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3232
3296
|
cancel(params: Params$Resource$Projects$Instanceconfigs$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3239,8 +3303,8 @@ export declare namespace spanner_v1 {
|
|
|
3239
3303
|
* @param callback - Optional callback that handles the response.
|
|
3240
3304
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3241
3305
|
*/
|
|
3242
|
-
delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions):
|
|
3243
|
-
delete(params?: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options?: MethodOptions):
|
|
3306
|
+
delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3307
|
+
delete(params?: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3244
3308
|
delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3245
3309
|
delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3246
3310
|
delete(params: Params$Resource$Projects$Instanceconfigs$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3253,8 +3317,8 @@ export declare namespace spanner_v1 {
|
|
|
3253
3317
|
* @param callback - Optional callback that handles the response.
|
|
3254
3318
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3255
3319
|
*/
|
|
3256
|
-
get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions):
|
|
3257
|
-
get(params?: Params$Resource$Projects$Instanceconfigs$Operations$Get, options?: MethodOptions):
|
|
3320
|
+
get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3321
|
+
get(params?: Params$Resource$Projects$Instanceconfigs$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3258
3322
|
get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3259
3323
|
get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3260
3324
|
get(params: Params$Resource$Projects$Instanceconfigs$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3267,8 +3331,8 @@ export declare namespace spanner_v1 {
|
|
|
3267
3331
|
* @param callback - Optional callback that handles the response.
|
|
3268
3332
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3269
3333
|
*/
|
|
3270
|
-
list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions):
|
|
3271
|
-
list(params?: Params$Resource$Projects$Instanceconfigs$Operations$List, options?: MethodOptions):
|
|
3334
|
+
list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3335
|
+
list(params?: Params$Resource$Projects$Instanceconfigs$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
3272
3336
|
list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3273
3337
|
list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
3274
3338
|
list(params: Params$Resource$Projects$Instanceconfigs$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -3326,8 +3390,8 @@ export declare namespace spanner_v1 {
|
|
|
3326
3390
|
* @param callback - Optional callback that handles the response.
|
|
3327
3391
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3328
3392
|
*/
|
|
3329
|
-
cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions):
|
|
3330
|
-
cancel(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options?: MethodOptions):
|
|
3393
|
+
cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3394
|
+
cancel(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3331
3395
|
cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3332
3396
|
cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3333
3397
|
cancel(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3340,8 +3404,8 @@ export declare namespace spanner_v1 {
|
|
|
3340
3404
|
* @param callback - Optional callback that handles the response.
|
|
3341
3405
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3342
3406
|
*/
|
|
3343
|
-
delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions):
|
|
3344
|
-
delete(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options?: MethodOptions):
|
|
3407
|
+
delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3408
|
+
delete(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3345
3409
|
delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3346
3410
|
delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3347
3411
|
delete(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3354,8 +3418,8 @@ export declare namespace spanner_v1 {
|
|
|
3354
3418
|
* @param callback - Optional callback that handles the response.
|
|
3355
3419
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3356
3420
|
*/
|
|
3357
|
-
get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions):
|
|
3358
|
-
get(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options?: MethodOptions):
|
|
3421
|
+
get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3422
|
+
get(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3359
3423
|
get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3360
3424
|
get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3361
3425
|
get(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3368,8 +3432,8 @@ export declare namespace spanner_v1 {
|
|
|
3368
3432
|
* @param callback - Optional callback that handles the response.
|
|
3369
3433
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3370
3434
|
*/
|
|
3371
|
-
list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions):
|
|
3372
|
-
list(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options?: MethodOptions):
|
|
3435
|
+
list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3436
|
+
list(params?: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
3373
3437
|
list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3374
3438
|
list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
3375
3439
|
list(params: Params$Resource$Projects$Instanceconfigs$Ssdcaches$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -3429,8 +3493,8 @@ export declare namespace spanner_v1 {
|
|
|
3429
3493
|
* @param callback - Optional callback that handles the response.
|
|
3430
3494
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3431
3495
|
*/
|
|
3432
|
-
create(params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions):
|
|
3433
|
-
create(params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions):
|
|
3496
|
+
create(params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3497
|
+
create(params?: Params$Resource$Projects$Instances$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3434
3498
|
create(params: Params$Resource$Projects$Instances$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3435
3499
|
create(params: Params$Resource$Projects$Instances$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3436
3500
|
create(params: Params$Resource$Projects$Instances$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3443,8 +3507,8 @@ export declare namespace spanner_v1 {
|
|
|
3443
3507
|
* @param callback - Optional callback that handles the response.
|
|
3444
3508
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3445
3509
|
*/
|
|
3446
|
-
delete(params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions):
|
|
3447
|
-
delete(params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions):
|
|
3510
|
+
delete(params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3511
|
+
delete(params?: Params$Resource$Projects$Instances$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3448
3512
|
delete(params: Params$Resource$Projects$Instances$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3449
3513
|
delete(params: Params$Resource$Projects$Instances$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3450
3514
|
delete(params: Params$Resource$Projects$Instances$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3457,8 +3521,8 @@ export declare namespace spanner_v1 {
|
|
|
3457
3521
|
* @param callback - Optional callback that handles the response.
|
|
3458
3522
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3459
3523
|
*/
|
|
3460
|
-
get(params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions):
|
|
3461
|
-
get(params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions):
|
|
3524
|
+
get(params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3525
|
+
get(params?: Params$Resource$Projects$Instances$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Instance>>;
|
|
3462
3526
|
get(params: Params$Resource$Projects$Instances$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3463
3527
|
get(params: Params$Resource$Projects$Instances$Get, options: MethodOptions | BodyResponseCallback<Schema$Instance>, callback: BodyResponseCallback<Schema$Instance>): void;
|
|
3464
3528
|
get(params: Params$Resource$Projects$Instances$Get, callback: BodyResponseCallback<Schema$Instance>): void;
|
|
@@ -3471,8 +3535,8 @@ export declare namespace spanner_v1 {
|
|
|
3471
3535
|
* @param callback - Optional callback that handles the response.
|
|
3472
3536
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3473
3537
|
*/
|
|
3474
|
-
getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions):
|
|
3475
|
-
getIamPolicy(params?: Params$Resource$Projects$Instances$Getiampolicy, options?: MethodOptions):
|
|
3538
|
+
getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3539
|
+
getIamPolicy(params?: Params$Resource$Projects$Instances$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3476
3540
|
getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3477
3541
|
getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3478
3542
|
getIamPolicy(params: Params$Resource$Projects$Instances$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -3485,8 +3549,8 @@ export declare namespace spanner_v1 {
|
|
|
3485
3549
|
* @param callback - Optional callback that handles the response.
|
|
3486
3550
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3487
3551
|
*/
|
|
3488
|
-
list(params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions):
|
|
3489
|
-
list(params?: Params$Resource$Projects$Instances$List, options?: MethodOptions):
|
|
3552
|
+
list(params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3553
|
+
list(params?: Params$Resource$Projects$Instances$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancesResponse>>;
|
|
3490
3554
|
list(params: Params$Resource$Projects$Instances$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3491
3555
|
list(params: Params$Resource$Projects$Instances$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancesResponse>, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
|
|
3492
3556
|
list(params: Params$Resource$Projects$Instances$List, callback: BodyResponseCallback<Schema$ListInstancesResponse>): void;
|
|
@@ -3499,8 +3563,8 @@ export declare namespace spanner_v1 {
|
|
|
3499
3563
|
* @param callback - Optional callback that handles the response.
|
|
3500
3564
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3501
3565
|
*/
|
|
3502
|
-
move(params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions):
|
|
3503
|
-
move(params?: Params$Resource$Projects$Instances$Move, options?: MethodOptions):
|
|
3566
|
+
move(params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3567
|
+
move(params?: Params$Resource$Projects$Instances$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3504
3568
|
move(params: Params$Resource$Projects$Instances$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3505
3569
|
move(params: Params$Resource$Projects$Instances$Move, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3506
3570
|
move(params: Params$Resource$Projects$Instances$Move, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3513,8 +3577,8 @@ export declare namespace spanner_v1 {
|
|
|
3513
3577
|
* @param callback - Optional callback that handles the response.
|
|
3514
3578
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3515
3579
|
*/
|
|
3516
|
-
patch(params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions):
|
|
3517
|
-
patch(params?: Params$Resource$Projects$Instances$Patch, options?: MethodOptions):
|
|
3580
|
+
patch(params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3581
|
+
patch(params?: Params$Resource$Projects$Instances$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3518
3582
|
patch(params: Params$Resource$Projects$Instances$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3519
3583
|
patch(params: Params$Resource$Projects$Instances$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3520
3584
|
patch(params: Params$Resource$Projects$Instances$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3527,8 +3591,8 @@ export declare namespace spanner_v1 {
|
|
|
3527
3591
|
* @param callback - Optional callback that handles the response.
|
|
3528
3592
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3529
3593
|
*/
|
|
3530
|
-
setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions):
|
|
3531
|
-
setIamPolicy(params?: Params$Resource$Projects$Instances$Setiampolicy, options?: MethodOptions):
|
|
3594
|
+
setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3595
|
+
setIamPolicy(params?: Params$Resource$Projects$Instances$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3532
3596
|
setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3533
3597
|
setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3534
3598
|
setIamPolicy(params: Params$Resource$Projects$Instances$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -3541,8 +3605,8 @@ export declare namespace spanner_v1 {
|
|
|
3541
3605
|
* @param callback - Optional callback that handles the response.
|
|
3542
3606
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3543
3607
|
*/
|
|
3544
|
-
testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions):
|
|
3545
|
-
testIamPermissions(params?: Params$Resource$Projects$Instances$Testiampermissions, options?: MethodOptions):
|
|
3608
|
+
testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3609
|
+
testIamPermissions(params?: Params$Resource$Projects$Instances$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
3546
3610
|
testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3547
3611
|
testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3548
3612
|
testIamPermissions(params: Params$Resource$Projects$Instances$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -3657,8 +3721,8 @@ export declare namespace spanner_v1 {
|
|
|
3657
3721
|
* @param callback - Optional callback that handles the response.
|
|
3658
3722
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3659
3723
|
*/
|
|
3660
|
-
list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions):
|
|
3661
|
-
list(params?: Params$Resource$Projects$Instances$Backupoperations$List, options?: MethodOptions):
|
|
3724
|
+
list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3725
|
+
list(params?: Params$Resource$Projects$Instances$Backupoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupOperationsResponse>>;
|
|
3662
3726
|
list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3663
3727
|
list(params: Params$Resource$Projects$Instances$Backupoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupOperationsResponse>, callback: BodyResponseCallback<Schema$ListBackupOperationsResponse>): void;
|
|
3664
3728
|
list(params: Params$Resource$Projects$Instances$Backupoperations$List, callback: BodyResponseCallback<Schema$ListBackupOperationsResponse>): void;
|
|
@@ -3694,8 +3758,8 @@ export declare namespace spanner_v1 {
|
|
|
3694
3758
|
* @param callback - Optional callback that handles the response.
|
|
3695
3759
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3696
3760
|
*/
|
|
3697
|
-
copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions):
|
|
3698
|
-
copy(params?: Params$Resource$Projects$Instances$Backups$Copy, options?: MethodOptions):
|
|
3761
|
+
copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3762
|
+
copy(params?: Params$Resource$Projects$Instances$Backups$Copy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3699
3763
|
copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3700
3764
|
copy(params: Params$Resource$Projects$Instances$Backups$Copy, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3701
3765
|
copy(params: Params$Resource$Projects$Instances$Backups$Copy, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3708,8 +3772,8 @@ export declare namespace spanner_v1 {
|
|
|
3708
3772
|
* @param callback - Optional callback that handles the response.
|
|
3709
3773
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3710
3774
|
*/
|
|
3711
|
-
create(params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions):
|
|
3712
|
-
create(params?: Params$Resource$Projects$Instances$Backups$Create, options?: MethodOptions):
|
|
3775
|
+
create(params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3776
|
+
create(params?: Params$Resource$Projects$Instances$Backups$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3713
3777
|
create(params: Params$Resource$Projects$Instances$Backups$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3714
3778
|
create(params: Params$Resource$Projects$Instances$Backups$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3715
3779
|
create(params: Params$Resource$Projects$Instances$Backups$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3722,8 +3786,8 @@ export declare namespace spanner_v1 {
|
|
|
3722
3786
|
* @param callback - Optional callback that handles the response.
|
|
3723
3787
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3724
3788
|
*/
|
|
3725
|
-
delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions):
|
|
3726
|
-
delete(params?: Params$Resource$Projects$Instances$Backups$Delete, options?: MethodOptions):
|
|
3789
|
+
delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3790
|
+
delete(params?: Params$Resource$Projects$Instances$Backups$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3727
3791
|
delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3728
3792
|
delete(params: Params$Resource$Projects$Instances$Backups$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3729
3793
|
delete(params: Params$Resource$Projects$Instances$Backups$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3736,8 +3800,8 @@ export declare namespace spanner_v1 {
|
|
|
3736
3800
|
* @param callback - Optional callback that handles the response.
|
|
3737
3801
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3738
3802
|
*/
|
|
3739
|
-
get(params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions):
|
|
3740
|
-
get(params?: Params$Resource$Projects$Instances$Backups$Get, options?: MethodOptions):
|
|
3803
|
+
get(params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3804
|
+
get(params?: Params$Resource$Projects$Instances$Backups$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
|
|
3741
3805
|
get(params: Params$Resource$Projects$Instances$Backups$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3742
3806
|
get(params: Params$Resource$Projects$Instances$Backups$Get, options: MethodOptions | BodyResponseCallback<Schema$Backup>, callback: BodyResponseCallback<Schema$Backup>): void;
|
|
3743
3807
|
get(params: Params$Resource$Projects$Instances$Backups$Get, callback: BodyResponseCallback<Schema$Backup>): void;
|
|
@@ -3750,8 +3814,8 @@ export declare namespace spanner_v1 {
|
|
|
3750
3814
|
* @param callback - Optional callback that handles the response.
|
|
3751
3815
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3752
3816
|
*/
|
|
3753
|
-
getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions):
|
|
3754
|
-
getIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Getiampolicy, options?: MethodOptions):
|
|
3817
|
+
getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3818
|
+
getIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3755
3819
|
getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3756
3820
|
getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3757
3821
|
getIamPolicy(params: Params$Resource$Projects$Instances$Backups$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -3764,8 +3828,8 @@ export declare namespace spanner_v1 {
|
|
|
3764
3828
|
* @param callback - Optional callback that handles the response.
|
|
3765
3829
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3766
3830
|
*/
|
|
3767
|
-
list(params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions):
|
|
3768
|
-
list(params?: Params$Resource$Projects$Instances$Backups$List, options?: MethodOptions):
|
|
3831
|
+
list(params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3832
|
+
list(params?: Params$Resource$Projects$Instances$Backups$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupsResponse>>;
|
|
3769
3833
|
list(params: Params$Resource$Projects$Instances$Backups$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3770
3834
|
list(params: Params$Resource$Projects$Instances$Backups$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupsResponse>, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
|
|
3771
3835
|
list(params: Params$Resource$Projects$Instances$Backups$List, callback: BodyResponseCallback<Schema$ListBackupsResponse>): void;
|
|
@@ -3778,8 +3842,8 @@ export declare namespace spanner_v1 {
|
|
|
3778
3842
|
* @param callback - Optional callback that handles the response.
|
|
3779
3843
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3780
3844
|
*/
|
|
3781
|
-
patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions):
|
|
3782
|
-
patch(params?: Params$Resource$Projects$Instances$Backups$Patch, options?: MethodOptions):
|
|
3845
|
+
patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3846
|
+
patch(params?: Params$Resource$Projects$Instances$Backups$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Backup>>;
|
|
3783
3847
|
patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3784
3848
|
patch(params: Params$Resource$Projects$Instances$Backups$Patch, options: MethodOptions | BodyResponseCallback<Schema$Backup>, callback: BodyResponseCallback<Schema$Backup>): void;
|
|
3785
3849
|
patch(params: Params$Resource$Projects$Instances$Backups$Patch, callback: BodyResponseCallback<Schema$Backup>): void;
|
|
@@ -3792,8 +3856,8 @@ export declare namespace spanner_v1 {
|
|
|
3792
3856
|
* @param callback - Optional callback that handles the response.
|
|
3793
3857
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3794
3858
|
*/
|
|
3795
|
-
setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions):
|
|
3796
|
-
setIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Setiampolicy, options?: MethodOptions):
|
|
3859
|
+
setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3860
|
+
setIamPolicy(params?: Params$Resource$Projects$Instances$Backups$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
3797
3861
|
setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3798
3862
|
setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
3799
3863
|
setIamPolicy(params: Params$Resource$Projects$Instances$Backups$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -3806,8 +3870,8 @@ export declare namespace spanner_v1 {
|
|
|
3806
3870
|
* @param callback - Optional callback that handles the response.
|
|
3807
3871
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3808
3872
|
*/
|
|
3809
|
-
testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions):
|
|
3810
|
-
testIamPermissions(params?: Params$Resource$Projects$Instances$Backups$Testiampermissions, options?: MethodOptions):
|
|
3873
|
+
testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
3874
|
+
testIamPermissions(params?: Params$Resource$Projects$Instances$Backups$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
3811
3875
|
testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3812
3876
|
testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
3813
3877
|
testIamPermissions(params: Params$Resource$Projects$Instances$Backups$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -3934,8 +3998,8 @@ export declare namespace spanner_v1 {
|
|
|
3934
3998
|
* @param callback - Optional callback that handles the response.
|
|
3935
3999
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3936
4000
|
*/
|
|
3937
|
-
cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions):
|
|
3938
|
-
cancel(params?: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options?: MethodOptions):
|
|
4001
|
+
cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4002
|
+
cancel(params?: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3939
4003
|
cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3940
4004
|
cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3941
4005
|
cancel(params: Params$Resource$Projects$Instances$Backups$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3948,8 +4012,8 @@ export declare namespace spanner_v1 {
|
|
|
3948
4012
|
* @param callback - Optional callback that handles the response.
|
|
3949
4013
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3950
4014
|
*/
|
|
3951
|
-
delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions):
|
|
3952
|
-
delete(params?: Params$Resource$Projects$Instances$Backups$Operations$Delete, options?: MethodOptions):
|
|
4015
|
+
delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4016
|
+
delete(params?: Params$Resource$Projects$Instances$Backups$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
3953
4017
|
delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3954
4018
|
delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
3955
4019
|
delete(params: Params$Resource$Projects$Instances$Backups$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -3962,8 +4026,8 @@ export declare namespace spanner_v1 {
|
|
|
3962
4026
|
* @param callback - Optional callback that handles the response.
|
|
3963
4027
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3964
4028
|
*/
|
|
3965
|
-
get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions):
|
|
3966
|
-
get(params?: Params$Resource$Projects$Instances$Backups$Operations$Get, options?: MethodOptions):
|
|
4029
|
+
get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4030
|
+
get(params?: Params$Resource$Projects$Instances$Backups$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
3967
4031
|
get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3968
4032
|
get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
3969
4033
|
get(params: Params$Resource$Projects$Instances$Backups$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -3976,8 +4040,8 @@ export declare namespace spanner_v1 {
|
|
|
3976
4040
|
* @param callback - Optional callback that handles the response.
|
|
3977
4041
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
3978
4042
|
*/
|
|
3979
|
-
list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions):
|
|
3980
|
-
list(params?: Params$Resource$Projects$Instances$Backups$Operations$List, options?: MethodOptions):
|
|
4043
|
+
list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4044
|
+
list(params?: Params$Resource$Projects$Instances$Backups$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
3981
4045
|
list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
3982
4046
|
list(params: Params$Resource$Projects$Instances$Backups$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
3983
4047
|
list(params: Params$Resource$Projects$Instances$Backups$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -4030,8 +4094,8 @@ export declare namespace spanner_v1 {
|
|
|
4030
4094
|
* @param callback - Optional callback that handles the response.
|
|
4031
4095
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4032
4096
|
*/
|
|
4033
|
-
list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions):
|
|
4034
|
-
list(params?: Params$Resource$Projects$Instances$Databaseoperations$List, options?: MethodOptions):
|
|
4097
|
+
list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4098
|
+
list(params?: Params$Resource$Projects$Instances$Databaseoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseOperationsResponse>>;
|
|
4035
4099
|
list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4036
4100
|
list(params: Params$Resource$Projects$Instances$Databaseoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatabaseOperationsResponse>, callback: BodyResponseCallback<Schema$ListDatabaseOperationsResponse>): void;
|
|
4037
4101
|
list(params: Params$Resource$Projects$Instances$Databaseoperations$List, callback: BodyResponseCallback<Schema$ListDatabaseOperationsResponse>): void;
|
|
@@ -4070,8 +4134,8 @@ export declare namespace spanner_v1 {
|
|
|
4070
4134
|
* @param callback - Optional callback that handles the response.
|
|
4071
4135
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4072
4136
|
*/
|
|
4073
|
-
addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions):
|
|
4074
|
-
addSplitPoints(params?: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options?: MethodOptions):
|
|
4137
|
+
addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4138
|
+
addSplitPoints(params?: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AddSplitPointsResponse>>;
|
|
4075
4139
|
addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4076
4140
|
addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, options: MethodOptions | BodyResponseCallback<Schema$AddSplitPointsResponse>, callback: BodyResponseCallback<Schema$AddSplitPointsResponse>): void;
|
|
4077
4141
|
addSplitPoints(params: Params$Resource$Projects$Instances$Databases$Addsplitpoints, callback: BodyResponseCallback<Schema$AddSplitPointsResponse>): void;
|
|
@@ -4084,8 +4148,8 @@ export declare namespace spanner_v1 {
|
|
|
4084
4148
|
* @param callback - Optional callback that handles the response.
|
|
4085
4149
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4086
4150
|
*/
|
|
4087
|
-
changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions):
|
|
4088
|
-
changequorum(params?: Params$Resource$Projects$Instances$Databases$Changequorum, options?: MethodOptions):
|
|
4151
|
+
changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4152
|
+
changequorum(params?: Params$Resource$Projects$Instances$Databases$Changequorum, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4089
4153
|
changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4090
4154
|
changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4091
4155
|
changequorum(params: Params$Resource$Projects$Instances$Databases$Changequorum, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -4098,8 +4162,8 @@ export declare namespace spanner_v1 {
|
|
|
4098
4162
|
* @param callback - Optional callback that handles the response.
|
|
4099
4163
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4100
4164
|
*/
|
|
4101
|
-
create(params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions):
|
|
4102
|
-
create(params?: Params$Resource$Projects$Instances$Databases$Create, options?: MethodOptions):
|
|
4165
|
+
create(params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4166
|
+
create(params?: Params$Resource$Projects$Instances$Databases$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4103
4167
|
create(params: Params$Resource$Projects$Instances$Databases$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4104
4168
|
create(params: Params$Resource$Projects$Instances$Databases$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4105
4169
|
create(params: Params$Resource$Projects$Instances$Databases$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -4112,8 +4176,8 @@ export declare namespace spanner_v1 {
|
|
|
4112
4176
|
* @param callback - Optional callback that handles the response.
|
|
4113
4177
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4114
4178
|
*/
|
|
4115
|
-
dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions):
|
|
4116
|
-
dropDatabase(params?: Params$Resource$Projects$Instances$Databases$Dropdatabase, options?: MethodOptions):
|
|
4179
|
+
dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4180
|
+
dropDatabase(params?: Params$Resource$Projects$Instances$Databases$Dropdatabase, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4117
4181
|
dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4118
4182
|
dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
4119
4183
|
dropDatabase(params: Params$Resource$Projects$Instances$Databases$Dropdatabase, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -4126,8 +4190,8 @@ export declare namespace spanner_v1 {
|
|
|
4126
4190
|
* @param callback - Optional callback that handles the response.
|
|
4127
4191
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4128
4192
|
*/
|
|
4129
|
-
get(params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions):
|
|
4130
|
-
get(params?: Params$Resource$Projects$Instances$Databases$Get, options?: MethodOptions):
|
|
4193
|
+
get(params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4194
|
+
get(params?: Params$Resource$Projects$Instances$Databases$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Database>>;
|
|
4131
4195
|
get(params: Params$Resource$Projects$Instances$Databases$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4132
4196
|
get(params: Params$Resource$Projects$Instances$Databases$Get, options: MethodOptions | BodyResponseCallback<Schema$Database>, callback: BodyResponseCallback<Schema$Database>): void;
|
|
4133
4197
|
get(params: Params$Resource$Projects$Instances$Databases$Get, callback: BodyResponseCallback<Schema$Database>): void;
|
|
@@ -4140,8 +4204,8 @@ export declare namespace spanner_v1 {
|
|
|
4140
4204
|
* @param callback - Optional callback that handles the response.
|
|
4141
4205
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4142
4206
|
*/
|
|
4143
|
-
getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions):
|
|
4144
|
-
getDdl(params?: Params$Resource$Projects$Instances$Databases$Getddl, options?: MethodOptions):
|
|
4207
|
+
getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4208
|
+
getDdl(params?: Params$Resource$Projects$Instances$Databases$Getddl, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GetDatabaseDdlResponse>>;
|
|
4145
4209
|
getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4146
4210
|
getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, options: MethodOptions | BodyResponseCallback<Schema$GetDatabaseDdlResponse>, callback: BodyResponseCallback<Schema$GetDatabaseDdlResponse>): void;
|
|
4147
4211
|
getDdl(params: Params$Resource$Projects$Instances$Databases$Getddl, callback: BodyResponseCallback<Schema$GetDatabaseDdlResponse>): void;
|
|
@@ -4154,8 +4218,8 @@ export declare namespace spanner_v1 {
|
|
|
4154
4218
|
* @param callback - Optional callback that handles the response.
|
|
4155
4219
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4156
4220
|
*/
|
|
4157
|
-
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions):
|
|
4158
|
-
getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Getiampolicy, options?: MethodOptions):
|
|
4221
|
+
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4222
|
+
getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
4159
4223
|
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4160
4224
|
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
4161
4225
|
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -4168,8 +4232,8 @@ export declare namespace spanner_v1 {
|
|
|
4168
4232
|
* @param callback - Optional callback that handles the response.
|
|
4169
4233
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4170
4234
|
*/
|
|
4171
|
-
getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions):
|
|
4172
|
-
getScans(params?: Params$Resource$Projects$Instances$Databases$Getscans, options?: MethodOptions):
|
|
4235
|
+
getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4236
|
+
getScans(params?: Params$Resource$Projects$Instances$Databases$Getscans, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Scan>>;
|
|
4173
4237
|
getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4174
4238
|
getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, options: MethodOptions | BodyResponseCallback<Schema$Scan>, callback: BodyResponseCallback<Schema$Scan>): void;
|
|
4175
4239
|
getScans(params: Params$Resource$Projects$Instances$Databases$Getscans, callback: BodyResponseCallback<Schema$Scan>): void;
|
|
@@ -4182,8 +4246,8 @@ export declare namespace spanner_v1 {
|
|
|
4182
4246
|
* @param callback - Optional callback that handles the response.
|
|
4183
4247
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4184
4248
|
*/
|
|
4185
|
-
list(params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions):
|
|
4186
|
-
list(params?: Params$Resource$Projects$Instances$Databases$List, options?: MethodOptions):
|
|
4249
|
+
list(params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4250
|
+
list(params?: Params$Resource$Projects$Instances$Databases$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabasesResponse>>;
|
|
4187
4251
|
list(params: Params$Resource$Projects$Instances$Databases$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4188
4252
|
list(params: Params$Resource$Projects$Instances$Databases$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatabasesResponse>, callback: BodyResponseCallback<Schema$ListDatabasesResponse>): void;
|
|
4189
4253
|
list(params: Params$Resource$Projects$Instances$Databases$List, callback: BodyResponseCallback<Schema$ListDatabasesResponse>): void;
|
|
@@ -4196,8 +4260,8 @@ export declare namespace spanner_v1 {
|
|
|
4196
4260
|
* @param callback - Optional callback that handles the response.
|
|
4197
4261
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4198
4262
|
*/
|
|
4199
|
-
patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions):
|
|
4200
|
-
patch(params?: Params$Resource$Projects$Instances$Databases$Patch, options?: MethodOptions):
|
|
4263
|
+
patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4264
|
+
patch(params?: Params$Resource$Projects$Instances$Databases$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4201
4265
|
patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4202
4266
|
patch(params: Params$Resource$Projects$Instances$Databases$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4203
4267
|
patch(params: Params$Resource$Projects$Instances$Databases$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -4210,8 +4274,8 @@ export declare namespace spanner_v1 {
|
|
|
4210
4274
|
* @param callback - Optional callback that handles the response.
|
|
4211
4275
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4212
4276
|
*/
|
|
4213
|
-
restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions):
|
|
4214
|
-
restore(params?: Params$Resource$Projects$Instances$Databases$Restore, options?: MethodOptions):
|
|
4277
|
+
restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4278
|
+
restore(params?: Params$Resource$Projects$Instances$Databases$Restore, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4215
4279
|
restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4216
4280
|
restore(params: Params$Resource$Projects$Instances$Databases$Restore, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4217
4281
|
restore(params: Params$Resource$Projects$Instances$Databases$Restore, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -4224,8 +4288,8 @@ export declare namespace spanner_v1 {
|
|
|
4224
4288
|
* @param callback - Optional callback that handles the response.
|
|
4225
4289
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4226
4290
|
*/
|
|
4227
|
-
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions):
|
|
4228
|
-
setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Setiampolicy, options?: MethodOptions):
|
|
4291
|
+
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4292
|
+
setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
4229
4293
|
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4230
4294
|
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
4231
4295
|
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -4238,8 +4302,8 @@ export declare namespace spanner_v1 {
|
|
|
4238
4302
|
* @param callback - Optional callback that handles the response.
|
|
4239
4303
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4240
4304
|
*/
|
|
4241
|
-
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions):
|
|
4242
|
-
testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Testiampermissions, options?: MethodOptions):
|
|
4305
|
+
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4306
|
+
testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
4243
4307
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4244
4308
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
4245
4309
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -4252,8 +4316,8 @@ export declare namespace spanner_v1 {
|
|
|
4252
4316
|
* @param callback - Optional callback that handles the response.
|
|
4253
4317
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4254
4318
|
*/
|
|
4255
|
-
updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions):
|
|
4256
|
-
updateDdl(params?: Params$Resource$Projects$Instances$Databases$Updateddl, options?: MethodOptions):
|
|
4319
|
+
updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4320
|
+
updateDdl(params?: Params$Resource$Projects$Instances$Databases$Updateddl, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4257
4321
|
updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4258
4322
|
updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4259
4323
|
updateDdl(params: Params$Resource$Projects$Instances$Databases$Updateddl, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -4414,8 +4478,8 @@ export declare namespace spanner_v1 {
|
|
|
4414
4478
|
* @param callback - Optional callback that handles the response.
|
|
4415
4479
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4416
4480
|
*/
|
|
4417
|
-
create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions):
|
|
4418
|
-
create(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options?: MethodOptions):
|
|
4481
|
+
create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4482
|
+
create(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
|
|
4419
4483
|
create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4420
4484
|
create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, options: MethodOptions | BodyResponseCallback<Schema$BackupSchedule>, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
|
|
4421
4485
|
create(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Create, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
|
|
@@ -4428,8 +4492,8 @@ export declare namespace spanner_v1 {
|
|
|
4428
4492
|
* @param callback - Optional callback that handles the response.
|
|
4429
4493
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4430
4494
|
*/
|
|
4431
|
-
delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions):
|
|
4432
|
-
delete(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options?: MethodOptions):
|
|
4495
|
+
delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4496
|
+
delete(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4433
4497
|
delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4434
4498
|
delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
4435
4499
|
delete(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -4442,8 +4506,8 @@ export declare namespace spanner_v1 {
|
|
|
4442
4506
|
* @param callback - Optional callback that handles the response.
|
|
4443
4507
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4444
4508
|
*/
|
|
4445
|
-
get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions):
|
|
4446
|
-
get(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options?: MethodOptions):
|
|
4509
|
+
get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4510
|
+
get(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
|
|
4447
4511
|
get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4448
4512
|
get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, options: MethodOptions | BodyResponseCallback<Schema$BackupSchedule>, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
|
|
4449
4513
|
get(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Get, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
|
|
@@ -4456,8 +4520,8 @@ export declare namespace spanner_v1 {
|
|
|
4456
4520
|
* @param callback - Optional callback that handles the response.
|
|
4457
4521
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4458
4522
|
*/
|
|
4459
|
-
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions):
|
|
4460
|
-
getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options?: MethodOptions):
|
|
4523
|
+
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4524
|
+
getIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
4461
4525
|
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4462
4526
|
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
4463
4527
|
getIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Getiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -4470,8 +4534,8 @@ export declare namespace spanner_v1 {
|
|
|
4470
4534
|
* @param callback - Optional callback that handles the response.
|
|
4471
4535
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4472
4536
|
*/
|
|
4473
|
-
list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions):
|
|
4474
|
-
list(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options?: MethodOptions):
|
|
4537
|
+
list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4538
|
+
list(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListBackupSchedulesResponse>>;
|
|
4475
4539
|
list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4476
4540
|
list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, options: MethodOptions | BodyResponseCallback<Schema$ListBackupSchedulesResponse>, callback: BodyResponseCallback<Schema$ListBackupSchedulesResponse>): void;
|
|
4477
4541
|
list(params: Params$Resource$Projects$Instances$Databases$Backupschedules$List, callback: BodyResponseCallback<Schema$ListBackupSchedulesResponse>): void;
|
|
@@ -4484,8 +4548,8 @@ export declare namespace spanner_v1 {
|
|
|
4484
4548
|
* @param callback - Optional callback that handles the response.
|
|
4485
4549
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4486
4550
|
*/
|
|
4487
|
-
patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions):
|
|
4488
|
-
patch(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options?: MethodOptions):
|
|
4551
|
+
patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4552
|
+
patch(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BackupSchedule>>;
|
|
4489
4553
|
patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4490
4554
|
patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, options: MethodOptions | BodyResponseCallback<Schema$BackupSchedule>, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
|
|
4491
4555
|
patch(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Patch, callback: BodyResponseCallback<Schema$BackupSchedule>): void;
|
|
@@ -4498,8 +4562,8 @@ export declare namespace spanner_v1 {
|
|
|
4498
4562
|
* @param callback - Optional callback that handles the response.
|
|
4499
4563
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4500
4564
|
*/
|
|
4501
|
-
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions):
|
|
4502
|
-
setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options?: MethodOptions):
|
|
4565
|
+
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4566
|
+
setIamPolicy(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Policy>>;
|
|
4503
4567
|
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4504
4568
|
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, options: MethodOptions | BodyResponseCallback<Schema$Policy>, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
4505
4569
|
setIamPolicy(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Setiampolicy, callback: BodyResponseCallback<Schema$Policy>): void;
|
|
@@ -4512,8 +4576,8 @@ export declare namespace spanner_v1 {
|
|
|
4512
4576
|
* @param callback - Optional callback that handles the response.
|
|
4513
4577
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4514
4578
|
*/
|
|
4515
|
-
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions):
|
|
4516
|
-
testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options?: MethodOptions):
|
|
4579
|
+
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4580
|
+
testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
4517
4581
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4518
4582
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
4519
4583
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Backupschedules$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -4614,8 +4678,8 @@ export declare namespace spanner_v1 {
|
|
|
4614
4678
|
* @param callback - Optional callback that handles the response.
|
|
4615
4679
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4616
4680
|
*/
|
|
4617
|
-
list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions):
|
|
4618
|
-
list(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options?: MethodOptions):
|
|
4681
|
+
list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4682
|
+
list(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListDatabaseRolesResponse>>;
|
|
4619
4683
|
list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4620
4684
|
list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, options: MethodOptions | BodyResponseCallback<Schema$ListDatabaseRolesResponse>, callback: BodyResponseCallback<Schema$ListDatabaseRolesResponse>): void;
|
|
4621
4685
|
list(params: Params$Resource$Projects$Instances$Databases$Databaseroles$List, callback: BodyResponseCallback<Schema$ListDatabaseRolesResponse>): void;
|
|
@@ -4628,8 +4692,8 @@ export declare namespace spanner_v1 {
|
|
|
4628
4692
|
* @param callback - Optional callback that handles the response.
|
|
4629
4693
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4630
4694
|
*/
|
|
4631
|
-
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions):
|
|
4632
|
-
testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options?: MethodOptions):
|
|
4695
|
+
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4696
|
+
testIamPermissions(params?: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$TestIamPermissionsResponse>>;
|
|
4633
4697
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4634
4698
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, options: MethodOptions | BodyResponseCallback<Schema$TestIamPermissionsResponse>, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
4635
4699
|
testIamPermissions(params: Params$Resource$Projects$Instances$Databases$Databaseroles$Testiampermissions, callback: BodyResponseCallback<Schema$TestIamPermissionsResponse>): void;
|
|
@@ -4670,8 +4734,8 @@ export declare namespace spanner_v1 {
|
|
|
4670
4734
|
* @param callback - Optional callback that handles the response.
|
|
4671
4735
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4672
4736
|
*/
|
|
4673
|
-
cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions):
|
|
4674
|
-
cancel(params?: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options?: MethodOptions):
|
|
4737
|
+
cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4738
|
+
cancel(params?: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4675
4739
|
cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4676
4740
|
cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
4677
4741
|
cancel(params: Params$Resource$Projects$Instances$Databases$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -4684,8 +4748,8 @@ export declare namespace spanner_v1 {
|
|
|
4684
4748
|
* @param callback - Optional callback that handles the response.
|
|
4685
4749
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4686
4750
|
*/
|
|
4687
|
-
delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions):
|
|
4688
|
-
delete(params?: Params$Resource$Projects$Instances$Databases$Operations$Delete, options?: MethodOptions):
|
|
4751
|
+
delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4752
|
+
delete(params?: Params$Resource$Projects$Instances$Databases$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4689
4753
|
delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4690
4754
|
delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
4691
4755
|
delete(params: Params$Resource$Projects$Instances$Databases$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -4698,8 +4762,8 @@ export declare namespace spanner_v1 {
|
|
|
4698
4762
|
* @param callback - Optional callback that handles the response.
|
|
4699
4763
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4700
4764
|
*/
|
|
4701
|
-
get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions):
|
|
4702
|
-
get(params?: Params$Resource$Projects$Instances$Databases$Operations$Get, options?: MethodOptions):
|
|
4765
|
+
get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4766
|
+
get(params?: Params$Resource$Projects$Instances$Databases$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
4703
4767
|
get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4704
4768
|
get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
4705
4769
|
get(params: Params$Resource$Projects$Instances$Databases$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -4712,8 +4776,8 @@ export declare namespace spanner_v1 {
|
|
|
4712
4776
|
* @param callback - Optional callback that handles the response.
|
|
4713
4777
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4714
4778
|
*/
|
|
4715
|
-
list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions):
|
|
4716
|
-
list(params?: Params$Resource$Projects$Instances$Databases$Operations$List, options?: MethodOptions):
|
|
4779
|
+
list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4780
|
+
list(params?: Params$Resource$Projects$Instances$Databases$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
4717
4781
|
list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4718
4782
|
list(params: Params$Resource$Projects$Instances$Databases$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
4719
4783
|
list(params: Params$Resource$Projects$Instances$Databases$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -4758,6 +4822,34 @@ export declare namespace spanner_v1 {
|
|
|
4758
4822
|
export class Resource$Projects$Instances$Databases$Sessions {
|
|
4759
4823
|
context: APIRequestContext;
|
|
4760
4824
|
constructor(context: APIRequestContext);
|
|
4825
|
+
/**
|
|
4826
|
+
* Creates a new session to be used for requests made by the adapter. A session identifies a specific incarnation of a database resource and is meant to be reused across many `AdaptMessage` calls.
|
|
4827
|
+
*
|
|
4828
|
+
* @param params - Parameters for request
|
|
4829
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4830
|
+
* @param callback - Optional callback that handles the response.
|
|
4831
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4832
|
+
*/
|
|
4833
|
+
adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4834
|
+
adapter(params?: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdapterSession>>;
|
|
4835
|
+
adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4836
|
+
adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, options: MethodOptions | BodyResponseCallback<Schema$AdapterSession>, callback: BodyResponseCallback<Schema$AdapterSession>): void;
|
|
4837
|
+
adapter(params: Params$Resource$Projects$Instances$Databases$Sessions$Adapter, callback: BodyResponseCallback<Schema$AdapterSession>): void;
|
|
4838
|
+
adapter(callback: BodyResponseCallback<Schema$AdapterSession>): void;
|
|
4839
|
+
/**
|
|
4840
|
+
* Handles a single message from the client and returns the result as a stream. The server will interpret the message frame and respond with message frames to the client.
|
|
4841
|
+
*
|
|
4842
|
+
* @param params - Parameters for request
|
|
4843
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4844
|
+
* @param callback - Optional callback that handles the response.
|
|
4845
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4846
|
+
*/
|
|
4847
|
+
adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4848
|
+
adaptMessage(params?: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$AdaptMessageResponse>>;
|
|
4849
|
+
adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4850
|
+
adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, options: MethodOptions | BodyResponseCallback<Schema$AdaptMessageResponse>, callback: BodyResponseCallback<Schema$AdaptMessageResponse>): void;
|
|
4851
|
+
adaptMessage(params: Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage, callback: BodyResponseCallback<Schema$AdaptMessageResponse>): void;
|
|
4852
|
+
adaptMessage(callback: BodyResponseCallback<Schema$AdaptMessageResponse>): void;
|
|
4761
4853
|
/**
|
|
4762
4854
|
* Creates multiple new sessions. This API can be used to initialize a session cache on the clients. See https://goo.gl/TgSFN2 for best practices on session cache management.
|
|
4763
4855
|
*
|
|
@@ -4766,22 +4858,22 @@ export declare namespace spanner_v1 {
|
|
|
4766
4858
|
* @param callback - Optional callback that handles the response.
|
|
4767
4859
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4768
4860
|
*/
|
|
4769
|
-
batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions):
|
|
4770
|
-
batchCreate(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options?: MethodOptions):
|
|
4861
|
+
batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4862
|
+
batchCreate(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchCreateSessionsResponse>>;
|
|
4771
4863
|
batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4772
4864
|
batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, options: MethodOptions | BodyResponseCallback<Schema$BatchCreateSessionsResponse>, callback: BodyResponseCallback<Schema$BatchCreateSessionsResponse>): void;
|
|
4773
4865
|
batchCreate(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate, callback: BodyResponseCallback<Schema$BatchCreateSessionsResponse>): void;
|
|
4774
4866
|
batchCreate(callback: BodyResponseCallback<Schema$BatchCreateSessionsResponse>): void;
|
|
4775
4867
|
/**
|
|
4776
|
-
* 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,
|
|
4868
|
+
* Batches the supplied mutation groups in a collection of efficient transactions. All mutations in a group are committed atomically. However, mutations across groups can be committed non-atomically in an unspecified order and thus, they must be independent of each other. Partial failure is possible, that is, some groups might have been committed successfully, while some might have failed. The results of individual batches are streamed into the response as the batches are applied. `BatchWrite` requests are not replay protected, meaning that each mutation group can be applied more than once. Replays of non-idempotent mutations can have undesirable effects. For example, replays of an insert mutation can produce an already exists error or if you use generated or commit timestamp-based keys, it can result in additional rows being added to the mutation's table. We recommend structuring your mutation groups to be idempotent to avoid this issue.
|
|
4777
4869
|
*
|
|
4778
4870
|
* @param params - Parameters for request
|
|
4779
4871
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4780
4872
|
* @param callback - Optional callback that handles the response.
|
|
4781
4873
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4782
4874
|
*/
|
|
4783
|
-
batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions):
|
|
4784
|
-
batchWrite(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options?: MethodOptions):
|
|
4875
|
+
batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4876
|
+
batchWrite(params?: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchWriteResponse>>;
|
|
4785
4877
|
batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4786
4878
|
batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, options: MethodOptions | BodyResponseCallback<Schema$BatchWriteResponse>, callback: BodyResponseCallback<Schema$BatchWriteResponse>): void;
|
|
4787
4879
|
batchWrite(params: Params$Resource$Projects$Instances$Databases$Sessions$Batchwrite, callback: BodyResponseCallback<Schema$BatchWriteResponse>): void;
|
|
@@ -4794,50 +4886,50 @@ export declare namespace spanner_v1 {
|
|
|
4794
4886
|
* @param callback - Optional callback that handles the response.
|
|
4795
4887
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4796
4888
|
*/
|
|
4797
|
-
beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions):
|
|
4798
|
-
beginTransaction(params?: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options?: MethodOptions):
|
|
4889
|
+
beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4890
|
+
beginTransaction(params?: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Transaction>>;
|
|
4799
4891
|
beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4800
4892
|
beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, options: MethodOptions | BodyResponseCallback<Schema$Transaction>, callback: BodyResponseCallback<Schema$Transaction>): void;
|
|
4801
4893
|
beginTransaction(params: Params$Resource$Projects$Instances$Databases$Sessions$Begintransaction, callback: BodyResponseCallback<Schema$Transaction>): void;
|
|
4802
4894
|
beginTransaction(callback: BodyResponseCallback<Schema$Transaction>): void;
|
|
4803
4895
|
/**
|
|
4804
|
-
* 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
|
|
4896
|
+
* Commits a transaction. The request includes the mutations to be applied to rows in the database. `Commit` might return an `ABORTED` error. This can occur at any time; commonly, the cause is conflicts with concurrent transactions. However, it can also happen for a variety of other reasons. If `Commit` returns `ABORTED`, the caller should retry the transaction from the beginning, reusing the same session. On very rare occasions, `Commit` might return `UNKNOWN`. This can happen, for example, if the client job experiences a 1+ hour networking failure. At that point, Cloud Spanner has lost track of the transaction outcome and we recommend that you perform another read from the database to see the state of things as they are now.
|
|
4805
4897
|
*
|
|
4806
4898
|
* @param params - Parameters for request
|
|
4807
4899
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4808
4900
|
* @param callback - Optional callback that handles the response.
|
|
4809
4901
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4810
4902
|
*/
|
|
4811
|
-
commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions):
|
|
4812
|
-
commit(params?: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options?: MethodOptions):
|
|
4903
|
+
commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4904
|
+
commit(params?: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$CommitResponse>>;
|
|
4813
4905
|
commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4814
4906
|
commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, options: MethodOptions | BodyResponseCallback<Schema$CommitResponse>, callback: BodyResponseCallback<Schema$CommitResponse>): void;
|
|
4815
4907
|
commit(params: Params$Resource$Projects$Instances$Databases$Sessions$Commit, callback: BodyResponseCallback<Schema$CommitResponse>): void;
|
|
4816
4908
|
commit(callback: BodyResponseCallback<Schema$CommitResponse>): void;
|
|
4817
4909
|
/**
|
|
4818
|
-
* 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
|
|
4910
|
+
* Creates a new session. A session can be used to perform transactions that read and/or modify data in a Cloud Spanner database. Sessions are meant to be reused for many consecutive transactions. Sessions can only execute one transaction at a time. To execute multiple concurrent read-write/write-only transactions, create multiple sessions. Note that standalone reads and queries use a transaction internally, and count toward the one transaction limit. Active sessions use additional server resources, so it's a good idea to delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner can delete sessions when no operations are sent for more than an hour. If a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be kept alive by sending a trivial SQL query periodically, for example, `"SELECT 1"`.
|
|
4819
4911
|
*
|
|
4820
4912
|
* @param params - Parameters for request
|
|
4821
4913
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4822
4914
|
* @param callback - Optional callback that handles the response.
|
|
4823
4915
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4824
4916
|
*/
|
|
4825
|
-
create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions):
|
|
4826
|
-
create(params?: Params$Resource$Projects$Instances$Databases$Sessions$Create, options?: MethodOptions):
|
|
4917
|
+
create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4918
|
+
create(params?: Params$Resource$Projects$Instances$Databases$Sessions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Session>>;
|
|
4827
4919
|
create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4828
4920
|
create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, options: MethodOptions | BodyResponseCallback<Schema$Session>, callback: BodyResponseCallback<Schema$Session>): void;
|
|
4829
4921
|
create(params: Params$Resource$Projects$Instances$Databases$Sessions$Create, callback: BodyResponseCallback<Schema$Session>): void;
|
|
4830
4922
|
create(callback: BodyResponseCallback<Schema$Session>): void;
|
|
4831
4923
|
/**
|
|
4832
|
-
* Ends a session, releasing server resources associated with it. This
|
|
4924
|
+
* Ends a session, releasing server resources associated with it. This asynchronously triggers the cancellation of any operations that are running with this session.
|
|
4833
4925
|
*
|
|
4834
4926
|
* @param params - Parameters for request
|
|
4835
4927
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4836
4928
|
* @param callback - Optional callback that handles the response.
|
|
4837
4929
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4838
4930
|
*/
|
|
4839
|
-
delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions):
|
|
4840
|
-
delete(params?: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options?: MethodOptions):
|
|
4931
|
+
delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4932
|
+
delete(params?: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4841
4933
|
delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4842
4934
|
delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
4843
4935
|
delete(params: Params$Resource$Projects$Instances$Databases$Sessions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -4850,22 +4942,22 @@ export declare namespace spanner_v1 {
|
|
|
4850
4942
|
* @param callback - Optional callback that handles the response.
|
|
4851
4943
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4852
4944
|
*/
|
|
4853
|
-
executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions):
|
|
4854
|
-
executeBatchDml(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options?: MethodOptions):
|
|
4945
|
+
executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4946
|
+
executeBatchDml(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ExecuteBatchDmlResponse>>;
|
|
4855
4947
|
executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4856
4948
|
executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, options: MethodOptions | BodyResponseCallback<Schema$ExecuteBatchDmlResponse>, callback: BodyResponseCallback<Schema$ExecuteBatchDmlResponse>): void;
|
|
4857
4949
|
executeBatchDml(params: Params$Resource$Projects$Instances$Databases$Sessions$Executebatchdml, callback: BodyResponseCallback<Schema$ExecuteBatchDmlResponse>): void;
|
|
4858
4950
|
executeBatchDml(callback: BodyResponseCallback<Schema$ExecuteBatchDmlResponse>): void;
|
|
4859
4951
|
/**
|
|
4860
|
-
* Executes an SQL statement, returning all results in a single reply. This method
|
|
4952
|
+
* Executes an SQL statement, returning all results in a single reply. This method can't be used to return a result set larger than 10 MiB; if the query yields more data than that, the query fails with a `FAILED_PRECONDITION` error. Operations inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be fetched in streaming fashion by calling ExecuteStreamingSql instead. The query string can be SQL or [Graph Query Language (GQL)](https://cloud.google.com/spanner/docs/reference/standard-sql/graph-intro).
|
|
4861
4953
|
*
|
|
4862
4954
|
* @param params - Parameters for request
|
|
4863
4955
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4864
4956
|
* @param callback - Optional callback that handles the response.
|
|
4865
4957
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4866
4958
|
*/
|
|
4867
|
-
executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions):
|
|
4868
|
-
executeSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options?: MethodOptions):
|
|
4959
|
+
executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4960
|
+
executeSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>;
|
|
4869
4961
|
executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4870
4962
|
executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, options: MethodOptions | BodyResponseCallback<Schema$ResultSet>, callback: BodyResponseCallback<Schema$ResultSet>): void;
|
|
4871
4963
|
executeSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executesql, callback: BodyResponseCallback<Schema$ResultSet>): void;
|
|
@@ -4878,22 +4970,22 @@ export declare namespace spanner_v1 {
|
|
|
4878
4970
|
* @param callback - Optional callback that handles the response.
|
|
4879
4971
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4880
4972
|
*/
|
|
4881
|
-
executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions):
|
|
4882
|
-
executeStreamingSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options?: MethodOptions):
|
|
4973
|
+
executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4974
|
+
executeStreamingSql(params?: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>;
|
|
4883
4975
|
executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4884
4976
|
executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, options: MethodOptions | BodyResponseCallback<Schema$PartialResultSet>, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
|
|
4885
4977
|
executeStreamingSql(params: Params$Resource$Projects$Instances$Databases$Sessions$Executestreamingsql, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
|
|
4886
4978
|
executeStreamingSql(callback: BodyResponseCallback<Schema$PartialResultSet>): void;
|
|
4887
4979
|
/**
|
|
4888
|
-
* Gets a session. Returns `NOT_FOUND` if the session
|
|
4980
|
+
* Gets a session. Returns `NOT_FOUND` if the session doesn't exist. This is mainly useful for determining whether a session is still alive.
|
|
4889
4981
|
*
|
|
4890
4982
|
* @param params - Parameters for request
|
|
4891
4983
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4892
4984
|
* @param callback - Optional callback that handles the response.
|
|
4893
4985
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4894
4986
|
*/
|
|
4895
|
-
get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions):
|
|
4896
|
-
get(params?: Params$Resource$Projects$Instances$Databases$Sessions$Get, options?: MethodOptions):
|
|
4987
|
+
get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
4988
|
+
get(params?: Params$Resource$Projects$Instances$Databases$Sessions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Session>>;
|
|
4897
4989
|
get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4898
4990
|
get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, options: MethodOptions | BodyResponseCallback<Schema$Session>, callback: BodyResponseCallback<Schema$Session>): void;
|
|
4899
4991
|
get(params: Params$Resource$Projects$Instances$Databases$Sessions$Get, callback: BodyResponseCallback<Schema$Session>): void;
|
|
@@ -4906,64 +4998,64 @@ export declare namespace spanner_v1 {
|
|
|
4906
4998
|
* @param callback - Optional callback that handles the response.
|
|
4907
4999
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4908
5000
|
*/
|
|
4909
|
-
list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions):
|
|
4910
|
-
list(params?: Params$Resource$Projects$Instances$Databases$Sessions$List, options?: MethodOptions):
|
|
5001
|
+
list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5002
|
+
list(params?: Params$Resource$Projects$Instances$Databases$Sessions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListSessionsResponse>>;
|
|
4911
5003
|
list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4912
5004
|
list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, options: MethodOptions | BodyResponseCallback<Schema$ListSessionsResponse>, callback: BodyResponseCallback<Schema$ListSessionsResponse>): void;
|
|
4913
5005
|
list(params: Params$Resource$Projects$Instances$Databases$Sessions$List, callback: BodyResponseCallback<Schema$ListSessionsResponse>): void;
|
|
4914
5006
|
list(callback: BodyResponseCallback<Schema$ListSessionsResponse>): void;
|
|
4915
5007
|
/**
|
|
4916
|
-
* 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
|
|
5008
|
+
* Creates a set of partition tokens that can be used to execute a query operation in parallel. Each of the returned partition tokens can be used by ExecuteStreamingSql to specify a subset of the query result to read. The same session and read-only transaction must be used by the `PartitionQueryRequest` used to create the partition tokens and the `ExecuteSqlRequests` that use the partition tokens. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it isn't possible to resume the query, and the whole operation must be restarted from the beginning.
|
|
4917
5009
|
*
|
|
4918
5010
|
* @param params - Parameters for request
|
|
4919
5011
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4920
5012
|
* @param callback - Optional callback that handles the response.
|
|
4921
5013
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4922
5014
|
*/
|
|
4923
|
-
partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions):
|
|
4924
|
-
partitionQuery(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options?: MethodOptions):
|
|
5015
|
+
partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5016
|
+
partitionQuery(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>;
|
|
4925
5017
|
partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4926
5018
|
partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, options: MethodOptions | BodyResponseCallback<Schema$PartitionResponse>, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
|
|
4927
5019
|
partitionQuery(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionquery, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
|
|
4928
5020
|
partitionQuery(callback: BodyResponseCallback<Schema$PartitionResponse>): void;
|
|
4929
5021
|
/**
|
|
4930
|
-
* 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
|
|
5022
|
+
* Creates a set of partition tokens that can be used to execute a read operation in parallel. Each of the returned partition tokens can be used by StreamingRead to specify a subset of the read result to read. The same session and read-only transaction must be used by the `PartitionReadRequest` used to create the partition tokens and the `ReadRequests` that use the partition tokens. There are no ordering guarantees on rows returned among the returned partition tokens, or even within each individual `StreamingRead` call issued with a `partition_token`. Partition tokens become invalid when the session used to create them is deleted, is idle for too long, begins a new transaction, or becomes too old. When any of these happen, it isn't possible to resume the read, and the whole operation must be restarted from the beginning.
|
|
4931
5023
|
*
|
|
4932
5024
|
* @param params - Parameters for request
|
|
4933
5025
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4934
5026
|
* @param callback - Optional callback that handles the response.
|
|
4935
5027
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4936
5028
|
*/
|
|
4937
|
-
partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions):
|
|
4938
|
-
partitionRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options?: MethodOptions):
|
|
5029
|
+
partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5030
|
+
partitionRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartitionResponse>>;
|
|
4939
5031
|
partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4940
5032
|
partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, options: MethodOptions | BodyResponseCallback<Schema$PartitionResponse>, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
|
|
4941
5033
|
partitionRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Partitionread, callback: BodyResponseCallback<Schema$PartitionResponse>): void;
|
|
4942
5034
|
partitionRead(callback: BodyResponseCallback<Schema$PartitionResponse>): void;
|
|
4943
5035
|
/**
|
|
4944
|
-
* Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method
|
|
5036
|
+
* Reads rows from the database using key lookups and scans, as a simple key/value style alternative to ExecuteSql. This method can't be used to return a result set larger than 10 MiB; if the read matches more data than that, the read fails with a `FAILED_PRECONDITION` error. Reads inside read-write transactions might return `ABORTED`. If this occurs, the application should restart the transaction from the beginning. See Transaction for more details. Larger result sets can be yielded in streaming fashion by calling StreamingRead instead.
|
|
4945
5037
|
*
|
|
4946
5038
|
* @param params - Parameters for request
|
|
4947
5039
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4948
5040
|
* @param callback - Optional callback that handles the response.
|
|
4949
5041
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4950
5042
|
*/
|
|
4951
|
-
read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions):
|
|
4952
|
-
read(params?: Params$Resource$Projects$Instances$Databases$Sessions$Read, options?: MethodOptions):
|
|
5043
|
+
read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5044
|
+
read(params?: Params$Resource$Projects$Instances$Databases$Sessions$Read, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ResultSet>>;
|
|
4953
5045
|
read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4954
5046
|
read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, options: MethodOptions | BodyResponseCallback<Schema$ResultSet>, callback: BodyResponseCallback<Schema$ResultSet>): void;
|
|
4955
5047
|
read(params: Params$Resource$Projects$Instances$Databases$Sessions$Read, callback: BodyResponseCallback<Schema$ResultSet>): void;
|
|
4956
5048
|
read(callback: BodyResponseCallback<Schema$ResultSet>): void;
|
|
4957
5049
|
/**
|
|
4958
|
-
* Rolls back a transaction, releasing any locks it holds. It
|
|
5050
|
+
* Rolls back a transaction, releasing any locks it holds. It's a good idea to call this for any transaction that includes one or more Read or ExecuteSql requests and ultimately decides not to commit. `Rollback` returns `OK` if it successfully aborts the transaction, the transaction was already aborted, or the transaction isn't found. `Rollback` never returns `ABORTED`.
|
|
4959
5051
|
*
|
|
4960
5052
|
* @param params - Parameters for request
|
|
4961
5053
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
4962
5054
|
* @param callback - Optional callback that handles the response.
|
|
4963
5055
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4964
5056
|
*/
|
|
4965
|
-
rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions):
|
|
4966
|
-
rollback(params?: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options?: MethodOptions):
|
|
5057
|
+
rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5058
|
+
rollback(params?: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
4967
5059
|
rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4968
5060
|
rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
4969
5061
|
rollback(params: Params$Resource$Projects$Instances$Databases$Sessions$Rollback, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -4976,13 +5068,33 @@ export declare namespace spanner_v1 {
|
|
|
4976
5068
|
* @param callback - Optional callback that handles the response.
|
|
4977
5069
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
4978
5070
|
*/
|
|
4979
|
-
streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions):
|
|
4980
|
-
streamingRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options?: MethodOptions):
|
|
5071
|
+
streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5072
|
+
streamingRead(params?: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$PartialResultSet>>;
|
|
4981
5073
|
streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
4982
5074
|
streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, options: MethodOptions | BodyResponseCallback<Schema$PartialResultSet>, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
|
|
4983
5075
|
streamingRead(params: Params$Resource$Projects$Instances$Databases$Sessions$Streamingread, callback: BodyResponseCallback<Schema$PartialResultSet>): void;
|
|
4984
5076
|
streamingRead(callback: BodyResponseCallback<Schema$PartialResultSet>): void;
|
|
4985
5077
|
}
|
|
5078
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adapter extends StandardParameters {
|
|
5079
|
+
/**
|
|
5080
|
+
* Required. The database in which the new session is created.
|
|
5081
|
+
*/
|
|
5082
|
+
parent?: string;
|
|
5083
|
+
/**
|
|
5084
|
+
* Request body metadata
|
|
5085
|
+
*/
|
|
5086
|
+
requestBody?: Schema$AdapterSession;
|
|
5087
|
+
}
|
|
5088
|
+
export interface Params$Resource$Projects$Instances$Databases$Sessions$Adaptmessage extends StandardParameters {
|
|
5089
|
+
/**
|
|
5090
|
+
* Required. The database session in which the adapter request is processed.
|
|
5091
|
+
*/
|
|
5092
|
+
name?: string;
|
|
5093
|
+
/**
|
|
5094
|
+
* Request body metadata
|
|
5095
|
+
*/
|
|
5096
|
+
requestBody?: Schema$AdaptMessageRequest;
|
|
5097
|
+
}
|
|
4986
5098
|
export interface Params$Resource$Projects$Instances$Databases$Sessions$Batchcreate extends StandardParameters {
|
|
4987
5099
|
/**
|
|
4988
5100
|
* Required. The database in which the new sessions are created.
|
|
@@ -5154,8 +5266,8 @@ export declare namespace spanner_v1 {
|
|
|
5154
5266
|
* @param callback - Optional callback that handles the response.
|
|
5155
5267
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5156
5268
|
*/
|
|
5157
|
-
list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions):
|
|
5158
|
-
list(params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options?: MethodOptions):
|
|
5269
|
+
list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5270
|
+
list(params?: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancePartitionOperationsResponse>>;
|
|
5159
5271
|
list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5160
5272
|
list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>, callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
|
|
5161
5273
|
list(params: Params$Resource$Projects$Instances$Instancepartitionoperations$List, callback: BodyResponseCallback<Schema$ListInstancePartitionOperationsResponse>): void;
|
|
@@ -5195,8 +5307,8 @@ export declare namespace spanner_v1 {
|
|
|
5195
5307
|
* @param callback - Optional callback that handles the response.
|
|
5196
5308
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5197
5309
|
*/
|
|
5198
|
-
create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions):
|
|
5199
|
-
create(params?: Params$Resource$Projects$Instances$Instancepartitions$Create, options?: MethodOptions):
|
|
5310
|
+
create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5311
|
+
create(params?: Params$Resource$Projects$Instances$Instancepartitions$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5200
5312
|
create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5201
5313
|
create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5202
5314
|
create(params: Params$Resource$Projects$Instances$Instancepartitions$Create, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5209,8 +5321,8 @@ export declare namespace spanner_v1 {
|
|
|
5209
5321
|
* @param callback - Optional callback that handles the response.
|
|
5210
5322
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5211
5323
|
*/
|
|
5212
|
-
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions):
|
|
5213
|
-
delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Delete, options?: MethodOptions):
|
|
5324
|
+
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5325
|
+
delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5214
5326
|
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5215
5327
|
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5216
5328
|
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5223,8 +5335,8 @@ export declare namespace spanner_v1 {
|
|
|
5223
5335
|
* @param callback - Optional callback that handles the response.
|
|
5224
5336
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5225
5337
|
*/
|
|
5226
|
-
get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions):
|
|
5227
|
-
get(params?: Params$Resource$Projects$Instances$Instancepartitions$Get, options?: MethodOptions):
|
|
5338
|
+
get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5339
|
+
get(params?: Params$Resource$Projects$Instances$Instancepartitions$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$InstancePartition>>;
|
|
5228
5340
|
get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5229
5341
|
get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, options: MethodOptions | BodyResponseCallback<Schema$InstancePartition>, callback: BodyResponseCallback<Schema$InstancePartition>): void;
|
|
5230
5342
|
get(params: Params$Resource$Projects$Instances$Instancepartitions$Get, callback: BodyResponseCallback<Schema$InstancePartition>): void;
|
|
@@ -5237,8 +5349,8 @@ export declare namespace spanner_v1 {
|
|
|
5237
5349
|
* @param callback - Optional callback that handles the response.
|
|
5238
5350
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5239
5351
|
*/
|
|
5240
|
-
list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions):
|
|
5241
|
-
list(params?: Params$Resource$Projects$Instances$Instancepartitions$List, options?: MethodOptions):
|
|
5352
|
+
list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5353
|
+
list(params?: Params$Resource$Projects$Instances$Instancepartitions$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListInstancePartitionsResponse>>;
|
|
5242
5354
|
list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5243
5355
|
list(params: Params$Resource$Projects$Instances$Instancepartitions$List, options: MethodOptions | BodyResponseCallback<Schema$ListInstancePartitionsResponse>, callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
|
|
5244
5356
|
list(params: Params$Resource$Projects$Instances$Instancepartitions$List, callback: BodyResponseCallback<Schema$ListInstancePartitionsResponse>): void;
|
|
@@ -5251,8 +5363,8 @@ export declare namespace spanner_v1 {
|
|
|
5251
5363
|
* @param callback - Optional callback that handles the response.
|
|
5252
5364
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5253
5365
|
*/
|
|
5254
|
-
patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions):
|
|
5255
|
-
patch(params?: Params$Resource$Projects$Instances$Instancepartitions$Patch, options?: MethodOptions):
|
|
5366
|
+
patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5367
|
+
patch(params?: Params$Resource$Projects$Instances$Instancepartitions$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5256
5368
|
patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5257
5369
|
patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5258
5370
|
patch(params: Params$Resource$Projects$Instances$Instancepartitions$Patch, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5323,8 +5435,8 @@ export declare namespace spanner_v1 {
|
|
|
5323
5435
|
* @param callback - Optional callback that handles the response.
|
|
5324
5436
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5325
5437
|
*/
|
|
5326
|
-
cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions):
|
|
5327
|
-
cancel(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options?: MethodOptions):
|
|
5438
|
+
cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5439
|
+
cancel(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5328
5440
|
cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5329
5441
|
cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5330
5442
|
cancel(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5337,8 +5449,8 @@ export declare namespace spanner_v1 {
|
|
|
5337
5449
|
* @param callback - Optional callback that handles the response.
|
|
5338
5450
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5339
5451
|
*/
|
|
5340
|
-
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions):
|
|
5341
|
-
delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options?: MethodOptions):
|
|
5452
|
+
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5453
|
+
delete(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5342
5454
|
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5343
5455
|
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5344
5456
|
delete(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5351,8 +5463,8 @@ export declare namespace spanner_v1 {
|
|
|
5351
5463
|
* @param callback - Optional callback that handles the response.
|
|
5352
5464
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5353
5465
|
*/
|
|
5354
|
-
get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions):
|
|
5355
|
-
get(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options?: MethodOptions):
|
|
5466
|
+
get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5467
|
+
get(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5356
5468
|
get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5357
5469
|
get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5358
5470
|
get(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5365,8 +5477,8 @@ export declare namespace spanner_v1 {
|
|
|
5365
5477
|
* @param callback - Optional callback that handles the response.
|
|
5366
5478
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5367
5479
|
*/
|
|
5368
|
-
list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions):
|
|
5369
|
-
list(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options?: MethodOptions):
|
|
5480
|
+
list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5481
|
+
list(params?: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
5370
5482
|
list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5371
5483
|
list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
5372
5484
|
list(params: Params$Resource$Projects$Instances$Instancepartitions$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -5419,8 +5531,8 @@ export declare namespace spanner_v1 {
|
|
|
5419
5531
|
* @param callback - Optional callback that handles the response.
|
|
5420
5532
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5421
5533
|
*/
|
|
5422
|
-
cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions):
|
|
5423
|
-
cancel(params?: Params$Resource$Projects$Instances$Operations$Cancel, options?: MethodOptions):
|
|
5534
|
+
cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5535
|
+
cancel(params?: Params$Resource$Projects$Instances$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5424
5536
|
cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5425
5537
|
cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5426
5538
|
cancel(params: Params$Resource$Projects$Instances$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5433,8 +5545,8 @@ export declare namespace spanner_v1 {
|
|
|
5433
5545
|
* @param callback - Optional callback that handles the response.
|
|
5434
5546
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5435
5547
|
*/
|
|
5436
|
-
delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions):
|
|
5437
|
-
delete(params?: Params$Resource$Projects$Instances$Operations$Delete, options?: MethodOptions):
|
|
5548
|
+
delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5549
|
+
delete(params?: Params$Resource$Projects$Instances$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5438
5550
|
delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5439
5551
|
delete(params: Params$Resource$Projects$Instances$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5440
5552
|
delete(params: Params$Resource$Projects$Instances$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5447,8 +5559,8 @@ export declare namespace spanner_v1 {
|
|
|
5447
5559
|
* @param callback - Optional callback that handles the response.
|
|
5448
5560
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5449
5561
|
*/
|
|
5450
|
-
get(params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions):
|
|
5451
|
-
get(params?: Params$Resource$Projects$Instances$Operations$Get, options?: MethodOptions):
|
|
5562
|
+
get(params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5563
|
+
get(params?: Params$Resource$Projects$Instances$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5452
5564
|
get(params: Params$Resource$Projects$Instances$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5453
5565
|
get(params: Params$Resource$Projects$Instances$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5454
5566
|
get(params: Params$Resource$Projects$Instances$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5461,8 +5573,8 @@ export declare namespace spanner_v1 {
|
|
|
5461
5573
|
* @param callback - Optional callback that handles the response.
|
|
5462
5574
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5463
5575
|
*/
|
|
5464
|
-
list(params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions):
|
|
5465
|
-
list(params?: Params$Resource$Projects$Instances$Operations$List, options?: MethodOptions):
|
|
5576
|
+
list(params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5577
|
+
list(params?: Params$Resource$Projects$Instances$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
5466
5578
|
list(params: Params$Resource$Projects$Instances$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5467
5579
|
list(params: Params$Resource$Projects$Instances$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
5468
5580
|
list(params: Params$Resource$Projects$Instances$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -5515,8 +5627,8 @@ export declare namespace spanner_v1 {
|
|
|
5515
5627
|
* @param callback - Optional callback that handles the response.
|
|
5516
5628
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5517
5629
|
*/
|
|
5518
|
-
list(params: Params$Resource$Scans$List, options: StreamMethodOptions):
|
|
5519
|
-
list(params?: Params$Resource$Scans$List, options?: MethodOptions):
|
|
5630
|
+
list(params: Params$Resource$Scans$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5631
|
+
list(params?: Params$Resource$Scans$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListScansResponse>>;
|
|
5520
5632
|
list(params: Params$Resource$Scans$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5521
5633
|
list(params: Params$Resource$Scans$List, options: MethodOptions | BodyResponseCallback<Schema$ListScansResponse>, callback: BodyResponseCallback<Schema$ListScansResponse>): void;
|
|
5522
5634
|
list(params: Params$Resource$Scans$List, callback: BodyResponseCallback<Schema$ListScansResponse>): void;
|