@google-cloud/spanner 7.6.0 → 7.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +4 -0
- package/build/protos/google/spanner/admin/database/v1/backup.proto +190 -109
- package/build/protos/google/spanner/admin/database/v1/common.proto +30 -10
- package/build/protos/google/spanner/admin/database/v1/spanner_database_admin.proto +166 -100
- package/build/protos/google/spanner/admin/instance/v1/common.proto +15 -1
- package/build/protos/google/spanner/admin/instance/v1/spanner_instance_admin.proto +6 -0
- package/build/protos/google/spanner/executor/v1/cloud_executor.proto +30 -6
- 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 +1 -1
- 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 +310 -40
- package/build/protos/protos.js +942 -89
- package/build/protos/protos.json +115 -5
- package/build/src/codec.d.ts +56 -1
- package/build/src/codec.js +109 -4
- package/build/src/database.d.ts +41 -5
- package/build/src/database.js +37 -2
- package/build/src/index.d.ts +50 -1
- package/build/src/index.js +53 -0
- package/build/src/partial-result-stream.d.ts +41 -0
- package/build/src/partial-result-stream.js +6 -1
- package/build/src/table.d.ts +1 -0
- package/build/src/table.js +36 -2
- package/build/src/transaction-runner.d.ts +1 -0
- package/build/src/transaction-runner.js +3 -0
- package/build/src/transaction.d.ts +55 -0
- package/build/src/transaction.js +28 -2
- package/build/src/v1/database_admin_client.d.ts +175 -126
- package/build/src/v1/database_admin_client.js +95 -64
- package/build/src/v1/instance_admin_client.js +10 -7
- package/build/src/v1/spanner_client.js +10 -7
- package/build/src/v1/spanner_client_config.json +15 -14
- package/build/src/v1/spanner_executor_proxy_client.js +10 -7
- package/package.json +3 -3
package/build/protos/protos.d.ts
CHANGED
|
@@ -2917,6 +2917,9 @@ export namespace google {
|
|
|
2917
2917
|
|
|
2918
2918
|
/** ServiceOptions .google.api.oauthScopes */
|
|
2919
2919
|
".google.api.oauthScopes"?: (string|null);
|
|
2920
|
+
|
|
2921
|
+
/** ServiceOptions .google.api.apiVersion */
|
|
2922
|
+
".google.api.apiVersion"?: (string|null);
|
|
2920
2923
|
}
|
|
2921
2924
|
|
|
2922
2925
|
/** Represents a ServiceOptions. */
|
|
@@ -6555,6 +6558,9 @@ export namespace google {
|
|
|
6555
6558
|
/** Backup encryptionInfo */
|
|
6556
6559
|
encryptionInfo?: (google.spanner.admin.database.v1.IEncryptionInfo|null);
|
|
6557
6560
|
|
|
6561
|
+
/** Backup encryptionInformation */
|
|
6562
|
+
encryptionInformation?: (google.spanner.admin.database.v1.IEncryptionInfo[]|null);
|
|
6563
|
+
|
|
6558
6564
|
/** Backup databaseDialect */
|
|
6559
6565
|
databaseDialect?: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect|null);
|
|
6560
6566
|
|
|
@@ -6601,6 +6607,9 @@ export namespace google {
|
|
|
6601
6607
|
/** Backup encryptionInfo. */
|
|
6602
6608
|
public encryptionInfo?: (google.spanner.admin.database.v1.IEncryptionInfo|null);
|
|
6603
6609
|
|
|
6610
|
+
/** Backup encryptionInformation. */
|
|
6611
|
+
public encryptionInformation: google.spanner.admin.database.v1.IEncryptionInfo[];
|
|
6612
|
+
|
|
6604
6613
|
/** Backup databaseDialect. */
|
|
6605
6614
|
public databaseDialect: (google.spanner.admin.database.v1.DatabaseDialect|keyof typeof google.spanner.admin.database.v1.DatabaseDialect);
|
|
6606
6615
|
|
|
@@ -8020,6 +8029,9 @@ export namespace google {
|
|
|
8020
8029
|
|
|
8021
8030
|
/** CreateBackupEncryptionConfig kmsKeyName */
|
|
8022
8031
|
kmsKeyName?: (string|null);
|
|
8032
|
+
|
|
8033
|
+
/** CreateBackupEncryptionConfig kmsKeyNames */
|
|
8034
|
+
kmsKeyNames?: (string[]|null);
|
|
8023
8035
|
}
|
|
8024
8036
|
|
|
8025
8037
|
/** Represents a CreateBackupEncryptionConfig. */
|
|
@@ -8037,6 +8049,9 @@ export namespace google {
|
|
|
8037
8049
|
/** CreateBackupEncryptionConfig kmsKeyName. */
|
|
8038
8050
|
public kmsKeyName: string;
|
|
8039
8051
|
|
|
8052
|
+
/** CreateBackupEncryptionConfig kmsKeyNames. */
|
|
8053
|
+
public kmsKeyNames: string[];
|
|
8054
|
+
|
|
8040
8055
|
/**
|
|
8041
8056
|
* Creates a new CreateBackupEncryptionConfig instance using the specified properties.
|
|
8042
8057
|
* @param [properties] Properties to set
|
|
@@ -8134,6 +8149,9 @@ export namespace google {
|
|
|
8134
8149
|
|
|
8135
8150
|
/** CopyBackupEncryptionConfig kmsKeyName */
|
|
8136
8151
|
kmsKeyName?: (string|null);
|
|
8152
|
+
|
|
8153
|
+
/** CopyBackupEncryptionConfig kmsKeyNames */
|
|
8154
|
+
kmsKeyNames?: (string[]|null);
|
|
8137
8155
|
}
|
|
8138
8156
|
|
|
8139
8157
|
/** Represents a CopyBackupEncryptionConfig. */
|
|
@@ -8151,6 +8169,9 @@ export namespace google {
|
|
|
8151
8169
|
/** CopyBackupEncryptionConfig kmsKeyName. */
|
|
8152
8170
|
public kmsKeyName: string;
|
|
8153
8171
|
|
|
8172
|
+
/** CopyBackupEncryptionConfig kmsKeyNames. */
|
|
8173
|
+
public kmsKeyNames: string[];
|
|
8174
|
+
|
|
8154
8175
|
/**
|
|
8155
8176
|
* Creates a new CopyBackupEncryptionConfig instance using the specified properties.
|
|
8156
8177
|
* @param [properties] Properties to set
|
|
@@ -8354,6 +8375,9 @@ export namespace google {
|
|
|
8354
8375
|
|
|
8355
8376
|
/** EncryptionConfig kmsKeyName */
|
|
8356
8377
|
kmsKeyName?: (string|null);
|
|
8378
|
+
|
|
8379
|
+
/** EncryptionConfig kmsKeyNames */
|
|
8380
|
+
kmsKeyNames?: (string[]|null);
|
|
8357
8381
|
}
|
|
8358
8382
|
|
|
8359
8383
|
/** Represents an EncryptionConfig. */
|
|
@@ -8368,6 +8392,9 @@ export namespace google {
|
|
|
8368
8392
|
/** EncryptionConfig kmsKeyName. */
|
|
8369
8393
|
public kmsKeyName: string;
|
|
8370
8394
|
|
|
8395
|
+
/** EncryptionConfig kmsKeyNames. */
|
|
8396
|
+
public kmsKeyNames: string[];
|
|
8397
|
+
|
|
8371
8398
|
/**
|
|
8372
8399
|
* Creates a new EncryptionConfig instance using the specified properties.
|
|
8373
8400
|
* @param [properties] Properties to set
|
|
@@ -11033,6 +11060,9 @@ export namespace google {
|
|
|
11033
11060
|
|
|
11034
11061
|
/** RestoreDatabaseEncryptionConfig kmsKeyName */
|
|
11035
11062
|
kmsKeyName?: (string|null);
|
|
11063
|
+
|
|
11064
|
+
/** RestoreDatabaseEncryptionConfig kmsKeyNames */
|
|
11065
|
+
kmsKeyNames?: (string[]|null);
|
|
11036
11066
|
}
|
|
11037
11067
|
|
|
11038
11068
|
/** Represents a RestoreDatabaseEncryptionConfig. */
|
|
@@ -11050,6 +11080,9 @@ export namespace google {
|
|
|
11050
11080
|
/** RestoreDatabaseEncryptionConfig kmsKeyName. */
|
|
11051
11081
|
public kmsKeyName: string;
|
|
11052
11082
|
|
|
11083
|
+
/** RestoreDatabaseEncryptionConfig kmsKeyNames. */
|
|
11084
|
+
public kmsKeyNames: string[];
|
|
11085
|
+
|
|
11053
11086
|
/**
|
|
11054
11087
|
* Creates a new RestoreDatabaseEncryptionConfig instance using the specified properties.
|
|
11055
11088
|
* @param [properties] Properties to set
|
|
@@ -11804,6 +11837,13 @@ export namespace google {
|
|
|
11804
11837
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
11805
11838
|
}
|
|
11806
11839
|
|
|
11840
|
+
/** FulfillmentPeriod enum. */
|
|
11841
|
+
enum FulfillmentPeriod {
|
|
11842
|
+
FULFILLMENT_PERIOD_UNSPECIFIED = 0,
|
|
11843
|
+
FULFILLMENT_PERIOD_NORMAL = 1,
|
|
11844
|
+
FULFILLMENT_PERIOD_EXTENDED = 2
|
|
11845
|
+
}
|
|
11846
|
+
|
|
11807
11847
|
/** Represents an InstanceAdmin */
|
|
11808
11848
|
class InstanceAdmin extends $protobuf.rpc.Service {
|
|
11809
11849
|
|
|
@@ -14555,6 +14595,9 @@ export namespace google {
|
|
|
14555
14595
|
|
|
14556
14596
|
/** CreateInstanceMetadata endTime */
|
|
14557
14597
|
endTime?: (google.protobuf.ITimestamp|null);
|
|
14598
|
+
|
|
14599
|
+
/** CreateInstanceMetadata expectedFulfillmentPeriod */
|
|
14600
|
+
expectedFulfillmentPeriod?: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod|null);
|
|
14558
14601
|
}
|
|
14559
14602
|
|
|
14560
14603
|
/** Represents a CreateInstanceMetadata. */
|
|
@@ -14578,6 +14621,9 @@ export namespace google {
|
|
|
14578
14621
|
/** CreateInstanceMetadata endTime. */
|
|
14579
14622
|
public endTime?: (google.protobuf.ITimestamp|null);
|
|
14580
14623
|
|
|
14624
|
+
/** CreateInstanceMetadata expectedFulfillmentPeriod. */
|
|
14625
|
+
public expectedFulfillmentPeriod: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod);
|
|
14626
|
+
|
|
14581
14627
|
/**
|
|
14582
14628
|
* Creates a new CreateInstanceMetadata instance using the specified properties.
|
|
14583
14629
|
* @param [properties] Properties to set
|
|
@@ -14670,6 +14716,9 @@ export namespace google {
|
|
|
14670
14716
|
|
|
14671
14717
|
/** UpdateInstanceMetadata endTime */
|
|
14672
14718
|
endTime?: (google.protobuf.ITimestamp|null);
|
|
14719
|
+
|
|
14720
|
+
/** UpdateInstanceMetadata expectedFulfillmentPeriod */
|
|
14721
|
+
expectedFulfillmentPeriod?: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod|null);
|
|
14673
14722
|
}
|
|
14674
14723
|
|
|
14675
14724
|
/** Represents an UpdateInstanceMetadata. */
|
|
@@ -14693,6 +14742,9 @@ export namespace google {
|
|
|
14693
14742
|
/** UpdateInstanceMetadata endTime. */
|
|
14694
14743
|
public endTime?: (google.protobuf.ITimestamp|null);
|
|
14695
14744
|
|
|
14745
|
+
/** UpdateInstanceMetadata expectedFulfillmentPeriod. */
|
|
14746
|
+
public expectedFulfillmentPeriod: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod);
|
|
14747
|
+
|
|
14696
14748
|
/**
|
|
14697
14749
|
* Creates a new UpdateInstanceMetadata instance using the specified properties.
|
|
14698
14750
|
* @param [properties] Properties to set
|
|
@@ -16521,6 +16573,9 @@ export namespace google {
|
|
|
16521
16573
|
/** SpannerAction databasePath */
|
|
16522
16574
|
databasePath?: (string|null);
|
|
16523
16575
|
|
|
16576
|
+
/** SpannerAction spannerOptions */
|
|
16577
|
+
spannerOptions?: (google.spanner.executor.v1.ISpannerOptions|null);
|
|
16578
|
+
|
|
16524
16579
|
/** SpannerAction start */
|
|
16525
16580
|
start?: (google.spanner.executor.v1.IStartTransactionAction|null);
|
|
16526
16581
|
|
|
@@ -16582,6 +16637,9 @@ export namespace google {
|
|
|
16582
16637
|
/** SpannerAction databasePath. */
|
|
16583
16638
|
public databasePath: string;
|
|
16584
16639
|
|
|
16640
|
+
/** SpannerAction spannerOptions. */
|
|
16641
|
+
public spannerOptions?: (google.spanner.executor.v1.ISpannerOptions|null);
|
|
16642
|
+
|
|
16585
16643
|
/** SpannerAction start. */
|
|
16586
16644
|
public start?: (google.spanner.executor.v1.IStartTransactionAction|null);
|
|
16587
16645
|
|
|
@@ -19281,8 +19339,8 @@ export namespace google {
|
|
|
19281
19339
|
/** AdminAction cancelOperation */
|
|
19282
19340
|
cancelOperation?: (google.spanner.executor.v1.ICancelOperationAction|null);
|
|
19283
19341
|
|
|
19284
|
-
/** AdminAction
|
|
19285
|
-
|
|
19342
|
+
/** AdminAction changeQuorumCloudDatabase */
|
|
19343
|
+
changeQuorumCloudDatabase?: (google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction|null);
|
|
19286
19344
|
}
|
|
19287
19345
|
|
|
19288
19346
|
/** Represents an AdminAction. */
|
|
@@ -19375,11 +19433,11 @@ export namespace google {
|
|
|
19375
19433
|
/** AdminAction cancelOperation. */
|
|
19376
19434
|
public cancelOperation?: (google.spanner.executor.v1.ICancelOperationAction|null);
|
|
19377
19435
|
|
|
19378
|
-
/** AdminAction
|
|
19379
|
-
public
|
|
19436
|
+
/** AdminAction changeQuorumCloudDatabase. */
|
|
19437
|
+
public changeQuorumCloudDatabase?: (google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction|null);
|
|
19380
19438
|
|
|
19381
19439
|
/** AdminAction action. */
|
|
19382
|
-
public action?: ("createUserInstanceConfig"|"updateUserInstanceConfig"|"deleteUserInstanceConfig"|"getCloudInstanceConfig"|"listInstanceConfigs"|"createCloudInstance"|"updateCloudInstance"|"deleteCloudInstance"|"listCloudInstances"|"getCloudInstance"|"createCloudDatabase"|"updateCloudDatabaseDdl"|"updateCloudDatabase"|"dropCloudDatabase"|"listCloudDatabases"|"listCloudDatabaseOperations"|"restoreCloudDatabase"|"getCloudDatabase"|"createCloudBackup"|"copyCloudBackup"|"getCloudBackup"|"updateCloudBackup"|"deleteCloudBackup"|"listCloudBackups"|"listCloudBackupOperations"|"getOperation"|"cancelOperation"|"
|
|
19440
|
+
public action?: ("createUserInstanceConfig"|"updateUserInstanceConfig"|"deleteUserInstanceConfig"|"getCloudInstanceConfig"|"listInstanceConfigs"|"createCloudInstance"|"updateCloudInstance"|"deleteCloudInstance"|"listCloudInstances"|"getCloudInstance"|"createCloudDatabase"|"updateCloudDatabaseDdl"|"updateCloudDatabase"|"dropCloudDatabase"|"listCloudDatabases"|"listCloudDatabaseOperations"|"restoreCloudDatabase"|"getCloudDatabase"|"createCloudBackup"|"copyCloudBackup"|"getCloudBackup"|"updateCloudBackup"|"deleteCloudBackup"|"listCloudBackups"|"listCloudBackupOperations"|"getOperation"|"cancelOperation"|"changeQuorumCloudDatabase");
|
|
19383
19441
|
|
|
19384
19442
|
/**
|
|
19385
19443
|
* Creates a new AdminAction instance using the specified properties.
|
|
@@ -20896,106 +20954,106 @@ export namespace google {
|
|
|
20896
20954
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
20897
20955
|
}
|
|
20898
20956
|
|
|
20899
|
-
/** Properties of a
|
|
20900
|
-
interface
|
|
20957
|
+
/** Properties of a ChangeQuorumCloudDatabaseAction. */
|
|
20958
|
+
interface IChangeQuorumCloudDatabaseAction {
|
|
20901
20959
|
|
|
20902
|
-
/**
|
|
20960
|
+
/** ChangeQuorumCloudDatabaseAction databaseUri */
|
|
20903
20961
|
databaseUri?: (string|null);
|
|
20904
20962
|
|
|
20905
|
-
/**
|
|
20963
|
+
/** ChangeQuorumCloudDatabaseAction servingLocations */
|
|
20906
20964
|
servingLocations?: (string[]|null);
|
|
20907
20965
|
}
|
|
20908
20966
|
|
|
20909
|
-
/** Represents a
|
|
20910
|
-
class
|
|
20967
|
+
/** Represents a ChangeQuorumCloudDatabaseAction. */
|
|
20968
|
+
class ChangeQuorumCloudDatabaseAction implements IChangeQuorumCloudDatabaseAction {
|
|
20911
20969
|
|
|
20912
20970
|
/**
|
|
20913
|
-
* Constructs a new
|
|
20971
|
+
* Constructs a new ChangeQuorumCloudDatabaseAction.
|
|
20914
20972
|
* @param [properties] Properties to set
|
|
20915
20973
|
*/
|
|
20916
|
-
constructor(properties?: google.spanner.executor.v1.
|
|
20974
|
+
constructor(properties?: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction);
|
|
20917
20975
|
|
|
20918
|
-
/**
|
|
20976
|
+
/** ChangeQuorumCloudDatabaseAction databaseUri. */
|
|
20919
20977
|
public databaseUri?: (string|null);
|
|
20920
20978
|
|
|
20921
|
-
/**
|
|
20979
|
+
/** ChangeQuorumCloudDatabaseAction servingLocations. */
|
|
20922
20980
|
public servingLocations: string[];
|
|
20923
20981
|
|
|
20924
|
-
/**
|
|
20982
|
+
/** ChangeQuorumCloudDatabaseAction _databaseUri. */
|
|
20925
20983
|
public _databaseUri?: "databaseUri";
|
|
20926
20984
|
|
|
20927
20985
|
/**
|
|
20928
|
-
* Creates a new
|
|
20986
|
+
* Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
|
|
20929
20987
|
* @param [properties] Properties to set
|
|
20930
|
-
* @returns
|
|
20988
|
+
* @returns ChangeQuorumCloudDatabaseAction instance
|
|
20931
20989
|
*/
|
|
20932
|
-
public static create(properties?: google.spanner.executor.v1.
|
|
20990
|
+
public static create(properties?: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
|
|
20933
20991
|
|
|
20934
20992
|
/**
|
|
20935
|
-
* Encodes the specified
|
|
20936
|
-
* @param message
|
|
20993
|
+
* Encodes the specified ChangeQuorumCloudDatabaseAction message. Does not implicitly {@link google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction.verify|verify} messages.
|
|
20994
|
+
* @param message ChangeQuorumCloudDatabaseAction message or plain object to encode
|
|
20937
20995
|
* @param [writer] Writer to encode to
|
|
20938
20996
|
* @returns Writer
|
|
20939
20997
|
*/
|
|
20940
|
-
public static encode(message: google.spanner.executor.v1.
|
|
20998
|
+
public static encode(message: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20941
20999
|
|
|
20942
21000
|
/**
|
|
20943
|
-
* Encodes the specified
|
|
20944
|
-
* @param message
|
|
21001
|
+
* Encodes the specified ChangeQuorumCloudDatabaseAction message, length delimited. Does not implicitly {@link google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction.verify|verify} messages.
|
|
21002
|
+
* @param message ChangeQuorumCloudDatabaseAction message or plain object to encode
|
|
20945
21003
|
* @param [writer] Writer to encode to
|
|
20946
21004
|
* @returns Writer
|
|
20947
21005
|
*/
|
|
20948
|
-
public static encodeDelimited(message: google.spanner.executor.v1.
|
|
21006
|
+
public static encodeDelimited(message: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20949
21007
|
|
|
20950
21008
|
/**
|
|
20951
|
-
* Decodes a
|
|
21009
|
+
* Decodes a ChangeQuorumCloudDatabaseAction message from the specified reader or buffer.
|
|
20952
21010
|
* @param reader Reader or buffer to decode from
|
|
20953
21011
|
* @param [length] Message length if known beforehand
|
|
20954
|
-
* @returns
|
|
21012
|
+
* @returns ChangeQuorumCloudDatabaseAction
|
|
20955
21013
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20956
21014
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20957
21015
|
*/
|
|
20958
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.
|
|
21016
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
|
|
20959
21017
|
|
|
20960
21018
|
/**
|
|
20961
|
-
* Decodes a
|
|
21019
|
+
* Decodes a ChangeQuorumCloudDatabaseAction message from the specified reader or buffer, length delimited.
|
|
20962
21020
|
* @param reader Reader or buffer to decode from
|
|
20963
|
-
* @returns
|
|
21021
|
+
* @returns ChangeQuorumCloudDatabaseAction
|
|
20964
21022
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20965
21023
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20966
21024
|
*/
|
|
20967
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.
|
|
21025
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
|
|
20968
21026
|
|
|
20969
21027
|
/**
|
|
20970
|
-
* Verifies a
|
|
21028
|
+
* Verifies a ChangeQuorumCloudDatabaseAction message.
|
|
20971
21029
|
* @param message Plain object to verify
|
|
20972
21030
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
20973
21031
|
*/
|
|
20974
21032
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
20975
21033
|
|
|
20976
21034
|
/**
|
|
20977
|
-
* Creates a
|
|
21035
|
+
* Creates a ChangeQuorumCloudDatabaseAction message from a plain object. Also converts values to their respective internal types.
|
|
20978
21036
|
* @param object Plain object
|
|
20979
|
-
* @returns
|
|
21037
|
+
* @returns ChangeQuorumCloudDatabaseAction
|
|
20980
21038
|
*/
|
|
20981
|
-
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.
|
|
21039
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
|
|
20982
21040
|
|
|
20983
21041
|
/**
|
|
20984
|
-
* Creates a plain object from a
|
|
20985
|
-
* @param message
|
|
21042
|
+
* Creates a plain object from a ChangeQuorumCloudDatabaseAction message. Also converts values to other types if specified.
|
|
21043
|
+
* @param message ChangeQuorumCloudDatabaseAction
|
|
20986
21044
|
* @param [options] Conversion options
|
|
20987
21045
|
* @returns Plain object
|
|
20988
21046
|
*/
|
|
20989
|
-
public static toObject(message: google.spanner.executor.v1.
|
|
21047
|
+
public static toObject(message: google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20990
21048
|
|
|
20991
21049
|
/**
|
|
20992
|
-
* Converts this
|
|
21050
|
+
* Converts this ChangeQuorumCloudDatabaseAction to JSON.
|
|
20993
21051
|
* @returns JSON object
|
|
20994
21052
|
*/
|
|
20995
21053
|
public toJSON(): { [k: string]: any };
|
|
20996
21054
|
|
|
20997
21055
|
/**
|
|
20998
|
-
* Gets the default type url for
|
|
21056
|
+
* Gets the default type url for ChangeQuorumCloudDatabaseAction
|
|
20999
21057
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
21000
21058
|
* @returns The default type url
|
|
21001
21059
|
*/
|
|
@@ -21482,6 +21540,9 @@ export namespace google {
|
|
|
21482
21540
|
|
|
21483
21541
|
/** RestoreCloudDatabaseAction databaseId */
|
|
21484
21542
|
databaseId?: (string|null);
|
|
21543
|
+
|
|
21544
|
+
/** RestoreCloudDatabaseAction encryptionConfig */
|
|
21545
|
+
encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
|
|
21485
21546
|
}
|
|
21486
21547
|
|
|
21487
21548
|
/** Represents a RestoreCloudDatabaseAction. */
|
|
@@ -21508,6 +21569,9 @@ export namespace google {
|
|
|
21508
21569
|
/** RestoreCloudDatabaseAction databaseId. */
|
|
21509
21570
|
public databaseId: string;
|
|
21510
21571
|
|
|
21572
|
+
/** RestoreCloudDatabaseAction encryptionConfig. */
|
|
21573
|
+
public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
|
|
21574
|
+
|
|
21511
21575
|
/**
|
|
21512
21576
|
* Creates a new RestoreCloudDatabaseAction instance using the specified properties.
|
|
21513
21577
|
* @param [properties] Properties to set
|
|
@@ -21715,6 +21779,9 @@ export namespace google {
|
|
|
21715
21779
|
|
|
21716
21780
|
/** CreateCloudBackupAction versionTime */
|
|
21717
21781
|
versionTime?: (google.protobuf.ITimestamp|null);
|
|
21782
|
+
|
|
21783
|
+
/** CreateCloudBackupAction encryptionConfig */
|
|
21784
|
+
encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
|
|
21718
21785
|
}
|
|
21719
21786
|
|
|
21720
21787
|
/** Represents a CreateCloudBackupAction. */
|
|
@@ -21744,6 +21811,9 @@ export namespace google {
|
|
|
21744
21811
|
/** CreateCloudBackupAction versionTime. */
|
|
21745
21812
|
public versionTime?: (google.protobuf.ITimestamp|null);
|
|
21746
21813
|
|
|
21814
|
+
/** CreateCloudBackupAction encryptionConfig. */
|
|
21815
|
+
public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
|
|
21816
|
+
|
|
21747
21817
|
/** CreateCloudBackupAction _versionTime. */
|
|
21748
21818
|
public _versionTime?: "versionTime";
|
|
21749
21819
|
|
|
@@ -25428,6 +25498,200 @@ export namespace google {
|
|
|
25428
25498
|
*/
|
|
25429
25499
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
25430
25500
|
}
|
|
25501
|
+
|
|
25502
|
+
/** Properties of a SpannerOptions. */
|
|
25503
|
+
interface ISpannerOptions {
|
|
25504
|
+
|
|
25505
|
+
/** SpannerOptions sessionPoolOptions */
|
|
25506
|
+
sessionPoolOptions?: (google.spanner.executor.v1.ISessionPoolOptions|null);
|
|
25507
|
+
}
|
|
25508
|
+
|
|
25509
|
+
/** Represents a SpannerOptions. */
|
|
25510
|
+
class SpannerOptions implements ISpannerOptions {
|
|
25511
|
+
|
|
25512
|
+
/**
|
|
25513
|
+
* Constructs a new SpannerOptions.
|
|
25514
|
+
* @param [properties] Properties to set
|
|
25515
|
+
*/
|
|
25516
|
+
constructor(properties?: google.spanner.executor.v1.ISpannerOptions);
|
|
25517
|
+
|
|
25518
|
+
/** SpannerOptions sessionPoolOptions. */
|
|
25519
|
+
public sessionPoolOptions?: (google.spanner.executor.v1.ISessionPoolOptions|null);
|
|
25520
|
+
|
|
25521
|
+
/**
|
|
25522
|
+
* Creates a new SpannerOptions instance using the specified properties.
|
|
25523
|
+
* @param [properties] Properties to set
|
|
25524
|
+
* @returns SpannerOptions instance
|
|
25525
|
+
*/
|
|
25526
|
+
public static create(properties?: google.spanner.executor.v1.ISpannerOptions): google.spanner.executor.v1.SpannerOptions;
|
|
25527
|
+
|
|
25528
|
+
/**
|
|
25529
|
+
* Encodes the specified SpannerOptions message. Does not implicitly {@link google.spanner.executor.v1.SpannerOptions.verify|verify} messages.
|
|
25530
|
+
* @param message SpannerOptions message or plain object to encode
|
|
25531
|
+
* @param [writer] Writer to encode to
|
|
25532
|
+
* @returns Writer
|
|
25533
|
+
*/
|
|
25534
|
+
public static encode(message: google.spanner.executor.v1.ISpannerOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25535
|
+
|
|
25536
|
+
/**
|
|
25537
|
+
* Encodes the specified SpannerOptions message, length delimited. Does not implicitly {@link google.spanner.executor.v1.SpannerOptions.verify|verify} messages.
|
|
25538
|
+
* @param message SpannerOptions message or plain object to encode
|
|
25539
|
+
* @param [writer] Writer to encode to
|
|
25540
|
+
* @returns Writer
|
|
25541
|
+
*/
|
|
25542
|
+
public static encodeDelimited(message: google.spanner.executor.v1.ISpannerOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25543
|
+
|
|
25544
|
+
/**
|
|
25545
|
+
* Decodes a SpannerOptions message from the specified reader or buffer.
|
|
25546
|
+
* @param reader Reader or buffer to decode from
|
|
25547
|
+
* @param [length] Message length if known beforehand
|
|
25548
|
+
* @returns SpannerOptions
|
|
25549
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25550
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25551
|
+
*/
|
|
25552
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.SpannerOptions;
|
|
25553
|
+
|
|
25554
|
+
/**
|
|
25555
|
+
* Decodes a SpannerOptions message from the specified reader or buffer, length delimited.
|
|
25556
|
+
* @param reader Reader or buffer to decode from
|
|
25557
|
+
* @returns SpannerOptions
|
|
25558
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25559
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25560
|
+
*/
|
|
25561
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.SpannerOptions;
|
|
25562
|
+
|
|
25563
|
+
/**
|
|
25564
|
+
* Verifies a SpannerOptions message.
|
|
25565
|
+
* @param message Plain object to verify
|
|
25566
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25567
|
+
*/
|
|
25568
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
25569
|
+
|
|
25570
|
+
/**
|
|
25571
|
+
* Creates a SpannerOptions message from a plain object. Also converts values to their respective internal types.
|
|
25572
|
+
* @param object Plain object
|
|
25573
|
+
* @returns SpannerOptions
|
|
25574
|
+
*/
|
|
25575
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.SpannerOptions;
|
|
25576
|
+
|
|
25577
|
+
/**
|
|
25578
|
+
* Creates a plain object from a SpannerOptions message. Also converts values to other types if specified.
|
|
25579
|
+
* @param message SpannerOptions
|
|
25580
|
+
* @param [options] Conversion options
|
|
25581
|
+
* @returns Plain object
|
|
25582
|
+
*/
|
|
25583
|
+
public static toObject(message: google.spanner.executor.v1.SpannerOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
25584
|
+
|
|
25585
|
+
/**
|
|
25586
|
+
* Converts this SpannerOptions to JSON.
|
|
25587
|
+
* @returns JSON object
|
|
25588
|
+
*/
|
|
25589
|
+
public toJSON(): { [k: string]: any };
|
|
25590
|
+
|
|
25591
|
+
/**
|
|
25592
|
+
* Gets the default type url for SpannerOptions
|
|
25593
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
25594
|
+
* @returns The default type url
|
|
25595
|
+
*/
|
|
25596
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
25597
|
+
}
|
|
25598
|
+
|
|
25599
|
+
/** Properties of a SessionPoolOptions. */
|
|
25600
|
+
interface ISessionPoolOptions {
|
|
25601
|
+
|
|
25602
|
+
/** SessionPoolOptions useMultiplexed */
|
|
25603
|
+
useMultiplexed?: (boolean|null);
|
|
25604
|
+
}
|
|
25605
|
+
|
|
25606
|
+
/** Represents a SessionPoolOptions. */
|
|
25607
|
+
class SessionPoolOptions implements ISessionPoolOptions {
|
|
25608
|
+
|
|
25609
|
+
/**
|
|
25610
|
+
* Constructs a new SessionPoolOptions.
|
|
25611
|
+
* @param [properties] Properties to set
|
|
25612
|
+
*/
|
|
25613
|
+
constructor(properties?: google.spanner.executor.v1.ISessionPoolOptions);
|
|
25614
|
+
|
|
25615
|
+
/** SessionPoolOptions useMultiplexed. */
|
|
25616
|
+
public useMultiplexed: boolean;
|
|
25617
|
+
|
|
25618
|
+
/**
|
|
25619
|
+
* Creates a new SessionPoolOptions instance using the specified properties.
|
|
25620
|
+
* @param [properties] Properties to set
|
|
25621
|
+
* @returns SessionPoolOptions instance
|
|
25622
|
+
*/
|
|
25623
|
+
public static create(properties?: google.spanner.executor.v1.ISessionPoolOptions): google.spanner.executor.v1.SessionPoolOptions;
|
|
25624
|
+
|
|
25625
|
+
/**
|
|
25626
|
+
* Encodes the specified SessionPoolOptions message. Does not implicitly {@link google.spanner.executor.v1.SessionPoolOptions.verify|verify} messages.
|
|
25627
|
+
* @param message SessionPoolOptions message or plain object to encode
|
|
25628
|
+
* @param [writer] Writer to encode to
|
|
25629
|
+
* @returns Writer
|
|
25630
|
+
*/
|
|
25631
|
+
public static encode(message: google.spanner.executor.v1.ISessionPoolOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25632
|
+
|
|
25633
|
+
/**
|
|
25634
|
+
* Encodes the specified SessionPoolOptions message, length delimited. Does not implicitly {@link google.spanner.executor.v1.SessionPoolOptions.verify|verify} messages.
|
|
25635
|
+
* @param message SessionPoolOptions message or plain object to encode
|
|
25636
|
+
* @param [writer] Writer to encode to
|
|
25637
|
+
* @returns Writer
|
|
25638
|
+
*/
|
|
25639
|
+
public static encodeDelimited(message: google.spanner.executor.v1.ISessionPoolOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
25640
|
+
|
|
25641
|
+
/**
|
|
25642
|
+
* Decodes a SessionPoolOptions message from the specified reader or buffer.
|
|
25643
|
+
* @param reader Reader or buffer to decode from
|
|
25644
|
+
* @param [length] Message length if known beforehand
|
|
25645
|
+
* @returns SessionPoolOptions
|
|
25646
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25647
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25648
|
+
*/
|
|
25649
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.SessionPoolOptions;
|
|
25650
|
+
|
|
25651
|
+
/**
|
|
25652
|
+
* Decodes a SessionPoolOptions message from the specified reader or buffer, length delimited.
|
|
25653
|
+
* @param reader Reader or buffer to decode from
|
|
25654
|
+
* @returns SessionPoolOptions
|
|
25655
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25656
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25657
|
+
*/
|
|
25658
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.SessionPoolOptions;
|
|
25659
|
+
|
|
25660
|
+
/**
|
|
25661
|
+
* Verifies a SessionPoolOptions message.
|
|
25662
|
+
* @param message Plain object to verify
|
|
25663
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25664
|
+
*/
|
|
25665
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
25666
|
+
|
|
25667
|
+
/**
|
|
25668
|
+
* Creates a SessionPoolOptions message from a plain object. Also converts values to their respective internal types.
|
|
25669
|
+
* @param object Plain object
|
|
25670
|
+
* @returns SessionPoolOptions
|
|
25671
|
+
*/
|
|
25672
|
+
public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.SessionPoolOptions;
|
|
25673
|
+
|
|
25674
|
+
/**
|
|
25675
|
+
* Creates a plain object from a SessionPoolOptions message. Also converts values to other types if specified.
|
|
25676
|
+
* @param message SessionPoolOptions
|
|
25677
|
+
* @param [options] Conversion options
|
|
25678
|
+
* @returns Plain object
|
|
25679
|
+
*/
|
|
25680
|
+
public static toObject(message: google.spanner.executor.v1.SessionPoolOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
25681
|
+
|
|
25682
|
+
/**
|
|
25683
|
+
* Converts this SessionPoolOptions to JSON.
|
|
25684
|
+
* @returns JSON object
|
|
25685
|
+
*/
|
|
25686
|
+
public toJSON(): { [k: string]: any };
|
|
25687
|
+
|
|
25688
|
+
/**
|
|
25689
|
+
* Gets the default type url for SessionPoolOptions
|
|
25690
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
25691
|
+
* @returns The default type url
|
|
25692
|
+
*/
|
|
25693
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
25694
|
+
}
|
|
25431
25695
|
}
|
|
25432
25696
|
}
|
|
25433
25697
|
|
|
@@ -32818,6 +33082,9 @@ export namespace google {
|
|
|
32818
33082
|
|
|
32819
33083
|
/** Publishing protoReferenceDocumentationUri */
|
|
32820
33084
|
protoReferenceDocumentationUri?: (string|null);
|
|
33085
|
+
|
|
33086
|
+
/** Publishing restReferenceDocumentationUri */
|
|
33087
|
+
restReferenceDocumentationUri?: (string|null);
|
|
32821
33088
|
}
|
|
32822
33089
|
|
|
32823
33090
|
/** Represents a Publishing. */
|
|
@@ -32859,6 +33126,9 @@ export namespace google {
|
|
|
32859
33126
|
/** Publishing protoReferenceDocumentationUri. */
|
|
32860
33127
|
public protoReferenceDocumentationUri: string;
|
|
32861
33128
|
|
|
33129
|
+
/** Publishing restReferenceDocumentationUri. */
|
|
33130
|
+
public restReferenceDocumentationUri: string;
|
|
33131
|
+
|
|
32862
33132
|
/**
|
|
32863
33133
|
* Creates a new Publishing instance using the specified properties.
|
|
32864
33134
|
* @param [properties] Properties to set
|