@@ -1268,10 +1268,10 @@ message GetSystemInfoResponse {
12681268 // This flag is dependent both on server version and for Nexus to be enabled via server configuration.
12691269 bool nexus = 11 ;
12701270
1271- // True if the server supports serverless deployments.
1272- // This flag is dependent both on server version and for serverless deployments
1271+ // True if the server supports server-scaled deployments.
1272+ // This flag is dependent both on server version and for server-scaled deployments
12731273 // to be enabled via server configuration.
1274- bool serverless_deployments = 12 ;
1274+ bool server_scaled_deployments = 12 ;
12751275
12761276 }
12771277}
@@ -2353,10 +2353,6 @@ message CreateWorkerDeploymentRequest {
23532353 // this name already exists, an error will be returned.
23542354 string deployment_name = 2 ;
23552355
2356- // Optional. Contains the new worker compute configuration for the Worker
2357- // Deployment. Used for worker scale management.
2358- temporal.api.compute.v1.ComputeConfig compute_config = 3 ;
2359-
23602356 // Optional. The identity of the client who initiated this request.
23612357 string identity = 4 ;
23622358 // A unique identifier for this create request for idempotence. Typically UUIDv4.
@@ -2402,19 +2398,12 @@ message CreateWorkerDeploymentVersionRequest {
24022398 // Required.
24032399 temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 2 ;
24042400
2405- // All the Task Queues that will be polled from this Deployment version.
2406- repeated VersionTaskQueueInfo task_queue_infos = 6 ;
2407- message VersionTaskQueueInfo {
2408- string name = 1 ;
2409- temporal.api.enums.v1.TaskQueueType type = 2 ;
2410- }
2411-
24122401 // Optional. Contains the new worker compute configuration for the Worker
24132402 // Deployment. Used for worker scale management.
2414- temporal.api.compute.v1.ComputeConfig compute_config = 3 ;
2403+ temporal.api.compute.v1.ComputeConfig compute_config = 4 ;
24152404
24162405 // Optional. The identity of the client who initiated this request.
2417- string identity = 4 ;
2406+ string identity = 3 ;
24182407 // A unique identifier for this create request for idempotence. Typically UUIDv4.
24192408 string request_id = 5 ;
24202409}
@@ -2460,22 +2449,54 @@ message DeleteWorkerDeploymentRequest {
24602449message DeleteWorkerDeploymentResponse {
24612450}
24622451
2463- // Used to update the compute provider of a Worker Deployment Version.
2464- message UpdateWorkerDeploymentVersionComputeProviderRequest {
2452+ // Used to update the compute config of a Worker Deployment Version.
2453+ message UpdateWorkerDeploymentVersionComputeConfigRequest {
24652454 string namespace = 1 ;
24662455
24672456 // Required.
24682457 temporal.api.deployment.v1.WorkerDeploymentVersion deployment_version = 2 ;
24692458
2470- // Optional. Contains the new worker compute configuration for the Worker
2471- // Deployment. Used for worker scale management.
2472- temporal.api.compute.v1.ComputeConfig compute_config = 3 ;
2459+ // Optional. Contains the compute config scaling groups to add or updated for the Worker
2460+ // Deployment.
2461+ repeated temporal.api.compute.v1.ComputeConfig.ScalingGroup compute_config_scaling_groups = 6 ;
2462+
2463+ // Optional. Contains the compute config scaling groups to remove from the Worker Deployment.
2464+ repeated temporal.api.compute.v1.ComputeConfig.ScalingGroup remove_compute_config_scaling_groups = 7 ;
24732465
24742466 // Optional. The identity of the client who initiated this request.
2475- string identity = 4 ;
2467+ string identity = 3 ;
2468+
2469+ // A unique identifier for this create request for idempotence. Typically UUIDv4.
2470+ string request_id = 4 ;
2471+
2472+ // This value is returned so that it can be optionally passed to APIs
2473+ // that write to the Worker Deployment state to ensure that the state
2474+ // did not change between this API call and a future write.
2475+ bytes conflict_token = 5 ;
2476+ }
2477+
2478+ message UpdateWorkerDeploymentVersionComputeConfigResponse {
2479+ // This value is returned so that it can be optionally passed to APIs that
2480+ // write to the WorkerDeployment state to ensure that the state did not
2481+ // change between this API call and a future write.
2482+ bytes conflict_token = 1 ;
2483+ }
2484+
2485+ // Used to validate the compute config without attaching it to a Worker Deployment Version.
2486+ message ValidateWorkerDeploymentVersionComputeConfigRequest {
2487+ string namespace = 1 ;
2488+
2489+ // Required.
2490+ string deployment_name = 2 ;
2491+
2492+ // Required. Contains the new worker compute configuration for the Worker Deployment.
2493+ temporal.api.compute.v1.ComputeConfig compute_config = 4 ;
2494+
2495+ // Optional. The identity of the client who initiated this request.
2496+ string identity = 3 ;
24762497}
24772498
2478- message UpdateWorkerDEploymentVersionComputeProviderResponse {
2499+ message ValidateWorkerDeploymentVersionComputeConfigResponse {
24792500}
24802501
24812502// Used to update the user-defined metadata of a Worker Deployment Version.
0 commit comments