Skip to content

Commit 88f1497

Browse files
Google APIscopybara-github
authored andcommitted
chore(docs): update environment field deprecated comment
fix: remove unsupported HTTP bindings for IAMPolicy RPCs PiperOrigin-RevId: 495371163
1 parent 8f55774 commit 88f1497

2 files changed

Lines changed: 1 addition & 15 deletions

File tree

google/cloud/batch/v1/batch_v1.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,12 @@ http:
6666
get: '/v1/{name=projects/*}/locations'
6767
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
6868
get: '/v1/{resource=projects/*/locations/*/jobs/*}:getIamPolicy'
69-
additional_bindings:
70-
- get: '/v1/{resource=projects/*/locations/*/tasks/*}:getIamPolicy'
71-
- get: '/v1/{resource=projects/*/locations/*/nodes/*}:getIamPolicy'
7269
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
7370
post: '/v1/{resource=projects/*/locations/*/jobs/*}:setIamPolicy'
7471
body: '*'
75-
additional_bindings:
76-
- post: '/v1/{resource=projects/*/locations/*/tasks/*}:setIamPolicy'
77-
body: '*'
78-
- post: '/v1/{resource=projects/*/locations/*/nodes/*}:setIamPolicy'
79-
body: '*'
8072
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
8173
post: '/v1/{resource=projects/*/locations/*/jobs/*}:testIamPermissions'
8274
body: '*'
83-
additional_bindings:
84-
- post: '/v1/{resource=projects/*/locations/*/tasks/*}:testIamPermissions'
85-
body: '*'
86-
- post: '/v1/{resource=projects/*/locations/*/nodes/*}:testIamPermissions'
87-
body: '*'
8875
- selector: google.longrunning.Operations.CancelOperation
8976
post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
9077
body: '*'

google/cloud/batch/v1/task.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ message TaskSpec {
230230
// If task ends with non-zero exit code, retry the task with max_retry_count.
231231
repeated LifecyclePolicy lifecycle_policies = 9;
232232

233-
// Environment variables to set before running the Task.
234-
// You can set up to 100 environments.
233+
// Deprecated: please use environment(non-plural) instead.
235234
map<string, string> environments = 6 [deprecated = true];
236235

237236
// Volumes to mount before running Tasks using this TaskSpec.

0 commit comments

Comments
 (0)