@google-cloud/spanner 7.6.0 → 7.7.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 CHANGED
@@ -4,6 +4,19 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
6
6
 
7
+ ## [7.7.0](https://github.com/googleapis/nodejs-spanner/compare/v7.6.0...v7.7.0) (2024-04-17)
8
+
9
+
10
+ ### Features
11
+
12
+ * OptimisticLock option for getTransaction method ([#2028](https://github.com/googleapis/nodejs-spanner/issues/2028)) ([dacf869](https://github.com/googleapis/nodejs-spanner/commit/dacf8697b20752041684710982035b4c97837d28))
13
+ * **spanner:** Adding `EXPECTED_FULFILLMENT_PERIOD` to the indicate instance creation times (with `FULFILLMENT_PERIOD_NORMAL` or `FULFILLMENT_PERIOD_EXTENDED` ENUM) with the extended instance creation time triggered by On-Demand Capacity Feature ([#2024](https://github.com/googleapis/nodejs-spanner/issues/2024)) ([5292e03](https://github.com/googleapis/nodejs-spanner/commit/5292e035c5278ba6806f9e1eb84809ed893b1e37))
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **deps:** Update dependency google-gax to v4.3.2 ([#2026](https://github.com/googleapis/nodejs-spanner/issues/2026)) ([0ee9831](https://github.com/googleapis/nodejs-spanner/commit/0ee98319f291f552a0afc52629d12af9969d1d10))
19
+
7
20
  ## [7.6.0](https://github.com/googleapis/nodejs-spanner/compare/v7.5.0...v7.6.0) (2024-03-26)
8
21
 
9
22
 
@@ -1,4 +1,4 @@
1
- // Copyright 2022 Google LLC
1
+ // Copyright 2023 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -40,3 +40,17 @@ message OperationProgress {
40
40
  // successfully.
41
41
  google.protobuf.Timestamp end_time = 3;
42
42
  }
43
+
44
+ // Indicates the expected fulfillment period of an operation.
45
+ enum FulfillmentPeriod {
46
+ // Not specified.
47
+ FULFILLMENT_PERIOD_UNSPECIFIED = 0;
48
+
49
+ // Normal fulfillment period. The operation is expected to complete within
50
+ // minutes.
51
+ FULFILLMENT_PERIOD_NORMAL = 1;
52
+
53
+ // Extended fulfillment period. It can take up to an hour for the operation
54
+ // to complete.
55
+ FULFILLMENT_PERIOD_EXTENDED = 2;
56
+ }
@@ -1282,6 +1282,9 @@ message CreateInstanceMetadata {
1282
1282
 
1283
1283
  // The time at which this operation failed or was completed successfully.
1284
1284
  google.protobuf.Timestamp end_time = 4;
1285
+
1286
+ // The expected fulfillment period of this create operation.
1287
+ FulfillmentPeriod expected_fulfillment_period = 5;
1285
1288
  }
1286
1289
 
1287
1290
  // Metadata type for the operation returned by
@@ -1302,6 +1305,9 @@ message UpdateInstanceMetadata {
1302
1305
 
1303
1306
  // The time at which this operation failed or was completed successfully.
1304
1307
  google.protobuf.Timestamp end_time = 4;
1308
+
1309
+ // The expected fulfillment period of this update operation.
1310
+ FulfillmentPeriod expected_fulfillment_period = 5;
1305
1311
  }
1306
1312
 
1307
1313
  // Metadata type for the operation returned by
@@ -78,6 +78,9 @@ message SpannerAction {
78
78
  // database path if it applies to the same database as the previous action.
79
79
  string database_path = 1;
80
80
 
81
+ // Configuration options for Spanner backend
82
+ SpannerOptions spanner_options = 2;
83
+
81
84
  // Action represents a spanner action kind, there will only be one action kind
82
85
  // per SpannerAction.
83
86
  oneof action {
@@ -565,8 +568,8 @@ message AdminAction {
565
568
  // Action that cancels an operation.
566
569
  CancelOperationAction cancel_operation = 26;
567
570
 
568
- // Action that reconfigures a Cloud Spanner database.
569
- ReconfigureCloudDatabaseAction reconfigure_cloud_database = 28;
571
+ // Action that changes quorum of a Cloud Spanner database.
572
+ ChangeQuorumCloudDatabaseAction change_quorum_cloud_database = 28;
570
573
  }
571
574
  }
572
575
 
@@ -772,9 +775,9 @@ message DropCloudDatabaseAction {
772
775
  string database_id = 3;
773
776
  }
774
777
 
775
- // Action that reconfigures a Cloud Spanner database.
776
- message ReconfigureCloudDatabaseAction {
777
- // The fully qualified uri of the database to be reconfigured.
778
+ // Action that changes quorum of a Cloud Spanner database.
779
+ message ChangeQuorumCloudDatabaseAction {
780
+ // The fully qualified uri of the database whose quorum has to be changed.
778
781
  optional string database_uri = 1;
779
782
 
780
783
  // The locations of the serving regions, e.g. "asia-south1".
@@ -877,6 +880,10 @@ message RestoreCloudDatabaseAction {
877
880
  // The id of the database to create and restore to, e.g. "db0". Note that this
878
881
  // database must not already exist.
879
882
  string database_id = 5;
883
+
884
+ // The KMS key(s) used to encrypt the restored database to be created if the
885
+ // restored database should be CMEK protected.
886
+ google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;
880
887
  }
881
888
 
882
889
  // Action that gets a Cloud Spanner database.
@@ -916,6 +923,10 @@ message CreateCloudBackupAction {
916
923
  // [earliest_version_time, NOW], where earliest_version_time is retrieved by
917
924
  // cloud spanner frontend API (See details: go/cs-pitr-lite-design).
918
925
  optional google.protobuf.Timestamp version_time = 6;
926
+
927
+ // The KMS key(s) used to encrypt the backup to be created if the backup
928
+ // should be CMEK protected.
929
+ google.spanner.admin.database.v1.EncryptionConfig encryption_config = 7;
919
930
  }
920
931
 
921
932
  // Action that copies a Cloud Spanner database backup.
@@ -1481,3 +1492,16 @@ message HeartbeatRecord {
1481
1492
  // Timestamp for this heartbeat check.
1482
1493
  google.protobuf.Timestamp heartbeat_time = 1;
1483
1494
  }
1495
+
1496
+ // Options for Cloud Spanner Service.
1497
+ message SpannerOptions {
1498
+ // Options for configuring the session pool
1499
+ SessionPoolOptions session_pool_options = 1;
1500
+ }
1501
+
1502
+ // Options for the session pool used by the DatabaseClient.
1503
+ message SessionPoolOptions {
1504
+ // passing this as true, will make applicable RPCs use multiplexed sessions
1505
+ // instead of regular sessions
1506
+ bool use_multiplexed = 1;
1507
+ }
@@ -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. */
@@ -11804,6 +11807,13 @@ export namespace google {
11804
11807
  public static getTypeUrl(typeUrlPrefix?: string): string;
11805
11808
  }
11806
11809
 
11810
+ /** FulfillmentPeriod enum. */
11811
+ enum FulfillmentPeriod {
11812
+ FULFILLMENT_PERIOD_UNSPECIFIED = 0,
11813
+ FULFILLMENT_PERIOD_NORMAL = 1,
11814
+ FULFILLMENT_PERIOD_EXTENDED = 2
11815
+ }
11816
+
11807
11817
  /** Represents an InstanceAdmin */
11808
11818
  class InstanceAdmin extends $protobuf.rpc.Service {
11809
11819
 
@@ -14555,6 +14565,9 @@ export namespace google {
14555
14565
 
14556
14566
  /** CreateInstanceMetadata endTime */
14557
14567
  endTime?: (google.protobuf.ITimestamp|null);
14568
+
14569
+ /** CreateInstanceMetadata expectedFulfillmentPeriod */
14570
+ expectedFulfillmentPeriod?: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod|null);
14558
14571
  }
14559
14572
 
14560
14573
  /** Represents a CreateInstanceMetadata. */
@@ -14578,6 +14591,9 @@ export namespace google {
14578
14591
  /** CreateInstanceMetadata endTime. */
14579
14592
  public endTime?: (google.protobuf.ITimestamp|null);
14580
14593
 
14594
+ /** CreateInstanceMetadata expectedFulfillmentPeriod. */
14595
+ public expectedFulfillmentPeriod: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod);
14596
+
14581
14597
  /**
14582
14598
  * Creates a new CreateInstanceMetadata instance using the specified properties.
14583
14599
  * @param [properties] Properties to set
@@ -14670,6 +14686,9 @@ export namespace google {
14670
14686
 
14671
14687
  /** UpdateInstanceMetadata endTime */
14672
14688
  endTime?: (google.protobuf.ITimestamp|null);
14689
+
14690
+ /** UpdateInstanceMetadata expectedFulfillmentPeriod */
14691
+ expectedFulfillmentPeriod?: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod|null);
14673
14692
  }
14674
14693
 
14675
14694
  /** Represents an UpdateInstanceMetadata. */
@@ -14693,6 +14712,9 @@ export namespace google {
14693
14712
  /** UpdateInstanceMetadata endTime. */
14694
14713
  public endTime?: (google.protobuf.ITimestamp|null);
14695
14714
 
14715
+ /** UpdateInstanceMetadata expectedFulfillmentPeriod. */
14716
+ public expectedFulfillmentPeriod: (google.spanner.admin.instance.v1.FulfillmentPeriod|keyof typeof google.spanner.admin.instance.v1.FulfillmentPeriod);
14717
+
14696
14718
  /**
14697
14719
  * Creates a new UpdateInstanceMetadata instance using the specified properties.
14698
14720
  * @param [properties] Properties to set
@@ -16521,6 +16543,9 @@ export namespace google {
16521
16543
  /** SpannerAction databasePath */
16522
16544
  databasePath?: (string|null);
16523
16545
 
16546
+ /** SpannerAction spannerOptions */
16547
+ spannerOptions?: (google.spanner.executor.v1.ISpannerOptions|null);
16548
+
16524
16549
  /** SpannerAction start */
16525
16550
  start?: (google.spanner.executor.v1.IStartTransactionAction|null);
16526
16551
 
@@ -16582,6 +16607,9 @@ export namespace google {
16582
16607
  /** SpannerAction databasePath. */
16583
16608
  public databasePath: string;
16584
16609
 
16610
+ /** SpannerAction spannerOptions. */
16611
+ public spannerOptions?: (google.spanner.executor.v1.ISpannerOptions|null);
16612
+
16585
16613
  /** SpannerAction start. */
16586
16614
  public start?: (google.spanner.executor.v1.IStartTransactionAction|null);
16587
16615
 
@@ -19281,8 +19309,8 @@ export namespace google {
19281
19309
  /** AdminAction cancelOperation */
19282
19310
  cancelOperation?: (google.spanner.executor.v1.ICancelOperationAction|null);
19283
19311
 
19284
- /** AdminAction reconfigureCloudDatabase */
19285
- reconfigureCloudDatabase?: (google.spanner.executor.v1.IReconfigureCloudDatabaseAction|null);
19312
+ /** AdminAction changeQuorumCloudDatabase */
19313
+ changeQuorumCloudDatabase?: (google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction|null);
19286
19314
  }
19287
19315
 
19288
19316
  /** Represents an AdminAction. */
@@ -19375,11 +19403,11 @@ export namespace google {
19375
19403
  /** AdminAction cancelOperation. */
19376
19404
  public cancelOperation?: (google.spanner.executor.v1.ICancelOperationAction|null);
19377
19405
 
19378
- /** AdminAction reconfigureCloudDatabase. */
19379
- public reconfigureCloudDatabase?: (google.spanner.executor.v1.IReconfigureCloudDatabaseAction|null);
19406
+ /** AdminAction changeQuorumCloudDatabase. */
19407
+ public changeQuorumCloudDatabase?: (google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction|null);
19380
19408
 
19381
19409
  /** 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"|"reconfigureCloudDatabase");
19410
+ 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
19411
 
19384
19412
  /**
19385
19413
  * Creates a new AdminAction instance using the specified properties.
@@ -20896,106 +20924,106 @@ export namespace google {
20896
20924
  public static getTypeUrl(typeUrlPrefix?: string): string;
20897
20925
  }
20898
20926
 
20899
- /** Properties of a ReconfigureCloudDatabaseAction. */
20900
- interface IReconfigureCloudDatabaseAction {
20927
+ /** Properties of a ChangeQuorumCloudDatabaseAction. */
20928
+ interface IChangeQuorumCloudDatabaseAction {
20901
20929
 
20902
- /** ReconfigureCloudDatabaseAction databaseUri */
20930
+ /** ChangeQuorumCloudDatabaseAction databaseUri */
20903
20931
  databaseUri?: (string|null);
20904
20932
 
20905
- /** ReconfigureCloudDatabaseAction servingLocations */
20933
+ /** ChangeQuorumCloudDatabaseAction servingLocations */
20906
20934
  servingLocations?: (string[]|null);
20907
20935
  }
20908
20936
 
20909
- /** Represents a ReconfigureCloudDatabaseAction. */
20910
- class ReconfigureCloudDatabaseAction implements IReconfigureCloudDatabaseAction {
20937
+ /** Represents a ChangeQuorumCloudDatabaseAction. */
20938
+ class ChangeQuorumCloudDatabaseAction implements IChangeQuorumCloudDatabaseAction {
20911
20939
 
20912
20940
  /**
20913
- * Constructs a new ReconfigureCloudDatabaseAction.
20941
+ * Constructs a new ChangeQuorumCloudDatabaseAction.
20914
20942
  * @param [properties] Properties to set
20915
20943
  */
20916
- constructor(properties?: google.spanner.executor.v1.IReconfigureCloudDatabaseAction);
20944
+ constructor(properties?: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction);
20917
20945
 
20918
- /** ReconfigureCloudDatabaseAction databaseUri. */
20946
+ /** ChangeQuorumCloudDatabaseAction databaseUri. */
20919
20947
  public databaseUri?: (string|null);
20920
20948
 
20921
- /** ReconfigureCloudDatabaseAction servingLocations. */
20949
+ /** ChangeQuorumCloudDatabaseAction servingLocations. */
20922
20950
  public servingLocations: string[];
20923
20951
 
20924
- /** ReconfigureCloudDatabaseAction _databaseUri. */
20952
+ /** ChangeQuorumCloudDatabaseAction _databaseUri. */
20925
20953
  public _databaseUri?: "databaseUri";
20926
20954
 
20927
20955
  /**
20928
- * Creates a new ReconfigureCloudDatabaseAction instance using the specified properties.
20956
+ * Creates a new ChangeQuorumCloudDatabaseAction instance using the specified properties.
20929
20957
  * @param [properties] Properties to set
20930
- * @returns ReconfigureCloudDatabaseAction instance
20958
+ * @returns ChangeQuorumCloudDatabaseAction instance
20931
20959
  */
20932
- public static create(properties?: google.spanner.executor.v1.IReconfigureCloudDatabaseAction): google.spanner.executor.v1.ReconfigureCloudDatabaseAction;
20960
+ public static create(properties?: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
20933
20961
 
20934
20962
  /**
20935
- * Encodes the specified ReconfigureCloudDatabaseAction message. Does not implicitly {@link google.spanner.executor.v1.ReconfigureCloudDatabaseAction.verify|verify} messages.
20936
- * @param message ReconfigureCloudDatabaseAction message or plain object to encode
20963
+ * Encodes the specified ChangeQuorumCloudDatabaseAction message. Does not implicitly {@link google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction.verify|verify} messages.
20964
+ * @param message ChangeQuorumCloudDatabaseAction message or plain object to encode
20937
20965
  * @param [writer] Writer to encode to
20938
20966
  * @returns Writer
20939
20967
  */
20940
- public static encode(message: google.spanner.executor.v1.IReconfigureCloudDatabaseAction, writer?: $protobuf.Writer): $protobuf.Writer;
20968
+ public static encode(message: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction, writer?: $protobuf.Writer): $protobuf.Writer;
20941
20969
 
20942
20970
  /**
20943
- * Encodes the specified ReconfigureCloudDatabaseAction message, length delimited. Does not implicitly {@link google.spanner.executor.v1.ReconfigureCloudDatabaseAction.verify|verify} messages.
20944
- * @param message ReconfigureCloudDatabaseAction message or plain object to encode
20971
+ * Encodes the specified ChangeQuorumCloudDatabaseAction message, length delimited. Does not implicitly {@link google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction.verify|verify} messages.
20972
+ * @param message ChangeQuorumCloudDatabaseAction message or plain object to encode
20945
20973
  * @param [writer] Writer to encode to
20946
20974
  * @returns Writer
20947
20975
  */
20948
- public static encodeDelimited(message: google.spanner.executor.v1.IReconfigureCloudDatabaseAction, writer?: $protobuf.Writer): $protobuf.Writer;
20976
+ public static encodeDelimited(message: google.spanner.executor.v1.IChangeQuorumCloudDatabaseAction, writer?: $protobuf.Writer): $protobuf.Writer;
20949
20977
 
20950
20978
  /**
20951
- * Decodes a ReconfigureCloudDatabaseAction message from the specified reader or buffer.
20979
+ * Decodes a ChangeQuorumCloudDatabaseAction message from the specified reader or buffer.
20952
20980
  * @param reader Reader or buffer to decode from
20953
20981
  * @param [length] Message length if known beforehand
20954
- * @returns ReconfigureCloudDatabaseAction
20982
+ * @returns ChangeQuorumCloudDatabaseAction
20955
20983
  * @throws {Error} If the payload is not a reader or valid buffer
20956
20984
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20957
20985
  */
20958
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.ReconfigureCloudDatabaseAction;
20986
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
20959
20987
 
20960
20988
  /**
20961
- * Decodes a ReconfigureCloudDatabaseAction message from the specified reader or buffer, length delimited.
20989
+ * Decodes a ChangeQuorumCloudDatabaseAction message from the specified reader or buffer, length delimited.
20962
20990
  * @param reader Reader or buffer to decode from
20963
- * @returns ReconfigureCloudDatabaseAction
20991
+ * @returns ChangeQuorumCloudDatabaseAction
20964
20992
  * @throws {Error} If the payload is not a reader or valid buffer
20965
20993
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20966
20994
  */
20967
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.ReconfigureCloudDatabaseAction;
20995
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
20968
20996
 
20969
20997
  /**
20970
- * Verifies a ReconfigureCloudDatabaseAction message.
20998
+ * Verifies a ChangeQuorumCloudDatabaseAction message.
20971
20999
  * @param message Plain object to verify
20972
21000
  * @returns `null` if valid, otherwise the reason why it is not
20973
21001
  */
20974
21002
  public static verify(message: { [k: string]: any }): (string|null);
20975
21003
 
20976
21004
  /**
20977
- * Creates a ReconfigureCloudDatabaseAction message from a plain object. Also converts values to their respective internal types.
21005
+ * Creates a ChangeQuorumCloudDatabaseAction message from a plain object. Also converts values to their respective internal types.
20978
21006
  * @param object Plain object
20979
- * @returns ReconfigureCloudDatabaseAction
21007
+ * @returns ChangeQuorumCloudDatabaseAction
20980
21008
  */
20981
- public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.ReconfigureCloudDatabaseAction;
21009
+ public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction;
20982
21010
 
20983
21011
  /**
20984
- * Creates a plain object from a ReconfigureCloudDatabaseAction message. Also converts values to other types if specified.
20985
- * @param message ReconfigureCloudDatabaseAction
21012
+ * Creates a plain object from a ChangeQuorumCloudDatabaseAction message. Also converts values to other types if specified.
21013
+ * @param message ChangeQuorumCloudDatabaseAction
20986
21014
  * @param [options] Conversion options
20987
21015
  * @returns Plain object
20988
21016
  */
20989
- public static toObject(message: google.spanner.executor.v1.ReconfigureCloudDatabaseAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
21017
+ public static toObject(message: google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
20990
21018
 
20991
21019
  /**
20992
- * Converts this ReconfigureCloudDatabaseAction to JSON.
21020
+ * Converts this ChangeQuorumCloudDatabaseAction to JSON.
20993
21021
  * @returns JSON object
20994
21022
  */
20995
21023
  public toJSON(): { [k: string]: any };
20996
21024
 
20997
21025
  /**
20998
- * Gets the default type url for ReconfigureCloudDatabaseAction
21026
+ * Gets the default type url for ChangeQuorumCloudDatabaseAction
20999
21027
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21000
21028
  * @returns The default type url
21001
21029
  */
@@ -21482,6 +21510,9 @@ export namespace google {
21482
21510
 
21483
21511
  /** RestoreCloudDatabaseAction databaseId */
21484
21512
  databaseId?: (string|null);
21513
+
21514
+ /** RestoreCloudDatabaseAction encryptionConfig */
21515
+ encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
21485
21516
  }
21486
21517
 
21487
21518
  /** Represents a RestoreCloudDatabaseAction. */
@@ -21508,6 +21539,9 @@ export namespace google {
21508
21539
  /** RestoreCloudDatabaseAction databaseId. */
21509
21540
  public databaseId: string;
21510
21541
 
21542
+ /** RestoreCloudDatabaseAction encryptionConfig. */
21543
+ public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
21544
+
21511
21545
  /**
21512
21546
  * Creates a new RestoreCloudDatabaseAction instance using the specified properties.
21513
21547
  * @param [properties] Properties to set
@@ -21715,6 +21749,9 @@ export namespace google {
21715
21749
 
21716
21750
  /** CreateCloudBackupAction versionTime */
21717
21751
  versionTime?: (google.protobuf.ITimestamp|null);
21752
+
21753
+ /** CreateCloudBackupAction encryptionConfig */
21754
+ encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
21718
21755
  }
21719
21756
 
21720
21757
  /** Represents a CreateCloudBackupAction. */
@@ -21744,6 +21781,9 @@ export namespace google {
21744
21781
  /** CreateCloudBackupAction versionTime. */
21745
21782
  public versionTime?: (google.protobuf.ITimestamp|null);
21746
21783
 
21784
+ /** CreateCloudBackupAction encryptionConfig. */
21785
+ public encryptionConfig?: (google.spanner.admin.database.v1.IEncryptionConfig|null);
21786
+
21747
21787
  /** CreateCloudBackupAction _versionTime. */
21748
21788
  public _versionTime?: "versionTime";
21749
21789
 
@@ -25428,6 +25468,200 @@ export namespace google {
25428
25468
  */
25429
25469
  public static getTypeUrl(typeUrlPrefix?: string): string;
25430
25470
  }
25471
+
25472
+ /** Properties of a SpannerOptions. */
25473
+ interface ISpannerOptions {
25474
+
25475
+ /** SpannerOptions sessionPoolOptions */
25476
+ sessionPoolOptions?: (google.spanner.executor.v1.ISessionPoolOptions|null);
25477
+ }
25478
+
25479
+ /** Represents a SpannerOptions. */
25480
+ class SpannerOptions implements ISpannerOptions {
25481
+
25482
+ /**
25483
+ * Constructs a new SpannerOptions.
25484
+ * @param [properties] Properties to set
25485
+ */
25486
+ constructor(properties?: google.spanner.executor.v1.ISpannerOptions);
25487
+
25488
+ /** SpannerOptions sessionPoolOptions. */
25489
+ public sessionPoolOptions?: (google.spanner.executor.v1.ISessionPoolOptions|null);
25490
+
25491
+ /**
25492
+ * Creates a new SpannerOptions instance using the specified properties.
25493
+ * @param [properties] Properties to set
25494
+ * @returns SpannerOptions instance
25495
+ */
25496
+ public static create(properties?: google.spanner.executor.v1.ISpannerOptions): google.spanner.executor.v1.SpannerOptions;
25497
+
25498
+ /**
25499
+ * Encodes the specified SpannerOptions message. Does not implicitly {@link google.spanner.executor.v1.SpannerOptions.verify|verify} messages.
25500
+ * @param message SpannerOptions message or plain object to encode
25501
+ * @param [writer] Writer to encode to
25502
+ * @returns Writer
25503
+ */
25504
+ public static encode(message: google.spanner.executor.v1.ISpannerOptions, writer?: $protobuf.Writer): $protobuf.Writer;
25505
+
25506
+ /**
25507
+ * Encodes the specified SpannerOptions message, length delimited. Does not implicitly {@link google.spanner.executor.v1.SpannerOptions.verify|verify} messages.
25508
+ * @param message SpannerOptions message or plain object to encode
25509
+ * @param [writer] Writer to encode to
25510
+ * @returns Writer
25511
+ */
25512
+ public static encodeDelimited(message: google.spanner.executor.v1.ISpannerOptions, writer?: $protobuf.Writer): $protobuf.Writer;
25513
+
25514
+ /**
25515
+ * Decodes a SpannerOptions message from the specified reader or buffer.
25516
+ * @param reader Reader or buffer to decode from
25517
+ * @param [length] Message length if known beforehand
25518
+ * @returns SpannerOptions
25519
+ * @throws {Error} If the payload is not a reader or valid buffer
25520
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25521
+ */
25522
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.SpannerOptions;
25523
+
25524
+ /**
25525
+ * Decodes a SpannerOptions message from the specified reader or buffer, length delimited.
25526
+ * @param reader Reader or buffer to decode from
25527
+ * @returns SpannerOptions
25528
+ * @throws {Error} If the payload is not a reader or valid buffer
25529
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25530
+ */
25531
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.SpannerOptions;
25532
+
25533
+ /**
25534
+ * Verifies a SpannerOptions message.
25535
+ * @param message Plain object to verify
25536
+ * @returns `null` if valid, otherwise the reason why it is not
25537
+ */
25538
+ public static verify(message: { [k: string]: any }): (string|null);
25539
+
25540
+ /**
25541
+ * Creates a SpannerOptions message from a plain object. Also converts values to their respective internal types.
25542
+ * @param object Plain object
25543
+ * @returns SpannerOptions
25544
+ */
25545
+ public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.SpannerOptions;
25546
+
25547
+ /**
25548
+ * Creates a plain object from a SpannerOptions message. Also converts values to other types if specified.
25549
+ * @param message SpannerOptions
25550
+ * @param [options] Conversion options
25551
+ * @returns Plain object
25552
+ */
25553
+ public static toObject(message: google.spanner.executor.v1.SpannerOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
25554
+
25555
+ /**
25556
+ * Converts this SpannerOptions to JSON.
25557
+ * @returns JSON object
25558
+ */
25559
+ public toJSON(): { [k: string]: any };
25560
+
25561
+ /**
25562
+ * Gets the default type url for SpannerOptions
25563
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25564
+ * @returns The default type url
25565
+ */
25566
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25567
+ }
25568
+
25569
+ /** Properties of a SessionPoolOptions. */
25570
+ interface ISessionPoolOptions {
25571
+
25572
+ /** SessionPoolOptions useMultiplexed */
25573
+ useMultiplexed?: (boolean|null);
25574
+ }
25575
+
25576
+ /** Represents a SessionPoolOptions. */
25577
+ class SessionPoolOptions implements ISessionPoolOptions {
25578
+
25579
+ /**
25580
+ * Constructs a new SessionPoolOptions.
25581
+ * @param [properties] Properties to set
25582
+ */
25583
+ constructor(properties?: google.spanner.executor.v1.ISessionPoolOptions);
25584
+
25585
+ /** SessionPoolOptions useMultiplexed. */
25586
+ public useMultiplexed: boolean;
25587
+
25588
+ /**
25589
+ * Creates a new SessionPoolOptions instance using the specified properties.
25590
+ * @param [properties] Properties to set
25591
+ * @returns SessionPoolOptions instance
25592
+ */
25593
+ public static create(properties?: google.spanner.executor.v1.ISessionPoolOptions): google.spanner.executor.v1.SessionPoolOptions;
25594
+
25595
+ /**
25596
+ * Encodes the specified SessionPoolOptions message. Does not implicitly {@link google.spanner.executor.v1.SessionPoolOptions.verify|verify} messages.
25597
+ * @param message SessionPoolOptions message or plain object to encode
25598
+ * @param [writer] Writer to encode to
25599
+ * @returns Writer
25600
+ */
25601
+ public static encode(message: google.spanner.executor.v1.ISessionPoolOptions, writer?: $protobuf.Writer): $protobuf.Writer;
25602
+
25603
+ /**
25604
+ * Encodes the specified SessionPoolOptions message, length delimited. Does not implicitly {@link google.spanner.executor.v1.SessionPoolOptions.verify|verify} messages.
25605
+ * @param message SessionPoolOptions message or plain object to encode
25606
+ * @param [writer] Writer to encode to
25607
+ * @returns Writer
25608
+ */
25609
+ public static encodeDelimited(message: google.spanner.executor.v1.ISessionPoolOptions, writer?: $protobuf.Writer): $protobuf.Writer;
25610
+
25611
+ /**
25612
+ * Decodes a SessionPoolOptions message from the specified reader or buffer.
25613
+ * @param reader Reader or buffer to decode from
25614
+ * @param [length] Message length if known beforehand
25615
+ * @returns SessionPoolOptions
25616
+ * @throws {Error} If the payload is not a reader or valid buffer
25617
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25618
+ */
25619
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.spanner.executor.v1.SessionPoolOptions;
25620
+
25621
+ /**
25622
+ * Decodes a SessionPoolOptions message from the specified reader or buffer, length delimited.
25623
+ * @param reader Reader or buffer to decode from
25624
+ * @returns SessionPoolOptions
25625
+ * @throws {Error} If the payload is not a reader or valid buffer
25626
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25627
+ */
25628
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.spanner.executor.v1.SessionPoolOptions;
25629
+
25630
+ /**
25631
+ * Verifies a SessionPoolOptions message.
25632
+ * @param message Plain object to verify
25633
+ * @returns `null` if valid, otherwise the reason why it is not
25634
+ */
25635
+ public static verify(message: { [k: string]: any }): (string|null);
25636
+
25637
+ /**
25638
+ * Creates a SessionPoolOptions message from a plain object. Also converts values to their respective internal types.
25639
+ * @param object Plain object
25640
+ * @returns SessionPoolOptions
25641
+ */
25642
+ public static fromObject(object: { [k: string]: any }): google.spanner.executor.v1.SessionPoolOptions;
25643
+
25644
+ /**
25645
+ * Creates a plain object from a SessionPoolOptions message. Also converts values to other types if specified.
25646
+ * @param message SessionPoolOptions
25647
+ * @param [options] Conversion options
25648
+ * @returns Plain object
25649
+ */
25650
+ public static toObject(message: google.spanner.executor.v1.SessionPoolOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
25651
+
25652
+ /**
25653
+ * Converts this SessionPoolOptions to JSON.
25654
+ * @returns JSON object
25655
+ */
25656
+ public toJSON(): { [k: string]: any };
25657
+
25658
+ /**
25659
+ * Gets the default type url for SessionPoolOptions
25660
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25661
+ * @returns The default type url
25662
+ */
25663
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25664
+ }
25431
25665
  }
25432
25666
  }
25433
25667
 
@@ -32818,6 +33052,9 @@ export namespace google {
32818
33052
 
32819
33053
  /** Publishing protoReferenceDocumentationUri */
32820
33054
  protoReferenceDocumentationUri?: (string|null);
33055
+
33056
+ /** Publishing restReferenceDocumentationUri */
33057
+ restReferenceDocumentationUri?: (string|null);
32821
33058
  }
32822
33059
 
32823
33060
  /** Represents a Publishing. */
@@ -32859,6 +33096,9 @@ export namespace google {
32859
33096
  /** Publishing protoReferenceDocumentationUri. */
32860
33097
  public protoReferenceDocumentationUri: string;
32861
33098
 
33099
+ /** Publishing restReferenceDocumentationUri. */
33100
+ public restReferenceDocumentationUri: string;
33101
+
32862
33102
  /**
32863
33103
  * Creates a new Publishing instance using the specified properties.
32864
33104
  * @param [properties] Properties to set