automl_v1.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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.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 Public Errors: NOT_FOUND, INVALID_ARGUMENT and
  31. PERMISSION_DENIED
  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.v1.AutoMl.*'
  43. deadline: 5.0
  44. - selector: google.cloud.automl.v1.AutoMl.CreateModel
  45. deadline: 20.0
  46. - selector: google.cloud.automl.v1.AutoMl.ImportData
  47. deadline: 20.0
  48. - selector: google.cloud.automl.v1.AutoMl.ListDatasets
  49. deadline: 50.0
  50. - selector: google.cloud.automl.v1.AutoMl.ListModelEvaluations
  51. deadline: 50.0
  52. - selector: google.cloud.automl.v1.AutoMl.ListModels
  53. deadline: 50.0
  54. - selector: google.cloud.automl.v1.PredictionService.BatchPredict
  55. deadline: 20.0
  56. - selector: google.cloud.automl.v1.PredictionService.Predict
  57. deadline: 60.0
  58. - selector: 'google.iam.v1.IAMPolicy.*'
  59. deadline: 5.0
  60. - selector: 'google.longrunning.Operations.*'
  61. deadline: 5.0
  62. - selector: google.longrunning.Operations.ListOperations
  63. deadline: 50.0
  64. - selector: google.longrunning.Operations.WaitOperation
  65. deadline: 300.0
  66. http:
  67. rules:
  68. - selector: google.longrunning.Operations.ListOperations
  69. get: '/v1/{name=projects/*/locations/*}/operations'
  70. - selector: google.longrunning.Operations.GetOperation
  71. get: '/v1/{name=projects/*/locations/*/operations/*}'
  72. - selector: google.longrunning.Operations.DeleteOperation
  73. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  74. - selector: google.longrunning.Operations.CancelOperation
  75. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  76. body: '*'
  77. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  78. post: '/v1/{resource=projects/*/locations/*/datasets/*}:setIamPolicy'
  79. body: '*'
  80. additional_bindings:
  81. - post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
  82. body: '*'
  83. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  84. get: '/v1/{resource=projects/*/locations/*/datasets/*}:getIamPolicy'
  85. additional_bindings:
  86. - get: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
  87. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  88. post: '/v1/{resource=projects/*/locations/*/**}:testIamPermissions'
  89. body: '*'
  90. authentication:
  91. rules:
  92. - selector: 'google.cloud.automl.v1.AutoMl.*'
  93. oauth:
  94. canonical_scopes: |-
  95. https://www.googleapis.com/auth/cloud-platform
  96. - selector: google.cloud.automl.v1.PredictionService.BatchPredict
  97. oauth:
  98. canonical_scopes: |-
  99. https://www.googleapis.com/auth/cloud-platform
  100. - selector: google.cloud.automl.v1.PredictionService.Predict
  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