File tree Expand file tree Collapse file tree
google/cloud/batch/v1alpha Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,25 +66,12 @@ http:
6666 get : ' /v1alpha/{name=projects/*}/locations'
6767 - selector : google.iam.v1.IAMPolicy.GetIamPolicy
6868 get : ' /v1alpha/{resource=projects/*/locations/*/jobs/*}:getIamPolicy'
69- additional_bindings :
70- - get : ' /v1alpha/{resource=projects/*/locations/*/tasks/*}:getIamPolicy'
71- - get : ' /v1alpha/{resource=projects/*/locations/*/nodes/*}:getIamPolicy'
7269 - selector : google.iam.v1.IAMPolicy.SetIamPolicy
7370 post : ' /v1alpha/{resource=projects/*/locations/*/jobs/*}:setIamPolicy'
7471 body : ' *'
75- additional_bindings :
76- - post : ' /v1alpha/{resource=projects/*/locations/*/tasks/*}:setIamPolicy'
77- body : ' *'
78- - post : ' /v1alpha/{resource=projects/*/locations/*/nodes/*}:setIamPolicy'
79- body : ' *'
8072 - selector : google.iam.v1.IAMPolicy.TestIamPermissions
8173 post : ' /v1alpha/{resource=projects/*/locations/*/jobs/*}:testIamPermissions'
8274 body : ' *'
83- additional_bindings :
84- - post : ' /v1alpha/{resource=projects/*/locations/*/tasks/*}:testIamPermissions'
85- body : ' *'
86- - post : ' /v1alpha/{resource=projects/*/locations/*/nodes/*}:testIamPermissions'
87- body : ' *'
8875 - selector : google.longrunning.Operations.CancelOperation
8976 post : ' /v1alpha/{name=projects/*/locations/*/operations/*}:cancel'
9077 body : ' *'
Original file line number Diff line number Diff line change @@ -369,6 +369,10 @@ message AllocationPolicy {
369369 // The accelerators attached to each VM instance.
370370 repeated Accelerator accelerators = 5 ;
371371
372+ // Book disk to be created and attached to each VM by this InstancePolicy.
373+ // Boot disk will be deleted when the VM is deleted.
374+ Disk boot_disk = 8 ;
375+
372376 // Non-boot disks to be attached for each VM created by this InstancePolicy.
373377 // New disks will be deleted when the VM is deleted.
374378 repeated AttachedDisk disks = 6 ;
@@ -562,5 +566,5 @@ message ServiceAccount {
562566
563567 // List of scopes to be enabled for this service account on the VM, in
564568 // addition to the cloud-platform API scope that will be added by default.
565- repeated string scopes = 2 [ deprecated = true ] ;
569+ repeated string scopes = 2 ;
566570}
Original file line number Diff line number Diff line change @@ -238,8 +238,7 @@ message TaskSpec {
238238 // If task ends with non-zero exit code, retry the task with max_retry_count.
239239 repeated LifecyclePolicy lifecycle_policies = 9 ;
240240
241- // Environment variables to set before running the Task.
242- // You can set up to 100 environments.
241+ // Deprecated: please use environment(non-plural) instead.
243242 map <string , string > environments = 6 [deprecated = true ];
244243
245244 // Volumes to mount before running Tasks using this TaskSpec.
You can’t perform that action at this time.
0 commit comments