|
|
@ -399,7 +399,6 @@ message AllocationPolicy { |
|
|
|
// The minimum CPU platform. |
|
|
|
// The minimum CPU platform. |
|
|
|
// See |
|
|
|
// See |
|
|
|
// https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. |
|
|
|
// https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. |
|
|
|
// Not yet implemented. |
|
|
|
|
|
|
|
string min_cpu_platform = 3; |
|
|
|
string min_cpu_platform = 3; |
|
|
|
|
|
|
|
|
|
|
|
// The provisioning model. |
|
|
|
// The provisioning model. |
|
|
@ -554,8 +553,7 @@ message AllocationPolicy { |
|
|
|
PlacementPolicy placement = 10; |
|
|
|
PlacementPolicy placement = 10; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// A TaskGroup contains one or multiple Tasks that share the same |
|
|
|
// A TaskGroup defines one or more Tasks that all share the same TaskSpec. |
|
|
|
// Runnable but with different runtime parameters. |
|
|
|
|
|
|
|
message TaskGroup { |
|
|
|
message TaskGroup { |
|
|
|
option (google.api.resource) = { |
|
|
|
option (google.api.resource) = { |
|
|
|
type: "batch.googleapis.com/TaskGroup" |
|
|
|
type: "batch.googleapis.com/TaskGroup" |
|
|
@ -574,8 +572,6 @@ message TaskGroup { |
|
|
|
AS_SOON_AS_POSSIBLE = 1; |
|
|
|
AS_SOON_AS_POSSIBLE = 1; |
|
|
|
|
|
|
|
|
|
|
|
// Run Tasks sequentially with increased task index. |
|
|
|
// Run Tasks sequentially with increased task index. |
|
|
|
// |
|
|
|
|
|
|
|
// Not yet implemented. |
|
|
|
|
|
|
|
IN_ORDER = 2; |
|
|
|
IN_ORDER = 2; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -622,8 +618,6 @@ message TaskGroup { |
|
|
|
// addition to any environment variables set in task_environments, specifying |
|
|
|
// addition to any environment variables set in task_environments, specifying |
|
|
|
// the number of Tasks in the Task's parent TaskGroup, and the specific Task's |
|
|
|
// the number of Tasks in the Task's parent TaskGroup, and the specific Task's |
|
|
|
// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). |
|
|
|
// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). |
|
|
|
// |
|
|
|
|
|
|
|
// task_environments supports up to 200 entries. |
|
|
|
|
|
|
|
repeated Environment task_environments = 9; |
|
|
|
repeated Environment task_environments = 9; |
|
|
|
|
|
|
|
|
|
|
|
// Max number of tasks that can be run on a VM at the same time. |
|
|
|
// Max number of tasks that can be run on a VM at the same time. |
|
|
|