Skip to content

Commit 12c0a1f

Browse files
Google APIscopybara-github
authored andcommitted
fix(managedidentities): add ancillary service bindings to service_yaml
PiperOrigin-RevId: 422903615
1 parent ab1bf9a commit 12c0a1f

1 file changed

Lines changed: 58 additions & 3 deletions

File tree

google/cloud/managedidentities/v1beta1/managedidentities_v1beta1.yaml

Lines changed: 58 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ documentation:
1515
a highly available, hardened service running Microsoft Active Directory
1616
(AD).
1717
rules:
18+
- selector: google.cloud.location.Locations.GetLocation
19+
description: Gets information about a location.
20+
21+
- selector: google.cloud.location.Locations.ListLocations
22+
description: Lists information about the supported locations for this service.
23+
1824
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
1925
description: |-
2026
Gets the access control policy for a resource. Returns an empty policy
@@ -25,21 +31,25 @@ documentation:
2531
Sets the access control policy on the specified resource. Replaces
2632
any existing policy.
2733
28-
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
29-
PERMISSION_DENIED
34+
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
35+
errors.
3036
3137
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
3238
description: |-
3339
Returns permissions that a caller has on the specified resource. If the
3440
resource does not exist, this will return an empty set of
35-
permissions, not a NOT_FOUND error.
41+
permissions, not a `NOT_FOUND` error.
3642
3743
Note: This operation is designed to be used for building
3844
permission-aware UIs and command-line tools, not for authorization
3945
checking. This operation may "fail open" without warning.
4046
4147
backend:
4248
rules:
49+
- selector: google.cloud.location.Locations.GetLocation
50+
deadline: 60.0
51+
- selector: google.cloud.location.Locations.ListLocations
52+
deadline: 60.0
4353
- selector: 'google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.*'
4454
deadline: 60.0
4555
- selector: 'google.iam.v1.IAMPolicy.*'
@@ -49,8 +59,53 @@ backend:
4959
- selector: google.longrunning.Operations.GetOperation
5060
deadline: 5.0
5161

62+
http:
63+
rules:
64+
- selector: google.cloud.location.Locations.GetLocation
65+
get: '/v1beta1/{name=projects/*/locations/*}'
66+
- selector: google.cloud.location.Locations.ListLocations
67+
get: '/v1beta1/{name=projects/*}/locations'
68+
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
69+
get: '/v1beta1/{resource=projects/*/locations/global/domains/*}:getIamPolicy'
70+
additional_bindings:
71+
- get: '/v1beta1/{resource=projects/*/locations/global/peerings/*}:getIamPolicy'
72+
- get: '/v1beta1/{resource=projects/*/locations/global/domains/*/backups/*}:getIamPolicy'
73+
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
74+
post: '/v1beta1/{resource=projects/*/locations/global/domains/*}:setIamPolicy'
75+
body: '*'
76+
additional_bindings:
77+
- post: '/v1beta1/{resource=projects/*/locations/global/peerings/*}:setIamPolicy'
78+
body: '*'
79+
- post: '/v1beta1/{resource=projects/*/locations/global/domains/*/backups/*}:setIamPolicy'
80+
body: '*'
81+
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
82+
post: '/v1beta1/{resource=projects/*/locations/global/domains/*}:testIamPermissions'
83+
body: '*'
84+
additional_bindings:
85+
- post: '/v1beta1/{resource=projects/*/locations/global/peerings/*}:testIamPermissions'
86+
body: '*'
87+
- post: '/v1beta1/{resource=projects/*/locations/global/domains/*/backups/*}:testIamPermissions'
88+
body: '*'
89+
- selector: google.longrunning.Operations.CancelOperation
90+
post: '/v1beta1/{name=projects/*/locations/global/operations/*}:cancel'
91+
body: '*'
92+
- selector: google.longrunning.Operations.DeleteOperation
93+
delete: '/v1beta1/{name=projects/*/locations/global/operations/*}'
94+
- selector: google.longrunning.Operations.GetOperation
95+
get: '/v1beta1/{name=projects/*/locations/global/operations/*}'
96+
- selector: google.longrunning.Operations.ListOperations
97+
get: '/v1beta1/{name=projects/*/locations/global/operations}'
98+
5299
authentication:
53100
rules:
101+
- selector: google.cloud.location.Locations.GetLocation
102+
oauth:
103+
canonical_scopes: |-
104+
https://www.googleapis.com/auth/cloud-platform
105+
- selector: google.cloud.location.Locations.ListLocations
106+
oauth:
107+
canonical_scopes: |-
108+
https://www.googleapis.com/auth/cloud-platform
54109
- selector: 'google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.*'
55110
oauth:
56111
canonical_scopes: |-

0 commit comments

Comments
 (0)