binaryauthorization_v1beta1.yaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. type: google.api.Service
  2. config_version: 3
  3. name: binaryauthorization.googleapis.com
  4. title: Binary Authorization API
  5. apis:
  6. - name: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1
  7. - name: google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1
  8. documentation:
  9. summary: |-
  10. The management interface for Binary Authorization, a system providing
  11. policy control for images deployed to Kubernetes Engine clusters, Anthos
  12. clusters on VMware, and Cloud Run.
  13. rules:
  14. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  15. description: |-
  16. Gets the access control policy for a resource. Returns an empty policy
  17. if the resource exists and does not have a policy set.
  18. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  19. description: |-
  20. Sets the access control policy on the specified resource. Replaces
  21. any existing policy.
  22. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  23. errors.
  24. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  25. description: |-
  26. Returns permissions that a caller has on the specified resource. If the
  27. resource does not exist, this will return an empty set of
  28. permissions, not a `NOT_FOUND` error.
  29. Note: This operation is designed to be used for building
  30. permission-aware UIs and command-line tools, not for authorization
  31. checking. This operation may "fail open" without warning.
  32. http:
  33. rules:
  34. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  35. get: '/v1beta1/{resource=projects/*/policy}:getIamPolicy'
  36. additional_bindings:
  37. - get: '/v1beta1/{resource=projects/*/attestors/*}:getIamPolicy'
  38. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  39. post: '/v1beta1/{resource=projects/*/policy}:setIamPolicy'
  40. body: '*'
  41. additional_bindings:
  42. - post: '/v1beta1/{resource=projects/*/attestors/*}:setIamPolicy'
  43. body: '*'
  44. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  45. post: '/v1beta1/{resource=projects/*/policy}:testIamPermissions'
  46. body: '*'
  47. additional_bindings:
  48. - post: '/v1beta1/{resource=projects/*/attestors/*}:testIamPermissions'
  49. body: '*'
  50. authentication:
  51. rules:
  52. - selector: 'google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.*'
  53. oauth:
  54. canonical_scopes: |-
  55. https://www.googleapis.com/auth/cloud-platform
  56. - selector: google.cloud.binaryauthorization.v1beta1.SystemPolicyV1Beta1.GetSystemPolicy
  57. oauth:
  58. canonical_scopes: |-
  59. https://www.googleapis.com/auth/cloud-platform
  60. - selector: 'google.iam.v1.IAMPolicy.*'
  61. oauth:
  62. canonical_scopes: |-
  63. https://www.googleapis.com/auth/cloud-platform