automl_v1.yaml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. type: google.api.Service
  2. config_version: 3
  3. name: automl.googleapis.com
  4. title: Cloud AutoML API
  5. apis:
  6. - name: google.cloud.automl.v1.AutoMl
  7. - name: google.cloud.automl.v1.PredictionService
  8. types:
  9. - name: google.cloud.automl.v1.BatchPredictResult
  10. - name: google.cloud.automl.v1.OperationMetadata
  11. documentation:
  12. summary: |-
  13. Train high-quality custom machine learning models with minimum effort and
  14. machine learning expertise.
  15. overview: |-
  16. Cloud AutoML is a suite of machine learning products that enables
  17. developers with limited machine learning expertise to train high-quality
  18. models specific to their business needs, by leveraging Google's
  19. state-of-the-art transfer learning, and Neural Architecture Search
  20. technology.
  21. rules:
  22. - selector: google.cloud.location.Locations.GetLocation
  23. description: Gets information about a location.
  24. - selector: google.cloud.location.Locations.ListLocations
  25. description: Lists information about the supported locations for this service.
  26. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  27. description: |-
  28. Gets the access control policy for a resource. Returns an empty policy
  29. if the resource exists and does not have a policy set.
  30. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  31. description: |-
  32. Sets the access control policy on the specified resource. Replaces
  33. any existing policy.
  34. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  35. errors.
  36. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  37. description: |-
  38. Returns permissions that a caller has on the specified resource. If the
  39. resource does not exist, this will return an empty set of
  40. permissions, not a `NOT_FOUND` error.
  41. Note: This operation is designed to be used for building
  42. permission-aware UIs and command-line tools, not for authorization
  43. checking. This operation may "fail open" without warning.
  44. backend:
  45. rules:
  46. - selector: 'google.cloud.automl.v1.AutoMl.*'
  47. deadline: 5.0
  48. - selector: google.cloud.automl.v1.AutoMl.CreateModel
  49. deadline: 20.0
  50. - selector: google.cloud.automl.v1.AutoMl.DeployModel
  51. deadline: 20.0
  52. - selector: google.cloud.automl.v1.AutoMl.ExportData
  53. deadline: 20.0
  54. - selector: google.cloud.automl.v1.AutoMl.ImportData
  55. deadline: 20.0
  56. - selector: google.cloud.automl.v1.AutoMl.ListDatasets
  57. deadline: 50.0
  58. - selector: google.cloud.automl.v1.AutoMl.ListModelEvaluations
  59. deadline: 50.0
  60. - selector: google.cloud.automl.v1.AutoMl.ListModels
  61. deadline: 50.0
  62. - selector: google.cloud.automl.v1.PredictionService.BatchPredict
  63. deadline: 20.0
  64. - selector: google.cloud.automl.v1.PredictionService.Predict
  65. deadline: 60.0
  66. - selector: google.cloud.location.Locations.GetLocation
  67. deadline: 5.0
  68. - selector: google.cloud.location.Locations.ListLocations
  69. deadline: 5.0
  70. - selector: 'google.iam.v1.IAMPolicy.*'
  71. deadline: 5.0
  72. - selector: 'google.longrunning.Operations.*'
  73. deadline: 5.0
  74. - selector: google.longrunning.Operations.ListOperations
  75. deadline: 50.0
  76. - selector: google.longrunning.Operations.WaitOperation
  77. deadline: 300.0
  78. http:
  79. rules:
  80. - selector: google.cloud.location.Locations.GetLocation
  81. get: '/v1/{name=projects/*/locations/*}'
  82. - selector: google.cloud.location.Locations.ListLocations
  83. get: '/v1/{name=projects/*}/locations'
  84. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  85. get: '/v1/{resource=projects/*/locations/*}:getIamPolicy'
  86. additional_bindings:
  87. - get: '/v1/{resource=projects/*/locations/*/datasets/*}:getIamPolicy'
  88. - get: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
  89. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  90. post: '/v1/{resource=projects/*/locations/*}:setIamPolicy'
  91. body: '*'
  92. additional_bindings:
  93. - post: '/v1/{resource=projects/*/locations/*/datasets/*}:setIamPolicy'
  94. body: '*'
  95. - post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
  96. body: '*'
  97. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  98. post: '/v1/{resource=projects/*/locations/*/**}:testIamPermissions'
  99. body: '*'
  100. - selector: google.longrunning.Operations.CancelOperation
  101. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  102. body: '*'
  103. - selector: google.longrunning.Operations.DeleteOperation
  104. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  105. - selector: google.longrunning.Operations.GetOperation
  106. get: '/v1/{name=projects/*/locations/*/operations/*}'
  107. - selector: google.longrunning.Operations.ListOperations
  108. get: '/v1/{name=projects/*/locations/*}/operations'
  109. - selector: google.longrunning.Operations.WaitOperation
  110. post: '/v1/{name=projects/*/locations/*/operations/*}:wait'
  111. body: '*'
  112. authentication:
  113. rules:
  114. - selector: 'google.cloud.automl.v1.AutoMl.*'
  115. oauth:
  116. canonical_scopes: |-
  117. https://www.googleapis.com/auth/cloud-platform
  118. - selector: google.cloud.automl.v1.PredictionService.BatchPredict
  119. oauth:
  120. canonical_scopes: |-
  121. https://www.googleapis.com/auth/cloud-platform
  122. - selector: google.cloud.automl.v1.PredictionService.Predict
  123. oauth:
  124. canonical_scopes: |-
  125. https://www.googleapis.com/auth/cloud-platform
  126. - selector: google.cloud.location.Locations.GetLocation
  127. oauth:
  128. canonical_scopes: |-
  129. https://www.googleapis.com/auth/cloud-platform
  130. - selector: google.cloud.location.Locations.ListLocations
  131. oauth:
  132. canonical_scopes: |-
  133. https://www.googleapis.com/auth/cloud-platform
  134. - selector: 'google.iam.v1.IAMPolicy.*'
  135. oauth:
  136. canonical_scopes: |-
  137. https://www.googleapis.com/auth/cloud-platform
  138. - selector: 'google.longrunning.Operations.*'
  139. oauth:
  140. canonical_scopes: |-
  141. https://www.googleapis.com/auth/cloud-platform