visionai_v1alpha1.yaml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. type: google.api.Service
  2. config_version: 3
  3. name: visionai.googleapis.com
  4. title: Vision AI API
  5. apis:
  6. - name: google.cloud.location.Locations
  7. - name: google.cloud.visionai.v1alpha1.AppPlatform
  8. - name: google.cloud.visionai.v1alpha1.LiveVideoAnalytics
  9. - name: google.cloud.visionai.v1alpha1.StreamingService
  10. - name: google.cloud.visionai.v1alpha1.StreamsService
  11. - name: google.cloud.visionai.v1alpha1.Warehouse
  12. - name: google.iam.v1.IAMPolicy
  13. - name: google.longrunning.Operations
  14. types:
  15. - name: google.cloud.visionai.v1alpha1.AppPlatformCloudFunctionRequest
  16. - name: google.cloud.visionai.v1alpha1.AppPlatformCloudFunctionResponse
  17. - name: google.cloud.visionai.v1alpha1.AppPlatformMetadata
  18. - name: google.cloud.visionai.v1alpha1.ClassificationPredictionResult
  19. - name: google.cloud.visionai.v1alpha1.GetStreamThumbnailResponse
  20. - name: google.cloud.visionai.v1alpha1.ImageObjectDetectionPredictionResult
  21. - name: google.cloud.visionai.v1alpha1.ImageSegmentationPredictionResult
  22. - name: google.cloud.visionai.v1alpha1.ObjectDetectionPredictionResult
  23. - name: google.cloud.visionai.v1alpha1.OccupancyCountingPredictionResult
  24. - name: google.cloud.visionai.v1alpha1.OperationMetadata
  25. - name: google.cloud.visionai.v1alpha1.PersonalProtectiveEquipmentDetectionOutput
  26. - name: google.cloud.visionai.v1alpha1.StreamAnnotations
  27. - name: google.cloud.visionai.v1alpha1.VideoActionRecognitionPredictionResult
  28. - name: google.cloud.visionai.v1alpha1.VideoClassificationPredictionResult
  29. - name: google.cloud.visionai.v1alpha1.VideoObjectTrackingPredictionResult
  30. documentation:
  31. rules:
  32. - selector: google.cloud.location.Locations.GetLocation
  33. description: Gets information about a location.
  34. - selector: google.cloud.location.Locations.ListLocations
  35. description: Lists information about the supported locations for this service.
  36. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  37. description: |-
  38. Gets the access control policy for a resource. Returns an empty policy
  39. if the resource exists and does not have a policy set.
  40. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  41. description: |-
  42. Sets the access control policy on the specified resource. Replaces
  43. any existing policy.
  44. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  45. errors.
  46. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  47. description: |-
  48. Returns permissions that a caller has on the specified resource. If the
  49. resource does not exist, this will return an empty set of
  50. permissions, not a `NOT_FOUND` error.
  51. Note: This operation is designed to be used for building
  52. permission-aware UIs and command-line tools, not for authorization
  53. checking. This operation may "fail open" without warning.
  54. backend:
  55. rules:
  56. - selector: google.cloud.location.Locations.GetLocation
  57. deadline: 60.0
  58. - selector: google.cloud.location.Locations.ListLocations
  59. deadline: 60.0
  60. - selector: 'google.cloud.visionai.v1alpha1.AppPlatform.*'
  61. deadline: 60.0
  62. - selector: 'google.cloud.visionai.v1alpha1.LiveVideoAnalytics.*'
  63. deadline: 60.0
  64. - selector: 'google.cloud.visionai.v1alpha1.StreamsService.*'
  65. deadline: 60.0
  66. - selector: 'google.cloud.visionai.v1alpha1.Warehouse.*'
  67. deadline: 60.0
  68. - selector: 'google.iam.v1.IAMPolicy.*'
  69. deadline: 60.0
  70. - selector: 'google.longrunning.Operations.*'
  71. deadline: 60.0
  72. http:
  73. rules:
  74. - selector: google.cloud.location.Locations.GetLocation
  75. get: '/v1alpha1/{name=projects/*/locations/*}'
  76. - selector: google.cloud.location.Locations.ListLocations
  77. get: '/v1alpha1/{name=projects/*}/locations'
  78. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  79. get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*}:getIamPolicy'
  80. additional_bindings:
  81. - get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/streams/*}:getIamPolicy'
  82. - get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/events/*}:getIamPolicy'
  83. - get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/series/*}:getIamPolicy'
  84. - get: '/v1alpha1/{resource=projects/*/locations/*/operators/*}:getIamPolicy'
  85. - get: '/v1alpha1/{resource=projects/*/locations/*/operators/*/versions/*}:getIamPolicy'
  86. - get: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/analyses/*}:getIamPolicy'
  87. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  88. post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*}:setIamPolicy'
  89. body: '*'
  90. additional_bindings:
  91. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/streams/*}:setIamPolicy'
  92. body: '*'
  93. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/events/*}:setIamPolicy'
  94. body: '*'
  95. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/series/*}:setIamPolicy'
  96. body: '*'
  97. - post: '/v1alpha1/{resource=projects/*/locations/*/operators/*}:setIamPolicy'
  98. body: '*'
  99. - post: '/v1alpha1/{resource=projects/*/locations/*/operators/*/versions/*}:setIamPolicy'
  100. body: '*'
  101. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/analyses/*}:setIamPolicy'
  102. body: '*'
  103. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  104. post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*}:testIamPermissions'
  105. body: '*'
  106. additional_bindings:
  107. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/streams/*}:testIamPermissions'
  108. body: '*'
  109. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/events/*}:testIamPermissions'
  110. body: '*'
  111. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/series/*}:testIamPermissions'
  112. body: '*'
  113. - post: '/v1alpha1/{resource=projects/*/locations/*/operators/*}:testIamPermissions'
  114. body: '*'
  115. - post: '/v1alpha1/{resource=projects/*/locations/*/operators/*/versions/*}:testIamPermissions'
  116. body: '*'
  117. - post: '/v1alpha1/{resource=projects/*/locations/*/clusters/*/analyses/*}:testIamPermissions'
  118. body: '*'
  119. - selector: google.longrunning.Operations.CancelOperation
  120. post: '/v1alpha1/{name=projects/*/locations/*/operations/*}:cancel'
  121. body: '*'
  122. - selector: google.longrunning.Operations.DeleteOperation
  123. delete: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
  124. - selector: google.longrunning.Operations.GetOperation
  125. get: '/v1alpha1/{name=projects/*/locations/*/operations/*}'
  126. additional_bindings:
  127. - get: '/v1alpha1/{name=projects/*/locations/*/warehouseOperations/*}'
  128. - get: '/v1alpha1/{name=projects/*/locations/*/corpora/*/assets/*/operations/*}'
  129. - selector: google.longrunning.Operations.ListOperations
  130. get: '/v1alpha1/{name=projects/*/locations/*}/operations'
  131. authentication:
  132. rules:
  133. - selector: google.cloud.location.Locations.GetLocation
  134. oauth:
  135. canonical_scopes: |-
  136. https://www.googleapis.com/auth/cloud-platform
  137. - selector: google.cloud.location.Locations.ListLocations
  138. oauth:
  139. canonical_scopes: |-
  140. https://www.googleapis.com/auth/cloud-platform
  141. - selector: 'google.cloud.visionai.v1alpha1.AppPlatform.*'
  142. oauth:
  143. canonical_scopes: |-
  144. https://www.googleapis.com/auth/cloud-platform
  145. - selector: 'google.cloud.visionai.v1alpha1.LiveVideoAnalytics.*'
  146. oauth:
  147. canonical_scopes: |-
  148. https://www.googleapis.com/auth/cloud-platform
  149. - selector: 'google.cloud.visionai.v1alpha1.StreamingService.*'
  150. oauth:
  151. canonical_scopes: |-
  152. https://www.googleapis.com/auth/cloud-platform
  153. - selector: 'google.cloud.visionai.v1alpha1.StreamsService.*'
  154. oauth:
  155. canonical_scopes: |-
  156. https://www.googleapis.com/auth/cloud-platform
  157. - selector: 'google.cloud.visionai.v1alpha1.Warehouse.*'
  158. oauth:
  159. canonical_scopes: |-
  160. https://www.googleapis.com/auth/cloud-platform
  161. - selector: 'google.iam.v1.IAMPolicy.*'
  162. oauth:
  163. canonical_scopes: |-
  164. https://www.googleapis.com/auth/cloud-platform
  165. - selector: 'google.longrunning.Operations.*'
  166. oauth:
  167. canonical_scopes: |-
  168. https://www.googleapis.com/auth/cloud-platform