fix(managedidentities): add ancillary service bindings to service_yaml

PiperOrigin-RevId: 421098407
pull/699/head
Google APIs 3 years ago committed by Copybara-Service
parent 706ac2b021
commit a635f7199d
  1. 61
      google/cloud/managedidentities/v1/managedidentities_v1.yaml

@ -15,6 +15,12 @@ documentation:
a highly available, hardened service running Microsoft Active Directory
(AD).
rules:
- selector: google.cloud.location.Locations.GetLocation
description: Gets information about a location.
- selector: google.cloud.location.Locations.ListLocations
description: Lists information about the supported locations for this service.
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
description: |-
Gets the access control policy for a resource. Returns an empty policy
@ -25,14 +31,14 @@ documentation:
Sets the access control policy on the specified resource. Replaces
any existing policy.
Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and
PERMISSION_DENIED
Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
errors.
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
description: |-
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
permissions, not a `NOT_FOUND` error.
Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
@ -40,6 +46,10 @@ documentation:
backend:
rules:
- selector: google.cloud.location.Locations.GetLocation
deadline: 60.0
- selector: google.cloud.location.Locations.ListLocations
deadline: 60.0
- selector: 'google.cloud.managedidentities.v1.ManagedIdentitiesService.*'
deadline: 60.0
- selector: 'google.iam.v1.IAMPolicy.*'
@ -49,8 +59,53 @@ backend:
- selector: google.longrunning.Operations.GetOperation
deadline: 5.0
http:
rules:
- selector: google.cloud.location.Locations.GetLocation
get: '/v1/{name=projects/*/locations/*}'
- selector: google.cloud.location.Locations.ListLocations
get: '/v1/{name=projects/*}/locations'
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
get: '/v1/{resource=projects/*/locations/global/domains/*}:getIamPolicy'
additional_bindings:
- get: '/v1/{resource=projects/*/locations/global/peerings/*}:getIamPolicy'
- get: '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:getIamPolicy'
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
post: '/v1/{resource=projects/*/locations/global/domains/*}:setIamPolicy'
body: '*'
additional_bindings:
- post: '/v1/{resource=projects/*/locations/global/peerings/*}:setIamPolicy'
body: '*'
- post: '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:setIamPolicy'
body: '*'
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
post: '/v1/{resource=projects/*/locations/global/domains/*}:testIamPermissions'
body: '*'
additional_bindings:
- post: '/v1/{resource=projects/*/locations/global/peerings/*}:testIamPermissions'
body: '*'
- post: '/v1/{resource=projects/*/locations/global/domains/*/backups/*}:testIamPermissions'
body: '*'
- selector: google.longrunning.Operations.CancelOperation
post: '/v1/{name=projects/*/locations/global/operations/*}:cancel'
body: '*'
- selector: google.longrunning.Operations.DeleteOperation
delete: '/v1/{name=projects/*/locations/global/operations/*}'
- selector: google.longrunning.Operations.GetOperation
get: '/v1/{name=projects/*/locations/global/operations/*}'
- selector: google.longrunning.Operations.ListOperations
get: '/v1/{name=projects/*/locations/global/operations}'
authentication:
rules:
- selector: google.cloud.location.Locations.GetLocation
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform
- selector: google.cloud.location.Locations.ListLocations
oauth:
canonical_scopes: |-
https://www.googleapis.com/auth/cloud-platform
- selector: 'google.cloud.managedidentities.v1.ManagedIdentitiesService.*'
oauth:
canonical_scopes: |-

Loading…
Cancel
Save