feat: implement minCpuPlatform

---
feat: Enable scheduling_policy in v1

---
feat: update TaskGroup doc
PiperOrigin-RevId: 540043151
gce-action-fix
Google APIs 2 years ago committed by Copybara-Service
parent 8776607f65
commit 50a39ef600
  1. 8
      google/cloud/batch/v1alpha/job.proto

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

Loading…
Cancel
Save