automl_v1beta1.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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.v1beta1.AutoMl
  7. - name: google.cloud.automl.v1beta1.PredictionService
  8. types:
  9. - name: google.cloud.automl.v1beta1.BatchPredictResult
  10. - name: google.cloud.automl.v1beta1.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.iam.v1.IAMPolicy.GetIamPolicy
  23. description: |-
  24. Gets the access control policy for a resource. Returns an empty policy
  25. if the resource exists and does not have a policy set.
  26. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  27. description: |-
  28. Sets the access control policy on the specified resource. Replaces
  29. any existing policy.
  30. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  31. errors.
  32. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  33. description: |-
  34. Returns permissions that a caller has on the specified resource. If the
  35. resource does not exist, this will return an empty set of
  36. permissions, not a `NOT_FOUND` error.
  37. Note: This operation is designed to be used for building
  38. permission-aware UIs and command-line tools, not for authorization
  39. checking. This operation may "fail open" without warning.
  40. backend:
  41. rules:
  42. - selector: 'google.cloud.automl.v1beta1.AutoMl.*'
  43. deadline: 5.0
  44. - selector: google.cloud.automl.v1beta1.AutoMl.CreateModel
  45. deadline: 20.0
  46. - selector: google.cloud.automl.v1beta1.AutoMl.DeployModel
  47. deadline: 20.0
  48. - selector: google.cloud.automl.v1beta1.AutoMl.ImportData
  49. deadline: 20.0
  50. - selector: google.cloud.automl.v1beta1.AutoMl.ListDatasets
  51. deadline: 50.0
  52. - selector: google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations
  53. deadline: 50.0
  54. - selector: google.cloud.automl.v1beta1.AutoMl.ListModels
  55. deadline: 50.0
  56. - selector: google.cloud.automl.v1beta1.PredictionService.BatchPredict
  57. deadline: 20.0
  58. - selector: google.cloud.automl.v1beta1.PredictionService.Predict
  59. deadline: 60.0
  60. - selector: 'google.iam.v1.IAMPolicy.*'
  61. deadline: 5.0
  62. - selector: 'google.longrunning.Operations.*'
  63. deadline: 5.0
  64. - selector: google.longrunning.Operations.ListOperations
  65. deadline: 50.0
  66. - selector: google.longrunning.Operations.WaitOperation
  67. deadline: 300.0
  68. http:
  69. rules:
  70. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  71. get: '/v1beta1/{resource=projects/*/locations/*}:getIamPolicy'
  72. additional_bindings:
  73. - get: '/v1beta1/{resource=projects/*/locations/*/datasets/*}:getIamPolicy'
  74. - get: '/v1beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
  75. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  76. post: '/v1beta1/{resource=projects/*/locations/*}:setIamPolicy'
  77. body: '*'
  78. additional_bindings:
  79. - post: '/v1beta1/{resource=projects/*/locations/*/datasets/*}:setIamPolicy'
  80. body: '*'
  81. - post: '/v1beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
  82. body: '*'
  83. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  84. post: '/v1beta1/{resource=projects/*/locations/*/**}:testIamPermissions'
  85. body: '*'
  86. - selector: google.longrunning.Operations.CancelOperation
  87. post: '/v1beta1/{name=projects/*/locations/*/operations/*}:cancel'
  88. body: '*'
  89. - selector: google.longrunning.Operations.DeleteOperation
  90. delete: '/v1beta1/{name=projects/*/locations/*/operations/*}'
  91. - selector: google.longrunning.Operations.GetOperation
  92. get: '/v1beta1/{name=projects/*/locations/*/operations/*}'
  93. - selector: google.longrunning.Operations.ListOperations
  94. get: '/v1beta1/{name=projects/*/locations/*}/operations'
  95. - selector: google.longrunning.Operations.WaitOperation
  96. post: '/v1beta1/{name=projects/*/locations/*/operations/*}:wait'
  97. body: '*'
  98. authentication:
  99. rules:
  100. - selector: 'google.cloud.automl.v1beta1.AutoMl.*'
  101. oauth:
  102. canonical_scopes: |-
  103. https://www.googleapis.com/auth/cloud-platform
  104. - selector: google.cloud.automl.v1beta1.PredictionService.BatchPredict
  105. oauth:
  106. canonical_scopes: |-
  107. https://www.googleapis.com/auth/cloud-platform
  108. - selector: google.cloud.automl.v1beta1.PredictionService.Predict
  109. oauth:
  110. canonical_scopes: |-
  111. https://www.googleapis.com/auth/cloud-platform
  112. - selector: 'google.iam.v1.IAMPolicy.*'
  113. oauth:
  114. canonical_scopes: |-
  115. https://www.googleapis.com/auth/cloud-platform
  116. - selector: 'google.longrunning.Operations.*'
  117. oauth:
  118. canonical_scopes: |-
  119. https://www.googleapis.com/auth/cloud-platform