Skip to content

Commit 50a39ef

Browse files
Google APIscopybara-github
authored andcommitted
feat: implement minCpuPlatform
--- feat: Enable scheduling_policy in v1 --- feat: update TaskGroup doc PiperOrigin-RevId: 540043151
1 parent 8776607 commit 50a39ef

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

google/cloud/batch/v1alpha/job.proto

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ message AllocationPolicy {
399399
// The minimum CPU platform.
400400
// See
401401
// https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
402-
// Not yet implemented.
403402
string min_cpu_platform = 3;
404403

405404
// The provisioning model.
@@ -554,8 +553,7 @@ message AllocationPolicy {
554553
PlacementPolicy placement = 10;
555554
}
556555

557-
// A TaskGroup contains one or multiple Tasks that share the same
558-
// Runnable but with different runtime parameters.
556+
// A TaskGroup defines one or more Tasks that all share the same TaskSpec.
559557
message TaskGroup {
560558
option (google.api.resource) = {
561559
type: "batch.googleapis.com/TaskGroup"
@@ -574,8 +572,6 @@ message TaskGroup {
574572
AS_SOON_AS_POSSIBLE = 1;
575573

576574
// Run Tasks sequentially with increased task index.
577-
//
578-
// Not yet implemented.
579575
IN_ORDER = 2;
580576
}
581577

@@ -622,8 +618,6 @@ message TaskGroup {
622618
// addition to any environment variables set in task_environments, specifying
623619
// the number of Tasks in the Task's parent TaskGroup, and the specific Task's
624620
// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1).
625-
//
626-
// task_environments supports up to 200 entries.
627621
repeated Environment task_environments = 9;
628622

629623
// Max number of tasks that can be run on a VM at the same time.

0 commit comments

Comments
 (0)