cloudfunctions_v2beta.yaml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. type: google.api.Service
  2. config_version: 3
  3. name: cloudfunctions.googleapis.com
  4. title: Cloud Functions API
  5. apis:
  6. - name: google.cloud.functions.v2beta.FunctionService
  7. - name: google.cloud.location.Locations
  8. - name: google.iam.v1.IAMPolicy
  9. - name: google.longrunning.Operations
  10. types:
  11. - name: google.cloud.functions.v2beta.OperationMetadata
  12. documentation:
  13. summary: 'Manages lightweight user-provided functions executed in response to events.'
  14. overview: 'Manages lightweight user-provided functions executed in response to
  15. events.'
  16. rules:
  17. - selector: google.cloud.location.Locations.ListLocations
  18. description: Lists information about the supported locations for this service.
  19. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  20. description: |-
  21. Gets the access control policy for a resource. Returns an empty policy
  22. if the resource exists and does not have a policy set.
  23. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  24. description: |-
  25. Sets the access control policy on the specified resource. Replaces
  26. any existing policy.
  27. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  28. errors.
  29. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  30. description: |-
  31. Returns permissions that a caller has on the specified resource. If the
  32. resource does not exist, this will return an empty set of
  33. permissions, not a `NOT_FOUND` error.
  34. Note: This operation is designed to be used for building
  35. permission-aware UIs and command-line tools, not for authorization
  36. checking. This operation may "fail open" without warning.
  37. backend:
  38. rules:
  39. - selector: 'google.cloud.functions.v2beta.FunctionService.*'
  40. deadline: 30.0
  41. - selector: google.cloud.location.Locations.ListLocations
  42. deadline: 30.0
  43. - selector: 'google.iam.v1.IAMPolicy.*'
  44. deadline: 30.0
  45. - selector: 'google.longrunning.Operations.*'
  46. deadline: 30.0
  47. http:
  48. rules:
  49. - selector: google.cloud.location.Locations.ListLocations
  50. get: '/v2beta/{name=projects/*}/locations'
  51. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  52. get: '/v2beta/{resource=projects/*/locations/*/functions/*}:getIamPolicy'
  53. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  54. post: '/v2beta/{resource=projects/*/locations/*/functions/*}:setIamPolicy'
  55. body: '*'
  56. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  57. post: '/v2beta/{resource=projects/*/locations/*/functions/*}:testIamPermissions'
  58. body: '*'
  59. - selector: google.longrunning.Operations.GetOperation
  60. get: '/v2beta/{name=projects/*/locations/*/operations/*}'
  61. - selector: google.longrunning.Operations.ListOperations
  62. get: '/v2beta/{name=projects/*/locations/*}/operations'
  63. authentication:
  64. rules:
  65. - selector: 'google.cloud.functions.v2beta.FunctionService.*'
  66. oauth:
  67. canonical_scopes: |-
  68. https://www.googleapis.com/auth/cloud-platform
  69. - selector: google.cloud.location.Locations.ListLocations
  70. oauth:
  71. canonical_scopes: |-
  72. https://www.googleapis.com/auth/cloud-platform
  73. - selector: 'google.iam.v1.IAMPolicy.*'
  74. oauth:
  75. canonical_scopes: |-
  76. https://www.googleapis.com/auth/cloud-platform
  77. - selector: 'google.longrunning.Operations.*'
  78. oauth:
  79. canonical_scopes: |-
  80. https://www.googleapis.com/auth/cloud-platform