cloudfunctions_v1.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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.cloud.location.Locations.ListLocations
  15. description: Lists information about the supported locations for this service.
  16. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  17. description: |-
  18. Gets the access control policy for a resource. Returns an empty policy
  19. if the resource exists and does not have a policy set.
  20. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  21. description: |-
  22. Sets the access control policy on the specified resource. Replaces
  23. any existing policy.
  24. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  25. errors.
  26. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  27. description: |-
  28. Returns permissions that a caller has on the specified resource. If the
  29. resource does not exist, this will return an empty set of
  30. permissions, not a `NOT_FOUND` error.
  31. Note: This operation is designed to be used for building
  32. permission-aware UIs and command-line tools, not for authorization
  33. checking. This operation may "fail open" without warning.
  34. backend:
  35. rules:
  36. - selector: 'google.cloud.functions.v1.CloudFunctionsService.*'
  37. deadline: 30.0
  38. - selector: google.cloud.functions.v1.CloudFunctionsService.CallFunction
  39. deadline: 600.0
  40. - selector: google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl
  41. deadline: 120.0
  42. - selector: google.cloud.location.Locations.ListLocations
  43. deadline: 30.0
  44. - selector: 'google.iam.v1.IAMPolicy.*'
  45. deadline: 30.0
  46. - selector: 'google.longrunning.Operations.*'
  47. deadline: 30.0
  48. http:
  49. rules:
  50. - selector: google.cloud.location.Locations.ListLocations
  51. get: '/v1/{name=projects/*}/locations'
  52. - selector: google.longrunning.Operations.GetOperation
  53. get: '/v1/{name=operations/*}'
  54. - selector: google.longrunning.Operations.ListOperations
  55. get: /v1/operations
  56. authentication:
  57. rules:
  58. - selector: 'google.cloud.functions.v1.CloudFunctionsService.*'
  59. oauth:
  60. canonical_scopes: |-
  61. https://www.googleapis.com/auth/cloud-platform
  62. - selector: google.cloud.location.Locations.ListLocations
  63. oauth:
  64. canonical_scopes: |-
  65. https://www.googleapis.com/auth/cloud-platform
  66. - selector: 'google.iam.v1.IAMPolicy.*'
  67. oauth:
  68. canonical_scopes: |-
  69. https://www.googleapis.com/auth/cloud-platform
  70. - selector: 'google.longrunning.Operations.*'
  71. oauth:
  72. canonical_scopes: |-
  73. https://www.googleapis.com/auth/cloud-platform