Skip to content

Commit 03d2cc1

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add autoscaling config in the instance to support autoscaling in systests
PiperOrigin-RevId: 589163292
1 parent 90936c4 commit 03d2cc1

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

google/spanner/executor/v1/cloud_executor.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,12 @@ message CreateCloudInstanceAction {
649649
// Number of processing units (node_count should be set to 0 if used).
650650
optional int32 processing_units = 6;
651651

652+
// The autoscaling config for this instance. If non-empty, an autoscaling
653+
// instance will be created (processing_units and node_count should be set to
654+
// 0 if used).
655+
optional google.spanner.admin.instance.v1.AutoscalingConfig
656+
autoscaling_config = 7;
657+
652658
// labels.
653659
map<string, string> labels = 5;
654660
}
@@ -673,6 +679,12 @@ message UpdateCloudInstanceAction {
673679
// processing_units or node_count should be present in the message.
674680
optional int32 processing_units = 5;
675681

682+
// The autoscaling config for this instance. If non-empty, this instance is
683+
// using autoscaling (processing_units and node_count should be set to
684+
// 0 if used).
685+
optional google.spanner.admin.instance.v1.AutoscalingConfig
686+
autoscaling_config = 7;
687+
676688
// labels.
677689
map<string, string> labels = 6;
678690
}

0 commit comments

Comments
 (0)