binaryauthorization_v1.yaml 2.8 KB

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