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