apigeeregistry_v1.yaml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. type: google.api.Service
  2. config_version: 3
  3. name: apigeeregistry.googleapis.com
  4. title: Apigee Registry API
  5. apis:
  6. - name: google.cloud.apigeeregistry.v1.Provisioning
  7. - name: google.cloud.apigeeregistry.v1.Registry
  8. - name: google.cloud.location.Locations
  9. - name: google.iam.v1.IAMPolicy
  10. - name: google.longrunning.Operations
  11. types:
  12. - name: google.cloud.apigeeregistry.v1.OperationMetadata
  13. documentation:
  14. rules:
  15. - selector: google.cloud.location.Locations.GetLocation
  16. description: Gets information about a location.
  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.apigeeregistry.v1.Provisioning.*'
  40. deadline: 60.0
  41. - selector: 'google.cloud.apigeeregistry.v1.Registry.*'
  42. deadline: 60.0
  43. - selector: google.cloud.location.Locations.GetLocation
  44. deadline: 60.0
  45. - selector: google.cloud.location.Locations.ListLocations
  46. deadline: 60.0
  47. - selector: 'google.iam.v1.IAMPolicy.*'
  48. deadline: 60.0
  49. - selector: 'google.longrunning.Operations.*'
  50. deadline: 60.0
  51. http:
  52. rules:
  53. - selector: google.cloud.location.Locations.GetLocation
  54. get: '/v1/{name=projects/*/locations/*}'
  55. - selector: google.cloud.location.Locations.ListLocations
  56. get: '/v1/{name=projects/*}/locations'
  57. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  58. get: '/v1/{resource=projects/*/locations/*/apis/*}:getIamPolicy'
  59. additional_bindings:
  60. - get: '/v1/{resource=projects/*/locations/*/apis/*/deployments/*}:getIamPolicy'
  61. - get: '/v1/{resource=projects/*/locations/*/apis/*/versions/*}:getIamPolicy'
  62. - get: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*}:getIamPolicy'
  63. - get: '/v1/{resource=projects/*/locations/*/artifacts/*}:getIamPolicy'
  64. - get: '/v1/{resource=projects/*/locations/*/apis/*/artifacts/*}:getIamPolicy'
  65. - get: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/artifacts/*}:getIamPolicy'
  66. - get: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:getIamPolicy'
  67. - get: '/v1/{resource=projects/*/locations/*/instances/*}:getIamPolicy'
  68. - get: '/v1/{resource=projects/*/locations/*/runtime}:getIamPolicy'
  69. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  70. post: '/v1/{resource=projects/*/locations/*/apis/*}:setIamPolicy'
  71. body: '*'
  72. additional_bindings:
  73. - post: '/v1/{resource=projects/*/locations/*/apis/*/deployments/*}:setIamPolicy'
  74. body: '*'
  75. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*}:setIamPolicy'
  76. body: '*'
  77. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*}:setIamPolicy'
  78. body: '*'
  79. - post: '/v1/{resource=projects/*/locations/*/artifacts/*}:setIamPolicy'
  80. body: '*'
  81. - post: '/v1/{resource=projects/*/locations/*/apis/*/artifacts/*}:setIamPolicy'
  82. body: '*'
  83. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/artifacts/*}:setIamPolicy'
  84. body: '*'
  85. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:setIamPolicy'
  86. body: '*'
  87. - post: '/v1/{resource=projects/*/locations/*/instances/*}:setIamPolicy'
  88. body: '*'
  89. - post: '/v1/{resource=projects/*/locations/*/runtime}:setIamPolicy'
  90. body: '*'
  91. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  92. post: '/v1/{resource=projects/*/locations/*/apis/*}:testIamPermissions'
  93. body: '*'
  94. additional_bindings:
  95. - post: '/v1/{resource=projects/*/locations/*/apis/*/deployments/*}:testIamPermissions'
  96. body: '*'
  97. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*}:testIamPermissions'
  98. body: '*'
  99. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*}:testIamPermissions'
  100. body: '*'
  101. - post: '/v1/{resource=projects/*/locations/*/artifacts/*}:testIamPermissions'
  102. body: '*'
  103. - post: '/v1/{resource=projects/*/locations/*/apis/*/artifacts/*}:testIamPermissions'
  104. body: '*'
  105. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/artifacts/*}:testIamPermissions'
  106. body: '*'
  107. - post: '/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:testIamPermissions'
  108. body: '*'
  109. - post: '/v1/{resource=projects/*/locations/*/instances/*}:testIamPermissions'
  110. body: '*'
  111. - post: '/v1/{resource=projects/*/locations/*/runtime}:testIamPermissions'
  112. body: '*'
  113. - selector: google.longrunning.Operations.CancelOperation
  114. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  115. body: '*'
  116. - selector: google.longrunning.Operations.DeleteOperation
  117. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  118. - selector: google.longrunning.Operations.GetOperation
  119. get: '/v1/{name=projects/*/locations/*/operations/*}'
  120. - selector: google.longrunning.Operations.ListOperations
  121. get: '/v1/{name=projects/*/locations/*}/operations'
  122. authentication:
  123. rules:
  124. - selector: 'google.cloud.apigeeregistry.v1.Provisioning.*'
  125. oauth:
  126. canonical_scopes: |-
  127. https://www.googleapis.com/auth/cloud-platform
  128. - selector: 'google.cloud.apigeeregistry.v1.Registry.*'
  129. oauth:
  130. canonical_scopes: |-
  131. https://www.googleapis.com/auth/cloud-platform
  132. - selector: google.cloud.location.Locations.GetLocation
  133. oauth:
  134. canonical_scopes: |-
  135. https://www.googleapis.com/auth/cloud-platform
  136. - selector: google.cloud.location.Locations.ListLocations
  137. oauth:
  138. canonical_scopes: |-
  139. https://www.googleapis.com/auth/cloud-platform
  140. - selector: 'google.iam.v1.IAMPolicy.*'
  141. oauth:
  142. canonical_scopes: |-
  143. https://www.googleapis.com/auth/cloud-platform
  144. - selector: 'google.longrunning.Operations.*'
  145. oauth:
  146. canonical_scopes: |-
  147. https://www.googleapis.com/auth/cloud-platform