@@ -78,6 +78,9 @@ message SpannerAction {
7878 // database path if it applies to the same database as the previous action.
7979 string database_path = 1 ;
8080
81+ // Configuration options for Spanner backend
82+ SpannerOptions spanner_options = 2 ;
83+
8184 // Action represents a spanner action kind, there will only be one action kind
8285 // per SpannerAction.
8386 oneof action {
@@ -565,8 +568,8 @@ message AdminAction {
565568 // Action that cancels an operation.
566569 CancelOperationAction cancel_operation = 26 ;
567570
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 ;
570573 }
571574}
572575
@@ -772,9 +775,9 @@ message DropCloudDatabaseAction {
772775 string database_id = 3 ;
773776}
774777
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 .
778781 optional string database_uri = 1 ;
779782
780783 // The locations of the serving regions, e.g. "asia-south1".
@@ -877,6 +880,10 @@ message RestoreCloudDatabaseAction {
877880 // The id of the database to create and restore to, e.g. "db0". Note that this
878881 // database must not already exist.
879882 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 ;
880887}
881888
882889// Action that gets a Cloud Spanner database.
@@ -916,6 +923,10 @@ message CreateCloudBackupAction {
916923 // [earliest_version_time, NOW], where earliest_version_time is retrieved by
917924 // cloud spanner frontend API (See details: go/cs-pitr-lite-design).
918925 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 ;
919930}
920931
921932// Action that copies a Cloud Spanner database backup.
@@ -1481,3 +1492,16 @@ message HeartbeatRecord {
14811492 // Timestamp for this heartbeat check.
14821493 google.protobuf.Timestamp heartbeat_time = 1 ;
14831494}
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+ }
0 commit comments