@google-cloud/spanner 7.20.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +1 -1
- package/build/protos/google/spanner/admin/database/v1/backup_schedule.proto +1 -1
- package/build/protos/google/spanner/admin/database/v1/common.proto +1 -1
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +1 -1
- package/build/protos/google/spanner/admin/instance/v1/common.proto +1 -1
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +1 -1
- package/build/protos/google/spanner/executor/v1/cloud_executor.proto +1 -1
- package/build/protos/google/spanner/v1/commit_response.proto +1 -1
- package/build/protos/google/spanner/v1/keys.proto +1 -1
- package/build/protos/google/spanner/v1/mutation.proto +1 -1
- package/build/protos/google/spanner/v1/query_plan.proto +1 -1
- package/build/protos/google/spanner/v1/result_set.proto +55 -49
- package/build/protos/google/spanner/v1/spanner.proto +1 -1
- package/build/protos/google/spanner/v1/transaction.proto +1 -1
- package/build/protos/google/spanner/v1/type.proto +1 -1
- package/build/protos/protos.d.ts +56 -50
- package/build/protos/protos.js +1016 -331
- package/build/protos/protos.json +47 -20
- package/build/src/backup.js +7 -0
- package/build/src/batch-transaction.d.ts +48 -29
- package/build/src/batch-transaction.js +13 -98
- package/build/src/codec.js +43 -26
- package/build/src/common-grpc/service-object.js +1 -0
- package/build/src/common-grpc/service.js +25 -8
- package/build/src/database.js +77 -49
- package/build/src/helper.d.ts +9 -0
- package/build/src/helper.js +24 -0
- package/build/src/index.js +24 -13
- package/build/src/instance-config.d.ts +1 -1
- package/build/src/instance-config.js +4 -0
- package/build/src/instance.js +12 -6
- package/build/src/instrument.d.ts +2 -0
- package/build/src/instrument.js +12 -9
- package/build/src/multiplexed-session.js +7 -1
- package/build/src/partial-result-stream.js +9 -5
- package/build/src/request_id_header.js +1 -0
- package/build/src/session-factory.js +5 -2
- package/build/src/session-pool.js +23 -6
- package/build/src/session.d.ts +2 -1
- package/build/src/session.js +8 -2
- package/build/src/table.js +6 -1
- package/build/src/transaction-runner.js +12 -2
- package/build/src/transaction.d.ts +2 -1
- package/build/src/transaction.js +95 -81
- package/build/src/v1/database_admin_client.d.ts +3 -2
- package/build/src/v1/database_admin_client.js +551 -167
- package/build/src/v1/instance_admin_client.d.ts +2 -1
- package/build/src/v1/instance_admin_client.js +453 -133
- package/build/src/v1/spanner_client.d.ts +2 -1
- package/build/src/v1/spanner_client.js +283 -85
- package/build/src/v1/spanner_executor_proxy_client.d.ts +2 -1
- package/build/src/v1/spanner_executor_proxy_client.js +41 -19
- package/package.json +57 -58
package/build/protos/protos.d.ts
CHANGED
|
@@ -3171,7 +3171,7 @@ export namespace google {
|
|
|
3171
3171
|
doubleValue?: (number|null);
|
|
3172
3172
|
|
|
3173
3173
|
/** UninterpretedOption stringValue */
|
|
3174
|
-
stringValue?: (Uint8Array|string|null);
|
|
3174
|
+
stringValue?: (Uint8Array|Buffer|string|null);
|
|
3175
3175
|
|
|
3176
3176
|
/** UninterpretedOption aggregateValue */
|
|
3177
3177
|
aggregateValue?: (string|null);
|
|
@@ -3202,7 +3202,7 @@ export namespace google {
|
|
|
3202
3202
|
public doubleValue: number;
|
|
3203
3203
|
|
|
3204
3204
|
/** UninterpretedOption stringValue. */
|
|
3205
|
-
public stringValue: (Uint8Array|string);
|
|
3205
|
+
public stringValue: (Uint8Array|Buffer|string);
|
|
3206
3206
|
|
|
3207
3207
|
/** UninterpretedOption aggregateValue. */
|
|
3208
3208
|
public aggregateValue: string;
|
|
@@ -4238,7 +4238,7 @@ export namespace google {
|
|
|
4238
4238
|
type_url?: (string|null);
|
|
4239
4239
|
|
|
4240
4240
|
/** Any value */
|
|
4241
|
-
value?: (Uint8Array|string|null);
|
|
4241
|
+
value?: (Uint8Array|Buffer|string|null);
|
|
4242
4242
|
}
|
|
4243
4243
|
|
|
4244
4244
|
/** Represents an Any. */
|
|
@@ -4254,7 +4254,7 @@ export namespace google {
|
|
|
4254
4254
|
public type_url: string;
|
|
4255
4255
|
|
|
4256
4256
|
/** Any value. */
|
|
4257
|
-
public value: (Uint8Array|string);
|
|
4257
|
+
public value: (Uint8Array|Buffer|string);
|
|
4258
4258
|
|
|
4259
4259
|
/**
|
|
4260
4260
|
* Creates a new Any instance using the specified properties.
|
|
@@ -10958,7 +10958,7 @@ export namespace google {
|
|
|
10958
10958
|
databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
|
|
10959
10959
|
|
|
10960
10960
|
/** CreateDatabaseRequest protoDescriptors */
|
|
10961
|
-
protoDescriptors?: (Uint8Array|string|null);
|
|
10961
|
+
protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
10962
10962
|
}
|
|
10963
10963
|
|
|
10964
10964
|
/** Represents a CreateDatabaseRequest. */
|
|
@@ -10986,7 +10986,7 @@ export namespace google {
|
|
|
10986
10986
|
public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
|
|
10987
10987
|
|
|
10988
10988
|
/** CreateDatabaseRequest protoDescriptors. */
|
|
10989
|
-
public protoDescriptors: (Uint8Array|string);
|
|
10989
|
+
public protoDescriptors: (Uint8Array|Buffer|string);
|
|
10990
10990
|
|
|
10991
10991
|
/**
|
|
10992
10992
|
* Creates a new CreateDatabaseRequest instance using the specified properties.
|
|
@@ -11485,7 +11485,7 @@ export namespace google {
|
|
|
11485
11485
|
operationId?: (string|null);
|
|
11486
11486
|
|
|
11487
11487
|
/** UpdateDatabaseDdlRequest protoDescriptors */
|
|
11488
|
-
protoDescriptors?: (Uint8Array|string|null);
|
|
11488
|
+
protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
11489
11489
|
}
|
|
11490
11490
|
|
|
11491
11491
|
/** Represents an UpdateDatabaseDdlRequest. */
|
|
@@ -11507,7 +11507,7 @@ export namespace google {
|
|
|
11507
11507
|
public operationId: string;
|
|
11508
11508
|
|
|
11509
11509
|
/** UpdateDatabaseDdlRequest protoDescriptors. */
|
|
11510
|
-
public protoDescriptors: (Uint8Array|string);
|
|
11510
|
+
public protoDescriptors: (Uint8Array|Buffer|string);
|
|
11511
11511
|
|
|
11512
11512
|
/**
|
|
11513
11513
|
* Creates a new UpdateDatabaseDdlRequest instance using the specified properties.
|
|
@@ -12024,7 +12024,7 @@ export namespace google {
|
|
|
12024
12024
|
statements?: (string[]|null);
|
|
12025
12025
|
|
|
12026
12026
|
/** GetDatabaseDdlResponse protoDescriptors */
|
|
12027
|
-
protoDescriptors?: (Uint8Array|string|null);
|
|
12027
|
+
protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
12028
12028
|
}
|
|
12029
12029
|
|
|
12030
12030
|
/** Represents a GetDatabaseDdlResponse. */
|
|
@@ -12040,7 +12040,7 @@ export namespace google {
|
|
|
12040
12040
|
public statements: string[];
|
|
12041
12041
|
|
|
12042
12042
|
/** GetDatabaseDdlResponse protoDescriptors. */
|
|
12043
|
-
public protoDescriptors: (Uint8Array|string);
|
|
12043
|
+
public protoDescriptors: (Uint8Array|Buffer|string);
|
|
12044
12044
|
|
|
12045
12045
|
/**
|
|
12046
12046
|
* Creates a new GetDatabaseDdlResponse instance using the specified properties.
|
|
@@ -20100,7 +20100,7 @@ export namespace google {
|
|
|
20100
20100
|
doubleValue?: (number|null);
|
|
20101
20101
|
|
|
20102
20102
|
/** Value bytesValue */
|
|
20103
|
-
bytesValue?: (Uint8Array|string|null);
|
|
20103
|
+
bytesValue?: (Uint8Array|Buffer|string|null);
|
|
20104
20104
|
|
|
20105
20105
|
/** Value stringValue */
|
|
20106
20106
|
stringValue?: (string|null);
|
|
@@ -20146,7 +20146,7 @@ export namespace google {
|
|
|
20146
20146
|
public doubleValue?: (number|null);
|
|
20147
20147
|
|
|
20148
20148
|
/** Value bytesValue. */
|
|
20149
|
-
public bytesValue?: (Uint8Array|string|null);
|
|
20149
|
+
public bytesValue?: (Uint8Array|Buffer|string|null);
|
|
20150
20150
|
|
|
20151
20151
|
/** Value stringValue. */
|
|
20152
20152
|
public stringValue?: (string|null);
|
|
@@ -23205,7 +23205,7 @@ export namespace google {
|
|
|
23205
23205
|
dialect?: (string|null);
|
|
23206
23206
|
|
|
23207
23207
|
/** CreateCloudDatabaseAction protoDescriptors */
|
|
23208
|
-
protoDescriptors?: (Uint8Array|string|null);
|
|
23208
|
+
protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
23209
23209
|
}
|
|
23210
23210
|
|
|
23211
23211
|
/** Represents a CreateCloudDatabaseAction. */
|
|
@@ -23236,7 +23236,7 @@ export namespace google {
|
|
|
23236
23236
|
public dialect?: (string|null);
|
|
23237
23237
|
|
|
23238
23238
|
/** CreateCloudDatabaseAction protoDescriptors. */
|
|
23239
|
-
public protoDescriptors?: (Uint8Array|string|null);
|
|
23239
|
+
public protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
23240
23240
|
|
|
23241
23241
|
/**
|
|
23242
23242
|
* Creates a new CreateCloudDatabaseAction instance using the specified properties.
|
|
@@ -23335,7 +23335,7 @@ export namespace google {
|
|
|
23335
23335
|
operationId?: (string|null);
|
|
23336
23336
|
|
|
23337
23337
|
/** UpdateCloudDatabaseDdlAction protoDescriptors */
|
|
23338
|
-
protoDescriptors?: (Uint8Array|string|null);
|
|
23338
|
+
protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
23339
23339
|
}
|
|
23340
23340
|
|
|
23341
23341
|
/** Represents an UpdateCloudDatabaseDdlAction. */
|
|
@@ -23363,7 +23363,7 @@ export namespace google {
|
|
|
23363
23363
|
public operationId: string;
|
|
23364
23364
|
|
|
23365
23365
|
/** UpdateCloudDatabaseDdlAction protoDescriptors. */
|
|
23366
|
-
public protoDescriptors?: (Uint8Array|string|null);
|
|
23366
|
+
public protoDescriptors?: (Uint8Array|Buffer|string|null);
|
|
23367
23367
|
|
|
23368
23368
|
/**
|
|
23369
23369
|
* Creates a new UpdateCloudDatabaseDdlAction instance using the specified properties.
|
|
@@ -25593,7 +25593,7 @@ export namespace google {
|
|
|
25593
25593
|
batchTxnTime?: (google.protobuf.ITimestamp|null);
|
|
25594
25594
|
|
|
25595
25595
|
/** StartBatchTransactionAction tid */
|
|
25596
|
-
tid?: (Uint8Array|string|null);
|
|
25596
|
+
tid?: (Uint8Array|Buffer|string|null);
|
|
25597
25597
|
|
|
25598
25598
|
/** StartBatchTransactionAction cloudDatabaseRole */
|
|
25599
25599
|
cloudDatabaseRole?: (string|null);
|
|
@@ -25612,7 +25612,7 @@ export namespace google {
|
|
|
25612
25612
|
public batchTxnTime?: (google.protobuf.ITimestamp|null);
|
|
25613
25613
|
|
|
25614
25614
|
/** StartBatchTransactionAction tid. */
|
|
25615
|
-
public tid?: (Uint8Array|string|null);
|
|
25615
|
+
public tid?: (Uint8Array|Buffer|string|null);
|
|
25616
25616
|
|
|
25617
25617
|
/** StartBatchTransactionAction cloudDatabaseRole. */
|
|
25618
25618
|
public cloudDatabaseRole: string;
|
|
@@ -26017,10 +26017,10 @@ export namespace google {
|
|
|
26017
26017
|
interface IBatchPartition {
|
|
26018
26018
|
|
|
26019
26019
|
/** BatchPartition partition */
|
|
26020
|
-
partition?: (Uint8Array|string|null);
|
|
26020
|
+
partition?: (Uint8Array|Buffer|string|null);
|
|
26021
26021
|
|
|
26022
26022
|
/** BatchPartition partitionToken */
|
|
26023
|
-
partitionToken?: (Uint8Array|string|null);
|
|
26023
|
+
partitionToken?: (Uint8Array|Buffer|string|null);
|
|
26024
26024
|
|
|
26025
26025
|
/** BatchPartition table */
|
|
26026
26026
|
table?: (string|null);
|
|
@@ -26039,10 +26039,10 @@ export namespace google {
|
|
|
26039
26039
|
constructor(properties?: google.spanner.executor.v1.IBatchPartition);
|
|
26040
26040
|
|
|
26041
26041
|
/** BatchPartition partition. */
|
|
26042
|
-
public partition: (Uint8Array|string);
|
|
26042
|
+
public partition: (Uint8Array|Buffer|string);
|
|
26043
26043
|
|
|
26044
26044
|
/** BatchPartition partitionToken. */
|
|
26045
|
-
public partitionToken: (Uint8Array|string);
|
|
26045
|
+
public partitionToken: (Uint8Array|Buffer|string);
|
|
26046
26046
|
|
|
26047
26047
|
/** BatchPartition table. */
|
|
26048
26048
|
public table?: (string|null);
|
|
@@ -26383,7 +26383,7 @@ export namespace google {
|
|
|
26383
26383
|
transactionRestarted?: (boolean|null);
|
|
26384
26384
|
|
|
26385
26385
|
/** SpannerActionOutcome batchTxnId */
|
|
26386
|
-
batchTxnId?: (Uint8Array|string|null);
|
|
26386
|
+
batchTxnId?: (Uint8Array|Buffer|string|null);
|
|
26387
26387
|
|
|
26388
26388
|
/** SpannerActionOutcome dbPartition */
|
|
26389
26389
|
dbPartition?: (google.spanner.executor.v1.IBatchPartition[]|null);
|
|
@@ -26423,7 +26423,7 @@ export namespace google {
|
|
|
26423
26423
|
public transactionRestarted?: (boolean|null);
|
|
26424
26424
|
|
|
26425
26425
|
/** SpannerActionOutcome batchTxnId. */
|
|
26426
|
-
public batchTxnId?: (Uint8Array|string|null);
|
|
26426
|
+
public batchTxnId?: (Uint8Array|Buffer|string|null);
|
|
26427
26427
|
|
|
26428
26428
|
/** SpannerActionOutcome dbPartition. */
|
|
26429
26429
|
public dbPartition: google.spanner.executor.v1.IBatchPartition[];
|
|
@@ -30205,13 +30205,13 @@ export namespace google {
|
|
|
30205
30205
|
paramTypes?: ({ [k: string]: google.spanner.v1.IType }|null);
|
|
30206
30206
|
|
|
30207
30207
|
/** ExecuteSqlRequest resumeToken */
|
|
30208
|
-
resumeToken?: (Uint8Array|string|null);
|
|
30208
|
+
resumeToken?: (Uint8Array|Buffer|string|null);
|
|
30209
30209
|
|
|
30210
30210
|
/** ExecuteSqlRequest queryMode */
|
|
30211
30211
|
queryMode?: (google.spanner.v1.ExecuteSqlRequest.QueryMode|keyof typeof google.spanner.v1.ExecuteSqlRequest.QueryMode|null);
|
|
30212
30212
|
|
|
30213
30213
|
/** ExecuteSqlRequest partitionToken */
|
|
30214
|
-
partitionToken?: (Uint8Array|string|null);
|
|
30214
|
+
partitionToken?: (Uint8Array|Buffer|string|null);
|
|
30215
30215
|
|
|
30216
30216
|
/** ExecuteSqlRequest seqno */
|
|
30217
30217
|
seqno?: (number|Long|string|null);
|
|
@@ -30257,13 +30257,13 @@ export namespace google {
|
|
|
30257
30257
|
public paramTypes: { [k: string]: google.spanner.v1.IType };
|
|
30258
30258
|
|
|
30259
30259
|
/** ExecuteSqlRequest resumeToken. */
|
|
30260
|
-
public resumeToken: (Uint8Array|string);
|
|
30260
|
+
public resumeToken: (Uint8Array|Buffer|string);
|
|
30261
30261
|
|
|
30262
30262
|
/** ExecuteSqlRequest queryMode. */
|
|
30263
30263
|
public queryMode: (google.spanner.v1.ExecuteSqlRequest.QueryMode|keyof typeof google.spanner.v1.ExecuteSqlRequest.QueryMode);
|
|
30264
30264
|
|
|
30265
30265
|
/** ExecuteSqlRequest partitionToken. */
|
|
30266
|
-
public partitionToken: (Uint8Array|string);
|
|
30266
|
+
public partitionToken: (Uint8Array|Buffer|string);
|
|
30267
30267
|
|
|
30268
30268
|
/** ExecuteSqlRequest seqno. */
|
|
30269
30269
|
public seqno: (number|Long|string);
|
|
@@ -31191,7 +31191,7 @@ export namespace google {
|
|
|
31191
31191
|
interface IPartition {
|
|
31192
31192
|
|
|
31193
31193
|
/** Partition partitionToken */
|
|
31194
|
-
partitionToken?: (Uint8Array|string|null);
|
|
31194
|
+
partitionToken?: (Uint8Array|Buffer|string|null);
|
|
31195
31195
|
}
|
|
31196
31196
|
|
|
31197
31197
|
/** Represents a Partition. */
|
|
@@ -31204,7 +31204,7 @@ export namespace google {
|
|
|
31204
31204
|
constructor(properties?: google.spanner.v1.IPartition);
|
|
31205
31205
|
|
|
31206
31206
|
/** Partition partitionToken. */
|
|
31207
|
-
public partitionToken: (Uint8Array|string);
|
|
31207
|
+
public partitionToken: (Uint8Array|Buffer|string);
|
|
31208
31208
|
|
|
31209
31209
|
/**
|
|
31210
31210
|
* Creates a new Partition instance using the specified properties.
|
|
@@ -31412,10 +31412,10 @@ export namespace google {
|
|
|
31412
31412
|
limit?: (number|Long|string|null);
|
|
31413
31413
|
|
|
31414
31414
|
/** ReadRequest resumeToken */
|
|
31415
|
-
resumeToken?: (Uint8Array|string|null);
|
|
31415
|
+
resumeToken?: (Uint8Array|Buffer|string|null);
|
|
31416
31416
|
|
|
31417
31417
|
/** ReadRequest partitionToken */
|
|
31418
|
-
partitionToken?: (Uint8Array|string|null);
|
|
31418
|
+
partitionToken?: (Uint8Array|Buffer|string|null);
|
|
31419
31419
|
|
|
31420
31420
|
/** ReadRequest requestOptions */
|
|
31421
31421
|
requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
@@ -31464,10 +31464,10 @@ export namespace google {
|
|
|
31464
31464
|
public limit: (number|Long|string);
|
|
31465
31465
|
|
|
31466
31466
|
/** ReadRequest resumeToken. */
|
|
31467
|
-
public resumeToken: (Uint8Array|string);
|
|
31467
|
+
public resumeToken: (Uint8Array|Buffer|string);
|
|
31468
31468
|
|
|
31469
31469
|
/** ReadRequest partitionToken. */
|
|
31470
|
-
public partitionToken: (Uint8Array|string);
|
|
31470
|
+
public partitionToken: (Uint8Array|Buffer|string);
|
|
31471
31471
|
|
|
31472
31472
|
/** ReadRequest requestOptions. */
|
|
31473
31473
|
public requestOptions?: (google.spanner.v1.IRequestOptions|null);
|
|
@@ -31701,7 +31701,7 @@ export namespace google {
|
|
|
31701
31701
|
session?: (string|null);
|
|
31702
31702
|
|
|
31703
31703
|
/** CommitRequest transactionId */
|
|
31704
|
-
transactionId?: (Uint8Array|string|null);
|
|
31704
|
+
transactionId?: (Uint8Array|Buffer|string|null);
|
|
31705
31705
|
|
|
31706
31706
|
/** CommitRequest singleUseTransaction */
|
|
31707
31707
|
singleUseTransaction?: (google.spanner.v1.ITransactionOptions|null);
|
|
@@ -31735,7 +31735,7 @@ export namespace google {
|
|
|
31735
31735
|
public session: string;
|
|
31736
31736
|
|
|
31737
31737
|
/** CommitRequest transactionId. */
|
|
31738
|
-
public transactionId?: (Uint8Array|string|null);
|
|
31738
|
+
public transactionId?: (Uint8Array|Buffer|string|null);
|
|
31739
31739
|
|
|
31740
31740
|
/** CommitRequest singleUseTransaction. */
|
|
31741
31741
|
public singleUseTransaction?: (google.spanner.v1.ITransactionOptions|null);
|
|
@@ -31843,7 +31843,7 @@ export namespace google {
|
|
|
31843
31843
|
session?: (string|null);
|
|
31844
31844
|
|
|
31845
31845
|
/** RollbackRequest transactionId */
|
|
31846
|
-
transactionId?: (Uint8Array|string|null);
|
|
31846
|
+
transactionId?: (Uint8Array|Buffer|string|null);
|
|
31847
31847
|
}
|
|
31848
31848
|
|
|
31849
31849
|
/** Represents a RollbackRequest. */
|
|
@@ -31859,7 +31859,7 @@ export namespace google {
|
|
|
31859
31859
|
public session: string;
|
|
31860
31860
|
|
|
31861
31861
|
/** RollbackRequest transactionId. */
|
|
31862
|
-
public transactionId: (Uint8Array|string);
|
|
31862
|
+
public transactionId: (Uint8Array|Buffer|string);
|
|
31863
31863
|
|
|
31864
31864
|
/**
|
|
31865
31865
|
* Creates a new RollbackRequest instance using the specified properties.
|
|
@@ -32608,7 +32608,7 @@ export namespace google {
|
|
|
32608
32608
|
readLockMode?: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|null);
|
|
32609
32609
|
|
|
32610
32610
|
/** ReadWrite multiplexedSessionPreviousTransactionId */
|
|
32611
|
-
multiplexedSessionPreviousTransactionId?: (Uint8Array|string|null);
|
|
32611
|
+
multiplexedSessionPreviousTransactionId?: (Uint8Array|Buffer|string|null);
|
|
32612
32612
|
}
|
|
32613
32613
|
|
|
32614
32614
|
/** Represents a ReadWrite. */
|
|
@@ -32624,7 +32624,7 @@ export namespace google {
|
|
|
32624
32624
|
public readLockMode: (google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode|keyof typeof google.spanner.v1.TransactionOptions.ReadWrite.ReadLockMode);
|
|
32625
32625
|
|
|
32626
32626
|
/** ReadWrite multiplexedSessionPreviousTransactionId. */
|
|
32627
|
-
public multiplexedSessionPreviousTransactionId: (Uint8Array|string);
|
|
32627
|
+
public multiplexedSessionPreviousTransactionId: (Uint8Array|Buffer|string);
|
|
32628
32628
|
|
|
32629
32629
|
/**
|
|
32630
32630
|
* Creates a new ReadWrite instance using the specified properties.
|
|
@@ -32947,7 +32947,7 @@ export namespace google {
|
|
|
32947
32947
|
interface ITransaction {
|
|
32948
32948
|
|
|
32949
32949
|
/** Transaction id */
|
|
32950
|
-
id?: (Uint8Array|string|null);
|
|
32950
|
+
id?: (Uint8Array|Buffer|string|null);
|
|
32951
32951
|
|
|
32952
32952
|
/** Transaction readTimestamp */
|
|
32953
32953
|
readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
@@ -32966,7 +32966,7 @@ export namespace google {
|
|
|
32966
32966
|
constructor(properties?: google.spanner.v1.ITransaction);
|
|
32967
32967
|
|
|
32968
32968
|
/** Transaction id. */
|
|
32969
|
-
public id: (Uint8Array|string);
|
|
32969
|
+
public id: (Uint8Array|Buffer|string);
|
|
32970
32970
|
|
|
32971
32971
|
/** Transaction readTimestamp. */
|
|
32972
32972
|
public readTimestamp?: (google.protobuf.ITimestamp|null);
|
|
@@ -33059,7 +33059,7 @@ export namespace google {
|
|
|
33059
33059
|
singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
33060
33060
|
|
|
33061
33061
|
/** TransactionSelector id */
|
|
33062
|
-
id?: (Uint8Array|string|null);
|
|
33062
|
+
id?: (Uint8Array|Buffer|string|null);
|
|
33063
33063
|
|
|
33064
33064
|
/** TransactionSelector begin */
|
|
33065
33065
|
begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
@@ -33078,7 +33078,7 @@ export namespace google {
|
|
|
33078
33078
|
public singleUse?: (google.spanner.v1.ITransactionOptions|null);
|
|
33079
33079
|
|
|
33080
33080
|
/** TransactionSelector id. */
|
|
33081
|
-
public id?: (Uint8Array|string|null);
|
|
33081
|
+
public id?: (Uint8Array|Buffer|string|null);
|
|
33082
33082
|
|
|
33083
33083
|
/** TransactionSelector begin. */
|
|
33084
33084
|
public begin?: (google.spanner.v1.ITransactionOptions|null);
|
|
@@ -33168,7 +33168,7 @@ export namespace google {
|
|
|
33168
33168
|
interface IMultiplexedSessionPrecommitToken {
|
|
33169
33169
|
|
|
33170
33170
|
/** MultiplexedSessionPrecommitToken precommitToken */
|
|
33171
|
-
precommitToken?: (Uint8Array|string|null);
|
|
33171
|
+
precommitToken?: (Uint8Array|Buffer|string|null);
|
|
33172
33172
|
|
|
33173
33173
|
/** MultiplexedSessionPrecommitToken seqNum */
|
|
33174
33174
|
seqNum?: (number|null);
|
|
@@ -33184,7 +33184,7 @@ export namespace google {
|
|
|
33184
33184
|
constructor(properties?: google.spanner.v1.IMultiplexedSessionPrecommitToken);
|
|
33185
33185
|
|
|
33186
33186
|
/** MultiplexedSessionPrecommitToken precommitToken. */
|
|
33187
|
-
public precommitToken: (Uint8Array|string);
|
|
33187
|
+
public precommitToken: (Uint8Array|Buffer|string);
|
|
33188
33188
|
|
|
33189
33189
|
/** MultiplexedSessionPrecommitToken seqNum. */
|
|
33190
33190
|
public seqNum: number;
|
|
@@ -33964,13 +33964,16 @@ export namespace google {
|
|
|
33964
33964
|
chunkedValue?: (boolean|null);
|
|
33965
33965
|
|
|
33966
33966
|
/** PartialResultSet resumeToken */
|
|
33967
|
-
resumeToken?: (Uint8Array|string|null);
|
|
33967
|
+
resumeToken?: (Uint8Array|Buffer|string|null);
|
|
33968
33968
|
|
|
33969
33969
|
/** PartialResultSet stats */
|
|
33970
33970
|
stats?: (google.spanner.v1.IResultSetStats|null);
|
|
33971
33971
|
|
|
33972
33972
|
/** PartialResultSet precommitToken */
|
|
33973
33973
|
precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
33974
|
+
|
|
33975
|
+
/** PartialResultSet last */
|
|
33976
|
+
last?: (boolean|null);
|
|
33974
33977
|
}
|
|
33975
33978
|
|
|
33976
33979
|
/** Represents a PartialResultSet. */
|
|
@@ -33992,7 +33995,7 @@ export namespace google {
|
|
|
33992
33995
|
public chunkedValue: boolean;
|
|
33993
33996
|
|
|
33994
33997
|
/** PartialResultSet resumeToken. */
|
|
33995
|
-
public resumeToken: (Uint8Array|string);
|
|
33998
|
+
public resumeToken: (Uint8Array|Buffer|string);
|
|
33996
33999
|
|
|
33997
34000
|
/** PartialResultSet stats. */
|
|
33998
34001
|
public stats?: (google.spanner.v1.IResultSetStats|null);
|
|
@@ -34000,6 +34003,9 @@ export namespace google {
|
|
|
34000
34003
|
/** PartialResultSet precommitToken. */
|
|
34001
34004
|
public precommitToken?: (google.spanner.v1.IMultiplexedSessionPrecommitToken|null);
|
|
34002
34005
|
|
|
34006
|
+
/** PartialResultSet last. */
|
|
34007
|
+
public last: boolean;
|
|
34008
|
+
|
|
34003
34009
|
/**
|
|
34004
34010
|
* Creates a new PartialResultSet instance using the specified properties.
|
|
34005
34011
|
* @param [properties] Properties to set
|
|
@@ -38821,7 +38827,7 @@ export namespace google {
|
|
|
38821
38827
|
auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
|
|
38822
38828
|
|
|
38823
38829
|
/** Policy etag */
|
|
38824
|
-
etag?: (Uint8Array|string|null);
|
|
38830
|
+
etag?: (Uint8Array|Buffer|string|null);
|
|
38825
38831
|
}
|
|
38826
38832
|
|
|
38827
38833
|
/** Represents a Policy. */
|
|
@@ -38843,7 +38849,7 @@ export namespace google {
|
|
|
38843
38849
|
public auditConfigs: google.iam.v1.IAuditConfig[];
|
|
38844
38850
|
|
|
38845
38851
|
/** Policy etag. */
|
|
38846
|
-
public etag: (Uint8Array|string);
|
|
38852
|
+
public etag: (Uint8Array|Buffer|string);
|
|
38847
38853
|
|
|
38848
38854
|
/**
|
|
38849
38855
|
* Creates a new Policy instance using the specified properties.
|