cloudfunctions_v1.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.v1.CloudFunctionsService
  7. types:
  8. - name: google.cloud.functions.v1.OperationMetadataV1
  9. documentation:
  10. summary: 'Manages lightweight user-provided functions executed in response to events.'
  11. overview: 'Manages lightweight user-provided functions executed in response to
  12. events.'
  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. backend:
  33. rules:
  34. - selector: 'google.cloud.functions.v1.CloudFunctionsService.*'
  35. deadline: 30.0
  36. - selector: google.cloud.functions.v1.CloudFunctionsService.CallFunction
  37. deadline: 600.0
  38. - selector: google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl
  39. deadline: 120.0
  40. - selector: 'google.iam.v1.IAMPolicy.*'
  41. deadline: 30.0
  42. - selector: 'google.longrunning.Operations.*'
  43. deadline: 30.0
  44. authentication:
  45. rules:
  46. - selector: 'google.cloud.functions.v1.CloudFunctionsService.*'
  47. oauth:
  48. canonical_scopes: |-
  49. https://www.googleapis.com/auth/cloud-platform
  50. - selector: 'google.iam.v1.IAMPolicy.*'
  51. oauth:
  52. canonical_scopes: |-
  53. https://www.googleapis.com/auth/cloud-platform
  54. - selector: 'google.longrunning.Operations.*'
  55. oauth:
  56. canonical_scopes: |-
  57. https://www.googleapis.com/auth/cloud-platform