Skip to content

Commit

Permalink
feat: Add autoscaling config in the instance to support autoscaling i…
Browse files Browse the repository at this point in the history
…n systests

PiperOrigin-RevId: 589163292
  • Loading branch information
Google APIs authored and Copybara-Service committed Dec 8, 2023
1 parent 90936c4 commit 03d2cc1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions google/spanner/executor/v1/cloud_executor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,12 @@ message CreateCloudInstanceAction {
// Number of processing units (node_count should be set to 0 if used).
optional int32 processing_units = 6;

// The autoscaling config for this instance. If non-empty, an autoscaling
// instance will be created (processing_units and node_count should be set to
// 0 if used).
optional google.spanner.admin.instance.v1.AutoscalingConfig
autoscaling_config = 7;

// labels.
map<string, string> labels = 5;
}
Expand All @@ -673,6 +679,12 @@ message UpdateCloudInstanceAction {
// processing_units or node_count should be present in the message.
optional int32 processing_units = 5;

// The autoscaling config for this instance. If non-empty, this instance is
// using autoscaling (processing_units and node_count should be set to
// 0 if used).
optional google.spanner.admin.instance.v1.AutoscalingConfig
autoscaling_config = 7;

// labels.
map<string, string> labels = 6;
}
Expand Down

0 comments on commit 03d2cc1

Please sign in to comment.