OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://ml.googleapis.com/", | 12 "baseUrl": "https://ml.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Cloud Machine Learning", | 14 "canonicalName": "Cloud Machine Learning Engine", |
15 "description": "An API to enable creating and using machine learning models.
", | 15 "description": "An API to enable creating and using machine learning models.
", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://cloud.google.com/ml/", | 17 "documentationLink": "https://cloud.google.com/ml/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "ml:v1beta1", | 22 "id": "ml:v1beta1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "ml", | 24 "name": "ml", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "access_token": { | |
29 "description": "OAuth access token.", | |
30 "location": "query", | |
31 "type": "string" | |
32 }, | |
33 "key": { | |
34 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
35 "location": "query", | |
36 "type": "string" | |
37 }, | |
38 "quotaUser": { | |
39 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
40 "location": "query", | |
41 "type": "string" | |
42 }, | |
43 "pp": { | |
44 "default": "true", | |
45 "description": "Pretty-print response.", | |
46 "location": "query", | |
47 "type": "boolean" | |
48 }, | |
49 "bearer_token": { | |
50 "description": "OAuth bearer token.", | |
51 "location": "query", | |
52 "type": "string" | |
53 }, | |
54 "oauth_token": { | |
55 "description": "OAuth 2.0 token for the current user.", | |
56 "location": "query", | |
57 "type": "string" | |
58 }, | |
59 "upload_protocol": { | 28 "upload_protocol": { |
60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
61 "location": "query", | 30 "location": "query", |
62 "type": "string" | 31 "type": "string" |
63 }, | 32 }, |
64 "prettyPrint": { | 33 "prettyPrint": { |
65 "default": "true", | 34 "default": "true", |
66 "description": "Returns response with indentations and line breaks."
, | 35 "description": "Returns response with indentations and line breaks."
, |
67 "location": "query", | 36 "location": "query", |
68 "type": "boolean" | 37 "type": "boolean" |
69 }, | 38 }, |
| 39 "fields": { |
| 40 "description": "Selector specifying which fields to include in a par
tial response.", |
| 41 "location": "query", |
| 42 "type": "string" |
| 43 }, |
70 "uploadType": { | 44 "uploadType": { |
71 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 45 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
72 "location": "query", | 46 "location": "query", |
73 "type": "string" | 47 "type": "string" |
74 }, | 48 }, |
75 "fields": { | |
76 "description": "Selector specifying which fields to include in a par
tial response.", | |
77 "location": "query", | |
78 "type": "string" | |
79 }, | |
80 "callback": { | |
81 "description": "JSONP", | |
82 "location": "query", | |
83 "type": "string" | |
84 }, | |
85 "$.xgafv": { | 49 "$.xgafv": { |
86 "description": "V1 error format.", | 50 "description": "V1 error format.", |
87 "enum": [ | 51 "enum": [ |
88 "1", | 52 "1", |
89 "2" | 53 "2" |
90 ], | 54 ], |
91 "enumDescriptions": [ | 55 "enumDescriptions": [ |
92 "v1 error format", | 56 "v1 error format", |
93 "v2 error format" | 57 "v2 error format" |
94 ], | 58 ], |
95 "location": "query", | 59 "location": "query", |
96 "type": "string" | 60 "type": "string" |
97 }, | 61 }, |
| 62 "callback": { |
| 63 "description": "JSONP", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
98 "alt": { | 67 "alt": { |
99 "default": "json", | 68 "default": "json", |
100 "description": "Data format for response.", | 69 "description": "Data format for response.", |
101 "enum": [ | 70 "enum": [ |
102 "json", | 71 "json", |
103 "media", | 72 "media", |
104 "proto" | 73 "proto" |
105 ], | 74 ], |
106 "enumDescriptions": [ | 75 "enumDescriptions": [ |
107 "Responses with Content-Type of application/json", | 76 "Responses with Content-Type of application/json", |
108 "Media download with context-dependent Content-Type", | 77 "Media download with context-dependent Content-Type", |
109 "Responses with Content-Type of application/x-protobuf" | 78 "Responses with Content-Type of application/x-protobuf" |
110 ], | 79 ], |
111 "location": "query", | 80 "location": "query", |
112 "type": "string" | 81 "type": "string" |
| 82 }, |
| 83 "access_token": { |
| 84 "description": "OAuth access token.", |
| 85 "location": "query", |
| 86 "type": "string" |
| 87 }, |
| 88 "key": { |
| 89 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 90 "location": "query", |
| 91 "type": "string" |
| 92 }, |
| 93 "quotaUser": { |
| 94 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "pp": { |
| 99 "default": "true", |
| 100 "description": "Pretty-print response.", |
| 101 "location": "query", |
| 102 "type": "boolean" |
| 103 }, |
| 104 "oauth_token": { |
| 105 "description": "OAuth 2.0 token for the current user.", |
| 106 "location": "query", |
| 107 "type": "string" |
| 108 }, |
| 109 "bearer_token": { |
| 110 "description": "OAuth bearer token.", |
| 111 "location": "query", |
| 112 "type": "string" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "projects": { | 117 "projects": { |
118 "methods": { | 118 "methods": { |
| 119 "getConfig": { |
| 120 "description": "Get the service account information associat
ed with your project. You need\nthis information in order to grant the service a
ccount persmissions for\nthe Google Cloud Storage location where you put your mo
del training code\nfor training the model with Google Cloud Machine Learning.", |
| 121 "httpMethod": "GET", |
| 122 "id": "ml.projects.getConfig", |
| 123 "parameterOrder": [ |
| 124 "name" |
| 125 ], |
| 126 "parameters": { |
| 127 "name": { |
| 128 "description": "Required. The project name.\n\nAutho
rization: requires `Viewer` role on the specified project.", |
| 129 "location": "path", |
| 130 "pattern": "^projects/[^/]+$", |
| 131 "required": true, |
| 132 "type": "string" |
| 133 } |
| 134 }, |
| 135 "path": "v1beta1/{+name}:getConfig", |
| 136 "response": { |
| 137 "$ref": "GoogleCloudMlV1beta1__GetConfigResponse" |
| 138 }, |
| 139 "scopes": [ |
| 140 "https://www.googleapis.com/auth/cloud-platform" |
| 141 ] |
| 142 }, |
119 "predict": { | 143 "predict": { |
120 "description": "Performs prediction on the data in the reque
st.\n\n**** REMOVE FROM GENERATED DOCUMENTATION", | 144 "description": "Performs prediction on the data in the reque
st.\n\n**** REMOVE FROM GENERATED DOCUMENTATION", |
121 "httpMethod": "POST", | 145 "httpMethod": "POST", |
122 "id": "ml.projects.predict", | 146 "id": "ml.projects.predict", |
123 "parameterOrder": [ | 147 "parameterOrder": [ |
124 "name" | 148 "name" |
125 ], | 149 ], |
126 "parameters": { | 150 "parameters": { |
127 "name": { | 151 "name": { |
128 "description": "Required. The resource name of a mod
el or a version.\n\nAuthorization: requires `Viewer` role on the parent project.
", | 152 "description": "Required. The resource name of a mod
el or a version.\n\nAuthorization: requires `Viewer` role on the parent project.
", |
129 "location": "path", | 153 "location": "path", |
130 "pattern": "^projects/.+$", | 154 "pattern": "^projects/.+$", |
131 "required": true, | 155 "required": true, |
132 "type": "string" | 156 "type": "string" |
133 } | 157 } |
134 }, | 158 }, |
135 "path": "v1beta1/{+name}:predict", | 159 "path": "v1beta1/{+name}:predict", |
136 "request": { | 160 "request": { |
137 "$ref": "GoogleCloudMlV1beta1__PredictRequest" | 161 "$ref": "GoogleCloudMlV1beta1__PredictRequest" |
138 }, | 162 }, |
139 "response": { | 163 "response": { |
140 "$ref": "GoogleApi__HttpBody" | 164 "$ref": "GoogleApi__HttpBody" |
141 }, | 165 }, |
142 "scopes": [ | 166 "scopes": [ |
143 "https://www.googleapis.com/auth/cloud-platform" | 167 "https://www.googleapis.com/auth/cloud-platform" |
144 ] | |
145 }, | |
146 "getConfig": { | |
147 "description": "Get the service account information associat
ed with your project. You need\nthis information in order to grant the service a
ccount persmissions for\nthe Google Cloud Storage location where you put your mo
del training code\nfor training the model with Google Cloud Machine Learning.", | |
148 "httpMethod": "GET", | |
149 "id": "ml.projects.getConfig", | |
150 "parameterOrder": [ | |
151 "name" | |
152 ], | |
153 "parameters": { | |
154 "name": { | |
155 "description": "Required. The project name.\n\nAutho
rization: requires `Viewer` role on the specified project.", | |
156 "location": "path", | |
157 "pattern": "^projects/[^/]+$", | |
158 "required": true, | |
159 "type": "string" | |
160 } | |
161 }, | |
162 "path": "v1beta1/{+name}:getConfig", | |
163 "response": { | |
164 "$ref": "GoogleCloudMlV1beta1__GetConfigResponse" | |
165 }, | |
166 "scopes": [ | |
167 "https://www.googleapis.com/auth/cloud-platform" | |
168 ] | 168 ] |
169 } | 169 } |
170 }, | 170 }, |
171 "resources": { | 171 "resources": { |
172 "operations": { | 172 "operations": { |
173 "methods": { | 173 "methods": { |
174 "list": { | 174 "cancel": { |
175 "description": "Lists operations that match the spec
ified filter in the request. If the\nserver doesn't support this method, it retu
rns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to ov
erride the binding\nto use different resource name schemes, such as `users/*/ope
rations`.", | 175 "description": "Starts asynchronous cancellation on
a long-running operation. The server\nmakes a best effort to cancel the operati
on, but success is not\nguaranteed. If the server doesn't support this method,
it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOpe
ration or\nother methods to check whether the cancellation succeeded or whether
the\noperation completed despite cancellation. On successful cancellation,\nthe
operation is not deleted; instead, it becomes an operation with\nan Operation.er
ror value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`
.", |
176 "httpMethod": "GET", | 176 "httpMethod": "POST", |
177 "id": "ml.projects.operations.list", | 177 "id": "ml.projects.operations.cancel", |
178 "parameterOrder": [ | 178 "parameterOrder": [ |
179 "name" | 179 "name" |
180 ], | 180 ], |
181 "parameters": { | 181 "parameters": { |
182 "filter": { | |
183 "description": "The standard list filter.", | |
184 "location": "query", | |
185 "type": "string" | |
186 }, | |
187 "name": { | 182 "name": { |
188 "description": "The name of the operation co
llection.", | 183 "description": "The name of the operation re
source to be cancelled.", |
189 "location": "path", | 184 "location": "path", |
190 "pattern": "^projects/[^/]+$", | 185 "pattern": "^projects/[^/]+/operations/[^/]+
$", |
191 "required": true, | 186 "required": true, |
192 "type": "string" | 187 "type": "string" |
193 }, | |
194 "pageToken": { | |
195 "description": "The standard list page token
.", | |
196 "location": "query", | |
197 "type": "string" | |
198 }, | |
199 "pageSize": { | |
200 "description": "The standard list page size.
", | |
201 "format": "int32", | |
202 "location": "query", | |
203 "type": "integer" | |
204 } | 188 } |
205 }, | 189 }, |
206 "path": "v1beta1/{+name}/operations", | 190 "path": "v1beta1/{+name}:cancel", |
207 "response": { | 191 "response": { |
208 "$ref": "GoogleLongrunning__ListOperationsRespon
se" | 192 "$ref": "GoogleProtobuf__Empty" |
209 }, | 193 }, |
210 "scopes": [ | 194 "scopes": [ |
211 "https://www.googleapis.com/auth/cloud-platform" | 195 "https://www.googleapis.com/auth/cloud-platform" |
212 ] | 196 ] |
213 }, | 197 }, |
214 "get": { | 198 "delete": { |
215 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this\nmethod to poll the operation result at int
ervals as recommended by the API\nservice.", | 199 "description": "Deletes a long-running operation. Th
is method indicates that the client is\nno longer interested in the operation re
sult. It does not cancel the\noperation. If the server doesn't support this meth
od, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", |
216 "httpMethod": "GET", | 200 "httpMethod": "DELETE", |
217 "id": "ml.projects.operations.get", | 201 "id": "ml.projects.operations.delete", |
218 "parameterOrder": [ | 202 "parameterOrder": [ |
219 "name" | 203 "name" |
220 ], | 204 ], |
221 "parameters": { | 205 "parameters": { |
222 "name": { | 206 "name": { |
223 "description": "The name of the operation re
source.", | 207 "description": "The name of the operation re
source to be deleted.", |
224 "location": "path", | 208 "location": "path", |
225 "pattern": "^projects/[^/]+/operations/[^/]+
$", | 209 "pattern": "^projects/[^/]+/operations/[^/]+
$", |
226 "required": true, | 210 "required": true, |
227 "type": "string" | 211 "type": "string" |
228 } | 212 } |
229 }, | 213 }, |
230 "path": "v1beta1/{+name}", | 214 "path": "v1beta1/{+name}", |
231 "response": { | 215 "response": { |
232 "$ref": "GoogleLongrunning__Operation" | |
233 }, | |
234 "scopes": [ | |
235 "https://www.googleapis.com/auth/cloud-platform" | |
236 ] | |
237 }, | |
238 "cancel": { | |
239 "description": "Starts asynchronous cancellation on
a long-running operation. The server\nmakes a best effort to cancel the operati
on, but success is not\nguaranteed. If the server doesn't support this method,
it returns\n`google.rpc.Code.UNIMPLEMENTED`. Clients can use\nOperations.GetOpe
ration or\nother methods to check whether the cancellation succeeded or whether
the\noperation completed despite cancellation. On successful cancellation,\nthe
operation is not deleted; instead, it becomes an operation with\nan Operation.er
ror value with a google.rpc.Status.code of 1,\ncorresponding to `Code.CANCELLED`
.", | |
240 "httpMethod": "POST", | |
241 "id": "ml.projects.operations.cancel", | |
242 "parameterOrder": [ | |
243 "name" | |
244 ], | |
245 "parameters": { | |
246 "name": { | |
247 "description": "The name of the operation re
source to be cancelled.", | |
248 "location": "path", | |
249 "pattern": "^projects/[^/]+/operations/[^/]+
$", | |
250 "required": true, | |
251 "type": "string" | |
252 } | |
253 }, | |
254 "path": "v1beta1/{+name}:cancel", | |
255 "response": { | |
256 "$ref": "GoogleProtobuf__Empty" | 216 "$ref": "GoogleProtobuf__Empty" |
257 }, | 217 }, |
258 "scopes": [ | 218 "scopes": [ |
259 "https://www.googleapis.com/auth/cloud-platform" | 219 "https://www.googleapis.com/auth/cloud-platform" |
260 ] | 220 ] |
261 }, | 221 }, |
262 "delete": { | 222 "list": { |
263 "description": "Deletes a long-running operation. Th
is method indicates that the client is\nno longer interested in the operation re
sult. It does not cancel the\noperation. If the server doesn't support this meth
od, it returns\n`google.rpc.Code.UNIMPLEMENTED`.", | 223 "description": "Lists operations that match the spec
ified filter in the request. If the\nserver doesn't support this method, it retu
rns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding below allows API services to ov
erride the binding\nto use different resource name schemes, such as `users/*/ope
rations`.", |
264 "httpMethod": "DELETE", | 224 "httpMethod": "GET", |
265 "id": "ml.projects.operations.delete", | 225 "id": "ml.projects.operations.list", |
266 "parameterOrder": [ | 226 "parameterOrder": [ |
267 "name" | 227 "name" |
268 ], | 228 ], |
269 "parameters": { | 229 "parameters": { |
270 "name": { | 230 "name": { |
271 "description": "The name of the operation re
source to be deleted.", | 231 "description": "The name of the operation co
llection.", |
| 232 "location": "path", |
| 233 "pattern": "^projects/[^/]+$", |
| 234 "required": true, |
| 235 "type": "string" |
| 236 }, |
| 237 "pageToken": { |
| 238 "description": "The standard list page token
.", |
| 239 "location": "query", |
| 240 "type": "string" |
| 241 }, |
| 242 "pageSize": { |
| 243 "description": "The standard list page size.
", |
| 244 "format": "int32", |
| 245 "location": "query", |
| 246 "type": "integer" |
| 247 }, |
| 248 "filter": { |
| 249 "description": "The standard list filter.", |
| 250 "location": "query", |
| 251 "type": "string" |
| 252 } |
| 253 }, |
| 254 "path": "v1beta1/{+name}/operations", |
| 255 "response": { |
| 256 "$ref": "GoogleLongrunning__ListOperationsRespon
se" |
| 257 }, |
| 258 "scopes": [ |
| 259 "https://www.googleapis.com/auth/cloud-platform" |
| 260 ] |
| 261 }, |
| 262 "get": { |
| 263 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this\nmethod to poll the operation result at int
ervals as recommended by the API\nservice.", |
| 264 "httpMethod": "GET", |
| 265 "id": "ml.projects.operations.get", |
| 266 "parameterOrder": [ |
| 267 "name" |
| 268 ], |
| 269 "parameters": { |
| 270 "name": { |
| 271 "description": "The name of the operation re
source.", |
272 "location": "path", | 272 "location": "path", |
273 "pattern": "^projects/[^/]+/operations/[^/]+
$", | 273 "pattern": "^projects/[^/]+/operations/[^/]+
$", |
274 "required": true, | 274 "required": true, |
275 "type": "string" | 275 "type": "string" |
276 } | 276 } |
277 }, | 277 }, |
278 "path": "v1beta1/{+name}", | 278 "path": "v1beta1/{+name}", |
279 "response": { | 279 "response": { |
280 "$ref": "GoogleProtobuf__Empty" | 280 "$ref": "GoogleLongrunning__Operation" |
281 }, | 281 }, |
282 "scopes": [ | 282 "scopes": [ |
283 "https://www.googleapis.com/auth/cloud-platform" | 283 "https://www.googleapis.com/auth/cloud-platform" |
284 ] | 284 ] |
285 } | 285 } |
286 } | 286 } |
287 }, | 287 }, |
288 "models": { | 288 "models": { |
289 "methods": { | 289 "methods": { |
290 "list": { | 290 "create": { |
291 "description": "Lists the models in a project.\n\nEa
ch project can contain multiple models, and each model can have multiple\nversio
ns.", | 291 "description": "Creates a model which will later con
tain one or more versions.\n\nYou must add at least one version before you can r
equest predictions from\nthe model. Add versions by calling\n[projects.models.ve
rsions.create](/ml/reference/rest/v1beta1/projects.models.versions/create).", |
292 "httpMethod": "GET", | 292 "httpMethod": "POST", |
293 "id": "ml.projects.models.list", | 293 "id": "ml.projects.models.create", |
294 "parameterOrder": [ | 294 "parameterOrder": [ |
295 "parent" | 295 "parent" |
296 ], | 296 ], |
297 "parameters": { | 297 "parameters": { |
298 "pageToken": { | |
299 "description": "Optional. A page token to re
quest the next page of results.\n\nYou get the token from the `next_page_token`
field of the response from\nthe previous call.", | |
300 "location": "query", | |
301 "type": "string" | |
302 }, | |
303 "pageSize": { | |
304 "description": "Optional. The number of mode
ls to retrieve per \"page\" of results. If there\nare more remaining results tha
n this number, the response message will\ncontain a valid value in the `next_pag
e_token` field.\n\nThe default value is 20, and the maximum page size is 100.", | |
305 "format": "int32", | |
306 "location": "query", | |
307 "type": "integer" | |
308 }, | |
309 "parent": { | 298 "parent": { |
310 "description": "Required. The name of the pr
oject whose models are to be listed.\n\nAuthorization: requires `Viewer` role on
the specified project.", | 299 "description": "Required. The project name.\
n\nAuthorization: requires `Editor` role on the specified project.", |
311 "location": "path", | 300 "location": "path", |
312 "pattern": "^projects/[^/]+$", | 301 "pattern": "^projects/[^/]+$", |
313 "required": true, | 302 "required": true, |
314 "type": "string" | 303 "type": "string" |
315 } | 304 } |
316 }, | 305 }, |
317 "path": "v1beta1/{+parent}/models", | 306 "path": "v1beta1/{+parent}/models", |
| 307 "request": { |
| 308 "$ref": "GoogleCloudMlV1beta1__Model" |
| 309 }, |
318 "response": { | 310 "response": { |
319 "$ref": "GoogleCloudMlV1beta1__ListModelsRespons
e" | 311 "$ref": "GoogleCloudMlV1beta1__Model" |
320 }, | 312 }, |
321 "scopes": [ | 313 "scopes": [ |
322 "https://www.googleapis.com/auth/cloud-platform" | 314 "https://www.googleapis.com/auth/cloud-platform" |
323 ] | 315 ] |
324 }, | 316 }, |
325 "get": { | 317 "delete": { |
326 "description": "Gets information about a model, incl
uding its name, the description (if\nset), and the default version (if at least
one version of the model has\nbeen deployed).", | 318 "description": "Deletes a model.\n\nYou can only del
ete a model if there are no versions in it. You can delete\nversions by calling\
n[projects.models.versions.delete](/ml/reference/rest/v1beta1/projects.models.ve
rsions/delete).", |
327 "httpMethod": "GET", | 319 "httpMethod": "DELETE", |
328 "id": "ml.projects.models.get", | 320 "id": "ml.projects.models.delete", |
329 "parameterOrder": [ | 321 "parameterOrder": [ |
330 "name" | 322 "name" |
331 ], | 323 ], |
332 "parameters": { | 324 "parameters": { |
333 "name": { | 325 "name": { |
334 "description": "Required. The name of the mo
del.\n\nAuthorization: requires `Viewer` role on the parent project.", | 326 "description": "Required. The name of the mo
del.\n\nAuthorization: requires `Editor` role on the parent project.", |
335 "location": "path", | 327 "location": "path", |
336 "pattern": "^projects/[^/]+/models/[^/]+$", | 328 "pattern": "^projects/[^/]+/models/[^/]+$", |
337 "required": true, | 329 "required": true, |
338 "type": "string" | 330 "type": "string" |
339 } | 331 } |
340 }, | 332 }, |
341 "path": "v1beta1/{+name}", | 333 "path": "v1beta1/{+name}", |
342 "response": { | 334 "response": { |
343 "$ref": "GoogleCloudMlV1beta1__Model" | 335 "$ref": "GoogleLongrunning__Operation" |
344 }, | 336 }, |
345 "scopes": [ | 337 "scopes": [ |
346 "https://www.googleapis.com/auth/cloud-platform" | 338 "https://www.googleapis.com/auth/cloud-platform" |
347 ] | 339 ] |
348 }, | 340 }, |
349 "create": { | 341 "list": { |
350 "description": "Creates a model which will later con
tain one or more versions.\n\nYou must add at least one version before you can r
equest predictions from\nthe model. Add versions by calling\n[projects.models.ve
rsions.create](/ml/reference/rest/v1beta1/projects.models.versions/create).", | 342 "description": "Lists the models in a project.\n\nEa
ch project can contain multiple models, and each model can have multiple\nversio
ns.", |
351 "httpMethod": "POST", | 343 "httpMethod": "GET", |
352 "id": "ml.projects.models.create", | 344 "id": "ml.projects.models.list", |
353 "parameterOrder": [ | 345 "parameterOrder": [ |
354 "parent" | 346 "parent" |
355 ], | 347 ], |
356 "parameters": { | 348 "parameters": { |
357 "parent": { | 349 "parent": { |
358 "description": "Required. The project name.\
n\nAuthorization: requires `Editor` role on the specified project.", | 350 "description": "Required. The name of the pr
oject whose models are to be listed.\n\nAuthorization: requires `Viewer` role on
the specified project.", |
359 "location": "path", | 351 "location": "path", |
360 "pattern": "^projects/[^/]+$", | 352 "pattern": "^projects/[^/]+$", |
361 "required": true, | 353 "required": true, |
362 "type": "string" | 354 "type": "string" |
| 355 }, |
| 356 "pageToken": { |
| 357 "description": "Optional. A page token to re
quest the next page of results.\n\nYou get the token from the `next_page_token`
field of the response from\nthe previous call.", |
| 358 "location": "query", |
| 359 "type": "string" |
| 360 }, |
| 361 "pageSize": { |
| 362 "description": "Optional. The number of mode
ls to retrieve per \"page\" of results. If there\nare more remaining results tha
n this number, the response message will\ncontain a valid value in the `next_pag
e_token` field.\n\nThe default value is 20, and the maximum page size is 100.", |
| 363 "format": "int32", |
| 364 "location": "query", |
| 365 "type": "integer" |
363 } | 366 } |
364 }, | 367 }, |
365 "path": "v1beta1/{+parent}/models", | 368 "path": "v1beta1/{+parent}/models", |
366 "request": { | |
367 "$ref": "GoogleCloudMlV1beta1__Model" | |
368 }, | |
369 "response": { | 369 "response": { |
370 "$ref": "GoogleCloudMlV1beta1__Model" | 370 "$ref": "GoogleCloudMlV1beta1__ListModelsRespons
e" |
371 }, | 371 }, |
372 "scopes": [ | 372 "scopes": [ |
373 "https://www.googleapis.com/auth/cloud-platform" | 373 "https://www.googleapis.com/auth/cloud-platform" |
374 ] | 374 ] |
375 }, | 375 }, |
376 "delete": { | 376 "get": { |
377 "description": "Deletes a model.\n\nYou can only del
ete a model if there are no versions in it. You can delete\nversions by calling\
n[projects.models.versions.delete](/ml/reference/rest/v1beta1/projects.models.ve
rsions/delete).", | 377 "description": "Gets information about a model, incl
uding its name, the description (if\nset), and the default version (if at least
one version of the model has\nbeen deployed).", |
378 "httpMethod": "DELETE", | 378 "httpMethod": "GET", |
379 "id": "ml.projects.models.delete", | 379 "id": "ml.projects.models.get", |
380 "parameterOrder": [ | 380 "parameterOrder": [ |
381 "name" | 381 "name" |
382 ], | 382 ], |
383 "parameters": { | 383 "parameters": { |
384 "name": { | 384 "name": { |
385 "description": "Required. The name of the mo
del.\n\nAuthorization: requires `Editor` role on the parent project.", | 385 "description": "Required. The name of the mo
del.\n\nAuthorization: requires `Viewer` role on the parent project.", |
386 "location": "path", | 386 "location": "path", |
387 "pattern": "^projects/[^/]+/models/[^/]+$", | 387 "pattern": "^projects/[^/]+/models/[^/]+$", |
388 "required": true, | 388 "required": true, |
389 "type": "string" | 389 "type": "string" |
390 } | 390 } |
391 }, | 391 }, |
392 "path": "v1beta1/{+name}", | 392 "path": "v1beta1/{+name}", |
393 "response": { | 393 "response": { |
394 "$ref": "GoogleLongrunning__Operation" | 394 "$ref": "GoogleCloudMlV1beta1__Model" |
395 }, | 395 }, |
396 "scopes": [ | 396 "scopes": [ |
397 "https://www.googleapis.com/auth/cloud-platform" | 397 "https://www.googleapis.com/auth/cloud-platform" |
398 ] | 398 ] |
399 } | 399 } |
400 }, | 400 }, |
401 "resources": { | 401 "resources": { |
402 "versions": { | 402 "versions": { |
403 "methods": { | 403 "methods": { |
| 404 "create": { |
| 405 "description": "Creates a new version of a m
odel from a trained TensorFlow model.\n\nIf the version created in the cloud by
this call is the first deployed\nversion of the specified model, it will be made
the default version of the\nmodel. When you add a version to a model that alrea
dy has one or more\nversions, the default version does not automatically change.
If you want a\nnew version to be the default, you must call\n[projects.models.v
ersions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefau
lt).", |
| 406 "httpMethod": "POST", |
| 407 "id": "ml.projects.models.versions.create", |
| 408 "parameterOrder": [ |
| 409 "parent" |
| 410 ], |
| 411 "parameters": { |
| 412 "parent": { |
| 413 "description": "Required. The name o
f the model.\n\nAuthorization: requires `Editor` role on the parent project.", |
| 414 "location": "path", |
| 415 "pattern": "^projects/[^/]+/models/[
^/]+$", |
| 416 "required": true, |
| 417 "type": "string" |
| 418 } |
| 419 }, |
| 420 "path": "v1beta1/{+parent}/versions", |
| 421 "request": { |
| 422 "$ref": "GoogleCloudMlV1beta1__Version" |
| 423 }, |
| 424 "response": { |
| 425 "$ref": "GoogleLongrunning__Operation" |
| 426 }, |
| 427 "scopes": [ |
| 428 "https://www.googleapis.com/auth/cloud-p
latform" |
| 429 ] |
| 430 }, |
404 "setDefault": { | 431 "setDefault": { |
405 "description": "Designates a version to be t
he default for the model.\n\nThe default version is used for prediction requests
made against the model\nthat don't specify a version.\n\nThe first version to b
e created for a model is automatically set as the\ndefault. You must make any su
bsequent changes to the default version\nsetting manually using this method.", | 432 "description": "Designates a version to be t
he default for the model.\n\nThe default version is used for prediction requests
made against the model\nthat don't specify a version.\n\nThe first version to b
e created for a model is automatically set as the\ndefault. You must make any su
bsequent changes to the default version\nsetting manually using this method.", |
406 "httpMethod": "POST", | 433 "httpMethod": "POST", |
407 "id": "ml.projects.models.versions.setDefaul
t", | 434 "id": "ml.projects.models.versions.setDefaul
t", |
408 "parameterOrder": [ | 435 "parameterOrder": [ |
409 "name" | 436 "name" |
410 ], | 437 ], |
411 "parameters": { | 438 "parameters": { |
412 "name": { | 439 "name": { |
413 "description": "Required. The name o
f the version to make the default for the model. You\ncan get the names of all t
he versions of a model by calling\n[projects.models.versions.list](/ml/reference
/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor
` role on the parent project.", | 440 "description": "Required. The name o
f the version to make the default for the model. You\ncan get the names of all t
he versions of a model by calling\n[projects.models.versions.list](/ml/reference
/rest/v1beta1/projects.models.versions/list).\n\nAuthorization: requires `Editor
` role on the parent project.", |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 "type": "string" | 530 "type": "string" |
504 } | 531 } |
505 }, | 532 }, |
506 "path": "v1beta1/{+name}", | 533 "path": "v1beta1/{+name}", |
507 "response": { | 534 "response": { |
508 "$ref": "GoogleCloudMlV1beta1__Version" | 535 "$ref": "GoogleCloudMlV1beta1__Version" |
509 }, | 536 }, |
510 "scopes": [ | 537 "scopes": [ |
511 "https://www.googleapis.com/auth/cloud-p
latform" | 538 "https://www.googleapis.com/auth/cloud-p
latform" |
512 ] | 539 ] |
513 }, | |
514 "create": { | |
515 "description": "Creates a new version of a m
odel from a trained TensorFlow model.\n\nIf the version created in the cloud by
this call is the first deployed\nversion of the specified model, it will be made
the default version of the\nmodel. When you add a version to a model that alrea
dy has one or more\nversions, the default version does not automatically change.
If you want a\nnew version to be the default, you must call\n[projects.models.v
ersions.setDefault](/ml/reference/rest/v1beta1/projects.models.versions/setDefau
lt).", | |
516 "httpMethod": "POST", | |
517 "id": "ml.projects.models.versions.create", | |
518 "parameterOrder": [ | |
519 "parent" | |
520 ], | |
521 "parameters": { | |
522 "parent": { | |
523 "description": "Required. The name o
f the model.\n\nAuthorization: requires `Editor` role on the parent project.", | |
524 "location": "path", | |
525 "pattern": "^projects/[^/]+/models/[
^/]+$", | |
526 "required": true, | |
527 "type": "string" | |
528 } | |
529 }, | |
530 "path": "v1beta1/{+parent}/versions", | |
531 "request": { | |
532 "$ref": "GoogleCloudMlV1beta1__Version" | |
533 }, | |
534 "response": { | |
535 "$ref": "GoogleLongrunning__Operation" | |
536 }, | |
537 "scopes": [ | |
538 "https://www.googleapis.com/auth/cloud-p
latform" | |
539 ] | |
540 } | 540 } |
541 } | 541 } |
542 } | 542 } |
543 } | 543 } |
544 }, | 544 }, |
545 "jobs": { | 545 "jobs": { |
546 "methods": { | 546 "methods": { |
547 "cancel": { | 547 "cancel": { |
548 "description": "Cancels a running job.", | 548 "description": "Cancels a running job.", |
549 "httpMethod": "POST", | 549 "httpMethod": "POST", |
(...skipping 22 matching lines...) Expand all Loading... |
572 ] | 572 ] |
573 }, | 573 }, |
574 "list": { | 574 "list": { |
575 "description": "Lists the jobs in the project.", | 575 "description": "Lists the jobs in the project.", |
576 "httpMethod": "GET", | 576 "httpMethod": "GET", |
577 "id": "ml.projects.jobs.list", | 577 "id": "ml.projects.jobs.list", |
578 "parameterOrder": [ | 578 "parameterOrder": [ |
579 "parent" | 579 "parent" |
580 ], | 580 ], |
581 "parameters": { | 581 "parameters": { |
| 582 "pageToken": { |
| 583 "description": "Optional. A page token to re
quest the next page of results.\n\nYou get the token from the `next_page_token`
field of the response from\nthe previous call.", |
| 584 "location": "query", |
| 585 "type": "string" |
| 586 }, |
| 587 "pageSize": { |
| 588 "description": "Optional. The number of jobs
to retrieve per \"page\" of results. If there\nare more remaining results than
this number, the response message will\ncontain a valid value in the `next_page_
token` field.\n\nThe default value is 20, and the maximum page size is 100.", |
| 589 "format": "int32", |
| 590 "location": "query", |
| 591 "type": "integer" |
| 592 }, |
582 "parent": { | 593 "parent": { |
583 "description": "Required. The name of the pr
oject for which to list jobs.\n\nAuthorization: requires `Viewer` role on the sp
ecified project.", | 594 "description": "Required. The name of the pr
oject for which to list jobs.\n\nAuthorization: requires `Viewer` role on the sp
ecified project.", |
584 "location": "path", | 595 "location": "path", |
585 "pattern": "^projects/[^/]+$", | 596 "pattern": "^projects/[^/]+$", |
586 "required": true, | 597 "required": true, |
587 "type": "string" | 598 "type": "string" |
588 }, | 599 }, |
589 "filter": { | 600 "filter": { |
590 "description": "Optional. Specifies the subs
et of jobs to retrieve.", | 601 "description": "Optional. Specifies the subs
et of jobs to retrieve.", |
591 "location": "query", | 602 "location": "query", |
592 "type": "string" | 603 "type": "string" |
593 }, | |
594 "pageToken": { | |
595 "description": "Optional. A page token to re
quest the next page of results.\n\nYou get the token from the `next_page_token`
field of the response from\nthe previous call.", | |
596 "location": "query", | |
597 "type": "string" | |
598 }, | |
599 "pageSize": { | |
600 "description": "Optional. The number of jobs
to retrieve per \"page\" of results. If there\nare more remaining results than
this number, the response message will\ncontain a valid value in the `next_page_
token` field.\n\nThe default value is 20, and the maximum page size is 100.", | |
601 "format": "int32", | |
602 "location": "query", | |
603 "type": "integer" | |
604 } | 604 } |
605 }, | 605 }, |
606 "path": "v1beta1/{+parent}/jobs", | 606 "path": "v1beta1/{+parent}/jobs", |
607 "response": { | 607 "response": { |
608 "$ref": "GoogleCloudMlV1beta1__ListJobsResponse" | 608 "$ref": "GoogleCloudMlV1beta1__ListJobsResponse" |
609 }, | 609 }, |
610 "scopes": [ | 610 "scopes": [ |
611 "https://www.googleapis.com/auth/cloud-platform" | 611 "https://www.googleapis.com/auth/cloud-platform" |
612 ] | 612 ] |
613 }, | 613 }, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 }, | 660 }, |
661 "scopes": [ | 661 "scopes": [ |
662 "https://www.googleapis.com/auth/cloud-platform" | 662 "https://www.googleapis.com/auth/cloud-platform" |
663 ] | 663 ] |
664 } | 664 } |
665 } | 665 } |
666 } | 666 } |
667 } | 667 } |
668 } | 668 } |
669 }, | 669 }, |
670 "revision": "20170210", | 670 "revision": "20170304", |
671 "rootUrl": "https://ml.googleapis.com/", | 671 "rootUrl": "https://ml.googleapis.com/", |
672 "schemas": { | 672 "schemas": { |
673 "GoogleCloudMlV1beta1__SetDefaultVersionRequest": { | |
674 "description": "Request message for the SetDefaultVersion request.", | |
675 "id": "GoogleCloudMlV1beta1__SetDefaultVersionRequest", | |
676 "properties": {}, | |
677 "type": "object" | |
678 }, | |
679 "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric": { | |
680 "description": "An observed value of a metric.", | |
681 "id": "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetri
c", | |
682 "properties": { | |
683 "trainingStep": { | |
684 "description": "The global training step for this metric.", | |
685 "format": "int64", | |
686 "type": "string" | |
687 }, | |
688 "objectiveValue": { | |
689 "description": "The objective value at this training step.", | |
690 "format": "double", | |
691 "type": "number" | |
692 } | |
693 }, | |
694 "type": "object" | |
695 }, | |
696 "GoogleCloudMlV1beta1__ParameterSpec": { | |
697 "description": "Represents a single hyperparameter to optimize.", | |
698 "id": "GoogleCloudMlV1beta1__ParameterSpec", | |
699 "properties": { | |
700 "minValue": { | |
701 "description": "Required if type is `DOUBLE` or `INTEGER`. T
his field\nshould be unset if type is `CATEGORICAL`. This value should be intege
rs if\ntype is INTEGER.", | |
702 "format": "double", | |
703 "type": "number" | |
704 }, | |
705 "discreteValues": { | |
706 "description": "Required if type is `DISCRETE`.\nA list of f
easible points.\nThe list should be in strictly increasing order. For instance,
this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nsh
ould not contain more than 1,000 values.", | |
707 "items": { | |
708 "format": "double", | |
709 "type": "number" | |
710 }, | |
711 "type": "array" | |
712 }, | |
713 "maxValue": { | |
714 "description": "Required if typeis `DOUBLE` or `INTEGER`. Th
is field\nshould be unset if type is `CATEGORICAL`. This value should be integer
s if\ntype is `INTEGER`.", | |
715 "format": "double", | |
716 "type": "number" | |
717 }, | |
718 "scaleType": { | |
719 "description": "Optional. How the parameter should be scaled
to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scalin
g is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_S
CALE`).", | |
720 "enum": [ | |
721 "NONE", | |
722 "UNIT_LINEAR_SCALE", | |
723 "UNIT_LOG_SCALE", | |
724 "UNIT_REVERSE_LOG_SCALE" | |
725 ], | |
726 "enumDescriptions": [ | |
727 "By default, no scaling is applied.", | |
728 "Scales the feasible space to (0, 1) linearly.", | |
729 "Scales the feasible space logarithmically to (0, 1). Th
e entire feasible\nspace must be strictly positive.", | |
730 "Scales the feasible space \"reverse\" logarithmically t
o (0, 1). The result\nis that values close to the top of the feasible space are
spread out more\nthan points near the bottom. The entire feasible space must be
strictly\npositive." | |
731 ], | |
732 "type": "string" | |
733 }, | |
734 "type": { | |
735 "description": "Required. The type of the parameter.", | |
736 "enum": [ | |
737 "PARAMETER_TYPE_UNSPECIFIED", | |
738 "DOUBLE", | |
739 "INTEGER", | |
740 "CATEGORICAL", | |
741 "DISCRETE" | |
742 ], | |
743 "enumDescriptions": [ | |
744 "You must specify a valid type. Using this unspecified t
ype will result in\nan error.", | |
745 "Type for real-valued parameters.", | |
746 "Type for integral parameters.", | |
747 "The parameter is categorical, with a value chosen from
the categories\nfield.", | |
748 "The parameter is real valued, with a fixed set of feasi
ble points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_v
alue`, `max_value`} will be ignored." | |
749 ], | |
750 "type": "string" | |
751 }, | |
752 "parameterName": { | |
753 "description": "Required. The parameter name must be unique
amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_
rate\".", | |
754 "type": "string" | |
755 }, | |
756 "categoricalValues": { | |
757 "description": "Required if type is `CATEGORICAL`. The list
of possible categories.", | |
758 "items": { | |
759 "type": "string" | |
760 }, | |
761 "type": "array" | |
762 } | |
763 }, | |
764 "type": "object" | |
765 }, | |
766 "GoogleCloudMlV1beta1__PredictionOutput": { | 673 "GoogleCloudMlV1beta1__PredictionOutput": { |
767 "description": "Represents results of a prediction job.", | 674 "description": "Represents results of a prediction job.", |
768 "id": "GoogleCloudMlV1beta1__PredictionOutput", | 675 "id": "GoogleCloudMlV1beta1__PredictionOutput", |
769 "properties": { | 676 "properties": { |
770 "errorCount": { | 677 "errorCount": { |
771 "description": "The number of data instances which resulted
in errors.", | 678 "description": "The number of data instances which resulted
in errors.", |
772 "format": "int64", | 679 "format": "int64", |
773 "type": "string" | 680 "type": "string" |
774 }, | 681 }, |
775 "outputPath": { | 682 "outputPath": { |
(...skipping 10 matching lines...) Expand all Loading... |
786 "format": "int64", | 693 "format": "int64", |
787 "type": "string" | 694 "type": "string" |
788 } | 695 } |
789 }, | 696 }, |
790 "type": "object" | 697 "type": "object" |
791 }, | 698 }, |
792 "GoogleCloudMlV1beta1__TrainingOutput": { | 699 "GoogleCloudMlV1beta1__TrainingOutput": { |
793 "description": "Represents results of a training job. Output only.", | 700 "description": "Represents results of a training job. Output only.", |
794 "id": "GoogleCloudMlV1beta1__TrainingOutput", | 701 "id": "GoogleCloudMlV1beta1__TrainingOutput", |
795 "properties": { | 702 "properties": { |
| 703 "completedTrialCount": { |
| 704 "description": "The number of hyperparameter tuning trials t
hat completed successfully.\nOnly set for hyperparameter tuning jobs.", |
| 705 "format": "int64", |
| 706 "type": "string" |
| 707 }, |
796 "isHyperparameterTuningJob": { | 708 "isHyperparameterTuningJob": { |
797 "description": "Whether this job is a hyperparameter tuning
job.", | 709 "description": "Whether this job is a hyperparameter tuning
job.", |
798 "type": "boolean" | 710 "type": "boolean" |
799 }, | 711 }, |
800 "consumedMLUnits": { | 712 "consumedMLUnits": { |
801 "description": "The amount of ML units consumed by the job."
, | 713 "description": "The amount of ML units consumed by the job."
, |
802 "format": "double", | 714 "format": "double", |
803 "type": "number" | 715 "type": "number" |
804 }, | 716 }, |
805 "trials": { | 717 "trials": { |
806 "description": "Results for individual Hyperparameter trials
.\nOnly set for hyperparameter tuning jobs.", | 718 "description": "Results for individual Hyperparameter trials
.\nOnly set for hyperparameter tuning jobs.", |
807 "items": { | 719 "items": { |
808 "$ref": "GoogleCloudMlV1beta1__HyperparameterOutput" | 720 "$ref": "GoogleCloudMlV1beta1__HyperparameterOutput" |
809 }, | 721 }, |
810 "type": "array" | 722 "type": "array" |
811 }, | |
812 "completedTrialCount": { | |
813 "description": "The number of hyperparameter tuning trials t
hat completed successfully.\nOnly set for hyperparameter tuning jobs.", | |
814 "format": "int64", | |
815 "type": "string" | |
816 } | 723 } |
817 }, | 724 }, |
818 "type": "object" | 725 "type": "object" |
819 }, | 726 }, |
820 "GoogleCloudMlV1__Version": { | 727 "GoogleCloudMlV1__Version": { |
821 "description": "Represents a version of the model.\n\nEach version i
s a trained model deployed in the cloud, ready to handle\nprediction requests. A
model can have multiple versions. You can get\ninformation about all of the ver
sions of a given model by calling\n[projects.models.versions.list](/ml/reference
/rest/v1/projects.models.versions/list).", | 728 "description": "Represents a version of the model.\n\nEach version i
s a trained model deployed in the cloud, ready to handle\nprediction requests. A
model can have multiple versions. You can get\ninformation about all of the ver
sions of a given model by calling\n[projects.models.versions.list](/ml/reference
/rest/v1/projects.models.versions/list).", |
822 "id": "GoogleCloudMlV1__Version", | 729 "id": "GoogleCloudMlV1__Version", |
823 "properties": { | 730 "properties": { |
| 731 "runtimeVersion": { |
| 732 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", |
| 733 "type": "string" |
| 734 }, |
| 735 "lastUseTime": { |
| 736 "description": "Output only. The time the version was last u
sed for prediction.", |
| 737 "format": "google-datetime", |
| 738 "type": "string" |
| 739 }, |
824 "description": { | 740 "description": { |
825 "description": "Optional. The description specified for the
version when it was created.", | 741 "description": "Optional. The description specified for the
version when it was created.", |
826 "type": "string" | 742 "type": "string" |
827 }, | 743 }, |
828 "deploymentUri": { | 744 "deploymentUri": { |
829 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model de
ployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen
passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1/proj
ects.models.versions/create)\nthe model service uses the specified location as t
he source of the model.\nOnce deployed, the model version is hosted by the predi
ction service, so\nthis location is useful only as a historical record.", | 745 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model de
ployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen
passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1/proj
ects.models.versions/create)\nthe model service uses the specified location as t
he source of the model.\nOnce deployed, the model version is hosted by the predi
ction service, so\nthis location is useful only as a historical record.", |
830 "type": "string" | 746 "type": "string" |
831 }, | 747 }, |
832 "isDefault": { | 748 "isDefault": { |
833 "description": "Output only. If true, this version will be u
sed to handle prediction\nrequests that do not specify a version.\n\nYou can cha
nge the default version by calling\n[projects.methods.versions.setDefault](/ml/r
eference/rest/v1/projects.models.versions/setDefault).", | 749 "description": "Output only. If true, this version will be u
sed to handle prediction\nrequests that do not specify a version.\n\nYou can cha
nge the default version by calling\n[projects.methods.versions.setDefault](/ml/r
eference/rest/v1/projects.models.versions/setDefault).", |
834 "type": "boolean" | 750 "type": "boolean" |
835 }, | 751 }, |
836 "createTime": { | 752 "createTime": { |
837 "description": "Output only. The time the version was create
d.", | 753 "description": "Output only. The time the version was create
d.", |
838 "format": "google-datetime", | 754 "format": "google-datetime", |
839 "type": "string" | 755 "type": "string" |
840 }, | 756 }, |
| 757 "manualScaling": { |
| 758 "$ref": "GoogleCloudMlV1__ManualScaling", |
| 759 "description": "Optional. Manually select the number of node
s to use for serving the\nmodel. If unset (i.e., by default), the number of node
s used to serve\nthe model automatically scales with traffic. However, care shou
ld be\ntaken to ramp up traffic according to the model's ability to scale. If\ny
our model needs to handle bursts of traffic beyond it's ability to\nscale, it is
recommended you set this field appropriately." |
| 760 }, |
841 "name": { | 761 "name": { |
842 "description": "Required.The name specified for the version
when it was created.\n\nThe version name must be unique within the model it is c
reated in.", | 762 "description": "Required.The name specified for the version
when it was created.\n\nThe version name must be unique within the model it is c
reated in.", |
843 "type": "string" | 763 "type": "string" |
844 }, | |
845 "runtimeVersion": { | |
846 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", | |
847 "type": "string" | |
848 }, | |
849 "lastUseTime": { | |
850 "description": "Output only. The time the version was last u
sed for prediction.", | |
851 "format": "google-datetime", | |
852 "type": "string" | |
853 } | 764 } |
854 }, | 765 }, |
855 "type": "object" | 766 "type": "object" |
856 }, | 767 }, |
857 "GoogleCloudMlV1beta1__HyperparameterSpec": { | 768 "GoogleCloudMlV1beta1__HyperparameterSpec": { |
858 "description": "Represents a set of hyperparameters to optimize.", | 769 "description": "Represents a set of hyperparameters to optimize.", |
859 "id": "GoogleCloudMlV1beta1__HyperparameterSpec", | 770 "id": "GoogleCloudMlV1beta1__HyperparameterSpec", |
860 "properties": { | 771 "properties": { |
861 "params": { | |
862 "description": "Required. The set of parameters to tune.", | |
863 "items": { | |
864 "$ref": "GoogleCloudMlV1beta1__ParameterSpec" | |
865 }, | |
866 "type": "array" | |
867 }, | |
868 "maxTrials": { | |
869 "description": "Optional. How many training trials should be
attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.", | |
870 "format": "int32", | |
871 "type": "integer" | |
872 }, | |
873 "maxParallelTrials": { | 772 "maxParallelTrials": { |
874 "description": "Optional. The number of training trials to r
un concurrently.\nYou can reduce the time it takes to perform hyperparameter tun
ing by adding\ntrials in parallel. However, each trail only benefits from the in
formation\ngained in completed trials. That means that a trial does not get acce
ss to\nthe results of trials running at the same time, which could reduce the\nq
uality of the overall optimization.\n\nEach trial will use the same scale tier a
nd machine types.\n\nDefaults to one.", | 773 "description": "Optional. The number of training trials to r
un concurrently.\nYou can reduce the time it takes to perform hyperparameter tun
ing by adding\ntrials in parallel. However, each trail only benefits from the in
formation\ngained in completed trials. That means that a trial does not get acce
ss to\nthe results of trials running at the same time, which could reduce the\nq
uality of the overall optimization.\n\nEach trial will use the same scale tier a
nd machine types.\n\nDefaults to one.", |
875 "format": "int32", | 774 "format": "int32", |
876 "type": "integer" | 775 "type": "integer" |
877 }, | 776 }, |
878 "goal": { | 777 "goal": { |
879 "description": "Required. The type of goal to use for tuning
. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", | 778 "description": "Required. The type of goal to use for tuning
. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", |
880 "enum": [ | 779 "enum": [ |
881 "GOAL_TYPE_UNSPECIFIED", | 780 "GOAL_TYPE_UNSPECIFIED", |
882 "MAXIMIZE", | 781 "MAXIMIZE", |
883 "MINIMIZE" | 782 "MINIMIZE" |
884 ], | 783 ], |
885 "enumDescriptions": [ | 784 "enumDescriptions": [ |
886 "Goal Type will default to maximize.", | 785 "Goal Type will default to maximize.", |
887 "Maximize the goal metric.", | 786 "Maximize the goal metric.", |
888 "Minimize the goal metric." | 787 "Minimize the goal metric." |
889 ], | 788 ], |
890 "type": "string" | 789 "type": "string" |
891 }, | 790 }, |
892 "hyperparameterMetricTag": { | 791 "hyperparameterMetricTag": { |
893 "description": "Optional. The Tensorflow summary tag name to
use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name s
hould exactly match what is\nshown in Tensorboard, including all scopes. For ve
rsions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Su
mmary.\nBy default, \"training/hptuning/metric\" will be used.", | 792 "description": "Optional. The Tensorflow summary tag name to
use for optimizing trials. For\ncurrent versions of Tensorflow, this tag name s
hould exactly match what is\nshown in Tensorboard, including all scopes. For ve
rsions of Tensorflow\nprior to 0.12, this should be only the tag passed to tf.Su
mmary.\nBy default, \"training/hptuning/metric\" will be used.", |
894 "type": "string" | 793 "type": "string" |
| 794 }, |
| 795 "params": { |
| 796 "description": "Required. The set of parameters to tune.", |
| 797 "items": { |
| 798 "$ref": "GoogleCloudMlV1beta1__ParameterSpec" |
| 799 }, |
| 800 "type": "array" |
| 801 }, |
| 802 "maxTrials": { |
| 803 "description": "Optional. How many training trials should be
attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.", |
| 804 "format": "int32", |
| 805 "type": "integer" |
895 } | 806 } |
896 }, | 807 }, |
897 "type": "object" | 808 "type": "object" |
898 }, | 809 }, |
899 "GoogleCloudMlV1beta1__OperationMetadata": { | 810 "GoogleCloudMlV1__OperationMetadata": { |
900 "description": "Represents the metadata of the long-running operatio
n.", | 811 "description": "Represents the metadata of the long-running operatio
n.", |
901 "id": "GoogleCloudMlV1beta1__OperationMetadata", | 812 "id": "GoogleCloudMlV1__OperationMetadata", |
902 "properties": { | 813 "properties": { |
903 "startTime": { | |
904 "description": "The time operation processing started.", | |
905 "format": "google-datetime", | |
906 "type": "string" | |
907 }, | |
908 "isCancellationRequested": { | |
909 "description": "Indicates whether a request to cancel this o
peration has been made.", | |
910 "type": "boolean" | |
911 }, | |
912 "createTime": { | |
913 "description": "The time the operation was submitted.", | |
914 "format": "google-datetime", | |
915 "type": "string" | |
916 }, | |
917 "modelName": { | 814 "modelName": { |
918 "description": "Contains the name of the model associated wi
th the operation.", | 815 "description": "Contains the name of the model associated wi
th the operation.", |
919 "type": "string" | 816 "type": "string" |
920 }, | 817 }, |
921 "version": { | 818 "version": { |
922 "$ref": "GoogleCloudMlV1beta1__Version", | 819 "$ref": "GoogleCloudMlV1__Version", |
923 "description": "Contains the version associated with the ope
ration." | 820 "description": "Contains the version associated with the ope
ration." |
924 }, | 821 }, |
925 "endTime": { | 822 "endTime": { |
926 "description": "The time operation processing completed.", | 823 "description": "The time operation processing completed.", |
927 "format": "google-datetime", | 824 "format": "google-datetime", |
928 "type": "string" | 825 "type": "string" |
929 }, | 826 }, |
930 "operationType": { | 827 "operationType": { |
931 "description": "The operation type.", | 828 "description": "The operation type.", |
932 "enum": [ | 829 "enum": [ |
933 "OPERATION_TYPE_UNSPECIFIED", | 830 "OPERATION_TYPE_UNSPECIFIED", |
934 "CREATE_VERSION", | 831 "CREATE_VERSION", |
935 "DELETE_VERSION", | 832 "DELETE_VERSION", |
936 "DELETE_MODEL" | 833 "DELETE_MODEL" |
937 ], | 834 ], |
938 "enumDescriptions": [ | 835 "enumDescriptions": [ |
939 "Unspecified operation type.", | 836 "Unspecified operation type.", |
940 "An operation to create a new version.", | 837 "An operation to create a new version.", |
941 "An operation to delete an existing version.", | 838 "An operation to delete an existing version.", |
942 "An operation to delete an existing model." | 839 "An operation to delete an existing model." |
943 ], | 840 ], |
944 "type": "string" | 841 "type": "string" |
| 842 }, |
| 843 "startTime": { |
| 844 "description": "The time operation processing started.", |
| 845 "format": "google-datetime", |
| 846 "type": "string" |
| 847 }, |
| 848 "isCancellationRequested": { |
| 849 "description": "Indicates whether a request to cancel this o
peration has been made.", |
| 850 "type": "boolean" |
| 851 }, |
| 852 "createTime": { |
| 853 "description": "The time the operation was submitted.", |
| 854 "format": "google-datetime", |
| 855 "type": "string" |
945 } | 856 } |
946 }, | 857 }, |
947 "type": "object" | 858 "type": "object" |
948 }, | 859 }, |
949 "GoogleCloudMlV1__OperationMetadata": { | 860 "GoogleCloudMlV1beta1__OperationMetadata": { |
950 "description": "Represents the metadata of the long-running operatio
n.", | 861 "description": "Represents the metadata of the long-running operatio
n.", |
951 "id": "GoogleCloudMlV1__OperationMetadata", | 862 "id": "GoogleCloudMlV1beta1__OperationMetadata", |
952 "properties": { | 863 "properties": { |
| 864 "isCancellationRequested": { |
| 865 "description": "Indicates whether a request to cancel this o
peration has been made.", |
| 866 "type": "boolean" |
| 867 }, |
| 868 "createTime": { |
| 869 "description": "The time the operation was submitted.", |
| 870 "format": "google-datetime", |
| 871 "type": "string" |
| 872 }, |
| 873 "modelName": { |
| 874 "description": "Contains the name of the model associated wi
th the operation.", |
| 875 "type": "string" |
| 876 }, |
| 877 "version": { |
| 878 "$ref": "GoogleCloudMlV1beta1__Version", |
| 879 "description": "Contains the version associated with the ope
ration." |
| 880 }, |
953 "endTime": { | 881 "endTime": { |
954 "description": "The time operation processing completed.", | 882 "description": "The time operation processing completed.", |
955 "format": "google-datetime", | 883 "format": "google-datetime", |
956 "type": "string" | 884 "type": "string" |
957 }, | 885 }, |
958 "operationType": { | 886 "operationType": { |
959 "description": "The operation type.", | 887 "description": "The operation type.", |
960 "enum": [ | 888 "enum": [ |
961 "OPERATION_TYPE_UNSPECIFIED", | 889 "OPERATION_TYPE_UNSPECIFIED", |
962 "CREATE_VERSION", | 890 "CREATE_VERSION", |
963 "DELETE_VERSION", | 891 "DELETE_VERSION", |
964 "DELETE_MODEL" | 892 "DELETE_MODEL" |
965 ], | 893 ], |
966 "enumDescriptions": [ | 894 "enumDescriptions": [ |
967 "Unspecified operation type.", | 895 "Unspecified operation type.", |
968 "An operation to create a new version.", | 896 "An operation to create a new version.", |
969 "An operation to delete an existing version.", | 897 "An operation to delete an existing version.", |
970 "An operation to delete an existing model." | 898 "An operation to delete an existing model." |
971 ], | 899 ], |
972 "type": "string" | 900 "type": "string" |
973 }, | 901 }, |
974 "startTime": { | 902 "startTime": { |
975 "description": "The time operation processing started.", | 903 "description": "The time operation processing started.", |
976 "format": "google-datetime", | 904 "format": "google-datetime", |
977 "type": "string" | 905 "type": "string" |
978 }, | |
979 "isCancellationRequested": { | |
980 "description": "Indicates whether a request to cancel this o
peration has been made.", | |
981 "type": "boolean" | |
982 }, | |
983 "createTime": { | |
984 "description": "The time the operation was submitted.", | |
985 "format": "google-datetime", | |
986 "type": "string" | |
987 }, | |
988 "modelName": { | |
989 "description": "Contains the name of the model associated wi
th the operation.", | |
990 "type": "string" | |
991 }, | |
992 "version": { | |
993 "$ref": "GoogleCloudMlV1__Version", | |
994 "description": "Contains the version associated with the ope
ration." | |
995 } | 906 } |
996 }, | 907 }, |
997 "type": "object" | 908 "type": "object" |
998 }, | 909 }, |
999 "GoogleCloudMlV1beta1__ListModelsResponse": { | 910 "GoogleCloudMlV1beta1__ListModelsResponse": { |
1000 "description": "Response message for the ListModels method.", | 911 "description": "Response message for the ListModels method.", |
1001 "id": "GoogleCloudMlV1beta1__ListModelsResponse", | 912 "id": "GoogleCloudMlV1beta1__ListModelsResponse", |
1002 "properties": { | 913 "properties": { |
| 914 "nextPageToken": { |
| 915 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", |
| 916 "type": "string" |
| 917 }, |
1003 "models": { | 918 "models": { |
1004 "description": "The list of models.", | 919 "description": "The list of models.", |
1005 "items": { | 920 "items": { |
1006 "$ref": "GoogleCloudMlV1beta1__Model" | 921 "$ref": "GoogleCloudMlV1beta1__Model" |
1007 }, | 922 }, |
1008 "type": "array" | 923 "type": "array" |
1009 }, | |
1010 "nextPageToken": { | |
1011 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", | |
1012 "type": "string" | |
1013 } | 924 } |
1014 }, | 925 }, |
1015 "type": "object" | 926 "type": "object" |
1016 }, | 927 }, |
1017 "GoogleLongrunning__Operation": { | 928 "GoogleLongrunning__Operation": { |
1018 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 929 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
1019 "id": "GoogleLongrunning__Operation", | 930 "id": "GoogleLongrunning__Operation", |
1020 "properties": { | 931 "properties": { |
| 932 "done": { |
| 933 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", |
| 934 "type": "boolean" |
| 935 }, |
| 936 "response": { |
| 937 "additionalProperties": { |
| 938 "description": "Properties of the object. Contains field
@type with type URL.", |
| 939 "type": "any" |
| 940 }, |
| 941 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
| 942 "type": "object" |
| 943 }, |
1021 "name": { | 944 "name": { |
1022 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", | 945 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", |
1023 "type": "string" | 946 "type": "string" |
1024 }, | 947 }, |
1025 "error": { | 948 "error": { |
1026 "$ref": "GoogleRpc__Status", | 949 "$ref": "GoogleRpc__Status", |
1027 "description": "The error result of the operation in case of
failure or cancellation." | 950 "description": "The error result of the operation in case of
failure or cancellation." |
1028 }, | 951 }, |
1029 "metadata": { | 952 "metadata": { |
1030 "additionalProperties": { | 953 "additionalProperties": { |
1031 "description": "Properties of the object. Contains field
@type with type URL.", | 954 "description": "Properties of the object. Contains field
@type with type URL.", |
1032 "type": "any" | 955 "type": "any" |
1033 }, | 956 }, |
1034 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", | 957 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", |
1035 "type": "object" | 958 "type": "object" |
1036 }, | |
1037 "done": { | |
1038 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", | |
1039 "type": "boolean" | |
1040 }, | |
1041 "response": { | |
1042 "additionalProperties": { | |
1043 "description": "Properties of the object. Contains field
@type with type URL.", | |
1044 "type": "any" | |
1045 }, | |
1046 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | |
1047 "type": "object" | |
1048 } | 959 } |
1049 }, | 960 }, |
1050 "type": "object" | 961 "type": "object" |
1051 }, | 962 }, |
1052 "GoogleCloudMlV1beta1__HyperparameterOutput": { | 963 "GoogleCloudMlV1beta1__HyperparameterOutput": { |
1053 "description": "Represents the result of a single hyperparameter tun
ing trial from a\ntraining job. The TrainingOutput object that is returned on su
ccessful\ncompletion of a training job with hyperparameter tuning includes a lis
t\nof HyperparameterOutput objects, one for each successful trial.", | 964 "description": "Represents the result of a single hyperparameter tun
ing trial from a\ntraining job. The TrainingOutput object that is returned on su
ccessful\ncompletion of a training job with hyperparameter tuning includes a lis
t\nof HyperparameterOutput objects, one for each successful trial.", |
1054 "id": "GoogleCloudMlV1beta1__HyperparameterOutput", | 965 "id": "GoogleCloudMlV1beta1__HyperparameterOutput", |
1055 "properties": { | 966 "properties": { |
1056 "allMetrics": { | |
1057 "description": "All recorded object metrics for this trial."
, | |
1058 "items": { | |
1059 "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_Hyper
parameterMetric" | |
1060 }, | |
1061 "type": "array" | |
1062 }, | |
1063 "finalMetric": { | 967 "finalMetric": { |
1064 "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_Hyperpara
meterMetric", | 968 "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_Hyperpara
meterMetric", |
1065 "description": "The final objective metric seen for this tri
al." | 969 "description": "The final objective metric seen for this tri
al." |
1066 }, | 970 }, |
1067 "hyperparameters": { | 971 "hyperparameters": { |
1068 "additionalProperties": { | 972 "additionalProperties": { |
1069 "type": "string" | 973 "type": "string" |
1070 }, | 974 }, |
1071 "description": "The hyperparameters given to this trial.", | 975 "description": "The hyperparameters given to this trial.", |
1072 "type": "object" | 976 "type": "object" |
1073 }, | 977 }, |
1074 "trialId": { | 978 "trialId": { |
1075 "description": "The trial id for these results.", | 979 "description": "The trial id for these results.", |
1076 "type": "string" | 980 "type": "string" |
| 981 }, |
| 982 "allMetrics": { |
| 983 "description": "All recorded object metrics for this trial."
, |
| 984 "items": { |
| 985 "$ref": "GoogleCloudMlV1beta1_HyperparameterOutput_Hyper
parameterMetric" |
| 986 }, |
| 987 "type": "array" |
1077 } | 988 } |
1078 }, | 989 }, |
1079 "type": "object" | 990 "type": "object" |
1080 }, | 991 }, |
1081 "GoogleProtobuf__Empty": { | 992 "GoogleProtobuf__Empty": { |
1082 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 993 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
1083 "id": "GoogleProtobuf__Empty", | 994 "id": "GoogleProtobuf__Empty", |
1084 "properties": {}, | 995 "properties": {}, |
1085 "type": "object" | 996 "type": "object" |
1086 }, | 997 }, |
| 998 "GoogleCloudMlV1beta1__ManualScaling": { |
| 999 "description": "Options for manually scaling a model.", |
| 1000 "id": "GoogleCloudMlV1beta1__ManualScaling", |
| 1001 "properties": { |
| 1002 "nodes": { |
| 1003 "description": "The number of nodes to allocate for this mod
el. These nodes are always up,\nstarting from the time the model is deployed, so
the cost of operating\nthis model will be proportional to nodes * number of hou
rs since\ndeployment.", |
| 1004 "format": "int32", |
| 1005 "type": "integer" |
| 1006 } |
| 1007 }, |
| 1008 "type": "object" |
| 1009 }, |
1087 "GoogleRpc__Status": { | 1010 "GoogleRpc__Status": { |
1088 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", | 1011 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
1089 "id": "GoogleRpc__Status", | 1012 "id": "GoogleRpc__Status", |
1090 "properties": { | 1013 "properties": { |
1091 "details": { | 1014 "details": { |
1092 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 1015 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
1093 "items": { | 1016 "items": { |
1094 "additionalProperties": { | 1017 "additionalProperties": { |
1095 "description": "Properties of the object. Contains f
ield @type with type URL.", | 1018 "description": "Properties of the object. Contains f
ield @type with type URL.", |
1096 "type": "any" | 1019 "type": "any" |
(...skipping 18 matching lines...) Expand all Loading... |
1115 "description": "Request for predictions to be issued against a train
ed model.\n\nThe body of the request is a single JSON object with a single top-l
evel\nfield:\n\n<dl>\n <dt>instances</dt>\n <dd>A JSON array containing values
representing the instances to use for\n prediction.</dd>\n</dl>\n\nThe str
ucture of each element of the instances list is determined by your\nmodel's inpu
t definition. Instances can include named inputs or can contain\nonly unlabeled
values.\n\nNot all data includes named inputs. Some instances will be simple\nJS
ON values (boolean, number, or string). However, instances are often lists\nof s
imple values, or complex nested lists. Here are some examples of request\nbodies
:\n\nCSV data with each row encoded as a string value:\n<pre>\n{\"instances\": [
\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n</pre>\nPlain text:\
n<pre>\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n</pre>\
nSentences encoded as lists of words (vectors of strings):\n<pre>\n{\n \"instan
ces\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n
...\n ]\n}\n</pre>\nFloating point scalar values:\n<pre>\n{\"instances\": [0.
0, 1.1, 2.2]}\n</pre>\nVectors of integers:\n<pre>\n{\n \"instances\": [\n [
0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n</pre>\nTensors (in this case, two-d
imensional tensors):\n<pre>\n{\n \"instances\": [\n [\n [0, 1, 2],\n
[3, 4, 5]\n ],\n ...\n ]\n}\n</pre>\nImages can be represented differe
nt ways. In this encoding scheme the first\ntwo dimensions represent the rows an
d columns of the image, and the third\ncontains lists (vectors) of the R, G, and
B values for each pixel.\n<pre>\n{\n \"instances\": [\n [\n [\n
[138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n
[126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]
,\n ...\n ]\n}\n</pre>\nJSON strings must be encoded as UTF-8. To send binar
y data, you must\nbase64-encode the data and mark it as binary. To mark a JSON s
tring\nas binary, replace it with a JSON object with a single attribute named `b
64`:\n<pre>{\"b64\": \"...\"} </pre>\nFor example:\n\nTwo Serialized tf.Examples
(fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\":
\"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n</pre>\nTwo JPEG image byte strings (fak
e data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"AS
a8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n</pre>\nIf your data includes named refere
nces, format each instance as a JSON object\nwith the named references as the ke
ys:\n\nJSON input data to be preprocessed:\n<pre>\n{\n \"instances\": [\n {\
n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n
\"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n</pre>\nS
ome models have an underlying TensorFlow graph that accepts multiple input\ntens
ors. In this case, you should use the names of JSON name/value pairs to\nidentif
y the input tensors, as shown in the following exmaples:\n\nFor a graph with inp
ut tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n<pre
>\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"
b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {
\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n</pre>\nFor a graph with input tensor ali
ases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n<pre>
\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n
[\n [138, 30, 66],\n [130, 20, 56],\n ...\n
],\n [\n [126, 38, 61],\n [122, 24, 57],\n
...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\
n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97]
,\n ...\n ],\n [\n [254, 1, 101],\n [25
4, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n
]\n}\n</pre>\nIf the call is successful, the response body will contain one pred
iction\nentry per instance in the request body. If prediction fails for any\nins
tance, the response body will contain no predictions and will contian\na single
error entry instead.", | 1038 "description": "Request for predictions to be issued against a train
ed model.\n\nThe body of the request is a single JSON object with a single top-l
evel\nfield:\n\n<dl>\n <dt>instances</dt>\n <dd>A JSON array containing values
representing the instances to use for\n prediction.</dd>\n</dl>\n\nThe str
ucture of each element of the instances list is determined by your\nmodel's inpu
t definition. Instances can include named inputs or can contain\nonly unlabeled
values.\n\nNot all data includes named inputs. Some instances will be simple\nJS
ON values (boolean, number, or string). However, instances are often lists\nof s
imple values, or complex nested lists. Here are some examples of request\nbodies
:\n\nCSV data with each row encoded as a string value:\n<pre>\n{\"instances\": [
\"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n</pre>\nPlain text:\
n<pre>\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n</pre>\
nSentences encoded as lists of words (vectors of strings):\n<pre>\n{\n \"instan
ces\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n
...\n ]\n}\n</pre>\nFloating point scalar values:\n<pre>\n{\"instances\": [0.
0, 1.1, 2.2]}\n</pre>\nVectors of integers:\n<pre>\n{\n \"instances\": [\n [
0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n</pre>\nTensors (in this case, two-d
imensional tensors):\n<pre>\n{\n \"instances\": [\n [\n [0, 1, 2],\n
[3, 4, 5]\n ],\n ...\n ]\n}\n</pre>\nImages can be represented differe
nt ways. In this encoding scheme the first\ntwo dimensions represent the rows an
d columns of the image, and the third\ncontains lists (vectors) of the R, G, and
B values for each pixel.\n<pre>\n{\n \"instances\": [\n [\n [\n
[138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n
[126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]
,\n ...\n ]\n}\n</pre>\nJSON strings must be encoded as UTF-8. To send binar
y data, you must\nbase64-encode the data and mark it as binary. To mark a JSON s
tring\nas binary, replace it with a JSON object with a single attribute named `b
64`:\n<pre>{\"b64\": \"...\"} </pre>\nFor example:\n\nTwo Serialized tf.Examples
(fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\":
\"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n</pre>\nTwo JPEG image byte strings (fak
e data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"AS
a8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n</pre>\nIf your data includes named refere
nces, format each instance as a JSON object\nwith the named references as the ke
ys:\n\nJSON input data to be preprocessed:\n<pre>\n{\n \"instances\": [\n {\
n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n
\"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n</pre>\nS
ome models have an underlying TensorFlow graph that accepts multiple input\ntens
ors. In this case, you should use the names of JSON name/value pairs to\nidentif
y the input tensors, as shown in the following exmaples:\n\nFor a graph with inp
ut tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n<pre
>\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\"
b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": {
\"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n</pre>\nFor a graph with input tensor ali
ases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n<pre>
\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n
[\n [138, 30, 66],\n [130, 20, 56],\n ...\n
],\n [\n [126, 38, 61],\n [122, 24, 57],\n
...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\
n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97]
,\n ...\n ],\n [\n [254, 1, 101],\n [25
4, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n
]\n}\n</pre>\nIf the call is successful, the response body will contain one pred
iction\nentry per instance in the request body. If prediction fails for any\nins
tance, the response body will contain no predictions and will contian\na single
error entry instead.", |
1116 "id": "GoogleCloudMlV1beta1__PredictRequest", | 1039 "id": "GoogleCloudMlV1beta1__PredictRequest", |
1117 "properties": { | 1040 "properties": { |
1118 "httpBody": { | 1041 "httpBody": { |
1119 "$ref": "GoogleApi__HttpBody", | 1042 "$ref": "GoogleApi__HttpBody", |
1120 "description": "\nRequired. The prediction request body." | 1043 "description": "\nRequired. The prediction request body." |
1121 } | 1044 } |
1122 }, | 1045 }, |
1123 "type": "object" | 1046 "type": "object" |
1124 }, | 1047 }, |
1125 "GoogleApi__HttpBody": { | |
1126 "description": "Message that represents an arbitrary HTTP body. It s
hould only be used for\npayload formats that can't be represented as JSON, such
as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming
and non-streaming API methods in\nthe request as well as the response.\n\nIt can
be used as a top-level request field, which is convenient if one\nwants to extr
act parameters from either the URL or HTTP template into the\nrequest fields and
also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRe
quest {\n // A unique request id.\n string request_id = 1;\n\n //
The raw HTTP body is bound to this field.\n google.api.HttpBody http_body
= 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceR
equest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.Http
Body) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:
\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBod
y)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stre
am google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\
nUse of this type only changes how the request and response bodies are\nhandled,
all other features will continue to work unchanged.", | |
1127 "id": "GoogleApi__HttpBody", | |
1128 "properties": { | |
1129 "data": { | |
1130 "description": "HTTP body binary data.", | |
1131 "format": "byte", | |
1132 "type": "string" | |
1133 }, | |
1134 "contentType": { | |
1135 "description": "The HTTP Content-Type string representing th
e content type of the body.", | |
1136 "type": "string" | |
1137 } | |
1138 }, | |
1139 "type": "object" | |
1140 }, | |
1141 "GoogleCloudMlV1beta1__PredictionInput": { | 1048 "GoogleCloudMlV1beta1__PredictionInput": { |
1142 "description": "Represents input parameters for a prediction job.", | 1049 "description": "Represents input parameters for a prediction job.", |
1143 "id": "GoogleCloudMlV1beta1__PredictionInput", | 1050 "id": "GoogleCloudMlV1beta1__PredictionInput", |
1144 "properties": { | 1051 "properties": { |
| 1052 "runtimeVersion": { |
| 1053 "description": "Optional. The Google Cloud ML runtime versio
n to use for this batch\nprediction. If not set, Google Cloud ML will pick the r
untime version used\nduring the CreateVersion request for this model version, or
choose the\nlatest stable version when model version information is not availab
le\nsuch as when the model is specified by uri.", |
| 1054 "type": "string" |
| 1055 }, |
| 1056 "inputPaths": { |
| 1057 "description": "Required. The Google Cloud Storage location
of the input data files.\nMay contain wildcards.", |
| 1058 "items": { |
| 1059 "type": "string" |
| 1060 }, |
| 1061 "type": "array" |
| 1062 }, |
| 1063 "region": { |
| 1064 "description": "Required. The Google Compute Engine region t
o run the prediction job in.", |
| 1065 "type": "string" |
| 1066 }, |
| 1067 "versionName": { |
| 1068 "description": "Use this field if you want to specify a vers
ion of the model to use. The\nstring is formatted the same way as `model_version
`, with the addition\nof the version information:\n\n`\"projects/<var>[YOUR_PROJ
ECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>\"`", |
| 1069 "type": "string" |
| 1070 }, |
1145 "modelName": { | 1071 "modelName": { |
1146 "description": "Use this field if you want to use the defaul
t version for the specified\nmodel. The string must use the following format:\n\
n`\"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>\"`", | 1072 "description": "Use this field if you want to use the defaul
t version for the specified\nmodel. The string must use the following format:\n\
n`\"projects/<var>[YOUR_PROJECT]</var>/models/<var>[YOUR_MODEL]</var>\"`", |
1147 "type": "string" | 1073 "type": "string" |
1148 }, | 1074 }, |
1149 "outputPath": { | 1075 "outputPath": { |
1150 "description": "Required. The output Google Cloud Storage lo
cation.", | 1076 "description": "Required. The output Google Cloud Storage lo
cation.", |
1151 "type": "string" | 1077 "type": "string" |
1152 }, | 1078 }, |
1153 "maxWorkerCount": { | 1079 "maxWorkerCount": { |
1154 "description": "Optional. The maximum number of workers to b
e used for parallel processing.\nDefaults to 10 if not specified.", | 1080 "description": "Optional. The maximum number of workers to b
e used for parallel processing.\nDefaults to 10 if not specified.", |
1155 "format": "int64", | 1081 "format": "int64", |
1156 "type": "string" | 1082 "type": "string" |
1157 }, | 1083 }, |
1158 "uri": { | 1084 "uri": { |
1159 "description": "Use this field if you want to specify a GCS
path to the model to use.", | 1085 "description": "Use this field if you want to specify a Goog
le Cloud Storage path for\nthe model to use.", |
1160 "type": "string" | 1086 "type": "string" |
1161 }, | 1087 }, |
1162 "dataFormat": { | 1088 "dataFormat": { |
1163 "description": "Required. The format of the input data files
.", | 1089 "description": "Required. The format of the input data files
.", |
1164 "enum": [ | 1090 "enum": [ |
1165 "DATA_FORMAT_UNSPECIFIED", | 1091 "DATA_FORMAT_UNSPECIFIED", |
1166 "TEXT", | 1092 "TEXT", |
1167 "TF_RECORD", | 1093 "TF_RECORD", |
1168 "TF_RECORD_GZIP" | 1094 "TF_RECORD_GZIP" |
1169 ], | 1095 ], |
1170 "enumDescriptions": [ | 1096 "enumDescriptions": [ |
1171 "Unspecified format.", | 1097 "Unspecified format.", |
1172 "The source file is a text file with instances separated
by the\nnew-line character.", | 1098 "The source file is a text file with instances separated
by the\nnew-line character.", |
1173 "The source file is a TFRecord file.", | 1099 "The source file is a TFRecord file.", |
1174 "The source file is a GZIP-compressed TFRecord file." | 1100 "The source file is a GZIP-compressed TFRecord file." |
1175 ], | 1101 ], |
1176 "type": "string" | 1102 "type": "string" |
1177 }, | 1103 } |
1178 "runtimeVersion": { | 1104 }, |
1179 "description": "Optional. The Google Cloud ML runtime versio
n to use for this batch\nprediction. If not set, Google Cloud ML will pick the r
untime version used\nduring the CreateVersion request for this model version, or
choose the\nlatest stable version when model version information is not availab
le\nsuch as when the model is specified by uri.", | 1105 "type": "object" |
| 1106 }, |
| 1107 "GoogleApi__HttpBody": { |
| 1108 "description": "Message that represents an arbitrary HTTP body. It s
hould only be used for\npayload formats that can't be represented as JSON, such
as raw binary or\nan HTML page.\n\n\nThis message can be used both in streaming
and non-streaming API methods in\nthe request as well as the response.\n\nIt can
be used as a top-level request field, which is convenient if one\nwants to extr
act parameters from either the URL or HTTP template into the\nrequest fields and
also want access to the raw HTTP body.\n\nExample:\n\n message GetResourceRe
quest {\n // A unique request id.\n string request_id = 1;\n\n //
The raw HTTP body is bound to this field.\n google.api.HttpBody http_body
= 2;\n }\n\n service ResourceService {\n rpc GetResource(GetResourceR
equest) returns (google.api.HttpBody);\n rpc UpdateResource(google.api.Http
Body) returns (google.protobuf.Empty);\n }\n\nExample with streaming methods:
\n\n service CaldavService {\n rpc GetCalendar(stream google.api.HttpBod
y)\n returns (stream google.api.HttpBody);\n rpc UpdateCalendar(stre
am google.api.HttpBody)\n returns (stream google.api.HttpBody);\n }\n\
nUse of this type only changes how the request and response bodies are\nhandled,
all other features will continue to work unchanged.", |
| 1109 "id": "GoogleApi__HttpBody", |
| 1110 "properties": { |
| 1111 "data": { |
| 1112 "description": "HTTP body binary data.", |
| 1113 "format": "byte", |
1180 "type": "string" | 1114 "type": "string" |
1181 }, | 1115 }, |
1182 "inputPaths": { | 1116 "contentType": { |
1183 "description": "Required. The Google Cloud Storage location
of the input data files.\nMay contain wildcards.", | 1117 "description": "The HTTP Content-Type string representing th
e content type of the body.", |
1184 "items": { | |
1185 "type": "string" | |
1186 }, | |
1187 "type": "array" | |
1188 }, | |
1189 "region": { | |
1190 "description": "Required. The Google Compute Engine region t
o run the prediction job in.", | |
1191 "type": "string" | |
1192 }, | |
1193 "versionName": { | |
1194 "description": "Use this field if you want to specify a vers
ion of the model to use. The\nstring is formatted the same way as `model_version
`, with the addition\nof the version information:\n\n`\"projects/<var>[YOUR_PROJ
ECT]</var>/models/<var>YOUR_MODEL/versions/<var>[YOUR_VERSION]</var>\"`", | |
1195 "type": "string" | 1118 "type": "string" |
1196 } | 1119 } |
1197 }, | 1120 }, |
1198 "type": "object" | 1121 "type": "object" |
1199 }, | 1122 }, |
1200 "GoogleCloudMlV1beta1__ListJobsResponse": { | 1123 "GoogleCloudMlV1beta1__ListJobsResponse": { |
1201 "description": "Response message for the ListJobs method.", | 1124 "description": "Response message for the ListJobs method.", |
1202 "id": "GoogleCloudMlV1beta1__ListJobsResponse", | 1125 "id": "GoogleCloudMlV1beta1__ListJobsResponse", |
1203 "properties": { | 1126 "properties": { |
1204 "nextPageToken": { | |
1205 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", | |
1206 "type": "string" | |
1207 }, | |
1208 "jobs": { | 1127 "jobs": { |
1209 "description": "The list of jobs.", | 1128 "description": "The list of jobs.", |
1210 "items": { | 1129 "items": { |
1211 "$ref": "GoogleCloudMlV1beta1__Job" | 1130 "$ref": "GoogleCloudMlV1beta1__Job" |
1212 }, | 1131 }, |
1213 "type": "array" | 1132 "type": "array" |
| 1133 }, |
| 1134 "nextPageToken": { |
| 1135 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", |
| 1136 "type": "string" |
1214 } | 1137 } |
1215 }, | 1138 }, |
1216 "type": "object" | 1139 "type": "object" |
1217 }, | 1140 }, |
1218 "GoogleCloudMlV1beta1__Version": { | 1141 "GoogleCloudMlV1beta1__Version": { |
1219 "description": "Represents a version of the model.\n\nEach version i
s a trained model deployed in the cloud, ready to handle\nprediction requests. A
model can have multiple versions. You can get\ninformation about all of the ver
sions of a given model by calling\n[projects.models.versions.list](/ml/reference
/rest/v1beta1/projects.models.versions/list).", | 1142 "description": "Represents a version of the model.\n\nEach version i
s a trained model deployed in the cloud, ready to handle\nprediction requests. A
model can have multiple versions. You can get\ninformation about all of the ver
sions of a given model by calling\n[projects.models.versions.list](/ml/reference
/rest/v1beta1/projects.models.versions/list).", |
1220 "id": "GoogleCloudMlV1beta1__Version", | 1143 "id": "GoogleCloudMlV1beta1__Version", |
1221 "properties": { | 1144 "properties": { |
1222 "name": { | |
1223 "description": "Required.The name specified for the version
when it was created.\n\nThe version name must be unique within the model it is c
reated in.", | |
1224 "type": "string" | |
1225 }, | |
1226 "lastUseTime": { | 1145 "lastUseTime": { |
1227 "description": "Output only. The time the version was last u
sed for prediction.", | 1146 "description": "Output only. The time the version was last u
sed for prediction.", |
1228 "format": "google-datetime", | 1147 "format": "google-datetime", |
1229 "type": "string" | 1148 "type": "string" |
1230 }, | 1149 }, |
1231 "runtimeVersion": { | 1150 "runtimeVersion": { |
1232 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", | 1151 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", |
1233 "type": "string" | 1152 "type": "string" |
1234 }, | 1153 }, |
1235 "description": { | 1154 "description": { |
1236 "description": "Optional. The description specified for the
version when it was created.", | 1155 "description": "Optional. The description specified for the
version when it was created.", |
1237 "type": "string" | 1156 "type": "string" |
1238 }, | 1157 }, |
1239 "deploymentUri": { | 1158 "deploymentUri": { |
1240 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model de
ployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen
passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1beta1
/projects.models.versions/create)\nthe model service uses the specified location
as the source of the model.\nOnce deployed, the model version is hosted by the
prediction service, so\nthis location is useful only as a historical record.", | 1159 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model de
ployment](/ml/docs/concepts/deployment-overview) for\nmore informaiton.\n\nWhen
passing Version to\n[projects.models.versions.create](/ml/reference/rest/v1beta1
/projects.models.versions/create)\nthe model service uses the specified location
as the source of the model.\nOnce deployed, the model version is hosted by the
prediction service, so\nthis location is useful only as a historical record.", |
1241 "type": "string" | 1160 "type": "string" |
1242 }, | 1161 }, |
1243 "isDefault": { | 1162 "isDefault": { |
1244 "description": "Output only. If true, this version will be u
sed to handle prediction\nrequests that do not specify a version.\n\nYou can cha
nge the default version by calling\n[projects.methods.versions.setDefault](/ml/r
eference/rest/v1beta1/projects.models.versions/setDefault).", | 1163 "description": "Output only. If true, this version will be u
sed to handle prediction\nrequests that do not specify a version.\n\nYou can cha
nge the default version by calling\n[projects.methods.versions.setDefault](/ml/r
eference/rest/v1beta1/projects.models.versions/setDefault).", |
1245 "type": "boolean" | 1164 "type": "boolean" |
1246 }, | 1165 }, |
1247 "createTime": { | 1166 "createTime": { |
1248 "description": "Output only. The time the version was create
d.", | 1167 "description": "Output only. The time the version was create
d.", |
1249 "format": "google-datetime", | 1168 "format": "google-datetime", |
1250 "type": "string" | 1169 "type": "string" |
| 1170 }, |
| 1171 "manualScaling": { |
| 1172 "$ref": "GoogleCloudMlV1beta1__ManualScaling", |
| 1173 "description": "Optional. Manually select the number of node
s to use for serving the\nmodel. If unset (i.e., by default), the number of node
s used to serve\nthe model automatically scales with traffic. However, care shou
ld be\ntaken to ramp up traffic according to the model's ability to scale. If\ny
our model needs to handle bursts of traffic beyond it's ability to\nscale, it is
recommended you set this field appropriately." |
| 1174 }, |
| 1175 "name": { |
| 1176 "description": "Required.The name specified for the version
when it was created.\n\nThe version name must be unique within the model it is c
reated in.", |
| 1177 "type": "string" |
1251 } | 1178 } |
1252 }, | 1179 }, |
1253 "type": "object" | 1180 "type": "object" |
1254 }, | 1181 }, |
1255 "GoogleCloudMlV1beta1__ListVersionsResponse": { | 1182 "GoogleCloudMlV1beta1__ListVersionsResponse": { |
1256 "description": "Response message for the ListVersions method.", | 1183 "description": "Response message for the ListVersions method.", |
1257 "id": "GoogleCloudMlV1beta1__ListVersionsResponse", | 1184 "id": "GoogleCloudMlV1beta1__ListVersionsResponse", |
1258 "properties": { | 1185 "properties": { |
1259 "versions": { | 1186 "versions": { |
1260 "description": "The list of versions.", | 1187 "description": "The list of versions.", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 "type": "string" | 1248 "type": "string" |
1322 }, | 1249 }, |
1323 "predictionOutput": { | 1250 "predictionOutput": { |
1324 "$ref": "GoogleCloudMlV1beta1__PredictionOutput", | 1251 "$ref": "GoogleCloudMlV1beta1__PredictionOutput", |
1325 "description": "The current prediction job result." | 1252 "description": "The current prediction job result." |
1326 }, | 1253 }, |
1327 "trainingOutput": { | 1254 "trainingOutput": { |
1328 "$ref": "GoogleCloudMlV1beta1__TrainingOutput", | 1255 "$ref": "GoogleCloudMlV1beta1__TrainingOutput", |
1329 "description": "The current training job result." | 1256 "description": "The current training job result." |
1330 }, | 1257 }, |
| 1258 "trainingInput": { |
| 1259 "$ref": "GoogleCloudMlV1beta1__TrainingInput", |
| 1260 "description": "Input parameters to create a training job." |
| 1261 }, |
1331 "createTime": { | 1262 "createTime": { |
1332 "description": "Output only. When the job was created.", | 1263 "description": "Output only. When the job was created.", |
1333 "format": "google-datetime", | 1264 "format": "google-datetime", |
1334 "type": "string" | 1265 "type": "string" |
1335 }, | 1266 }, |
1336 "trainingInput": { | 1267 "predictionInput": { |
1337 "$ref": "GoogleCloudMlV1beta1__TrainingInput", | 1268 "$ref": "GoogleCloudMlV1beta1__PredictionInput", |
1338 "description": "Input parameters to create a training job." | 1269 "description": "Input parameters to create a prediction job.
" |
1339 }, | 1270 }, |
1340 "state": { | 1271 "state": { |
1341 "description": "Output only. The detailed state of a job.", | 1272 "description": "Output only. The detailed state of a job.", |
1342 "enum": [ | 1273 "enum": [ |
1343 "STATE_UNSPECIFIED", | 1274 "STATE_UNSPECIFIED", |
1344 "QUEUED", | 1275 "QUEUED", |
1345 "PREPARING", | 1276 "PREPARING", |
1346 "RUNNING", | 1277 "RUNNING", |
1347 "SUCCEEDED", | 1278 "SUCCEEDED", |
1348 "FAILED", | 1279 "FAILED", |
1349 "CANCELLING", | 1280 "CANCELLING", |
1350 "CANCELLED" | 1281 "CANCELLED" |
1351 ], | 1282 ], |
1352 "enumDescriptions": [ | 1283 "enumDescriptions": [ |
1353 "The job state is unspecified.", | 1284 "The job state is unspecified.", |
1354 "The job has been just created and processing has not ye
t begun.", | 1285 "The job has been just created and processing has not ye
t begun.", |
1355 "The service is preparing to run the job.", | 1286 "The service is preparing to run the job.", |
1356 "The job is in progress.", | 1287 "The job is in progress.", |
1357 "The job completed successfully.", | 1288 "The job completed successfully.", |
1358 "The job failed.\n`error_message` should contain the det
ails of the failure.", | 1289 "The job failed.\n`error_message` should contain the det
ails of the failure.", |
1359 "The job is being cancelled.\n`error_message` should des
cribe the reason for the cancellation.", | 1290 "The job is being cancelled.\n`error_message` should des
cribe the reason for the cancellation.", |
1360 "The job has been cancelled.\n`error_message` should des
cribe the reason for the cancellation." | 1291 "The job has been cancelled.\n`error_message` should des
cribe the reason for the cancellation." |
1361 ], | 1292 ], |
1362 "type": "string" | 1293 "type": "string" |
1363 }, | 1294 }, |
1364 "predictionInput": { | |
1365 "$ref": "GoogleCloudMlV1beta1__PredictionInput", | |
1366 "description": "Input parameters to create a prediction job.
" | |
1367 }, | |
1368 "jobId": { | |
1369 "description": "Required. The user-specified id of the job."
, | |
1370 "type": "string" | |
1371 }, | |
1372 "errorMessage": { | 1295 "errorMessage": { |
1373 "description": "Output only. The details of a failure or a c
ancellation.", | 1296 "description": "Output only. The details of a failure or a c
ancellation.", |
1374 "type": "string" | 1297 "type": "string" |
1375 } | 1298 }, |
1376 }, | 1299 "jobId": { |
1377 "type": "object" | 1300 "description": "Required. The user-specified id of the job."
, |
1378 }, | |
1379 "GoogleLongrunning__ListOperationsResponse": { | |
1380 "description": "The response message for Operations.ListOperations."
, | |
1381 "id": "GoogleLongrunning__ListOperationsResponse", | |
1382 "properties": { | |
1383 "nextPageToken": { | |
1384 "description": "The standard List next-page token.", | |
1385 "type": "string" | 1301 "type": "string" |
1386 }, | |
1387 "operations": { | |
1388 "description": "A list of operations that matches the specif
ied filter in the request.", | |
1389 "items": { | |
1390 "$ref": "GoogleLongrunning__Operation" | |
1391 }, | |
1392 "type": "array" | |
1393 } | 1302 } |
1394 }, | 1303 }, |
1395 "type": "object" | 1304 "type": "object" |
1396 }, | 1305 }, |
1397 "GoogleCloudMlV1beta1__TrainingInput": { | 1306 "GoogleCloudMlV1beta1__TrainingInput": { |
1398 "description": "Represents input parameters for a training job.", | 1307 "description": "Represents input parameters for a training job.", |
1399 "id": "GoogleCloudMlV1beta1__TrainingInput", | 1308 "id": "GoogleCloudMlV1beta1__TrainingInput", |
1400 "properties": { | 1309 "properties": { |
| 1310 "masterType": { |
| 1311 "description": "Optional. Specifies the type of virtual mach
ine to use for your training\njob's master worker.\n\nThe following types are su
pported:\n\n<dl>\n <dt>standard</dt>\n <dd>\n A basic machine configuration s
uitable for training simple models with\n small to moderate datasets.\n </dd>\
n <dt>large_model</dt>\n <dd>\n A machine with a lot of memory, specially sui
ted for parameter servers\n when your model is large (having many hidden layers
or layers with very\n large numbers of nodes).\n </dd>\n <dt>complex_model_s
</dt>\n <dd>\n A machine suitable for the master and workers of the cluster wh
en your\n model requires more computation than the standard machine can handle\
n satisfactorily.\n </dd>\n <dt>complex_model_m</dt>\n <dd>\n A machine wit
h roughly twice the number of cores and roughly double the\n memory of <code su
ppresswarning=\"true\">complex_model_s</code>.\n </dd>\n <dt>complex_model_l</
dt>\n <dd>\n A machine with roughly twice the number of cores and roughly doub
le the\n memory of <code suppresswarning=\"true\">complex_model_m</code>.\n </
dd>\n <dt>standard_gpu</dt>\n <dd>\n A machine equivalent to <code suppresswa
rning=\"true\">standard</code> that\n also includes a\n <a href=\"ml/docs/how-
tos/using-gpus\">\n GPU that you can use in your trainer</a>.\n </dd>\n <dt>c
omplex_model_m_gpu</dt>\n <dd>\n A machine equivalent to\n <code suppresswarn
ing=\"true\">coplex_model_m</code> that also includes\n four GPUs.\n </dd>\n</
dl>\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.", |
| 1312 "type": "string" |
| 1313 }, |
| 1314 "runtimeVersion": { |
| 1315 "description": "Optional. The Google Cloud ML runtime versio
n to use for training. If not\nset, Google Cloud ML will choose the latest stab
le version.", |
| 1316 "type": "string" |
| 1317 }, |
| 1318 "pythonModule": { |
| 1319 "description": "Required. The Python module name to run afte
r installing the packages.", |
| 1320 "type": "string" |
| 1321 }, |
| 1322 "workerType": { |
| 1323 "description": "Optional. Specifies the type of virtual mach
ine to use for your training\njob's worker nodes.\n\nThe supported values are th
e same as those described in the entry for\n`masterType`.\n\nThis value must be
present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than z
ero.", |
| 1324 "type": "string" |
| 1325 }, |
| 1326 "region": { |
| 1327 "description": "Required. The Google Compute Engine region t
o run the training job in.", |
| 1328 "type": "string" |
| 1329 }, |
| 1330 "args": { |
| 1331 "description": "Optional. Command line arguments to pass to
the program.", |
| 1332 "items": { |
| 1333 "type": "string" |
| 1334 }, |
| 1335 "type": "array" |
| 1336 }, |
| 1337 "parameterServerType": { |
| 1338 "description": "Optional. Specifies the type of virtual mach
ine to use for your training\njob's parameter server.\n\nThe supported values ar
e the same as those described in the entry for\n`master_type`.\n\nThis value mus
t be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` i
s greater than zero.", |
| 1339 "type": "string" |
| 1340 }, |
1401 "scaleTier": { | 1341 "scaleTier": { |
1402 "description": "Required. Specifies the machine types, the n
umber of replicas for workers\nand parameter servers.", | 1342 "description": "Required. Specifies the machine types, the n
umber of replicas for workers\nand parameter servers.", |
1403 "enum": [ | 1343 "enum": [ |
1404 "BASIC", | 1344 "BASIC", |
1405 "STANDARD_1", | 1345 "STANDARD_1", |
1406 "PREMIUM_1", | 1346 "PREMIUM_1", |
1407 "BASIC_GPU", | 1347 "BASIC_GPU", |
1408 "CUSTOM" | 1348 "CUSTOM" |
1409 ], | 1349 ], |
1410 "enumDescriptions": [ | 1350 "enumDescriptions": [ |
1411 "A single worker instance. This tier is suitable for lea
rning how to use\nCloud ML, and for experimenting with new models using small da
tasets.", | 1351 "A single worker instance. This tier is suitable for lea
rning how to use\nCloud ML, and for experimenting with new models using small da
tasets.", |
1412 "Many workers and a few parameter servers.", | 1352 "Many workers and a few parameter servers.", |
1413 "A large number of workers with many parameter servers."
, | 1353 "A large number of workers with many parameter servers."
, |
1414 "A single worker instance with a GPU.", | 1354 "A single worker instance [with a GPU](ml/docs/how-tos/u
sing-gpus).", |
1415 "The CUSTOM tier is not a set tier, but rather enables y
ou to use your\nown cluster specification. When you use this tier, set values to
\nconfigure your processing cluster according to these guidelines:\n\n* You _m
ust_ set `TrainingInput.masterType` to specify the type\n of machine to use f
or your master node. This is the only required\n setting.\n\n* You _may_ se
t `TrainingInput.workerCount` to specify the number of\n workers to use. If y
ou specify one or more workers, you _must_ also\n set `TrainingInput.workerTy
pe` to specify the type of machine to use\n for your worker nodes.\n\n* You
_may_ set `TrainingInput.parameterServerCount` to specify the\n number of pa
rameter servers to use. If you specify one or more\n parameter servers, you _
must_ also set\n `TrainingInput.parameterServerType` to specify the type of m
achine to\n use for your parameter servers.\n\nNote that all of your workers
must use the same machine type, which can\nbe different from your parameter serv
er type and master type. Your\nparameter servers must likewise use the same mach
ine type, which can be\ndifferent from your worker type and master type." | 1355 "The CUSTOM tier is not a set tier, but rather enables y
ou to use your\nown cluster specification. When you use this tier, set values to
\nconfigure your processing cluster according to these guidelines:\n\n* You _m
ust_ set `TrainingInput.masterType` to specify the type\n of machine to use f
or your master node. This is the only required\n setting.\n\n* You _may_ se
t `TrainingInput.workerCount` to specify the number of\n workers to use. If y
ou specify one or more workers, you _must_ also\n set `TrainingInput.workerTy
pe` to specify the type of machine to use\n for your worker nodes.\n\n* You
_may_ set `TrainingInput.parameterServerCount` to specify the\n number of pa
rameter servers to use. If you specify one or more\n parameter servers, you _
must_ also set\n `TrainingInput.parameterServerType` to specify the type of m
achine to\n use for your parameter servers.\n\nNote that all of your workers
must use the same machine type, which can\nbe different from your parameter serv
er type and master type. Your\nparameter servers must likewise use the same mach
ine type, which can be\ndifferent from your worker type and master type." |
1416 ], | 1356 ], |
1417 "type": "string" | 1357 "type": "string" |
1418 }, | 1358 }, |
1419 "jobDir": { | 1359 "jobDir": { |
1420 "description": "Optional. A GCS path in which to store train
ing outputs and other data\nneeded for training. This path will be passed to you
r TensorFlow program as\nthe 'job_dir' command-line arg. The benefit of specifyi
ng this field is that\nCloud ML will validate the path for use in training.", | 1360 "description": "Optional. A Google Cloud Storage path in whi
ch to store training outputs\nand other data needed for training. This path is p
assed to your TensorFlow\nprogram as the 'job_dir' command-line argument. The be
nefit of specifying\nthis field is that Cloud ML validates the path for use in t
raining.", |
1421 "type": "string" | 1361 "type": "string" |
1422 }, | 1362 }, |
1423 "hyperparameters": { | 1363 "hyperparameters": { |
1424 "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec", | 1364 "$ref": "GoogleCloudMlV1beta1__HyperparameterSpec", |
1425 "description": "Optional. The set of Hyperparameters to tune
." | 1365 "description": "Optional. The set of Hyperparameters to tune
." |
1426 }, | 1366 }, |
1427 "parameterServerCount": { | 1367 "parameterServerCount": { |
1428 "description": "Optional. The number of parameter server rep
licas to use for the training\njob. Each replica in the cluster will be of the t
ype specified in\n`parameter_server_type`.\n\nThis value can only be used when `
scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parame
ter_server_type`.", | 1368 "description": "Optional. The number of parameter server rep
licas to use for the training\njob. Each replica in the cluster will be of the t
ype specified in\n`parameter_server_type`.\n\nThis value can only be used when `
scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parame
ter_server_type`.", |
1429 "format": "int64", | 1369 "format": "int64", |
1430 "type": "string" | 1370 "type": "string" |
1431 }, | 1371 }, |
1432 "packageUris": { | 1372 "packageUris": { |
1433 "description": "Required. The Google Cloud Storage location
of the packages with\nthe training program and any additional dependencies.", | 1373 "description": "Required. The Google Cloud Storage location
of the packages with\nthe training program and any additional dependencies.", |
1434 "items": { | 1374 "items": { |
1435 "type": "string" | 1375 "type": "string" |
1436 }, | 1376 }, |
1437 "type": "array" | 1377 "type": "array" |
1438 }, | 1378 }, |
1439 "workerCount": { | 1379 "workerCount": { |
1440 "description": "Optional. The number of worker replicas to u
se for the training job. Each\nreplica in the cluster will be of the type specif
ied in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to
`CUSTOM`. If you\nset this value, you must also set `worker_type`.", | 1380 "description": "Optional. The number of worker replicas to u
se for the training job. Each\nreplica in the cluster will be of the type specif
ied in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to
`CUSTOM`. If you\nset this value, you must also set `worker_type`.", |
1441 "format": "int64", | 1381 "format": "int64", |
1442 "type": "string" | 1382 "type": "string" |
1443 }, | |
1444 "masterType": { | |
1445 "description": "Optional. Specifies the type of virtual mach
ine to use for your training\njob's master worker.\n\nThe following types are su
pported:\n\n<dl>\n <dt>standard</dt>\n <dd>\n A basic machine configuration s
uitable for training simple models with\n small to moderate datasets.\n </dd>\
n <dt>large_model</dt>\n <dd>\n A machine with a lot of memory, specially sui
ted for parameter servers\n when your model is large (having many hidden layers
or layers with very\n large numbers of nodes).\n </dd>\n <dt>complex_model_s
</dt>\n <dd>\n A machine suitable for the master and workers of the cluster wh
en your\n model requires more computation than the standard machine can handle\
n satisfactorily.\n </dd>\n <dt>complex_model_m</dt>\n <dd>\n A machine wit
h roughly twice the number of cores and roughly double the\n memory of <code su
ppresswarning=\"true\">complex_model_s</code>.\n </dd>\n <dt>complex_model_l</
dt>\n <dd>\n A machine with roughly twice the number of cores and roughly doub
le the\n memory of <code suppresswarning=\"true\">complex_model_m</code>.\n </
dd>\n</dl>\n\nYou must set this value when `scaleTier` is set to `CUSTOM`.", | |
1446 "type": "string" | |
1447 }, | |
1448 "runtimeVersion": { | |
1449 "description": "Optional. The Google Cloud ML runtime versio
n to use for training. If not\nset, Google Cloud ML will choose the latest stab
le version.", | |
1450 "type": "string" | |
1451 }, | |
1452 "pythonModule": { | |
1453 "description": "Required. The Python module name to run afte
r installing the packages.", | |
1454 "type": "string" | |
1455 }, | |
1456 "workerType": { | |
1457 "description": "Optional. Specifies the type of virtual mach
ine to use for your training\njob's worker nodes.\n\nThe supported values are th
e same as those described in the entry for\n`masterType`.\n\nThis value must be
present when `scaleTier` is set to `CUSTOM` and\n`workerCount` is greater than z
ero.", | |
1458 "type": "string" | |
1459 }, | |
1460 "region": { | |
1461 "description": "Required. The Google Compute Engine region t
o run the training job in.", | |
1462 "type": "string" | |
1463 }, | |
1464 "args": { | |
1465 "description": "Optional. Command line arguments to pass to
the program.", | |
1466 "items": { | |
1467 "type": "string" | |
1468 }, | |
1469 "type": "array" | |
1470 }, | |
1471 "parameterServerType": { | |
1472 "description": "Optional. Specifies the type of virtual mach
ine to use for your training\njob's parameter server.\n\nThe supported values ar
e the same as those described in the entry for\n`master_type`.\n\nThis value mus
t be present when `scaleTier` is set to `CUSTOM` and\n`parameter_server_count` i
s greater than zero.", | |
1473 "type": "string" | |
1474 } | 1383 } |
1475 }, | 1384 }, |
1476 "type": "object" | 1385 "type": "object" |
| 1386 }, |
| 1387 "GoogleLongrunning__ListOperationsResponse": { |
| 1388 "description": "The response message for Operations.ListOperations."
, |
| 1389 "id": "GoogleLongrunning__ListOperationsResponse", |
| 1390 "properties": { |
| 1391 "nextPageToken": { |
| 1392 "description": "The standard List next-page token.", |
| 1393 "type": "string" |
| 1394 }, |
| 1395 "operations": { |
| 1396 "description": "A list of operations that matches the specif
ied filter in the request.", |
| 1397 "items": { |
| 1398 "$ref": "GoogleLongrunning__Operation" |
| 1399 }, |
| 1400 "type": "array" |
| 1401 } |
| 1402 }, |
| 1403 "type": "object" |
1477 }, | 1404 }, |
1478 "GoogleCloudMlV1beta1__GetConfigResponse": { | 1405 "GoogleCloudMlV1beta1__GetConfigResponse": { |
1479 "description": "Returns service account information associated with
a project.", | 1406 "description": "Returns service account information associated with
a project.", |
1480 "id": "GoogleCloudMlV1beta1__GetConfigResponse", | 1407 "id": "GoogleCloudMlV1beta1__GetConfigResponse", |
1481 "properties": { | 1408 "properties": { |
1482 "serviceAccountProject": { | 1409 "serviceAccountProject": { |
1483 "description": "The project number for `service_account`.", | 1410 "description": "The project number for `service_account`.", |
1484 "format": "int64", | 1411 "format": "int64", |
1485 "type": "string" | 1412 "type": "string" |
1486 }, | 1413 }, |
1487 "serviceAccount": { | 1414 "serviceAccount": { |
1488 "description": "The service account Cloud ML uses to access
resources in the project.", | 1415 "description": "The service account Cloud ML uses to access
resources in the project.", |
1489 "type": "string" | 1416 "type": "string" |
1490 } | 1417 } |
1491 }, | 1418 }, |
1492 "type": "object" | 1419 "type": "object" |
| 1420 }, |
| 1421 "GoogleCloudMlV1beta1__SetDefaultVersionRequest": { |
| 1422 "description": "Request message for the SetDefaultVersion request.", |
| 1423 "id": "GoogleCloudMlV1beta1__SetDefaultVersionRequest", |
| 1424 "properties": {}, |
| 1425 "type": "object" |
| 1426 }, |
| 1427 "GoogleCloudMlV1__ManualScaling": { |
| 1428 "description": "Options for manually scaling a model.", |
| 1429 "id": "GoogleCloudMlV1__ManualScaling", |
| 1430 "properties": { |
| 1431 "nodes": { |
| 1432 "description": "The number of nodes to allocate for this mod
el. These nodes are always up,\nstarting from the time the model is deployed, so
the cost of operating\nthis model will be proportional to nodes * number of hou
rs since\ndeployment.", |
| 1433 "format": "int32", |
| 1434 "type": "integer" |
| 1435 } |
| 1436 }, |
| 1437 "type": "object" |
| 1438 }, |
| 1439 "GoogleCloudMlV1beta1__ParameterSpec": { |
| 1440 "description": "Represents a single hyperparameter to optimize.", |
| 1441 "id": "GoogleCloudMlV1beta1__ParameterSpec", |
| 1442 "properties": { |
| 1443 "categoricalValues": { |
| 1444 "description": "Required if type is `CATEGORICAL`. The list
of possible categories.", |
| 1445 "items": { |
| 1446 "type": "string" |
| 1447 }, |
| 1448 "type": "array" |
| 1449 }, |
| 1450 "parameterName": { |
| 1451 "description": "Required. The parameter name must be unique
amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_
rate\".", |
| 1452 "type": "string" |
| 1453 }, |
| 1454 "minValue": { |
| 1455 "description": "Required if type is `DOUBLE` or `INTEGER`. T
his field\nshould be unset if type is `CATEGORICAL`. This value should be intege
rs if\ntype is INTEGER.", |
| 1456 "format": "double", |
| 1457 "type": "number" |
| 1458 }, |
| 1459 "discreteValues": { |
| 1460 "description": "Required if type is `DISCRETE`.\nA list of f
easible points.\nThe list should be in strictly increasing order. For instance,
this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nsh
ould not contain more than 1,000 values.", |
| 1461 "items": { |
| 1462 "format": "double", |
| 1463 "type": "number" |
| 1464 }, |
| 1465 "type": "array" |
| 1466 }, |
| 1467 "scaleType": { |
| 1468 "description": "Optional. How the parameter should be scaled
to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scalin
g is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_S
CALE`).", |
| 1469 "enum": [ |
| 1470 "NONE", |
| 1471 "UNIT_LINEAR_SCALE", |
| 1472 "UNIT_LOG_SCALE", |
| 1473 "UNIT_REVERSE_LOG_SCALE" |
| 1474 ], |
| 1475 "enumDescriptions": [ |
| 1476 "By default, no scaling is applied.", |
| 1477 "Scales the feasible space to (0, 1) linearly.", |
| 1478 "Scales the feasible space logarithmically to (0, 1). Th
e entire feasible\nspace must be strictly positive.", |
| 1479 "Scales the feasible space \"reverse\" logarithmically t
o (0, 1). The result\nis that values close to the top of the feasible space are
spread out more\nthan points near the bottom. The entire feasible space must be
strictly\npositive." |
| 1480 ], |
| 1481 "type": "string" |
| 1482 }, |
| 1483 "maxValue": { |
| 1484 "description": "Required if typeis `DOUBLE` or `INTEGER`. Th
is field\nshould be unset if type is `CATEGORICAL`. This value should be integer
s if\ntype is `INTEGER`.", |
| 1485 "format": "double", |
| 1486 "type": "number" |
| 1487 }, |
| 1488 "type": { |
| 1489 "description": "Required. The type of the parameter.", |
| 1490 "enum": [ |
| 1491 "PARAMETER_TYPE_UNSPECIFIED", |
| 1492 "DOUBLE", |
| 1493 "INTEGER", |
| 1494 "CATEGORICAL", |
| 1495 "DISCRETE" |
| 1496 ], |
| 1497 "enumDescriptions": [ |
| 1498 "You must specify a valid type. Using this unspecified t
ype will result in\nan error.", |
| 1499 "Type for real-valued parameters.", |
| 1500 "Type for integral parameters.", |
| 1501 "The parameter is categorical, with a value chosen from
the categories\nfield.", |
| 1502 "The parameter is real valued, with a fixed set of feasi
ble points. If\n`type==DISCRETE`, feasible_points must be provided, and\n{`min_v
alue`, `max_value`} will be ignored." |
| 1503 ], |
| 1504 "type": "string" |
| 1505 } |
| 1506 }, |
| 1507 "type": "object" |
| 1508 }, |
| 1509 "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetric": { |
| 1510 "description": "An observed value of a metric.", |
| 1511 "id": "GoogleCloudMlV1beta1_HyperparameterOutput_HyperparameterMetri
c", |
| 1512 "properties": { |
| 1513 "objectiveValue": { |
| 1514 "description": "The objective value at this training step.", |
| 1515 "format": "double", |
| 1516 "type": "number" |
| 1517 }, |
| 1518 "trainingStep": { |
| 1519 "description": "The global training step for this metric.", |
| 1520 "format": "int64", |
| 1521 "type": "string" |
| 1522 } |
| 1523 }, |
| 1524 "type": "object" |
1493 } | 1525 } |
1494 }, | 1526 }, |
1495 "servicePath": "", | 1527 "servicePath": "", |
1496 "title": "Google Cloud Machine Learning", | 1528 "title": "Google Cloud Machine Learning Engine", |
1497 "version": "v1beta1" | 1529 "version": "v1beta1" |
1498 } | 1530 } |
OLD | NEW |