iam_meta_api.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. type: google.api.Service
  2. config_version: 3
  3. name: iam-meta-api.googleapis.com
  4. title: IAM Meta API
  5. apis:
  6. - name: google.iam.v1.IAMPolicy
  7. types:
  8. - name: google.iam.v1.PolicyDelta
  9. documentation:
  10. summary: Manages access control for Google Cloud Platform resources.
  11. rules:
  12. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  13. description: |-
  14. Gets the access control policy for a resource. Returns an empty policy
  15. if the resource exists and does not have a policy set.
  16. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  17. description: |-
  18. Sets the access control policy on the specified resource. Replaces
  19. any existing policy.
  20. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  21. errors.
  22. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  23. description: |-
  24. Returns permissions that a caller has on the specified resource. If the
  25. resource does not exist, this will return an empty set of
  26. permissions, not a `NOT_FOUND` error.
  27. Note: This operation is designed to be used for building
  28. permission-aware UIs and command-line tools, not for authorization
  29. checking. This operation may "fail open" without warning.
  30. http:
  31. rules:
  32. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  33. post: '/v1/{resource=**}:getIamPolicy'
  34. body: '*'
  35. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  36. post: '/v1/{resource=**}:setIamPolicy'
  37. body: '*'
  38. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  39. post: '/v1/{resource=**}:testIamPermissions'
  40. body: '*'