eventarc_v1.yaml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. type: google.api.Service
  2. config_version: 3
  3. name: eventarc.googleapis.com
  4. title: Eventarc API
  5. apis:
  6. - name: google.cloud.eventarc.v1.Eventarc
  7. - name: google.cloud.location.Locations
  8. - name: google.iam.v1.IAMPolicy
  9. - name: google.longrunning.Operations
  10. types:
  11. - name: google.cloud.eventarc.v1.OperationMetadata
  12. documentation:
  13. summary: 'Build event-driven applications on Google Cloud Platform.'
  14. overview: |-
  15. Eventarc lets you asynchronously deliver events from Google services, SaaS,
  16. and your own apps using loosely coupled services that react to state
  17. changes. Eventarc requires no infrastructure management — you can optimize
  18. productivity and costs while building an event-driven solution.
  19. rules:
  20. - selector: google.cloud.location.Locations.GetLocation
  21. description: Gets information about a location.
  22. - selector: google.cloud.location.Locations.ListLocations
  23. description: Lists information about the supported locations for this service.
  24. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  25. description: |-
  26. Gets the access control policy for a resource. Returns an empty policy
  27. if the resource exists and does not have a policy set.
  28. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  29. description: |-
  30. Sets the access control policy on the specified resource. Replaces
  31. any existing policy.
  32. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  33. errors.
  34. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  35. description: |-
  36. Returns permissions that a caller has on the specified resource. If the
  37. resource does not exist, this will return an empty set of
  38. permissions, not a `NOT_FOUND` error.
  39. Note: This operation is designed to be used for building
  40. permission-aware UIs and command-line tools, not for authorization
  41. checking. This operation may "fail open" without warning.
  42. backend:
  43. rules:
  44. - selector: 'google.cloud.eventarc.v1.Eventarc.*'
  45. deadline: 60.0
  46. - selector: google.cloud.location.Locations.GetLocation
  47. deadline: 60.0
  48. - selector: google.cloud.location.Locations.ListLocations
  49. deadline: 60.0
  50. - selector: 'google.iam.v1.IAMPolicy.*'
  51. deadline: 60.0
  52. - selector: 'google.longrunning.Operations.*'
  53. deadline: 60.0
  54. http:
  55. rules:
  56. - selector: google.cloud.location.Locations.GetLocation
  57. get: '/v1/{name=projects/*/locations/*}'
  58. - selector: google.cloud.location.Locations.ListLocations
  59. get: '/v1/{name=projects/*}/locations'
  60. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  61. get: '/v1/{resource=projects/*/locations/*/triggers/*}:getIamPolicy'
  62. additional_bindings:
  63. - get: '/v1/{resource=projects/*/locations/*/channels/*}:getIamPolicy'
  64. - get: '/v1/{resource=projects/*/locations/*/channelConnections/*}:getIamPolicy'
  65. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  66. post: '/v1/{resource=projects/*/locations/*/triggers/*}:setIamPolicy'
  67. body: '*'
  68. additional_bindings:
  69. - post: '/v1/{resource=projects/*/locations/*/channels/*}:setIamPolicy'
  70. body: '*'
  71. - post: '/v1/{resource=projects/*/locations/*/channelConnections/*}:setIamPolicy'
  72. body: '*'
  73. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  74. post: '/v1/{resource=projects/*/locations/*/triggers/*}:testIamPermissions'
  75. body: '*'
  76. additional_bindings:
  77. - post: '/v1/{resource=projects/*/locations/*/channels/*}:testIamPermissions'
  78. body: '*'
  79. - post: '/v1/{resource=projects/*/locations/*/channelConnections/*}:testIamPermissions'
  80. body: '*'
  81. - selector: google.longrunning.Operations.CancelOperation
  82. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  83. body: '*'
  84. - selector: google.longrunning.Operations.DeleteOperation
  85. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  86. - selector: google.longrunning.Operations.GetOperation
  87. get: '/v1/{name=projects/*/locations/*/operations/*}'
  88. - selector: google.longrunning.Operations.ListOperations
  89. get: '/v1/{name=projects/*/locations/*}/operations'
  90. authentication:
  91. rules:
  92. - selector: 'google.cloud.eventarc.v1.Eventarc.*'
  93. oauth:
  94. canonical_scopes: |-
  95. https://www.googleapis.com/auth/cloud-platform
  96. - selector: google.cloud.location.Locations.GetLocation
  97. oauth:
  98. canonical_scopes: |-
  99. https://www.googleapis.com/auth/cloud-platform
  100. - selector: google.cloud.location.Locations.ListLocations
  101. oauth:
  102. canonical_scopes: |-
  103. https://www.googleapis.com/auth/cloud-platform
  104. - selector: 'google.iam.v1.IAMPolicy.*'
  105. oauth:
  106. canonical_scopes: |-
  107. https://www.googleapis.com/auth/cloud-platform
  108. - selector: 'google.longrunning.Operations.*'
  109. oauth:
  110. canonical_scopes: |-
  111. https://www.googleapis.com/auth/cloud-platform