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 Engine", | 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:v1", | 22 "id": "ml:v1", |
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 "key": { | 28 "alt": { |
29 "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.", | 29 "default": "json", |
| 30 "description": "Data format for response.", |
| 31 "enum": [ |
| 32 "json", |
| 33 "media", |
| 34 "proto" |
| 35 ], |
| 36 "enumDescriptions": [ |
| 37 "Responses with Content-Type of application/json", |
| 38 "Media download with context-dependent Content-Type", |
| 39 "Responses with Content-Type of application/x-protobuf" |
| 40 ], |
30 "location": "query", | 41 "location": "query", |
31 "type": "string" | 42 "type": "string" |
32 }, | 43 }, |
33 "access_token": { | 44 "access_token": { |
34 "description": "OAuth access token.", | 45 "description": "OAuth access token.", |
35 "location": "query", | 46 "location": "query", |
36 "type": "string" | 47 "type": "string" |
37 }, | 48 }, |
| 49 "key": { |
| 50 "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.", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
38 "quotaUser": { | 54 "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.", | 55 "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", | 56 "location": "query", |
41 "type": "string" | 57 "type": "string" |
42 }, | 58 }, |
43 "pp": { | 59 "pp": { |
44 "default": "true", | 60 "default": "true", |
45 "description": "Pretty-print response.", | 61 "description": "Pretty-print response.", |
46 "location": "query", | 62 "location": "query", |
47 "type": "boolean" | 63 "type": "boolean" |
(...skipping 12 matching lines...) Expand all Loading... |
60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
61 "location": "query", | 77 "location": "query", |
62 "type": "string" | 78 "type": "string" |
63 }, | 79 }, |
64 "prettyPrint": { | 80 "prettyPrint": { |
65 "default": "true", | 81 "default": "true", |
66 "description": "Returns response with indentations and line breaks."
, | 82 "description": "Returns response with indentations and line breaks."
, |
67 "location": "query", | 83 "location": "query", |
68 "type": "boolean" | 84 "type": "boolean" |
69 }, | 85 }, |
| 86 "uploadType": { |
| 87 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
70 "fields": { | 91 "fields": { |
71 "description": "Selector specifying which fields to include in a par
tial response.", | 92 "description": "Selector specifying which fields to include in a par
tial response.", |
72 "location": "query", | 93 "location": "query", |
73 "type": "string" | 94 "type": "string" |
74 }, | 95 }, |
75 "uploadType": { | 96 "callback": { |
76 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 97 "description": "JSONP", |
77 "location": "query", | 98 "location": "query", |
78 "type": "string" | 99 "type": "string" |
79 }, | 100 }, |
80 "$.xgafv": { | 101 "$.xgafv": { |
81 "description": "V1 error format.", | 102 "description": "V1 error format.", |
82 "enum": [ | 103 "enum": [ |
83 "1", | 104 "1", |
84 "2" | 105 "2" |
85 ], | 106 ], |
86 "enumDescriptions": [ | 107 "enumDescriptions": [ |
87 "v1 error format", | 108 "v1 error format", |
88 "v2 error format" | 109 "v2 error format" |
89 ], | 110 ], |
90 "location": "query", | 111 "location": "query", |
91 "type": "string" | 112 "type": "string" |
92 }, | |
93 "callback": { | |
94 "description": "JSONP", | |
95 "location": "query", | |
96 "type": "string" | |
97 }, | |
98 "alt": { | |
99 "default": "json", | |
100 "description": "Data format for response.", | |
101 "enum": [ | |
102 "json", | |
103 "media", | |
104 "proto" | |
105 ], | |
106 "enumDescriptions": [ | |
107 "Responses with Content-Type of application/json", | |
108 "Media download with context-dependent Content-Type", | |
109 "Responses with Content-Type of application/x-protobuf" | |
110 ], | |
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": { | 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.", | 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", | 121 "httpMethod": "GET", |
122 "id": "ml.projects.getConfig", | 122 "id": "ml.projects.getConfig", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 "$ref": "GoogleApi__HttpBody" | 164 "$ref": "GoogleApi__HttpBody" |
165 }, | 165 }, |
166 "scopes": [ | 166 "scopes": [ |
167 "https://www.googleapis.com/auth/cloud-platform" | 167 "https://www.googleapis.com/auth/cloud-platform" |
168 ] | 168 ] |
169 } | 169 } |
170 }, | 170 }, |
171 "resources": { | 171 "resources": { |
172 "models": { | 172 "models": { |
173 "methods": { | 173 "methods": { |
174 "getIamPolicy": { | 174 "list": { |
175 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", | 175 "description": "Lists the models in a project.\n\nEa
ch project can contain multiple models, and each model can have multiple\nversio
ns.", |
176 "httpMethod": "GET", | 176 "httpMethod": "GET", |
177 "id": "ml.projects.models.getIamPolicy", | 177 "id": "ml.projects.models.list", |
178 "parameterOrder": [ | 178 "parameterOrder": [ |
179 "resource" | 179 "parent" |
180 ], | 180 ], |
181 "parameters": { | 181 "parameters": { |
182 "resource": { | 182 "pageToken": { |
183 "description": "REQUIRED: The resource for w
hich the policy is being requested.\nSee the operation documentation for the app
ropriate value for this field.", | 183 "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.", |
| 184 "location": "query", |
| 185 "type": "string" |
| 186 }, |
| 187 "pageSize": { |
| 188 "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.", |
| 189 "format": "int32", |
| 190 "location": "query", |
| 191 "type": "integer" |
| 192 }, |
| 193 "parent": { |
| 194 "description": "Required. The name of the pr
oject whose models are to be listed.", |
184 "location": "path", | 195 "location": "path", |
185 "pattern": "^projects/[^/]+/models/[^/]+$", | 196 "pattern": "^projects/[^/]+$", |
186 "required": true, | 197 "required": true, |
187 "type": "string" | 198 "type": "string" |
188 } | 199 } |
189 }, | 200 }, |
190 "path": "v1/{+resource}:getIamPolicy", | 201 "path": "v1/{+parent}/models", |
191 "response": { | 202 "response": { |
192 "$ref": "GoogleIamV1__Policy" | 203 "$ref": "GoogleCloudMlV1__ListModelsResponse" |
193 }, | 204 }, |
194 "scopes": [ | 205 "scopes": [ |
195 "https://www.googleapis.com/auth/cloud-platform" | 206 "https://www.googleapis.com/auth/cloud-platform" |
196 ] | 207 ] |
197 }, | 208 }, |
198 "get": { | 209 "create": { |
199 "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).", | 210 "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-engine/reference/rest/v1/projects.models.versions/create).", |
200 "httpMethod": "GET", | 211 "httpMethod": "POST", |
201 "id": "ml.projects.models.get", | 212 "id": "ml.projects.models.create", |
202 "parameterOrder": [ | 213 "parameterOrder": [ |
203 "name" | 214 "parent" |
204 ], | 215 ], |
205 "parameters": { | 216 "parameters": { |
206 "name": { | 217 "parent": { |
207 "description": "Required. The name of the mo
del.", | 218 "description": "Required. The project name."
, |
208 "location": "path", | 219 "location": "path", |
209 "pattern": "^projects/[^/]+/models/[^/]+$", | 220 "pattern": "^projects/[^/]+$", |
210 "required": true, | 221 "required": true, |
211 "type": "string" | 222 "type": "string" |
212 } | 223 } |
213 }, | 224 }, |
214 "path": "v1/{+name}", | 225 "path": "v1/{+parent}/models", |
| 226 "request": { |
| 227 "$ref": "GoogleCloudMlV1__Model" |
| 228 }, |
215 "response": { | 229 "response": { |
216 "$ref": "GoogleCloudMlV1__Model" | 230 "$ref": "GoogleCloudMlV1__Model" |
217 }, | 231 }, |
218 "scopes": [ | 232 "scopes": [ |
219 "https://www.googleapis.com/auth/cloud-platform" | 233 "https://www.googleapis.com/auth/cloud-platform" |
220 ] | 234 ] |
221 }, | 235 }, |
| 236 "setIamPolicy": { |
| 237 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", |
| 238 "httpMethod": "POST", |
| 239 "id": "ml.projects.models.setIamPolicy", |
| 240 "parameterOrder": [ |
| 241 "resource" |
| 242 ], |
| 243 "parameters": { |
| 244 "resource": { |
| 245 "description": "REQUIRED: The resource for w
hich the policy is being specified.\nSee the operation documentation for the app
ropriate value for this field.", |
| 246 "location": "path", |
| 247 "pattern": "^projects/[^/]+/models/[^/]+$", |
| 248 "required": true, |
| 249 "type": "string" |
| 250 } |
| 251 }, |
| 252 "path": "v1/{+resource}:setIamPolicy", |
| 253 "request": { |
| 254 "$ref": "GoogleIamV1__SetIamPolicyRequest" |
| 255 }, |
| 256 "response": { |
| 257 "$ref": "GoogleIamV1__Policy" |
| 258 }, |
| 259 "scopes": [ |
| 260 "https://www.googleapis.com/auth/cloud-platform" |
| 261 ] |
| 262 }, |
| 263 "getIamPolicy": { |
| 264 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", |
| 265 "httpMethod": "GET", |
| 266 "id": "ml.projects.models.getIamPolicy", |
| 267 "parameterOrder": [ |
| 268 "resource" |
| 269 ], |
| 270 "parameters": { |
| 271 "resource": { |
| 272 "description": "REQUIRED: The resource for w
hich the policy is being requested.\nSee the operation documentation for the app
ropriate value for this field.", |
| 273 "location": "path", |
| 274 "pattern": "^projects/[^/]+/models/[^/]+$", |
| 275 "required": true, |
| 276 "type": "string" |
| 277 } |
| 278 }, |
| 279 "path": "v1/{+resource}:getIamPolicy", |
| 280 "response": { |
| 281 "$ref": "GoogleIamV1__Policy" |
| 282 }, |
| 283 "scopes": [ |
| 284 "https://www.googleapis.com/auth/cloud-platform" |
| 285 ] |
| 286 }, |
| 287 "get": { |
| 288 "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).", |
| 289 "httpMethod": "GET", |
| 290 "id": "ml.projects.models.get", |
| 291 "parameterOrder": [ |
| 292 "name" |
| 293 ], |
| 294 "parameters": { |
| 295 "name": { |
| 296 "description": "Required. The name of the mo
del.", |
| 297 "location": "path", |
| 298 "pattern": "^projects/[^/]+/models/[^/]+$", |
| 299 "required": true, |
| 300 "type": "string" |
| 301 } |
| 302 }, |
| 303 "path": "v1/{+name}", |
| 304 "response": { |
| 305 "$ref": "GoogleCloudMlV1__Model" |
| 306 }, |
| 307 "scopes": [ |
| 308 "https://www.googleapis.com/auth/cloud-platform" |
| 309 ] |
| 310 }, |
222 "testIamPermissions": { | 311 "testIamPermissions": { |
223 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is d
esigned to be used for building permission-aware\nUIs and command-line tools, no
t for authorization checking. This operation\nmay \"fail open\" without warning.
", | 312 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is d
esigned to be used for building permission-aware\nUIs and command-line tools, no
t for authorization checking. This operation\nmay \"fail open\" without warning.
", |
224 "httpMethod": "POST", | 313 "httpMethod": "POST", |
225 "id": "ml.projects.models.testIamPermissions", | 314 "id": "ml.projects.models.testIamPermissions", |
226 "parameterOrder": [ | 315 "parameterOrder": [ |
227 "resource" | 316 "resource" |
228 ], | 317 ], |
229 "parameters": { | 318 "parameters": { |
230 "resource": { | 319 "resource": { |
231 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\nSee the operation documentation for
the appropriate value for this field.", | 320 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\nSee the operation documentation for
the appropriate value for this field.", |
(...skipping 29 matching lines...) Expand all Loading... |
261 "required": true, | 350 "required": true, |
262 "type": "string" | 351 "type": "string" |
263 } | 352 } |
264 }, | 353 }, |
265 "path": "v1/{+name}", | 354 "path": "v1/{+name}", |
266 "response": { | 355 "response": { |
267 "$ref": "GoogleLongrunning__Operation" | 356 "$ref": "GoogleLongrunning__Operation" |
268 }, | 357 }, |
269 "scopes": [ | 358 "scopes": [ |
270 "https://www.googleapis.com/auth/cloud-platform" | 359 "https://www.googleapis.com/auth/cloud-platform" |
271 ] | |
272 }, | |
273 "list": { | |
274 "description": "Lists the models in a project.\n\nEa
ch project can contain multiple models, and each model can have multiple\nversio
ns.", | |
275 "httpMethod": "GET", | |
276 "id": "ml.projects.models.list", | |
277 "parameterOrder": [ | |
278 "parent" | |
279 ], | |
280 "parameters": { | |
281 "parent": { | |
282 "description": "Required. The name of the pr
oject whose models are to be listed.", | |
283 "location": "path", | |
284 "pattern": "^projects/[^/]+$", | |
285 "required": true, | |
286 "type": "string" | |
287 }, | |
288 "pageToken": { | |
289 "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.", | |
290 "location": "query", | |
291 "type": "string" | |
292 }, | |
293 "pageSize": { | |
294 "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.", | |
295 "format": "int32", | |
296 "location": "query", | |
297 "type": "integer" | |
298 } | |
299 }, | |
300 "path": "v1/{+parent}/models", | |
301 "response": { | |
302 "$ref": "GoogleCloudMlV1__ListModelsResponse" | |
303 }, | |
304 "scopes": [ | |
305 "https://www.googleapis.com/auth/cloud-platform" | |
306 ] | |
307 }, | |
308 "create": { | |
309 "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-engine/reference/rest/v1/projects.models.versions/create).", | |
310 "httpMethod": "POST", | |
311 "id": "ml.projects.models.create", | |
312 "parameterOrder": [ | |
313 "parent" | |
314 ], | |
315 "parameters": { | |
316 "parent": { | |
317 "description": "Required. The project name."
, | |
318 "location": "path", | |
319 "pattern": "^projects/[^/]+$", | |
320 "required": true, | |
321 "type": "string" | |
322 } | |
323 }, | |
324 "path": "v1/{+parent}/models", | |
325 "request": { | |
326 "$ref": "GoogleCloudMlV1__Model" | |
327 }, | |
328 "response": { | |
329 "$ref": "GoogleCloudMlV1__Model" | |
330 }, | |
331 "scopes": [ | |
332 "https://www.googleapis.com/auth/cloud-platform" | |
333 ] | |
334 }, | |
335 "setIamPolicy": { | |
336 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", | |
337 "httpMethod": "POST", | |
338 "id": "ml.projects.models.setIamPolicy", | |
339 "parameterOrder": [ | |
340 "resource" | |
341 ], | |
342 "parameters": { | |
343 "resource": { | |
344 "description": "REQUIRED: The resource for w
hich the policy is being specified.\nSee the operation documentation for the app
ropriate value for this field.", | |
345 "location": "path", | |
346 "pattern": "^projects/[^/]+/models/[^/]+$", | |
347 "required": true, | |
348 "type": "string" | |
349 } | |
350 }, | |
351 "path": "v1/{+resource}:setIamPolicy", | |
352 "request": { | |
353 "$ref": "GoogleIamV1__SetIamPolicyRequest" | |
354 }, | |
355 "response": { | |
356 "$ref": "GoogleIamV1__Policy" | |
357 }, | |
358 "scopes": [ | |
359 "https://www.googleapis.com/auth/cloud-platform" | |
360 ] | 360 ] |
361 } | 361 } |
362 }, | 362 }, |
363 "resources": { | 363 "resources": { |
364 "versions": { | 364 "versions": { |
365 "methods": { | 365 "methods": { |
366 "create": { | |
367 "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-engine/reference/rest/v1/projects.models.versions/setDef
ault).", | |
368 "httpMethod": "POST", | |
369 "id": "ml.projects.models.versions.create", | |
370 "parameterOrder": [ | |
371 "parent" | |
372 ], | |
373 "parameters": { | |
374 "parent": { | |
375 "description": "Required. The name o
f the model.", | |
376 "location": "path", | |
377 "pattern": "^projects/[^/]+/models/[
^/]+$", | |
378 "required": true, | |
379 "type": "string" | |
380 } | |
381 }, | |
382 "path": "v1/{+parent}/versions", | |
383 "request": { | |
384 "$ref": "GoogleCloudMlV1__Version" | |
385 }, | |
386 "response": { | |
387 "$ref": "GoogleLongrunning__Operation" | |
388 }, | |
389 "scopes": [ | |
390 "https://www.googleapis.com/auth/cloud-p
latform" | |
391 ] | |
392 }, | |
393 "setDefault": { | |
394 "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.", | |
395 "httpMethod": "POST", | |
396 "id": "ml.projects.models.versions.setDefaul
t", | |
397 "parameterOrder": [ | |
398 "name" | |
399 ], | |
400 "parameters": { | |
401 "name": { | |
402 "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-engine/re
ference/rest/v1/projects.models.versions/list).\n\nAuthorization: `ml.models.upd
ate` permission is required on the parent model.", | |
403 "location": "path", | |
404 "pattern": "^projects/[^/]+/models/[
^/]+/versions/[^/]+$", | |
405 "required": true, | |
406 "type": "string" | |
407 } | |
408 }, | |
409 "path": "v1/{+name}:setDefault", | |
410 "request": { | |
411 "$ref": "GoogleCloudMlV1__SetDefaultVers
ionRequest" | |
412 }, | |
413 "response": { | |
414 "$ref": "GoogleCloudMlV1__Version" | |
415 }, | |
416 "scopes": [ | |
417 "https://www.googleapis.com/auth/cloud-p
latform" | |
418 ] | |
419 }, | |
420 "delete": { | 366 "delete": { |
421 "description": "Deletes a model version.\n\n
Each model can have multiple versions deployed and in use at any given\ntime. Us
e this method to remove a single version.\n\nNote: You cannot delete the version
that is set as the default version\nof the model unless it is the only remainin
g version.", | 367 "description": "Deletes a model version.\n\n
Each model can have multiple versions deployed and in use at any given\ntime. Us
e this method to remove a single version.\n\nNote: You cannot delete the version
that is set as the default version\nof the model unless it is the only remainin
g version.", |
422 "httpMethod": "DELETE", | 368 "httpMethod": "DELETE", |
423 "id": "ml.projects.models.versions.delete", | 369 "id": "ml.projects.models.versions.delete", |
424 "parameterOrder": [ | 370 "parameterOrder": [ |
425 "name" | 371 "name" |
426 ], | 372 ], |
427 "parameters": { | 373 "parameters": { |
428 "name": { | 374 "name": { |
429 "description": "Required. The name o
f the version. You can get the names of all the\nversions of a model by calling\
n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.ve
rsions/list).", | 375 "description": "Required. The name o
f the version. You can get the names of all the\nversions of a model by calling\
n[projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.ve
rsions/list).", |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 "type": "string" | 438 "type": "string" |
493 } | 439 } |
494 }, | 440 }, |
495 "path": "v1/{+parent}/versions", | 441 "path": "v1/{+parent}/versions", |
496 "response": { | 442 "response": { |
497 "$ref": "GoogleCloudMlV1__ListVersionsRe
sponse" | 443 "$ref": "GoogleCloudMlV1__ListVersionsRe
sponse" |
498 }, | 444 }, |
499 "scopes": [ | 445 "scopes": [ |
500 "https://www.googleapis.com/auth/cloud-p
latform" | 446 "https://www.googleapis.com/auth/cloud-p
latform" |
501 ] | 447 ] |
| 448 }, |
| 449 "create": { |
| 450 "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-engine/reference/rest/v1/projects.models.versions/setDef
ault).", |
| 451 "httpMethod": "POST", |
| 452 "id": "ml.projects.models.versions.create", |
| 453 "parameterOrder": [ |
| 454 "parent" |
| 455 ], |
| 456 "parameters": { |
| 457 "parent": { |
| 458 "description": "Required. The name o
f the model.", |
| 459 "location": "path", |
| 460 "pattern": "^projects/[^/]+/models/[
^/]+$", |
| 461 "required": true, |
| 462 "type": "string" |
| 463 } |
| 464 }, |
| 465 "path": "v1/{+parent}/versions", |
| 466 "request": { |
| 467 "$ref": "GoogleCloudMlV1__Version" |
| 468 }, |
| 469 "response": { |
| 470 "$ref": "GoogleLongrunning__Operation" |
| 471 }, |
| 472 "scopes": [ |
| 473 "https://www.googleapis.com/auth/cloud-p
latform" |
| 474 ] |
| 475 }, |
| 476 "setDefault": { |
| 477 "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.", |
| 478 "httpMethod": "POST", |
| 479 "id": "ml.projects.models.versions.setDefaul
t", |
| 480 "parameterOrder": [ |
| 481 "name" |
| 482 ], |
| 483 "parameters": { |
| 484 "name": { |
| 485 "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-engine/re
ference/rest/v1/projects.models.versions/list).", |
| 486 "location": "path", |
| 487 "pattern": "^projects/[^/]+/models/[
^/]+/versions/[^/]+$", |
| 488 "required": true, |
| 489 "type": "string" |
| 490 } |
| 491 }, |
| 492 "path": "v1/{+name}:setDefault", |
| 493 "request": { |
| 494 "$ref": "GoogleCloudMlV1__SetDefaultVers
ionRequest" |
| 495 }, |
| 496 "response": { |
| 497 "$ref": "GoogleCloudMlV1__Version" |
| 498 }, |
| 499 "scopes": [ |
| 500 "https://www.googleapis.com/auth/cloud-p
latform" |
| 501 ] |
502 } | 502 } |
503 } | 503 } |
504 } | 504 } |
505 } | 505 } |
506 }, | 506 }, |
507 "operations": { | 507 "operations": { |
508 "methods": { | 508 "methods": { |
509 "cancel": { | 509 "cancel": { |
510 "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`
.", | 510 "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`
.", |
511 "httpMethod": "POST", | 511 "httpMethod": "POST", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 ] | 579 ] |
580 }, | 580 }, |
581 "list": { | 581 "list": { |
582 "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 allows API services to override
the binding\nto use different resource name schemes, such as `users/*/operation
s`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{na
me=users/*}/operations\"` to their service configuration.\nFor backwards compati
bility, the default name includes the operations\ncollection id, however overrid
ing users must ensure the name binding\nis the parent resource, without the oper
ations collection id.", | 582 "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 allows API services to override
the binding\nto use different resource name schemes, such as `users/*/operation
s`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{na
me=users/*}/operations\"` to their service configuration.\nFor backwards compati
bility, the default name includes the operations\ncollection id, however overrid
ing users must ensure the name binding\nis the parent resource, without the oper
ations collection id.", |
583 "httpMethod": "GET", | 583 "httpMethod": "GET", |
584 "id": "ml.projects.operations.list", | 584 "id": "ml.projects.operations.list", |
585 "parameterOrder": [ | 585 "parameterOrder": [ |
586 "name" | 586 "name" |
587 ], | 587 ], |
588 "parameters": { | 588 "parameters": { |
589 "filter": { | |
590 "description": "The standard list filter.", | |
591 "location": "query", | |
592 "type": "string" | |
593 }, | |
594 "pageToken": { | 589 "pageToken": { |
595 "description": "The standard list page token
.", | 590 "description": "The standard list page token
.", |
596 "location": "query", | 591 "location": "query", |
597 "type": "string" | 592 "type": "string" |
598 }, | 593 }, |
599 "name": { | 594 "name": { |
600 "description": "The name of the operation's
parent resource.", | 595 "description": "The name of the operation's
parent resource.", |
601 "location": "path", | 596 "location": "path", |
602 "pattern": "^projects/[^/]+$", | 597 "pattern": "^projects/[^/]+$", |
603 "required": true, | 598 "required": true, |
604 "type": "string" | 599 "type": "string" |
605 }, | 600 }, |
606 "pageSize": { | 601 "pageSize": { |
607 "description": "The standard list page size.
", | 602 "description": "The standard list page size.
", |
608 "format": "int32", | 603 "format": "int32", |
609 "location": "query", | 604 "location": "query", |
610 "type": "integer" | 605 "type": "integer" |
| 606 }, |
| 607 "filter": { |
| 608 "description": "The standard list filter.", |
| 609 "location": "query", |
| 610 "type": "string" |
611 } | 611 } |
612 }, | 612 }, |
613 "path": "v1/{+name}/operations", | 613 "path": "v1/{+name}/operations", |
614 "response": { | 614 "response": { |
615 "$ref": "GoogleLongrunning__ListOperationsRespon
se" | 615 "$ref": "GoogleLongrunning__ListOperationsRespon
se" |
616 }, | 616 }, |
617 "scopes": [ | 617 "scopes": [ |
618 "https://www.googleapis.com/auth/cloud-platform" | 618 "https://www.googleapis.com/auth/cloud-platform" |
619 ] | 619 ] |
620 } | 620 } |
621 } | 621 } |
622 }, | 622 }, |
623 "jobs": { | 623 "jobs": { |
624 "methods": { | 624 "methods": { |
625 "cancel": { | |
626 "description": "Cancels a running job.", | |
627 "httpMethod": "POST", | |
628 "id": "ml.projects.jobs.cancel", | |
629 "parameterOrder": [ | |
630 "name" | |
631 ], | |
632 "parameters": { | |
633 "name": { | |
634 "description": "Required. The name of the jo
b to cancel.", | |
635 "location": "path", | |
636 "pattern": "^projects/[^/]+/jobs/[^/]+$", | |
637 "required": true, | |
638 "type": "string" | |
639 } | |
640 }, | |
641 "path": "v1/{+name}:cancel", | |
642 "request": { | |
643 "$ref": "GoogleCloudMlV1__CancelJobRequest" | |
644 }, | |
645 "response": { | |
646 "$ref": "GoogleProtobuf__Empty" | |
647 }, | |
648 "scopes": [ | |
649 "https://www.googleapis.com/auth/cloud-platform" | |
650 ] | |
651 }, | |
652 "get": { | 625 "get": { |
653 "description": "Describes a job.", | 626 "description": "Describes a job.", |
654 "httpMethod": "GET", | 627 "httpMethod": "GET", |
655 "id": "ml.projects.jobs.get", | 628 "id": "ml.projects.jobs.get", |
656 "parameterOrder": [ | 629 "parameterOrder": [ |
657 "name" | 630 "name" |
658 ], | 631 ], |
659 "parameters": { | 632 "parameters": { |
660 "name": { | 633 "name": { |
661 "description": "Required. The name of the jo
b to get the description of.", | 634 "description": "Required. The name of the jo
b to get the description of.", |
662 "location": "path", | 635 "location": "path", |
663 "pattern": "^projects/[^/]+/jobs/[^/]+$", | 636 "pattern": "^projects/[^/]+/jobs/[^/]+$", |
664 "required": true, | 637 "required": true, |
665 "type": "string" | 638 "type": "string" |
666 } | 639 } |
667 }, | 640 }, |
668 "path": "v1/{+name}", | 641 "path": "v1/{+name}", |
669 "response": { | 642 "response": { |
670 "$ref": "GoogleCloudMlV1__Job" | 643 "$ref": "GoogleCloudMlV1__Job" |
671 }, | 644 }, |
672 "scopes": [ | 645 "scopes": [ |
673 "https://www.googleapis.com/auth/cloud-platform" | 646 "https://www.googleapis.com/auth/cloud-platform" |
| 647 ] |
| 648 }, |
| 649 "testIamPermissions": { |
| 650 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is d
esigned to be used for building permission-aware\nUIs and command-line tools, no
t for authorization checking. This operation\nmay \"fail open\" without warning.
", |
| 651 "httpMethod": "POST", |
| 652 "id": "ml.projects.jobs.testIamPermissions", |
| 653 "parameterOrder": [ |
| 654 "resource" |
| 655 ], |
| 656 "parameters": { |
| 657 "resource": { |
| 658 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\nSee the operation documentation for
the appropriate value for this field.", |
| 659 "location": "path", |
| 660 "pattern": "^projects/[^/]+/jobs/[^/]+$", |
| 661 "required": true, |
| 662 "type": "string" |
| 663 } |
| 664 }, |
| 665 "path": "v1/{+resource}:testIamPermissions", |
| 666 "request": { |
| 667 "$ref": "GoogleIamV1__TestIamPermissionsRequest" |
| 668 }, |
| 669 "response": { |
| 670 "$ref": "GoogleIamV1__TestIamPermissionsResponse
" |
| 671 }, |
| 672 "scopes": [ |
| 673 "https://www.googleapis.com/auth/cloud-platform" |
674 ] | 674 ] |
675 }, | 675 }, |
676 "list": { | 676 "list": { |
677 "description": "Lists the jobs in the project.", | 677 "description": "Lists the jobs in the project.", |
678 "httpMethod": "GET", | 678 "httpMethod": "GET", |
679 "id": "ml.projects.jobs.list", | 679 "id": "ml.projects.jobs.list", |
680 "parameterOrder": [ | 680 "parameterOrder": [ |
681 "parent" | 681 "parent" |
682 ], | 682 ], |
683 "parameters": { | 683 "parameters": { |
(...skipping 22 matching lines...) Expand all Loading... |
706 } | 706 } |
707 }, | 707 }, |
708 "path": "v1/{+parent}/jobs", | 708 "path": "v1/{+parent}/jobs", |
709 "response": { | 709 "response": { |
710 "$ref": "GoogleCloudMlV1__ListJobsResponse" | 710 "$ref": "GoogleCloudMlV1__ListJobsResponse" |
711 }, | 711 }, |
712 "scopes": [ | 712 "scopes": [ |
713 "https://www.googleapis.com/auth/cloud-platform" | 713 "https://www.googleapis.com/auth/cloud-platform" |
714 ] | 714 ] |
715 }, | 715 }, |
| 716 "setIamPolicy": { |
| 717 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", |
| 718 "httpMethod": "POST", |
| 719 "id": "ml.projects.jobs.setIamPolicy", |
| 720 "parameterOrder": [ |
| 721 "resource" |
| 722 ], |
| 723 "parameters": { |
| 724 "resource": { |
| 725 "description": "REQUIRED: The resource for w
hich the policy is being specified.\nSee the operation documentation for the app
ropriate value for this field.", |
| 726 "location": "path", |
| 727 "pattern": "^projects/[^/]+/jobs/[^/]+$", |
| 728 "required": true, |
| 729 "type": "string" |
| 730 } |
| 731 }, |
| 732 "path": "v1/{+resource}:setIamPolicy", |
| 733 "request": { |
| 734 "$ref": "GoogleIamV1__SetIamPolicyRequest" |
| 735 }, |
| 736 "response": { |
| 737 "$ref": "GoogleIamV1__Policy" |
| 738 }, |
| 739 "scopes": [ |
| 740 "https://www.googleapis.com/auth/cloud-platform" |
| 741 ] |
| 742 }, |
716 "create": { | 743 "create": { |
717 "description": "Creates a training or a batch predic
tion job.", | 744 "description": "Creates a training or a batch predic
tion job.", |
718 "httpMethod": "POST", | 745 "httpMethod": "POST", |
719 "id": "ml.projects.jobs.create", | 746 "id": "ml.projects.jobs.create", |
720 "parameterOrder": [ | 747 "parameterOrder": [ |
721 "parent" | 748 "parent" |
722 ], | 749 ], |
723 "parameters": { | 750 "parameters": { |
724 "parent": { | 751 "parent": { |
725 "description": "Required. The project name."
, | 752 "description": "Required. The project name."
, |
726 "location": "path", | 753 "location": "path", |
727 "pattern": "^projects/[^/]+$", | 754 "pattern": "^projects/[^/]+$", |
728 "required": true, | 755 "required": true, |
729 "type": "string" | 756 "type": "string" |
730 } | 757 } |
731 }, | 758 }, |
732 "path": "v1/{+parent}/jobs", | 759 "path": "v1/{+parent}/jobs", |
733 "request": { | 760 "request": { |
734 "$ref": "GoogleCloudMlV1__Job" | 761 "$ref": "GoogleCloudMlV1__Job" |
735 }, | 762 }, |
736 "response": { | 763 "response": { |
737 "$ref": "GoogleCloudMlV1__Job" | 764 "$ref": "GoogleCloudMlV1__Job" |
738 }, | 765 }, |
739 "scopes": [ | 766 "scopes": [ |
740 "https://www.googleapis.com/auth/cloud-platform" | 767 "https://www.googleapis.com/auth/cloud-platform" |
741 ] | 768 ] |
| 769 }, |
| 770 "cancel": { |
| 771 "description": "Cancels a running job.", |
| 772 "httpMethod": "POST", |
| 773 "id": "ml.projects.jobs.cancel", |
| 774 "parameterOrder": [ |
| 775 "name" |
| 776 ], |
| 777 "parameters": { |
| 778 "name": { |
| 779 "description": "Required. The name of the jo
b to cancel.", |
| 780 "location": "path", |
| 781 "pattern": "^projects/[^/]+/jobs/[^/]+$", |
| 782 "required": true, |
| 783 "type": "string" |
| 784 } |
| 785 }, |
| 786 "path": "v1/{+name}:cancel", |
| 787 "request": { |
| 788 "$ref": "GoogleCloudMlV1__CancelJobRequest" |
| 789 }, |
| 790 "response": { |
| 791 "$ref": "GoogleProtobuf__Empty" |
| 792 }, |
| 793 "scopes": [ |
| 794 "https://www.googleapis.com/auth/cloud-platform" |
| 795 ] |
| 796 }, |
| 797 "getIamPolicy": { |
| 798 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", |
| 799 "httpMethod": "GET", |
| 800 "id": "ml.projects.jobs.getIamPolicy", |
| 801 "parameterOrder": [ |
| 802 "resource" |
| 803 ], |
| 804 "parameters": { |
| 805 "resource": { |
| 806 "description": "REQUIRED: The resource for w
hich the policy is being requested.\nSee the operation documentation for the app
ropriate value for this field.", |
| 807 "location": "path", |
| 808 "pattern": "^projects/[^/]+/jobs/[^/]+$", |
| 809 "required": true, |
| 810 "type": "string" |
| 811 } |
| 812 }, |
| 813 "path": "v1/{+resource}:getIamPolicy", |
| 814 "response": { |
| 815 "$ref": "GoogleIamV1__Policy" |
| 816 }, |
| 817 "scopes": [ |
| 818 "https://www.googleapis.com/auth/cloud-platform" |
| 819 ] |
742 } | 820 } |
743 } | 821 } |
744 } | 822 } |
745 } | 823 } |
746 } | 824 } |
747 }, | 825 }, |
748 "revision": "20170718", | 826 "revision": "20170812", |
749 "rootUrl": "https://ml.googleapis.com/", | 827 "rootUrl": "https://ml.googleapis.com/", |
750 "schemas": { | 828 "schemas": { |
751 "GoogleIamV1_LogConfig_DataAccessOptions": { | 829 "GoogleIamV1_LogConfig_DataAccessOptions": { |
752 "description": "Write a Data Access (Gin) log", | 830 "description": "Write a Data Access (Gin) log", |
753 "id": "GoogleIamV1_LogConfig_DataAccessOptions", | 831 "id": "GoogleIamV1_LogConfig_DataAccessOptions", |
754 "properties": {}, | 832 "properties": { |
| 833 "logMode": { |
| 834 "description": "Whether Gin logging should happen in a fail-
closed manner at the caller.\nThis is relevant only in the LocalIAM implementati
on, for now.", |
| 835 "enum": [ |
| 836 "LOG_MODE_UNSPECIFIED", |
| 837 "LOG_FAIL_CLOSED" |
| 838 ], |
| 839 "enumDescriptions": [ |
| 840 "Client is not required to write a partial Gin log immed
iately after\nthe authorization check. If client chooses to write one and it fai
ls,\nclient may either fail open (allow the operation to continue) or\nfail clos
ed (handle as a DENY outcome).", |
| 841 "The application's operation in the context of which thi
s authorization\ncheck is being made may only be performed if it is successfully
logged\nto Gin. For instance, the authorization library may satisfy this\noblig
ation by emitting a partial log entry at authorization check time\nand only retu
rning ALLOW to the application if it succeeds.\n\nIf a matching Rule has this di
rective, but the client has not indicated\nthat it will honor such requirements,
then the IAM check will result in\nauthorization failure by setting CheckPolicy
Response.success=false." |
| 842 ], |
| 843 "type": "string" |
| 844 } |
| 845 }, |
755 "type": "object" | 846 "type": "object" |
756 }, | 847 }, |
757 "GoogleCloudMlV1__PredictionInput": { | 848 "GoogleCloudMlV1__PredictionInput": { |
758 "description": "Represents input parameters for a prediction job.", | 849 "description": "Represents input parameters for a prediction job.", |
759 "id": "GoogleCloudMlV1__PredictionInput", | 850 "id": "GoogleCloudMlV1__PredictionInput", |
760 "properties": { | 851 "properties": { |
| 852 "maxWorkerCount": { |
| 853 "description": "Optional. The maximum number of workers to b
e used for parallel processing.\nDefaults to 10 if not specified.", |
| 854 "format": "int64", |
| 855 "type": "string" |
| 856 }, |
| 857 "uri": { |
| 858 "description": "Use this field if you want to specify a Goog
le Cloud Storage path for\nthe model to use.", |
| 859 "type": "string" |
| 860 }, |
761 "dataFormat": { | 861 "dataFormat": { |
762 "description": "Required. The format of the input data files
.", | 862 "description": "Required. The format of the input data files
.", |
763 "enum": [ | 863 "enum": [ |
764 "DATA_FORMAT_UNSPECIFIED", | 864 "DATA_FORMAT_UNSPECIFIED", |
765 "TEXT", | 865 "TEXT", |
766 "TF_RECORD", | 866 "TF_RECORD", |
767 "TF_RECORD_GZIP" | 867 "TF_RECORD_GZIP" |
768 ], | 868 ], |
769 "enumDescriptions": [ | 869 "enumDescriptions": [ |
770 "Unspecified format.", | 870 "Unspecified format.", |
771 "The source file is a text file with instances separated
by the\nnew-line character.", | 871 "The source file is a text file with instances separated
by the\nnew-line character.", |
772 "The source file is a TFRecord file.", | 872 "The source file is a TFRecord file.", |
773 "The source file is a GZIP-compressed TFRecord file." | 873 "The source file is a GZIP-compressed TFRecord file." |
774 ], | 874 ], |
775 "type": "string" | 875 "type": "string" |
776 }, | 876 }, |
| 877 "batchSize": { |
| 878 "description": "Optional. Number of records per batch, defau
lts to 64.\nThe service will buffer batch_size number of records in memory befor
e\ninvoking one Tensorflow prediction call internally. So take the record\nsize
and memory available into consideration when setting this parameter.", |
| 879 "format": "int64", |
| 880 "type": "string" |
| 881 }, |
777 "runtimeVersion": { | 882 "runtimeVersion": { |
778 "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.", | 883 "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.", |
779 "type": "string" | 884 "type": "string" |
780 }, | 885 }, |
781 "inputPaths": { | 886 "inputPaths": { |
782 "description": "Required. The Google Cloud Storage location
of the input data files.\nMay contain wildcards.", | 887 "description": "Required. The Google Cloud Storage location
of the input data files.\nMay contain wildcards.", |
783 "items": { | 888 "items": { |
784 "type": "string" | 889 "type": "string" |
785 }, | 890 }, |
786 "type": "array" | 891 "type": "array" |
787 }, | 892 }, |
788 "region": { | 893 "region": { |
789 "description": "Required. The Google Compute Engine region t
o run the prediction job in.", | 894 "description": "Required. The Google Compute Engine region t
o run the prediction job in.", |
790 "type": "string" | 895 "type": "string" |
791 }, | 896 }, |
792 "versionName": { | 897 "versionName": { |
793 "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>\"`", | 898 "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>\"`", |
794 "type": "string" | 899 "type": "string" |
795 }, | 900 }, |
796 "modelName": { | 901 "modelName": { |
797 "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>\"`", | 902 "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>\"`", |
798 "type": "string" | 903 "type": "string" |
799 }, | 904 }, |
800 "outputPath": { | 905 "outputPath": { |
801 "description": "Required. The output Google Cloud Storage lo
cation.", | 906 "description": "Required. The output Google Cloud Storage lo
cation.", |
802 "type": "string" | 907 "type": "string" |
803 }, | |
804 "maxWorkerCount": { | |
805 "description": "Optional. The maximum number of workers to b
e used for parallel processing.\nDefaults to 10 if not specified.", | |
806 "format": "int64", | |
807 "type": "string" | |
808 }, | |
809 "uri": { | |
810 "description": "Use this field if you want to specify a Goog
le Cloud Storage path for\nthe model to use.", | |
811 "type": "string" | |
812 } | 908 } |
813 }, | 909 }, |
814 "type": "object" | 910 "type": "object" |
815 }, | 911 }, |
816 "GoogleCloudMlV1__OperationMetadata": { | 912 "GoogleCloudMlV1beta1__OperationMetadata": { |
817 "description": "Represents the metadata of the long-running operatio
n.", | 913 "description": "Represents the metadata of the long-running operatio
n.\n\nNext ID: 9", |
818 "id": "GoogleCloudMlV1__OperationMetadata", | 914 "id": "GoogleCloudMlV1beta1__OperationMetadata", |
819 "properties": { | 915 "properties": { |
820 "modelName": { | 916 "modelName": { |
821 "description": "Contains the name of the model associated wi
th the operation.", | 917 "description": "Contains the name of the model associated wi
th the operation.", |
822 "type": "string" | 918 "type": "string" |
823 }, | 919 }, |
824 "version": { | 920 "version": { |
825 "$ref": "GoogleCloudMlV1__Version", | 921 "$ref": "GoogleCloudMlV1beta1__Version", |
826 "description": "Contains the version associated with the ope
ration." | 922 "description": "Contains the version associated with the ope
ration." |
827 }, | 923 }, |
828 "endTime": { | 924 "endTime": { |
829 "description": "The time operation processing completed.", | 925 "description": "The time operation processing completed.", |
830 "format": "google-datetime", | 926 "format": "google-datetime", |
831 "type": "string" | 927 "type": "string" |
832 }, | 928 }, |
833 "operationType": { | 929 "operationType": { |
834 "description": "The operation type.", | 930 "description": "The operation type.", |
835 "enum": [ | 931 "enum": [ |
836 "OPERATION_TYPE_UNSPECIFIED", | 932 "OPERATION_TYPE_UNSPECIFIED", |
837 "CREATE_VERSION", | 933 "CREATE_VERSION", |
838 "DELETE_VERSION", | 934 "DELETE_VERSION", |
839 "DELETE_MODEL" | 935 "DELETE_MODEL", |
| 936 "UPDATE_MODEL", |
| 937 "UPDATE_VERSION" |
840 ], | 938 ], |
841 "enumDescriptions": [ | 939 "enumDescriptions": [ |
842 "Unspecified operation type.", | 940 "Unspecified operation type.", |
843 "An operation to create a new version.", | 941 "An operation to create a new version.", |
844 "An operation to delete an existing version.", | 942 "An operation to delete an existing version.", |
845 "An operation to delete an existing model." | 943 "An operation to delete an existing model.", |
| 944 "An operation to update an existing model.", |
| 945 "An operation to update an existing version." |
846 ], | 946 ], |
847 "type": "string" | 947 "type": "string" |
848 }, | 948 }, |
849 "startTime": { | 949 "startTime": { |
850 "description": "The time operation processing started.", | 950 "description": "The time operation processing started.", |
851 "format": "google-datetime", | 951 "format": "google-datetime", |
852 "type": "string" | 952 "type": "string" |
853 }, | 953 }, |
854 "isCancellationRequested": { | 954 "isCancellationRequested": { |
855 "description": "Indicates whether a request to cancel this o
peration has been made.", | 955 "description": "Indicates whether a request to cancel this o
peration has been made.", |
856 "type": "boolean" | 956 "type": "boolean" |
857 }, | 957 }, |
858 "createTime": { | 958 "createTime": { |
859 "description": "The time the operation was submitted.", | 959 "description": "The time the operation was submitted.", |
860 "format": "google-datetime", | 960 "format": "google-datetime", |
861 "type": "string" | 961 "type": "string" |
862 } | 962 } |
863 }, | 963 }, |
864 "type": "object" | 964 "type": "object" |
865 }, | 965 }, |
866 "GoogleCloudMlV1beta1__OperationMetadata": { | 966 "GoogleCloudMlV1__OperationMetadata": { |
867 "description": "Represents the metadata of the long-running operatio
n.", | 967 "description": "Represents the metadata of the long-running operatio
n.\n\nNext ID: 9", |
868 "id": "GoogleCloudMlV1beta1__OperationMetadata", | 968 "id": "GoogleCloudMlV1__OperationMetadata", |
869 "properties": { | 969 "properties": { |
870 "startTime": { | |
871 "description": "The time operation processing started.", | |
872 "format": "google-datetime", | |
873 "type": "string" | |
874 }, | |
875 "isCancellationRequested": { | |
876 "description": "Indicates whether a request to cancel this o
peration has been made.", | |
877 "type": "boolean" | |
878 }, | |
879 "createTime": { | |
880 "description": "The time the operation was submitted.", | |
881 "format": "google-datetime", | |
882 "type": "string" | |
883 }, | |
884 "modelName": { | |
885 "description": "Contains the name of the model associated wi
th the operation.", | |
886 "type": "string" | |
887 }, | |
888 "version": { | 970 "version": { |
889 "$ref": "GoogleCloudMlV1beta1__Version", | 971 "$ref": "GoogleCloudMlV1__Version", |
890 "description": "Contains the version associated with the ope
ration." | 972 "description": "Contains the version associated with the ope
ration." |
891 }, | 973 }, |
892 "endTime": { | 974 "endTime": { |
893 "description": "The time operation processing completed.", | 975 "description": "The time operation processing completed.", |
894 "format": "google-datetime", | 976 "format": "google-datetime", |
895 "type": "string" | 977 "type": "string" |
896 }, | 978 }, |
897 "operationType": { | 979 "operationType": { |
898 "description": "The operation type.", | 980 "description": "The operation type.", |
899 "enum": [ | 981 "enum": [ |
900 "OPERATION_TYPE_UNSPECIFIED", | 982 "OPERATION_TYPE_UNSPECIFIED", |
901 "CREATE_VERSION", | 983 "CREATE_VERSION", |
902 "DELETE_VERSION", | 984 "DELETE_VERSION", |
903 "DELETE_MODEL" | 985 "DELETE_MODEL", |
| 986 "UPDATE_MODEL", |
| 987 "UPDATE_VERSION" |
904 ], | 988 ], |
905 "enumDescriptions": [ | 989 "enumDescriptions": [ |
906 "Unspecified operation type.", | 990 "Unspecified operation type.", |
907 "An operation to create a new version.", | 991 "An operation to create a new version.", |
908 "An operation to delete an existing version.", | 992 "An operation to delete an existing version.", |
909 "An operation to delete an existing model." | 993 "An operation to delete an existing model.", |
| 994 "An operation to update an existing model.", |
| 995 "An operation to update an existing version." |
910 ], | 996 ], |
911 "type": "string" | 997 "type": "string" |
| 998 }, |
| 999 "startTime": { |
| 1000 "description": "The time operation processing started.", |
| 1001 "format": "google-datetime", |
| 1002 "type": "string" |
| 1003 }, |
| 1004 "isCancellationRequested": { |
| 1005 "description": "Indicates whether a request to cancel this o
peration has been made.", |
| 1006 "type": "boolean" |
| 1007 }, |
| 1008 "createTime": { |
| 1009 "description": "The time the operation was submitted.", |
| 1010 "format": "google-datetime", |
| 1011 "type": "string" |
| 1012 }, |
| 1013 "modelName": { |
| 1014 "description": "Contains the name of the model associated wi
th the operation.", |
| 1015 "type": "string" |
912 } | 1016 } |
913 }, | 1017 }, |
914 "type": "object" | 1018 "type": "object" |
915 }, | 1019 }, |
916 "GoogleIamV1__AuditLogConfig": { | 1020 "GoogleIamV1__AuditLogConfig": { |
917 "description": "Provides the configuration for logging a type of per
missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n
\"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n
\"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type
\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and '
DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", | 1021 "description": "Provides the configuration for logging a type of per
missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n
\"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n
\"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type
\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and '
DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", |
918 "id": "GoogleIamV1__AuditLogConfig", | 1022 "id": "GoogleIamV1__AuditLogConfig", |
919 "properties": { | 1023 "properties": { |
| 1024 "exemptedMembers": { |
| 1025 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", |
| 1026 "items": { |
| 1027 "type": "string" |
| 1028 }, |
| 1029 "type": "array" |
| 1030 }, |
920 "logType": { | 1031 "logType": { |
921 "description": "The log type that this config enables.", | 1032 "description": "The log type that this config enables.", |
922 "enum": [ | 1033 "enum": [ |
923 "LOG_TYPE_UNSPECIFIED", | 1034 "LOG_TYPE_UNSPECIFIED", |
924 "ADMIN_READ", | 1035 "ADMIN_READ", |
925 "DATA_WRITE", | 1036 "DATA_WRITE", |
926 "DATA_READ" | 1037 "DATA_READ" |
927 ], | 1038 ], |
928 "enumDescriptions": [ | 1039 "enumDescriptions": [ |
929 "Default case. Should never be this.", | 1040 "Default case. Should never be this.", |
930 "Admin reads. Example: CloudIAM getIamPolicy", | 1041 "Admin reads. Example: CloudIAM getIamPolicy", |
931 "Data writes. Example: CloudSQL Users create", | 1042 "Data writes. Example: CloudSQL Users create", |
932 "Data reads. Example: CloudSQL Users list" | 1043 "Data reads. Example: CloudSQL Users list" |
933 ], | 1044 ], |
934 "type": "string" | 1045 "type": "string" |
935 }, | |
936 "exemptedMembers": { | |
937 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", | |
938 "items": { | |
939 "type": "string" | |
940 }, | |
941 "type": "array" | |
942 } | 1046 } |
943 }, | 1047 }, |
944 "type": "object" | 1048 "type": "object" |
945 }, | 1049 }, |
946 "GoogleType__Expr": { | 1050 "GoogleType__Expr": { |
947 "description": "Represents an expression text. Example:\n\n title
: \"User account presence\"\n description: \"Determines whether the request h
as a user account\"\n expression: \"size(request.user) > 0\"", | 1051 "description": "Represents an expression text. Example:\n\n title
: \"User account presence\"\n description: \"Determines whether the request h
as a user account\"\n expression: \"size(request.user) > 0\"", |
948 "id": "GoogleType__Expr", | 1052 "id": "GoogleType__Expr", |
949 "properties": { | 1053 "properties": { |
950 "expression": { | |
951 "description": "Textual representation of an expression in\n
Common Expression Language syntax.\n\nThe application context of the containing
message determines which\nwell-known feature set of CEL is supported.", | |
952 "type": "string" | |
953 }, | |
954 "location": { | 1054 "location": { |
955 "description": "An optional string indicating the location o
f the expression for error\nreporting, e.g. a file name and a position in the fi
le.", | 1055 "description": "An optional string indicating the location o
f the expression for error\nreporting, e.g. a file name and a position in the fi
le.", |
956 "type": "string" | 1056 "type": "string" |
957 }, | 1057 }, |
958 "title": { | 1058 "title": { |
959 "description": "An optional title for the expression, i.e. a
short string describing\nits purpose. This can be used e.g. in UIs which allow
to enter the\nexpression.", | 1059 "description": "An optional title for the expression, i.e. a
short string describing\nits purpose. This can be used e.g. in UIs which allow
to enter the\nexpression.", |
960 "type": "string" | 1060 "type": "string" |
961 }, | 1061 }, |
962 "description": { | 1062 "description": { |
963 "description": "An optional description of the expression. T
his is a longer text which\ndescribes the expression, e.g. when hovered over it
in a UI.", | 1063 "description": "An optional description of the expression. T
his is a longer text which\ndescribes the expression, e.g. when hovered over it
in a UI.", |
964 "type": "string" | 1064 "type": "string" |
| 1065 }, |
| 1066 "expression": { |
| 1067 "description": "Textual representation of an expression in\n
Common Expression Language syntax.\n\nThe application context of the containing
message determines which\nwell-known feature set of CEL is supported.", |
| 1068 "type": "string" |
965 } | 1069 } |
966 }, | 1070 }, |
967 "type": "object" | 1071 "type": "object" |
968 }, | 1072 }, |
969 "GoogleCloudMlV1__HyperparameterSpec": { | 1073 "GoogleCloudMlV1__HyperparameterSpec": { |
970 "description": "Represents a set of hyperparameters to optimize.", | 1074 "description": "Represents a set of hyperparameters to optimize.", |
971 "id": "GoogleCloudMlV1__HyperparameterSpec", | 1075 "id": "GoogleCloudMlV1__HyperparameterSpec", |
972 "properties": { | 1076 "properties": { |
| 1077 "maxTrials": { |
| 1078 "description": "Optional. How many training trials should be
attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.", |
| 1079 "format": "int32", |
| 1080 "type": "integer" |
| 1081 }, |
| 1082 "params": { |
| 1083 "description": "Required. The set of parameters to tune.", |
| 1084 "items": { |
| 1085 "$ref": "GoogleCloudMlV1__ParameterSpec" |
| 1086 }, |
| 1087 "type": "array" |
| 1088 }, |
973 "maxParallelTrials": { | 1089 "maxParallelTrials": { |
974 "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.", | 1090 "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.", |
975 "format": "int32", | 1091 "format": "int32", |
976 "type": "integer" | 1092 "type": "integer" |
977 }, | 1093 }, |
978 "hyperparameterMetricTag": { | 1094 "hyperparameterMetricTag": { |
979 "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.", | 1095 "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.", |
980 "type": "string" | 1096 "type": "string" |
981 }, | 1097 }, |
982 "goal": { | 1098 "goal": { |
983 "description": "Required. The type of goal to use for tuning
. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", | 1099 "description": "Required. The type of goal to use for tuning
. Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", |
984 "enum": [ | 1100 "enum": [ |
985 "GOAL_TYPE_UNSPECIFIED", | 1101 "GOAL_TYPE_UNSPECIFIED", |
986 "MAXIMIZE", | 1102 "MAXIMIZE", |
987 "MINIMIZE" | 1103 "MINIMIZE" |
988 ], | 1104 ], |
989 "enumDescriptions": [ | 1105 "enumDescriptions": [ |
990 "Goal Type will default to maximize.", | 1106 "Goal Type will default to maximize.", |
991 "Maximize the goal metric.", | 1107 "Maximize the goal metric.", |
992 "Minimize the goal metric." | 1108 "Minimize the goal metric." |
993 ], | 1109 ], |
994 "type": "string" | 1110 "type": "string" |
995 }, | |
996 "maxTrials": { | |
997 "description": "Optional. How many training trials should be
attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.", | |
998 "format": "int32", | |
999 "type": "integer" | |
1000 }, | |
1001 "params": { | |
1002 "description": "Required. The set of parameters to tune.", | |
1003 "items": { | |
1004 "$ref": "GoogleCloudMlV1__ParameterSpec" | |
1005 }, | |
1006 "type": "array" | |
1007 } | 1111 } |
1008 }, | 1112 }, |
1009 "type": "object" | 1113 "type": "object" |
1010 }, | 1114 }, |
1011 "GoogleCloudMlV1__ListJobsResponse": { | 1115 "GoogleCloudMlV1__ListJobsResponse": { |
1012 "description": "Response message for the ListJobs method.", | 1116 "description": "Response message for the ListJobs method.", |
1013 "id": "GoogleCloudMlV1__ListJobsResponse", | 1117 "id": "GoogleCloudMlV1__ListJobsResponse", |
1014 "properties": { | 1118 "properties": { |
1015 "nextPageToken": { | |
1016 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", | |
1017 "type": "string" | |
1018 }, | |
1019 "jobs": { | 1119 "jobs": { |
1020 "description": "The list of jobs.", | 1120 "description": "The list of jobs.", |
1021 "items": { | 1121 "items": { |
1022 "$ref": "GoogleCloudMlV1__Job" | 1122 "$ref": "GoogleCloudMlV1__Job" |
1023 }, | 1123 }, |
1024 "type": "array" | 1124 "type": "array" |
| 1125 }, |
| 1126 "nextPageToken": { |
| 1127 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", |
| 1128 "type": "string" |
1025 } | 1129 } |
1026 }, | 1130 }, |
1027 "type": "object" | 1131 "type": "object" |
1028 }, | 1132 }, |
1029 "GoogleCloudMlV1__SetDefaultVersionRequest": { | 1133 "GoogleCloudMlV1__SetDefaultVersionRequest": { |
1030 "description": "Request message for the SetDefaultVersion request.", | 1134 "description": "Request message for the SetDefaultVersion request.", |
1031 "id": "GoogleCloudMlV1__SetDefaultVersionRequest", | 1135 "id": "GoogleCloudMlV1__SetDefaultVersionRequest", |
1032 "properties": {}, | 1136 "properties": {}, |
1033 "type": "object" | 1137 "type": "object" |
1034 }, | 1138 }, |
(...skipping 25 matching lines...) Expand all Loading... |
1060 "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.
", | 1164 "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.
", |
1061 "type": "object" | 1165 "type": "object" |
1062 }, | 1166 }, |
1063 "done": { | 1167 "done": { |
1064 "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.", | 1168 "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.", |
1065 "type": "boolean" | 1169 "type": "boolean" |
1066 } | 1170 } |
1067 }, | 1171 }, |
1068 "type": "object" | 1172 "type": "object" |
1069 }, | 1173 }, |
1070 "GoogleIamV1__AuditConfig": { | |
1071 "description": "Specifies the audit configuration for a service.\nTh
e configuration determines which permission types are logged, and what\nidentiti
es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud
itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific
service,\nthe union of the two AuditConfigs is used for that service: the log_t
ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac
h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n
{\n \"audit_configs\": [\n {\n \"service\": \"allServices
\"\n \"audit_log_configs\": [\n {\n \"log_type\
": \"DATA_READ\",\n \"exempted_members\": [\n \"user
:foo@gmail.com\"\n ]\n },\n {\n
\"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo
g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice.googleapis.com\"\n \"audit_log_config
s\": [\n {\n \"log_type\": \"DATA_READ\",\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e
xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n
}\n ]\n }\n ]\n }\n\nFor fooservice, this pol
icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g
mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", | |
1072 "id": "GoogleIamV1__AuditConfig", | |
1073 "properties": { | |
1074 "service": { | |
1075 "description": "Specifies a service that will be enabled for
audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com
`.\n`allServices` is a special value that covers all services.", | |
1076 "type": "string" | |
1077 }, | |
1078 "auditLogConfigs": { | |
1079 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", | |
1080 "items": { | |
1081 "$ref": "GoogleIamV1__AuditLogConfig" | |
1082 }, | |
1083 "type": "array" | |
1084 }, | |
1085 "exemptedMembers": { | |
1086 "items": { | |
1087 "type": "string" | |
1088 }, | |
1089 "type": "array" | |
1090 } | |
1091 }, | |
1092 "type": "object" | |
1093 }, | |
1094 "GoogleCloudMlV1__Model": { | 1174 "GoogleCloudMlV1__Model": { |
1095 "description": "Represents a machine learning solution.\n\nA model c
an have multiple versions, each of which is a deployed, trained\nmodel ready to
receive prediction requests. The model itself is just a\ncontainer.", | 1175 "description": "Represents a machine learning solution.\n\nA model c
an have multiple versions, each of which is a deployed, trained\nmodel ready to
receive prediction requests. The model itself is just a\ncontainer.\n\nNext ID:
8", |
1096 "id": "GoogleCloudMlV1__Model", | 1176 "id": "GoogleCloudMlV1__Model", |
1097 "properties": { | 1177 "properties": { |
| 1178 "onlinePredictionLogging": { |
| 1179 "description": "Optional. If true, enables StackDriver Loggi
ng for online prediction.\nDefault is false.", |
| 1180 "type": "boolean" |
| 1181 }, |
1098 "defaultVersion": { | 1182 "defaultVersion": { |
1099 "$ref": "GoogleCloudMlV1__Version", | 1183 "$ref": "GoogleCloudMlV1__Version", |
1100 "description": "Output only. The default version of the mode
l. This version will be used to\nhandle prediction requests that do not specify
a version.\n\nYou can change the default version by calling\n[projects.methods.v
ersions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDef
ault)." | 1184 "description": "Output only. The default version of the mode
l. This version will be used to\nhandle prediction requests that do not specify
a version.\n\nYou can change the default version by calling\n[projects.methods.v
ersions.setDefault](/ml-engine/reference/rest/v1/projects.models.versions/setDef
ault)." |
1101 }, | 1185 }, |
1102 "regions": { | 1186 "regions": { |
1103 "description": "Optional. The list of regions where the mode
l is going to be deployed.\nCurrently only one region per model is supported.\nD
efaults to 'us-central1' if nothing is set.\nNote:\n* No matter where a model
is deployed, it can always be accessed by\n users from anywhere, both for onl
ine and batch prediction.\n* The region for a batch prediction job is set by t
he region field when\n submitting the batch prediction job and does not take
its value from\n this field.", | 1187 "description": "Optional. The list of regions where the mode
l is going to be deployed.\nCurrently only one region per model is supported.\nD
efaults to 'us-central1' if nothing is set.\nNote:\n* No matter where a model
is deployed, it can always be accessed by\n users from anywhere, both for onl
ine and batch prediction.\n* The region for a batch prediction job is set by t
he region field when\n submitting the batch prediction job and does not take
its value from\n this field.", |
1104 "items": { | 1188 "items": { |
1105 "type": "string" | 1189 "type": "string" |
1106 }, | 1190 }, |
1107 "type": "array" | 1191 "type": "array" |
1108 }, | 1192 }, |
1109 "name": { | 1193 "name": { |
1110 "description": "Required. The name specified for the model w
hen it was created.\n\nThe model name must be unique within the project it is cr
eated in.", | 1194 "description": "Required. The name specified for the model w
hen it was created.\n\nThe model name must be unique within the project it is cr
eated in.", |
1111 "type": "string" | 1195 "type": "string" |
1112 }, | 1196 }, |
1113 "description": { | 1197 "description": { |
1114 "description": "Optional. The description specified for the
model when it was created.", | 1198 "description": "Optional. The description specified for the
model when it was created.", |
1115 "type": "string" | 1199 "type": "string" |
1116 }, | |
1117 "onlinePredictionLogging": { | |
1118 "description": "Optional. If true, enables StackDriver Loggi
ng for online prediction.\nDefault is false.", | |
1119 "type": "boolean" | |
1120 } | 1200 } |
1121 }, | 1201 }, |
1122 "type": "object" | 1202 "type": "object" |
| 1203 }, |
| 1204 "GoogleIamV1__AuditConfig": { |
| 1205 "description": "Specifies the audit configuration for a service.\nTh
e configuration determines which permission types are logged, and what\nidentiti
es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud
itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific
service,\nthe union of the two AuditConfigs is used for that service: the log_t
ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac
h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n
{\n \"audit_configs\": [\n {\n \"service\": \"allServices
\"\n \"audit_log_configs\": [\n {\n \"log_type\
": \"DATA_READ\",\n \"exempted_members\": [\n \"user
:foo@gmail.com\"\n ]\n },\n {\n
\"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo
g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice.googleapis.com\"\n \"audit_log_config
s\": [\n {\n \"log_type\": \"DATA_READ\",\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e
xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n
}\n ]\n }\n ]\n }\n\nFor fooservice, this pol
icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g
mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", |
| 1206 "id": "GoogleIamV1__AuditConfig", |
| 1207 "properties": { |
| 1208 "auditLogConfigs": { |
| 1209 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", |
| 1210 "items": { |
| 1211 "$ref": "GoogleIamV1__AuditLogConfig" |
| 1212 }, |
| 1213 "type": "array" |
| 1214 }, |
| 1215 "exemptedMembers": { |
| 1216 "items": { |
| 1217 "type": "string" |
| 1218 }, |
| 1219 "type": "array" |
| 1220 }, |
| 1221 "service": { |
| 1222 "description": "Specifies a service that will be enabled for
audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com
`.\n`allServices` is a special value that covers all services.", |
| 1223 "type": "string" |
| 1224 } |
| 1225 }, |
| 1226 "type": "object" |
1123 }, | 1227 }, |
1124 "GoogleProtobuf__Empty": { | 1228 "GoogleProtobuf__Empty": { |
1125 "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 `{}`.", | 1229 "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 `{}`.", |
1126 "id": "GoogleProtobuf__Empty", | 1230 "id": "GoogleProtobuf__Empty", |
1127 "properties": {}, | 1231 "properties": {}, |
1128 "type": "object" | 1232 "type": "object" |
1129 }, | 1233 }, |
1130 "GoogleIamV1__TestIamPermissionsRequest": { | 1234 "GoogleIamV1__TestIamPermissionsRequest": { |
1131 "description": "Request message for `TestIamPermissions` method.", | 1235 "description": "Request message for `TestIamPermissions` method.", |
1132 "id": "GoogleIamV1__TestIamPermissionsRequest", | 1236 "id": "GoogleIamV1__TestIamPermissionsRequest", |
(...skipping 11 matching lines...) Expand all Loading... |
1144 "GoogleCloudMlV1__CancelJobRequest": { | 1248 "GoogleCloudMlV1__CancelJobRequest": { |
1145 "description": "Request message for the CancelJob method.", | 1249 "description": "Request message for the CancelJob method.", |
1146 "id": "GoogleCloudMlV1__CancelJobRequest", | 1250 "id": "GoogleCloudMlV1__CancelJobRequest", |
1147 "properties": {}, | 1251 "properties": {}, |
1148 "type": "object" | 1252 "type": "object" |
1149 }, | 1253 }, |
1150 "GoogleCloudMlV1__ListVersionsResponse": { | 1254 "GoogleCloudMlV1__ListVersionsResponse": { |
1151 "description": "Response message for the ListVersions method.", | 1255 "description": "Response message for the ListVersions method.", |
1152 "id": "GoogleCloudMlV1__ListVersionsResponse", | 1256 "id": "GoogleCloudMlV1__ListVersionsResponse", |
1153 "properties": { | 1257 "properties": { |
| 1258 "nextPageToken": { |
| 1259 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", |
| 1260 "type": "string" |
| 1261 }, |
1154 "versions": { | 1262 "versions": { |
1155 "description": "The list of versions.", | 1263 "description": "The list of versions.", |
1156 "items": { | 1264 "items": { |
1157 "$ref": "GoogleCloudMlV1__Version" | 1265 "$ref": "GoogleCloudMlV1__Version" |
1158 }, | 1266 }, |
1159 "type": "array" | 1267 "type": "array" |
1160 }, | |
1161 "nextPageToken": { | |
1162 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", | |
1163 "type": "string" | |
1164 } | 1268 } |
1165 }, | 1269 }, |
1166 "type": "object" | 1270 "type": "object" |
1167 }, | 1271 }, |
1168 "GoogleCloudMlV1beta1__ManualScaling": { | 1272 "GoogleCloudMlV1beta1__ManualScaling": { |
1169 "description": "Options for manually scaling a model.", | 1273 "description": "Options for manually scaling a model.", |
1170 "id": "GoogleCloudMlV1beta1__ManualScaling", | 1274 "id": "GoogleCloudMlV1beta1__ManualScaling", |
1171 "properties": { | 1275 "properties": { |
1172 "nodes": { | 1276 "nodes": { |
1173 "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 h
ours since\nlast billing cycle plus the cost for each prediction performed.", | 1277 "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 h
ours since\nlast billing cycle plus the cost for each prediction performed.", |
1174 "format": "int32", | 1278 "format": "int32", |
1175 "type": "integer" | 1279 "type": "integer" |
1176 } | 1280 } |
1177 }, | 1281 }, |
1178 "type": "object" | 1282 "type": "object" |
1179 }, | 1283 }, |
1180 "GoogleIamV1__LogConfig": { | 1284 "GoogleIamV1__LogConfig": { |
1181 "description": "Specifies what kind of log the caller must write\nIn
crement a streamz counter with the specified metric and field names.\n\nMetric n
ames should start with a '/', generally be lowercase-only,\nand end in \"_count\
". Field names should not contain an initial slash.\nThe actual exported metric
names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ
est parameters and field values are\ntheir respective values.\n\nAt present the
only supported field names are\n - \"iam_principal\", corresponding to IAMCont
ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi
th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \
"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou
nt\n {iam_principal=[value of IAMContext.principal]}\n\nA
t this time we do not support:\n* multiple field names (though this may be suppo
rted in the future)\n* decrementing the counter\n* incrementing it by anything o
ther than 1", | 1285 "description": "Specifies what kind of log the caller must write", |
1182 "id": "GoogleIamV1__LogConfig", | 1286 "id": "GoogleIamV1__LogConfig", |
1183 "properties": { | 1287 "properties": { |
1184 "dataAccess": { | |
1185 "$ref": "GoogleIamV1_LogConfig_DataAccessOptions", | |
1186 "description": "Data access options." | |
1187 }, | |
1188 "cloudAudit": { | 1288 "cloudAudit": { |
1189 "$ref": "GoogleIamV1_LogConfig_CloudAuditOptions", | 1289 "$ref": "GoogleIamV1_LogConfig_CloudAuditOptions", |
1190 "description": "Cloud audit options." | 1290 "description": "Cloud audit options." |
1191 }, | 1291 }, |
1192 "counter": { | 1292 "counter": { |
1193 "$ref": "GoogleIamV1_LogConfig_CounterOptions", | 1293 "$ref": "GoogleIamV1_LogConfig_CounterOptions", |
1194 "description": "Counter options." | 1294 "description": "Counter options." |
| 1295 }, |
| 1296 "dataAccess": { |
| 1297 "$ref": "GoogleIamV1_LogConfig_DataAccessOptions", |
| 1298 "description": "Data access options." |
1195 } | 1299 } |
1196 }, | 1300 }, |
1197 "type": "object" | 1301 "type": "object" |
1198 }, | 1302 }, |
1199 "GoogleCloudMlV1__AutoScaling": { | 1303 "GoogleCloudMlV1__AutoScaling": { |
1200 "description": "Options for automatically scaling a model.", | 1304 "description": "Options for automatically scaling a model.", |
1201 "id": "GoogleCloudMlV1__AutoScaling", | 1305 "id": "GoogleCloudMlV1__AutoScaling", |
1202 "properties": { | 1306 "properties": { |
1203 "minNodes": { | 1307 "minNodes": { |
1204 "description": "Optional. The minimum number of nodes to all
ocate for this model. These\nnodes are always up, starting from the time the mod
el is deployed, so the\ncost of operating this model will be at least\n`rate` *
`min_nodes` * number of hours since last billing cycle,\nwhere `rate` is the cos
t per node-hour as documented in\n[pricing](https://cloud.google.com/ml-engine/p
ricing#prediction_pricing),\neven if no predictions are performed. There is addi
tional cost for each\nprediction performed.\n\nUnlike manual scaling, if the loa
d gets too heavy for the nodes\nthat are up, the service will automatically add
nodes to handle the\nincreased load as well as scale back as traffic drops, alwa
ys maintaining\nat least `min_nodes`. You will be charged for the time in which
additional\nnodes are used.\n\nIf not specified, `min_nodes` defaults to 0, in w
hich case, when traffic\nto a model stops (and after a cool-down period), nodes
will be shut down\nand no charges will be incurred until traffic to the model re
sumes.", | 1308 "description": "Optional. The minimum number of nodes to all
ocate for this model. These\nnodes are always up, starting from the time the mod
el is deployed, so the\ncost of operating this model will be at least\n`rate` *
`min_nodes` * number of hours since last billing cycle,\nwhere `rate` is the cos
t per node-hour as documented in\n[pricing](https://cloud.google.com/ml-engine/p
ricing#prediction_pricing),\neven if no predictions are performed. There is addi
tional cost for each\nprediction performed.\n\nUnlike manual scaling, if the loa
d gets too heavy for the nodes\nthat are up, the service will automatically add
nodes to handle the\nincreased load as well as scale back as traffic drops, alwa
ys maintaining\nat least `min_nodes`. You will be charged for the time in which
additional\nnodes are used.\n\nIf not specified, `min_nodes` defaults to 0, in w
hich case, when traffic\nto a model stops (and after a cool-down period), nodes
will be shut down\nand no charges will be incurred until traffic to the model re
sumes.", |
(...skipping 23 matching lines...) Expand all Loading... |
1228 "description": "Properties of the object. Contains f
ield @type with type URL.", | 1332 "description": "Properties of the object. Contains f
ield @type with type URL.", |
1229 "type": "any" | 1333 "type": "any" |
1230 }, | 1334 }, |
1231 "type": "object" | 1335 "type": "object" |
1232 }, | 1336 }, |
1233 "type": "array" | 1337 "type": "array" |
1234 } | 1338 } |
1235 }, | 1339 }, |
1236 "type": "object" | 1340 "type": "object" |
1237 }, | 1341 }, |
| 1342 "GoogleCloudMlV1__ListModelsResponse": { |
| 1343 "description": "Response message for the ListModels method.", |
| 1344 "id": "GoogleCloudMlV1__ListModelsResponse", |
| 1345 "properties": { |
| 1346 "nextPageToken": { |
| 1347 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", |
| 1348 "type": "string" |
| 1349 }, |
| 1350 "models": { |
| 1351 "description": "The list of models.", |
| 1352 "items": { |
| 1353 "$ref": "GoogleCloudMlV1__Model" |
| 1354 }, |
| 1355 "type": "array" |
| 1356 } |
| 1357 }, |
| 1358 "type": "object" |
| 1359 }, |
1238 "GoogleCloudMlV1__TrainingInput": { | 1360 "GoogleCloudMlV1__TrainingInput": { |
1239 "description": "Represents input parameters for a training job.", | 1361 "description": "Represents input parameters for a training job.", |
1240 "id": "GoogleCloudMlV1__TrainingInput", | 1362 "id": "GoogleCloudMlV1__TrainingInput", |
1241 "properties": { | 1363 "properties": { |
1242 "workerType": { | |
1243 "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.", | |
1244 "type": "string" | |
1245 }, | |
1246 "args": { | |
1247 "description": "Optional. Command line arguments to pass to
the program.", | |
1248 "items": { | |
1249 "type": "string" | |
1250 }, | |
1251 "type": "array" | |
1252 }, | |
1253 "region": { | |
1254 "description": "Required. The Google Compute Engine region t
o run the training job in.", | |
1255 "type": "string" | |
1256 }, | |
1257 "parameterServerType": { | |
1258 "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.", | |
1259 "type": "string" | |
1260 }, | |
1261 "scaleTier": { | 1364 "scaleTier": { |
1262 "description": "Required. Specifies the machine types, the n
umber of replicas for workers\nand parameter servers.", | 1365 "description": "Required. Specifies the machine types, the n
umber of replicas for workers\nand parameter servers.", |
1263 "enum": [ | 1366 "enum": [ |
1264 "BASIC", | 1367 "BASIC", |
1265 "STANDARD_1", | 1368 "STANDARD_1", |
1266 "PREMIUM_1", | 1369 "PREMIUM_1", |
1267 "BASIC_GPU", | 1370 "BASIC_GPU", |
1268 "CUSTOM" | 1371 "CUSTOM" |
1269 ], | 1372 ], |
1270 "enumDescriptions": [ | 1373 "enumDescriptions": [ |
1271 "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.", | 1374 "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.", |
1272 "Many workers and a few parameter servers.", | 1375 "Many workers and a few parameter servers.", |
1273 "A large number of workers with many parameter servers."
, | 1376 "A large number of workers with many parameter servers."
, |
1274 "A single worker instance [with a GPU](/ml-engine/docs/h
ow-tos/using-gpus).", | 1377 "A single worker instance [with a\nGPU](/ml-engine/docs/
how-tos/using-gpus).", |
1275 "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." | 1378 "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." |
1276 ], | 1379 ], |
1277 "type": "string" | 1380 "type": "string" |
1278 }, | 1381 }, |
1279 "jobDir": { | 1382 "jobDir": { |
1280 "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.", | 1383 "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.", |
1281 "type": "string" | 1384 "type": "string" |
1282 }, | 1385 }, |
1283 "hyperparameters": { | 1386 "hyperparameters": { |
1284 "$ref": "GoogleCloudMlV1__HyperparameterSpec", | 1387 "$ref": "GoogleCloudMlV1__HyperparameterSpec", |
(...skipping 20 matching lines...) Expand all Loading... |
1305 "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-engine/d
ocs/how-tos/using-gpus\">\n GPU that you can use in your trainer</a>.\n </dd>\
n <dt>complex_model_m_gpu</dt>\n <dd>\n A machine equivalent to\n <code supp
resswarning=\"true\">complex_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`.", | 1408 "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-engine/d
ocs/how-tos/using-gpus\">\n GPU that you can use in your trainer</a>.\n </dd>\
n <dt>complex_model_m_gpu</dt>\n <dd>\n A machine equivalent to\n <code supp
resswarning=\"true\">complex_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`.", |
1306 "type": "string" | 1409 "type": "string" |
1307 }, | 1410 }, |
1308 "runtimeVersion": { | 1411 "runtimeVersion": { |
1309 "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.", | 1412 "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.", |
1310 "type": "string" | 1413 "type": "string" |
1311 }, | 1414 }, |
1312 "pythonModule": { | 1415 "pythonModule": { |
1313 "description": "Required. The Python module name to run afte
r installing the packages.", | 1416 "description": "Required. The Python module name to run afte
r installing the packages.", |
1314 "type": "string" | 1417 "type": "string" |
| 1418 }, |
| 1419 "workerType": { |
| 1420 "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.", |
| 1421 "type": "string" |
| 1422 }, |
| 1423 "args": { |
| 1424 "description": "Optional. Command line arguments to pass to
the program.", |
| 1425 "items": { |
| 1426 "type": "string" |
| 1427 }, |
| 1428 "type": "array" |
| 1429 }, |
| 1430 "region": { |
| 1431 "description": "Required. The Google Compute Engine region t
o run the training job in.", |
| 1432 "type": "string" |
| 1433 }, |
| 1434 "parameterServerType": { |
| 1435 "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.", |
| 1436 "type": "string" |
1315 } | 1437 } |
1316 }, | 1438 }, |
1317 "type": "object" | 1439 "type": "object" |
1318 }, | 1440 }, |
1319 "GoogleCloudMlV1__ListModelsResponse": { | |
1320 "description": "Response message for the ListModels method.", | |
1321 "id": "GoogleCloudMlV1__ListModelsResponse", | |
1322 "properties": { | |
1323 "nextPageToken": { | |
1324 "description": "Optional. Pass this token as the `page_token
` field of the request for a\nsubsequent call.", | |
1325 "type": "string" | |
1326 }, | |
1327 "models": { | |
1328 "description": "The list of models.", | |
1329 "items": { | |
1330 "$ref": "GoogleCloudMlV1__Model" | |
1331 }, | |
1332 "type": "array" | |
1333 } | |
1334 }, | |
1335 "type": "object" | |
1336 }, | |
1337 "GoogleCloudMlV1__Job": { | 1441 "GoogleCloudMlV1__Job": { |
1338 "description": "Represents a training or prediction job.", | 1442 "description": "Represents a training or prediction job.\n\nNext ID:
16", |
1339 "id": "GoogleCloudMlV1__Job", | 1443 "id": "GoogleCloudMlV1__Job", |
1340 "properties": { | 1444 "properties": { |
1341 "predictionOutput": { | |
1342 "$ref": "GoogleCloudMlV1__PredictionOutput", | |
1343 "description": "The current prediction job result." | |
1344 }, | |
1345 "trainingOutput": { | 1445 "trainingOutput": { |
1346 "$ref": "GoogleCloudMlV1__TrainingOutput", | 1446 "$ref": "GoogleCloudMlV1__TrainingOutput", |
1347 "description": "The current training job result." | 1447 "description": "The current training job result." |
1348 }, | 1448 }, |
| 1449 "trainingInput": { |
| 1450 "$ref": "GoogleCloudMlV1__TrainingInput", |
| 1451 "description": "Input parameters to create a training job." |
| 1452 }, |
1349 "createTime": { | 1453 "createTime": { |
1350 "description": "Output only. When the job was created.", | 1454 "description": "Output only. When the job was created.", |
1351 "format": "google-datetime", | 1455 "format": "google-datetime", |
1352 "type": "string" | 1456 "type": "string" |
1353 }, | 1457 }, |
1354 "trainingInput": { | |
1355 "$ref": "GoogleCloudMlV1__TrainingInput", | |
1356 "description": "Input parameters to create a training job." | |
1357 }, | |
1358 "predictionInput": { | |
1359 "$ref": "GoogleCloudMlV1__PredictionInput", | |
1360 "description": "Input parameters to create a prediction job.
" | |
1361 }, | |
1362 "state": { | 1458 "state": { |
1363 "description": "Output only. The detailed state of a job.", | 1459 "description": "Output only. The detailed state of a job.", |
1364 "enum": [ | 1460 "enum": [ |
1365 "STATE_UNSPECIFIED", | 1461 "STATE_UNSPECIFIED", |
1366 "QUEUED", | 1462 "QUEUED", |
1367 "PREPARING", | 1463 "PREPARING", |
1368 "RUNNING", | 1464 "RUNNING", |
1369 "SUCCEEDED", | 1465 "SUCCEEDED", |
1370 "FAILED", | 1466 "FAILED", |
1371 "CANCELLING", | 1467 "CANCELLING", |
1372 "CANCELLED" | 1468 "CANCELLED" |
1373 ], | 1469 ], |
1374 "enumDescriptions": [ | 1470 "enumDescriptions": [ |
1375 "The job state is unspecified.", | 1471 "The job state is unspecified.", |
1376 "The job has been just created and processing has not ye
t begun.", | 1472 "The job has been just created and processing has not ye
t begun.", |
1377 "The service is preparing to run the job.", | 1473 "The service is preparing to run the job.", |
1378 "The job is in progress.", | 1474 "The job is in progress.", |
1379 "The job completed successfully.", | 1475 "The job completed successfully.", |
1380 "The job failed.\n`error_message` should contain the det
ails of the failure.", | 1476 "The job failed.\n`error_message` should contain the det
ails of the failure.", |
1381 "The job is being cancelled.\n`error_message` should des
cribe the reason for the cancellation.", | 1477 "The job is being cancelled.\n`error_message` should des
cribe the reason for the cancellation.", |
1382 "The job has been cancelled.\n`error_message` should des
cribe the reason for the cancellation." | 1478 "The job has been cancelled.\n`error_message` should des
cribe the reason for the cancellation." |
1383 ], | 1479 ], |
1384 "type": "string" | 1480 "type": "string" |
1385 }, | 1481 }, |
| 1482 "predictionInput": { |
| 1483 "$ref": "GoogleCloudMlV1__PredictionInput", |
| 1484 "description": "Input parameters to create a prediction job.
" |
| 1485 }, |
| 1486 "errorMessage": { |
| 1487 "description": "Output only. The details of a failure or a c
ancellation.", |
| 1488 "type": "string" |
| 1489 }, |
1386 "jobId": { | 1490 "jobId": { |
1387 "description": "Required. The user-specified id of the job."
, | 1491 "description": "Required. The user-specified id of the job."
, |
1388 "type": "string" | 1492 "type": "string" |
1389 }, | 1493 }, |
1390 "errorMessage": { | |
1391 "description": "Output only. The details of a failure or a c
ancellation.", | |
1392 "type": "string" | |
1393 }, | |
1394 "endTime": { | 1494 "endTime": { |
1395 "description": "Output only. When the job processing was com
pleted.", | 1495 "description": "Output only. When the job processing was com
pleted.", |
1396 "format": "google-datetime", | 1496 "format": "google-datetime", |
1397 "type": "string" | 1497 "type": "string" |
1398 }, | 1498 }, |
1399 "startTime": { | 1499 "startTime": { |
1400 "description": "Output only. When the job processing was sta
rted.", | 1500 "description": "Output only. When the job processing was sta
rted.", |
1401 "format": "google-datetime", | 1501 "format": "google-datetime", |
1402 "type": "string" | 1502 "type": "string" |
| 1503 }, |
| 1504 "predictionOutput": { |
| 1505 "$ref": "GoogleCloudMlV1__PredictionOutput", |
| 1506 "description": "The current prediction job result." |
1403 } | 1507 } |
1404 }, | 1508 }, |
1405 "type": "object" | 1509 "type": "object" |
1406 }, | 1510 }, |
1407 "GoogleApi__HttpBody": { | 1511 "GoogleApi__HttpBody": { |
1408 "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.", | 1512 "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.", |
1409 "id": "GoogleApi__HttpBody", | 1513 "id": "GoogleApi__HttpBody", |
1410 "properties": { | 1514 "properties": { |
1411 "extensions": { | 1515 "extensions": { |
1412 "description": "Application specific response metadata. Must
be set in the first response\nfor streaming APIs.", | 1516 "description": "Application specific response metadata. Must
be set in the first response\nfor streaming APIs.", |
(...skipping 11 matching lines...) Expand all Loading... |
1424 "format": "byte", | 1528 "format": "byte", |
1425 "type": "string" | 1529 "type": "string" |
1426 }, | 1530 }, |
1427 "contentType": { | 1531 "contentType": { |
1428 "description": "The HTTP Content-Type string representing th
e content type of the body.", | 1532 "description": "The HTTP Content-Type string representing th
e content type of the body.", |
1429 "type": "string" | 1533 "type": "string" |
1430 } | 1534 } |
1431 }, | 1535 }, |
1432 "type": "object" | 1536 "type": "object" |
1433 }, | 1537 }, |
| 1538 "GoogleCloudMlV1__GetConfigResponse": { |
| 1539 "description": "Returns service account information associated with
a project.", |
| 1540 "id": "GoogleCloudMlV1__GetConfigResponse", |
| 1541 "properties": { |
| 1542 "serviceAccountProject": { |
| 1543 "description": "The project number for `service_account`.", |
| 1544 "format": "int64", |
| 1545 "type": "string" |
| 1546 }, |
| 1547 "serviceAccount": { |
| 1548 "description": "The service account Cloud ML uses to access
resources in the project.", |
| 1549 "type": "string" |
| 1550 } |
| 1551 }, |
| 1552 "type": "object" |
| 1553 }, |
1434 "GoogleCloudMlV1beta1__Version": { | 1554 "GoogleCloudMlV1beta1__Version": { |
1435 "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-engine/re
ference/rest/v1beta1/projects.models.versions/list).", | 1555 "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-engine/re
ference/rest/v1beta1/projects.models.versions/list).\n\nNext ID: 18", |
1436 "id": "GoogleCloudMlV1beta1__Version", | 1556 "id": "GoogleCloudMlV1beta1__Version", |
1437 "properties": { | 1557 "properties": { |
1438 "description": { | 1558 "manualScaling": { |
1439 "description": "Optional. The description specified for the
version when it was created.", | 1559 "$ref": "GoogleCloudMlV1beta1__ManualScaling", |
1440 "type": "string" | 1560 "description": "Manually select the number of nodes to use f
or serving the\nmodel. You should generally use `auto_scaling` with an appropria
te\n`min_nodes` instead, but this option is available if you want more\npredicta
ble billing. Beware that latency and error rates will increase\nif the traffic e
xceeds that capability of the system to serve it based\non the selected number o
f nodes." |
1441 }, | |
1442 "deploymentUri": { | |
1443 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model\nd
eployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformation.\
n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/referen
ce/rest/v1beta1/projects.models.versions/create)\nthe model service uses the spe
cified 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 histori
cal record.\nThe total number of model files can't exceed 1000.", | |
1444 "type": "string" | |
1445 }, | |
1446 "autoScaling": { | |
1447 "$ref": "GoogleCloudMlV1beta1__AutoScaling", | |
1448 "description": "Automatically scale the number of nodes used
to serve the model in\nresponse to increases and decreases in traffic. Care sho
uld be\ntaken to ramp up traffic according to the model's ability to scale\nor y
ou will start seeing increases in latency and 429 response codes." | |
1449 }, | |
1450 "isDefault": { | |
1451 "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-e
ngine/reference/rest/v1beta1/projects.models.versions/setDefault).", | |
1452 "type": "boolean" | |
1453 }, | |
1454 "createTime": { | |
1455 "description": "Output only. The time the version was create
d.", | |
1456 "format": "google-datetime", | |
1457 "type": "string" | |
1458 }, | 1561 }, |
1459 "state": { | 1562 "state": { |
1460 "description": "Output only. The state of a version.", | 1563 "description": "Output only. The state of a version.", |
1461 "enum": [ | 1564 "enum": [ |
1462 "UNKNOWN", | 1565 "UNKNOWN", |
1463 "READY", | 1566 "READY", |
1464 "CREATING", | 1567 "CREATING", |
1465 "FAILED" | 1568 "FAILED", |
| 1569 "DELETING" |
1466 ], | 1570 ], |
1467 "enumDescriptions": [ | 1571 "enumDescriptions": [ |
1468 "The version state is unspecified.", | 1572 "The version state is unspecified.", |
1469 "The version is ready for prediction.", | 1573 "The version is ready for prediction.", |
1470 "The version is still in the process of creation.", | 1574 "The version is in the process of creation.", |
1471 "The version failed to be created, possibly cancelled.\n
`error_message` should contain the details of the failure." | 1575 "The version failed to be created, possibly cancelled.\n
`error_message` should contain the details of the failure.", |
| 1576 "The version is in the process of deletion." |
1472 ], | 1577 ], |
1473 "type": "string" | 1578 "type": "string" |
1474 }, | 1579 }, |
1475 "manualScaling": { | |
1476 "$ref": "GoogleCloudMlV1beta1__ManualScaling", | |
1477 "description": "Manually select the number of nodes to use f
or serving the\nmodel. You should generally use `auto_scaling` with an appropria
te\n`min_nodes` instead, but this option is available if you want more\npredicta
ble billing. Beware that latency and error rates will increase\nif the traffic e
xceeds that capability of the system to serve it based\non the selected number o
f nodes." | |
1478 }, | |
1479 "name": { | 1580 "name": { |
1480 "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.", | 1581 "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.", |
1481 "type": "string" | 1582 "type": "string" |
1482 }, | 1583 }, |
1483 "errorMessage": { | 1584 "errorMessage": { |
1484 "description": "Output only. The details of a failure or a c
ancellation.", | 1585 "description": "Output only. The details of a failure or a c
ancellation.", |
1485 "type": "string" | 1586 "type": "string" |
1486 }, | 1587 }, |
1487 "runtimeVersion": { | 1588 "runtimeVersion": { |
1488 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", | 1589 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", |
1489 "type": "string" | 1590 "type": "string" |
1490 }, | 1591 }, |
1491 "lastUseTime": { | 1592 "lastUseTime": { |
1492 "description": "Output only. The time the version was last u
sed for prediction.", | 1593 "description": "Output only. The time the version was last u
sed for prediction.", |
1493 "format": "google-datetime", | 1594 "format": "google-datetime", |
1494 "type": "string" | 1595 "type": "string" |
| 1596 }, |
| 1597 "description": { |
| 1598 "description": "Optional. The description specified for the
version when it was created.", |
| 1599 "type": "string" |
| 1600 }, |
| 1601 "deploymentUri": { |
| 1602 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model\nd
eployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformation.\
n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/referen
ce/rest/v1beta1/projects.models.versions/create)\nthe model service uses the spe
cified 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 histori
cal record.\nThe total number of model files can't exceed 1000.", |
| 1603 "type": "string" |
| 1604 }, |
| 1605 "isDefault": { |
| 1606 "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-e
ngine/reference/rest/v1beta1/projects.models.versions/setDefault).", |
| 1607 "type": "boolean" |
| 1608 }, |
| 1609 "autoScaling": { |
| 1610 "$ref": "GoogleCloudMlV1beta1__AutoScaling", |
| 1611 "description": "Automatically scale the number of nodes used
to serve the model in\nresponse to increases and decreases in traffic. Care sho
uld be\ntaken to ramp up traffic according to the model's ability to scale\nor y
ou will start seeing increases in latency and 429 response codes." |
| 1612 }, |
| 1613 "createTime": { |
| 1614 "description": "Output only. The time the version was create
d.", |
| 1615 "format": "google-datetime", |
| 1616 "type": "string" |
1495 } | 1617 } |
1496 }, | 1618 }, |
1497 "type": "object" | |
1498 }, | |
1499 "GoogleCloudMlV1__GetConfigResponse": { | |
1500 "description": "Returns service account information associated with
a project.", | |
1501 "id": "GoogleCloudMlV1__GetConfigResponse", | |
1502 "properties": { | |
1503 "serviceAccountProject": { | |
1504 "description": "The project number for `service_account`.", | |
1505 "format": "int64", | |
1506 "type": "string" | |
1507 }, | |
1508 "serviceAccount": { | |
1509 "description": "The service account Cloud ML uses to access
resources in the project.", | |
1510 "type": "string" | |
1511 } | |
1512 }, | |
1513 "type": "object" | 1619 "type": "object" |
1514 }, | 1620 }, |
1515 "GoogleIamV1__TestIamPermissionsResponse": { | 1621 "GoogleIamV1__TestIamPermissionsResponse": { |
1516 "description": "Response message for `TestIamPermissions` method.", | 1622 "description": "Response message for `TestIamPermissions` method.", |
1517 "id": "GoogleIamV1__TestIamPermissionsResponse", | 1623 "id": "GoogleIamV1__TestIamPermissionsResponse", |
1518 "properties": { | 1624 "properties": { |
1519 "permissions": { | 1625 "permissions": { |
1520 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | 1626 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
1521 "items": { | 1627 "items": { |
1522 "type": "string" | 1628 "type": "string" |
1523 }, | 1629 }, |
1524 "type": "array" | 1630 "type": "array" |
1525 } | 1631 } |
1526 }, | 1632 }, |
1527 "type": "object" | 1633 "type": "object" |
1528 }, | 1634 }, |
1529 "GoogleIamV1__SetIamPolicyRequest": { | |
1530 "description": "Request message for `SetIamPolicy` method.", | |
1531 "id": "GoogleIamV1__SetIamPolicyRequest", | |
1532 "properties": { | |
1533 "policy": { | |
1534 "$ref": "GoogleIamV1__Policy", | |
1535 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." | |
1536 }, | |
1537 "updateMask": { | |
1538 "description": "OPTIONAL: A FieldMask specifying which field
s of the policy to modify. Only\nthe fields in the mask will be modified. If no
mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\
"\nThis field is only used by Cloud IAM.", | |
1539 "format": "google-fieldmask", | |
1540 "type": "string" | |
1541 } | |
1542 }, | |
1543 "type": "object" | |
1544 }, | |
1545 "GoogleCloudMlV1__HyperparameterOutput": { | 1635 "GoogleCloudMlV1__HyperparameterOutput": { |
1546 "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.", | 1636 "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.", |
1547 "id": "GoogleCloudMlV1__HyperparameterOutput", | 1637 "id": "GoogleCloudMlV1__HyperparameterOutput", |
1548 "properties": { | 1638 "properties": { |
| 1639 "allMetrics": { |
| 1640 "description": "All recorded object metrics for this trial."
, |
| 1641 "items": { |
| 1642 "$ref": "GoogleCloudMlV1_HyperparameterOutput_Hyperparam
eterMetric" |
| 1643 }, |
| 1644 "type": "array" |
| 1645 }, |
| 1646 "finalMetric": { |
| 1647 "$ref": "GoogleCloudMlV1_HyperparameterOutput_Hyperparameter
Metric", |
| 1648 "description": "The final objective metric seen for this tri
al." |
| 1649 }, |
1549 "hyperparameters": { | 1650 "hyperparameters": { |
1550 "additionalProperties": { | 1651 "additionalProperties": { |
1551 "type": "string" | 1652 "type": "string" |
1552 }, | 1653 }, |
1553 "description": "The hyperparameters given to this trial.", | 1654 "description": "The hyperparameters given to this trial.", |
1554 "type": "object" | 1655 "type": "object" |
1555 }, | 1656 }, |
1556 "trialId": { | 1657 "trialId": { |
1557 "description": "The trial id for these results.", | 1658 "description": "The trial id for these results.", |
1558 "type": "string" | 1659 "type": "string" |
1559 }, | |
1560 "allMetrics": { | |
1561 "description": "All recorded object metrics for this trial."
, | |
1562 "items": { | |
1563 "$ref": "GoogleCloudMlV1_HyperparameterOutput_Hyperparam
eterMetric" | |
1564 }, | |
1565 "type": "array" | |
1566 }, | |
1567 "finalMetric": { | |
1568 "$ref": "GoogleCloudMlV1_HyperparameterOutput_Hyperparameter
Metric", | |
1569 "description": "The final objective metric seen for this tri
al." | |
1570 } | 1660 } |
1571 }, | 1661 }, |
1572 "type": "object" | 1662 "type": "object" |
| 1663 }, |
| 1664 "GoogleIamV1__SetIamPolicyRequest": { |
| 1665 "description": "Request message for `SetIamPolicy` method.", |
| 1666 "id": "GoogleIamV1__SetIamPolicyRequest", |
| 1667 "properties": { |
| 1668 "updateMask": { |
| 1669 "description": "OPTIONAL: A FieldMask specifying which field
s of the policy to modify. Only\nthe fields in the mask will be modified. If no
mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\
"\nThis field is only used by Cloud IAM.", |
| 1670 "format": "google-fieldmask", |
| 1671 "type": "string" |
| 1672 }, |
| 1673 "policy": { |
| 1674 "$ref": "GoogleIamV1__Policy", |
| 1675 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." |
| 1676 } |
| 1677 }, |
| 1678 "type": "object" |
1573 }, | 1679 }, |
1574 "GoogleCloudMlV1__PredictionOutput": { | 1680 "GoogleCloudMlV1__PredictionOutput": { |
1575 "description": "Represents results of a prediction job.", | 1681 "description": "Represents results of a prediction job.", |
1576 "id": "GoogleCloudMlV1__PredictionOutput", | 1682 "id": "GoogleCloudMlV1__PredictionOutput", |
1577 "properties": { | 1683 "properties": { |
| 1684 "predictionCount": { |
| 1685 "description": "The number of generated predictions.", |
| 1686 "format": "int64", |
| 1687 "type": "string" |
| 1688 }, |
1578 "errorCount": { | 1689 "errorCount": { |
1579 "description": "The number of data instances which resulted
in errors.", | 1690 "description": "The number of data instances which resulted
in errors.", |
1580 "format": "int64", | 1691 "format": "int64", |
1581 "type": "string" | 1692 "type": "string" |
1582 }, | 1693 }, |
1583 "nodeHours": { | 1694 "nodeHours": { |
1584 "description": "Node hours used by the batch prediction job.
", | 1695 "description": "Node hours used by the batch prediction job.
", |
1585 "format": "double", | 1696 "format": "double", |
1586 "type": "number" | 1697 "type": "number" |
1587 }, | 1698 }, |
1588 "outputPath": { | 1699 "outputPath": { |
1589 "description": "The output Google Cloud Storage location pro
vided at the job creation time.", | 1700 "description": "The output Google Cloud Storage location pro
vided at the job creation time.", |
1590 "type": "string" | 1701 "type": "string" |
1591 }, | |
1592 "predictionCount": { | |
1593 "description": "The number of generated predictions.", | |
1594 "format": "int64", | |
1595 "type": "string" | |
1596 } | 1702 } |
1597 }, | 1703 }, |
1598 "type": "object" | 1704 "type": "object" |
1599 }, | 1705 }, |
1600 "GoogleIamV1__Policy": { | 1706 "GoogleIamV1__Policy": { |
1601 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", | 1707 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", |
1602 "id": "GoogleIamV1__Policy", | 1708 "id": "GoogleIamV1__Policy", |
1603 "properties": { | 1709 "properties": { |
1604 "etag": { | 1710 "etag": { |
1605 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", | 1711 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", |
(...skipping 29 matching lines...) Expand all Loading... |
1635 }, | 1741 }, |
1636 "type": "array" | 1742 "type": "array" |
1637 } | 1743 } |
1638 }, | 1744 }, |
1639 "type": "object" | 1745 "type": "object" |
1640 }, | 1746 }, |
1641 "GoogleLongrunning__ListOperationsResponse": { | 1747 "GoogleLongrunning__ListOperationsResponse": { |
1642 "description": "The response message for Operations.ListOperations."
, | 1748 "description": "The response message for Operations.ListOperations."
, |
1643 "id": "GoogleLongrunning__ListOperationsResponse", | 1749 "id": "GoogleLongrunning__ListOperationsResponse", |
1644 "properties": { | 1750 "properties": { |
| 1751 "nextPageToken": { |
| 1752 "description": "The standard List next-page token.", |
| 1753 "type": "string" |
| 1754 }, |
1645 "operations": { | 1755 "operations": { |
1646 "description": "A list of operations that matches the specif
ied filter in the request.", | 1756 "description": "A list of operations that matches the specif
ied filter in the request.", |
1647 "items": { | 1757 "items": { |
1648 "$ref": "GoogleLongrunning__Operation" | 1758 "$ref": "GoogleLongrunning__Operation" |
1649 }, | 1759 }, |
1650 "type": "array" | 1760 "type": "array" |
1651 }, | |
1652 "nextPageToken": { | |
1653 "description": "The standard List next-page token.", | |
1654 "type": "string" | |
1655 } | 1761 } |
1656 }, | 1762 }, |
1657 "type": "object" | 1763 "type": "object" |
1658 }, | 1764 }, |
1659 "GoogleIamV1__Condition": { | 1765 "GoogleIamV1__Condition": { |
1660 "description": "A condition to be met.", | 1766 "description": "A condition to be met.", |
1661 "id": "GoogleIamV1__Condition", | 1767 "id": "GoogleIamV1__Condition", |
1662 "properties": { | 1768 "properties": { |
1663 "svc": { | |
1664 "description": "Trusted attributes discharged by the service
.", | |
1665 "type": "string" | |
1666 }, | |
1667 "sys": { | |
1668 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", | |
1669 "enum": [ | |
1670 "NO_ATTR", | |
1671 "REGION", | |
1672 "SERVICE", | |
1673 "NAME", | |
1674 "IP" | |
1675 ], | |
1676 "enumDescriptions": [ | |
1677 "Default non-attribute type", | |
1678 "Region of the resource", | |
1679 "Service name", | |
1680 "Resource name", | |
1681 "IP address of the caller" | |
1682 ], | |
1683 "type": "string" | |
1684 }, | |
1685 "value": { | |
1686 "description": "DEPRECATED. Use 'values' instead.", | |
1687 "type": "string" | |
1688 }, | |
1689 "values": { | 1769 "values": { |
1690 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", | 1770 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", |
1691 "items": { | 1771 "items": { |
1692 "type": "string" | 1772 "type": "string" |
1693 }, | 1773 }, |
1694 "type": "array" | 1774 "type": "array" |
1695 }, | 1775 }, |
1696 "iam": { | 1776 "iam": { |
1697 "description": "Trusted attributes supplied by the IAM syste
m.", | 1777 "description": "Trusted attributes supplied by the IAM syste
m.", |
1698 "enum": [ | 1778 "enum": [ |
(...skipping 24 matching lines...) Expand all Loading... |
1723 ], | 1803 ], |
1724 "enumDescriptions": [ | 1804 "enumDescriptions": [ |
1725 "Default no-op.", | 1805 "Default no-op.", |
1726 "DEPRECATED. Use IN instead.", | 1806 "DEPRECATED. Use IN instead.", |
1727 "DEPRECATED. Use NOT_IN instead.", | 1807 "DEPRECATED. Use NOT_IN instead.", |
1728 "The condition is true if the subject (or any element of
it if it is\na set) matches any of the supplied values.", | 1808 "The condition is true if the subject (or any element of
it if it is\na set) matches any of the supplied values.", |
1729 "The condition is true if the subject (or every element
of it if it is\na set) matches none of the supplied values.", | 1809 "The condition is true if the subject (or every element
of it if it is\na set) matches none of the supplied values.", |
1730 "Subject is discharged" | 1810 "Subject is discharged" |
1731 ], | 1811 ], |
1732 "type": "string" | 1812 "type": "string" |
| 1813 }, |
| 1814 "svc": { |
| 1815 "description": "Trusted attributes discharged by the service
.", |
| 1816 "type": "string" |
| 1817 }, |
| 1818 "value": { |
| 1819 "description": "DEPRECATED. Use 'values' instead.", |
| 1820 "type": "string" |
| 1821 }, |
| 1822 "sys": { |
| 1823 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", |
| 1824 "enum": [ |
| 1825 "NO_ATTR", |
| 1826 "REGION", |
| 1827 "SERVICE", |
| 1828 "NAME", |
| 1829 "IP" |
| 1830 ], |
| 1831 "enumDescriptions": [ |
| 1832 "Default non-attribute type", |
| 1833 "Region of the resource", |
| 1834 "Service name", |
| 1835 "Resource name", |
| 1836 "IP address of the caller" |
| 1837 ], |
| 1838 "type": "string" |
1733 } | 1839 } |
1734 }, | 1840 }, |
1735 "type": "object" | 1841 "type": "object" |
1736 }, | 1842 }, |
1737 "GoogleCloudMlV1__ManualScaling": { | 1843 "GoogleCloudMlV1__ManualScaling": { |
1738 "description": "Options for manually scaling a model.", | 1844 "description": "Options for manually scaling a model.", |
1739 "id": "GoogleCloudMlV1__ManualScaling", | 1845 "id": "GoogleCloudMlV1__ManualScaling", |
1740 "properties": { | 1846 "properties": { |
1741 "nodes": { | 1847 "nodes": { |
1742 "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 h
ours since\nlast billing cycle plus the cost for each prediction performed.", | 1848 "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 h
ours since\nlast billing cycle plus the cost for each prediction performed.", |
1743 "format": "int32", | 1849 "format": "int32", |
1744 "type": "integer" | 1850 "type": "integer" |
1745 } | 1851 } |
1746 }, | 1852 }, |
1747 "type": "object" | 1853 "type": "object" |
1748 }, | 1854 }, |
1749 "GoogleIamV1__Binding": { | 1855 "GoogleIamV1__Binding": { |
1750 "description": "Associates `members` with a `role`.", | 1856 "description": "Associates `members` with a `role`.", |
1751 "id": "GoogleIamV1__Binding", | 1857 "id": "GoogleIamV1__Binding", |
1752 "properties": { | 1858 "properties": { |
1753 "role": { | |
1754 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | |
1755 "type": "string" | |
1756 }, | |
1757 "condition": { | 1859 "condition": { |
1758 "$ref": "GoogleType__Expr", | 1860 "$ref": "GoogleType__Expr", |
1759 "description": "The condition that is associated with this b
inding.\nNOTE: an unsatisfied condition will not allow user access via current\n
binding. Different bindings, including their conditions, are examined\nindepende
ntly.\nThis field is GOOGLE_INTERNAL." | 1861 "description": "The condition that is associated with this b
inding.\nNOTE: an unsatisfied condition will not allow user access via current\n
binding. Different bindings, including their conditions, are examined\nindepende
ntly.\nThis field is GOOGLE_INTERNAL." |
1760 }, | 1862 }, |
1761 "members": { | 1863 "members": { |
1762 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre
sents all the\n users of that domain. For example, `google.com` or `example.co
m`.\n\n", | 1864 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre
sents all the\n users of that domain. For example, `google.com` or `example.co
m`.\n\n", |
1763 "items": { | 1865 "items": { |
1764 "type": "string" | 1866 "type": "string" |
1765 }, | 1867 }, |
1766 "type": "array" | 1868 "type": "array" |
| 1869 }, |
| 1870 "role": { |
| 1871 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
| 1872 "type": "string" |
1767 } | 1873 } |
1768 }, | 1874 }, |
1769 "type": "object" | 1875 "type": "object" |
1770 }, | 1876 }, |
1771 "GoogleCloudMlV1__TrainingOutput": { | 1877 "GoogleCloudMlV1__TrainingOutput": { |
1772 "description": "Represents results of a training job. Output only.", | 1878 "description": "Represents results of a training job. Output only.", |
1773 "id": "GoogleCloudMlV1__TrainingOutput", | 1879 "id": "GoogleCloudMlV1__TrainingOutput", |
1774 "properties": { | 1880 "properties": { |
1775 "trials": { | |
1776 "description": "Results for individual Hyperparameter trials
.\nOnly set for hyperparameter tuning jobs.", | |
1777 "items": { | |
1778 "$ref": "GoogleCloudMlV1__HyperparameterOutput" | |
1779 }, | |
1780 "type": "array" | |
1781 }, | |
1782 "completedTrialCount": { | 1881 "completedTrialCount": { |
1783 "description": "The number of hyperparameter tuning trials t
hat completed successfully.\nOnly set for hyperparameter tuning jobs.", | 1882 "description": "The number of hyperparameter tuning trials t
hat completed successfully.\nOnly set for hyperparameter tuning jobs.", |
1784 "format": "int64", | 1883 "format": "int64", |
1785 "type": "string" | 1884 "type": "string" |
1786 }, | 1885 }, |
1787 "isHyperparameterTuningJob": { | 1886 "isHyperparameterTuningJob": { |
1788 "description": "Whether this job is a hyperparameter tuning
job.", | 1887 "description": "Whether this job is a hyperparameter tuning
job.", |
1789 "type": "boolean" | 1888 "type": "boolean" |
1790 }, | 1889 }, |
1791 "consumedMLUnits": { | 1890 "consumedMLUnits": { |
1792 "description": "The amount of ML units consumed by the job."
, | 1891 "description": "The amount of ML units consumed by the job."
, |
1793 "format": "double", | 1892 "format": "double", |
1794 "type": "number" | 1893 "type": "number" |
| 1894 }, |
| 1895 "trials": { |
| 1896 "description": "Results for individual Hyperparameter trials
.\nOnly set for hyperparameter tuning jobs.", |
| 1897 "items": { |
| 1898 "$ref": "GoogleCloudMlV1__HyperparameterOutput" |
| 1899 }, |
| 1900 "type": "array" |
1795 } | 1901 } |
1796 }, | 1902 }, |
1797 "type": "object" | 1903 "type": "object" |
1798 }, | 1904 }, |
1799 "GoogleCloudMlV1beta1__AutoScaling": { | 1905 "GoogleCloudMlV1beta1__AutoScaling": { |
1800 "description": "Options for automatically scaling a model.", | 1906 "description": "Options for automatically scaling a model.", |
1801 "id": "GoogleCloudMlV1beta1__AutoScaling", | 1907 "id": "GoogleCloudMlV1beta1__AutoScaling", |
1802 "properties": { | 1908 "properties": { |
1803 "minNodes": { | 1909 "minNodes": { |
1804 "description": "Optional. The minimum number of nodes to all
ocate for this model. These\nnodes are always up, starting from the time the mod
el is deployed, so the\ncost of operating this model will be at least\n`rate` *
`min_nodes` * number of hours since last billing cycle,\nwhere `rate` is the cos
t per node-hour as documented in\n[pricing](https://cloud.google.com/ml-engine/p
ricing#prediction_pricing),\neven if no predictions are performed. There is addi
tional cost for each\nprediction performed.\n\nUnlike manual scaling, if the loa
d gets too heavy for the nodes\nthat are up, the service will automatically add
nodes to handle the\nincreased load as well as scale back as traffic drops, alwa
ys maintaining\nat least `min_nodes`. You will be charged for the time in which
additional\nnodes are used.\n\nIf not specified, `min_nodes` defaults to 0, in w
hich case, when traffic\nto a model stops (and after a cool-down period), nodes
will be shut down\nand no charges will be incurred until traffic to the model re
sumes.", | 1910 "description": "Optional. The minimum number of nodes to all
ocate for this model. These\nnodes are always up, starting from the time the mod
el is deployed, so the\ncost of operating this model will be at least\n`rate` *
`min_nodes` * number of hours since last billing cycle,\nwhere `rate` is the cos
t per node-hour as documented in\n[pricing](https://cloud.google.com/ml-engine/p
ricing#prediction_pricing),\neven if no predictions are performed. There is addi
tional cost for each\nprediction performed.\n\nUnlike manual scaling, if the loa
d gets too heavy for the nodes\nthat are up, the service will automatically add
nodes to handle the\nincreased load as well as scale back as traffic drops, alwa
ys maintaining\nat least `min_nodes`. You will be charged for the time in which
additional\nnodes are used.\n\nIf not specified, `min_nodes` defaults to 0, in w
hich case, when traffic\nto a model stops (and after a cool-down period), nodes
will be shut down\nand no charges will be incurred until traffic to the model re
sumes.", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1868 "description": "Additional restrictions that must be met", | 1974 "description": "Additional restrictions that must be met", |
1869 "items": { | 1975 "items": { |
1870 "$ref": "GoogleIamV1__Condition" | 1976 "$ref": "GoogleIamV1__Condition" |
1871 }, | 1977 }, |
1872 "type": "array" | 1978 "type": "array" |
1873 } | 1979 } |
1874 }, | 1980 }, |
1875 "type": "object" | 1981 "type": "object" |
1876 }, | 1982 }, |
1877 "GoogleIamV1_LogConfig_CounterOptions": { | 1983 "GoogleIamV1_LogConfig_CounterOptions": { |
1878 "description": "Options for counters", | 1984 "description": "Increment a streamz counter with the specified metri
c and field names.\n\nMetric names should start with a '/', generally be lowerca
se-only,\nand end in \"_count\". Field names should not contain an initial slash
.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nFiel
d names correspond to IAM request parameters and field values are\ntheir respect
ive values.\n\nAt present the only supported field names are\n - \"iam_princip
al\", corresponding to IAMContext.principal;\n - \"\" (empty string), resultin
g in one aggretated counter with no field.\n\nExamples:\n counter { metric: \"/
debug_access_count\" field: \"iam_principal\" }\n ==> increment counter /iam/p
olicy/backend_debug_access_count\n {iam_principal=[value
of IAMContext.principal]}\n\nAt this time we do not support:\n* multiple field n
ames (though this may be supported in the future)\n* decrementing the counter\n*
incrementing it by anything other than 1", |
1879 "id": "GoogleIamV1_LogConfig_CounterOptions", | 1985 "id": "GoogleIamV1_LogConfig_CounterOptions", |
1880 "properties": { | 1986 "properties": { |
1881 "field": { | 1987 "field": { |
1882 "description": "The field value to attribute.", | 1988 "description": "The field value to attribute.", |
1883 "type": "string" | 1989 "type": "string" |
1884 }, | 1990 }, |
1885 "metric": { | 1991 "metric": { |
1886 "description": "The metric to update.", | 1992 "description": "The metric to update.", |
1887 "type": "string" | 1993 "type": "string" |
1888 } | 1994 } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1932 "Default. Should not be used.", | 2038 "Default. Should not be used.", |
1933 "Corresponds to \"cloudaudit.googleapis.com/activity\"", | 2039 "Corresponds to \"cloudaudit.googleapis.com/activity\"", |
1934 "Corresponds to \"cloudaudit.googleapis.com/data_access\
"" | 2040 "Corresponds to \"cloudaudit.googleapis.com/data_access\
"" |
1935 ], | 2041 ], |
1936 "type": "string" | 2042 "type": "string" |
1937 } | 2043 } |
1938 }, | 2044 }, |
1939 "type": "object" | 2045 "type": "object" |
1940 }, | 2046 }, |
1941 "GoogleCloudMlV1__Version": { | 2047 "GoogleCloudMlV1__Version": { |
1942 "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-engine/re
ference/rest/v1/projects.models.versions/list).", | 2048 "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-engine/re
ference/rest/v1/projects.models.versions/list).\n\nNext ID: 18", |
1943 "id": "GoogleCloudMlV1__Version", | 2049 "id": "GoogleCloudMlV1__Version", |
1944 "properties": { | 2050 "properties": { |
| 2051 "state": { |
| 2052 "description": "Output only. The state of a version.", |
| 2053 "enum": [ |
| 2054 "UNKNOWN", |
| 2055 "READY", |
| 2056 "CREATING", |
| 2057 "FAILED", |
| 2058 "DELETING" |
| 2059 ], |
| 2060 "enumDescriptions": [ |
| 2061 "The version state is unspecified.", |
| 2062 "The version is ready for prediction.", |
| 2063 "The version is in the process of creation.", |
| 2064 "The version failed to be created, possibly cancelled.\n
`error_message` should contain the details of the failure.", |
| 2065 "The version is in the process of deletion." |
| 2066 ], |
| 2067 "type": "string" |
| 2068 }, |
| 2069 "manualScaling": { |
| 2070 "$ref": "GoogleCloudMlV1__ManualScaling", |
| 2071 "description": "Manually select the number of nodes to use f
or serving the\nmodel. You should generally use `auto_scaling` with an appropria
te\n`min_nodes` instead, but this option is available if you want more\npredicta
ble billing. Beware that latency and error rates will increase\nif the traffic e
xceeds that capability of the system to serve it based\non the selected number o
f nodes." |
| 2072 }, |
1945 "name": { | 2073 "name": { |
1946 "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.", | 2074 "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.", |
1947 "type": "string" | 2075 "type": "string" |
1948 }, | 2076 }, |
1949 "errorMessage": { | 2077 "errorMessage": { |
1950 "description": "Output only. The details of a failure or a c
ancellation.", | 2078 "description": "Output only. The details of a failure or a c
ancellation.", |
1951 "type": "string" | 2079 "type": "string" |
1952 }, | 2080 }, |
1953 "runtimeVersion": { | 2081 "runtimeVersion": { |
1954 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", | 2082 "description": "Optional. The Google Cloud ML runtime versio
n to use for this deployment.\nIf not set, Google Cloud ML will choose a version
.", |
1955 "type": "string" | 2083 "type": "string" |
1956 }, | 2084 }, |
1957 "lastUseTime": { | 2085 "lastUseTime": { |
1958 "description": "Output only. The time the version was last u
sed for prediction.", | 2086 "description": "Output only. The time the version was last u
sed for prediction.", |
1959 "format": "google-datetime", | 2087 "format": "google-datetime", |
1960 "type": "string" | 2088 "type": "string" |
1961 }, | 2089 }, |
1962 "description": { | 2090 "description": { |
1963 "description": "Optional. The description specified for the
version when it was created.", | 2091 "description": "Optional. The description specified for the
version when it was created.", |
1964 "type": "string" | 2092 "type": "string" |
1965 }, | 2093 }, |
1966 "deploymentUri": { | 2094 "deploymentUri": { |
1967 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model\nd
eployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformation.\
n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/referen
ce/rest/v1/projects.models.versions/create)\nthe model service uses the specifie
d location as the source of the model.\nOnce deployed, the model version is host
ed by the prediction service, so\nthis location is useful only as a historical r
ecord.\nThe total number of model files can't exceed 1000.", | 2095 "description": "Required. The Google Cloud Storage location
of the trained model used to\ncreate the version. See the\n[overview of model\nd
eployment](/ml-engine/docs/concepts/deployment-overview) for more\ninformation.\
n\nWhen passing Version to\n[projects.models.versions.create](/ml-engine/referen
ce/rest/v1/projects.models.versions/create)\nthe model service uses the specifie
d location as the source of the model.\nOnce deployed, the model version is host
ed by the prediction service, so\nthis location is useful only as a historical r
ecord.\nThe total number of model files can't exceed 1000.", |
1968 "type": "string" | 2096 "type": "string" |
1969 }, | 2097 }, |
| 2098 "isDefault": { |
| 2099 "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-e
ngine/reference/rest/v1/projects.models.versions/setDefault).", |
| 2100 "type": "boolean" |
| 2101 }, |
1970 "autoScaling": { | 2102 "autoScaling": { |
1971 "$ref": "GoogleCloudMlV1__AutoScaling", | 2103 "$ref": "GoogleCloudMlV1__AutoScaling", |
1972 "description": "Automatically scale the number of nodes used
to serve the model in\nresponse to increases and decreases in traffic. Care sho
uld be\ntaken to ramp up traffic according to the model's ability to scale\nor y
ou will start seeing increases in latency and 429 response codes." | 2104 "description": "Automatically scale the number of nodes used
to serve the model in\nresponse to increases and decreases in traffic. Care sho
uld be\ntaken to ramp up traffic according to the model's ability to scale\nor y
ou will start seeing increases in latency and 429 response codes." |
1973 }, | 2105 }, |
1974 "isDefault": { | |
1975 "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-e
ngine/reference/rest/v1/projects.models.versions/setDefault).", | |
1976 "type": "boolean" | |
1977 }, | |
1978 "createTime": { | 2106 "createTime": { |
1979 "description": "Output only. The time the version was create
d.", | 2107 "description": "Output only. The time the version was create
d.", |
1980 "format": "google-datetime", | 2108 "format": "google-datetime", |
1981 "type": "string" | 2109 "type": "string" |
1982 }, | |
1983 "state": { | |
1984 "description": "Output only. The state of a version.", | |
1985 "enum": [ | |
1986 "UNKNOWN", | |
1987 "READY", | |
1988 "CREATING", | |
1989 "FAILED" | |
1990 ], | |
1991 "enumDescriptions": [ | |
1992 "The version state is unspecified.", | |
1993 "The version is ready for prediction.", | |
1994 "The version is still in the process of creation.", | |
1995 "The version failed to be created, possibly cancelled.\n
`error_message` should contain the details of the failure." | |
1996 ], | |
1997 "type": "string" | |
1998 }, | |
1999 "manualScaling": { | |
2000 "$ref": "GoogleCloudMlV1__ManualScaling", | |
2001 "description": "Manually select the number of nodes to use f
or serving the\nmodel. You should generally use `auto_scaling` with an appropria
te\n`min_nodes` instead, but this option is available if you want more\npredicta
ble billing. Beware that latency and error rates will increase\nif the traffic e
xceeds that capability of the system to serve it based\non the selected number o
f nodes." | |
2002 } | 2110 } |
2003 }, | 2111 }, |
2004 "type": "object" | 2112 "type": "object" |
2005 }, | 2113 }, |
2006 "GoogleCloudMlV1__ParameterSpec": { | 2114 "GoogleCloudMlV1__ParameterSpec": { |
2007 "description": "Represents a single hyperparameter to optimize.", | 2115 "description": "Represents a single hyperparameter to optimize.", |
2008 "id": "GoogleCloudMlV1__ParameterSpec", | 2116 "id": "GoogleCloudMlV1__ParameterSpec", |
2009 "properties": { | 2117 "properties": { |
2010 "minValue": { | 2118 "minValue": { |
2011 "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.", | 2119 "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.", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2052 ], | 2160 ], |
2053 "enumDescriptions": [ | 2161 "enumDescriptions": [ |
2054 "You must specify a valid type. Using this unspecified t
ype will result in\nan error.", | 2162 "You must specify a valid type. Using this unspecified t
ype will result in\nan error.", |
2055 "Type for real-valued parameters.", | 2163 "Type for real-valued parameters.", |
2056 "Type for integral parameters.", | 2164 "Type for integral parameters.", |
2057 "The parameter is categorical, with a value chosen from
the categories\nfield.", | 2165 "The parameter is categorical, with a value chosen from
the categories\nfield.", |
2058 "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." | 2166 "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." |
2059 ], | 2167 ], |
2060 "type": "string" | 2168 "type": "string" |
2061 }, | 2169 }, |
| 2170 "parameterName": { |
| 2171 "description": "Required. The parameter name must be unique
amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_
rate\".", |
| 2172 "type": "string" |
| 2173 }, |
2062 "categoricalValues": { | 2174 "categoricalValues": { |
2063 "description": "Required if type is `CATEGORICAL`. The list
of possible categories.", | 2175 "description": "Required if type is `CATEGORICAL`. The list
of possible categories.", |
2064 "items": { | 2176 "items": { |
2065 "type": "string" | 2177 "type": "string" |
2066 }, | 2178 }, |
2067 "type": "array" | 2179 "type": "array" |
2068 }, | |
2069 "parameterName": { | |
2070 "description": "Required. The parameter name must be unique
amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_
rate\".", | |
2071 "type": "string" | |
2072 } | 2180 } |
2073 }, | 2181 }, |
2074 "type": "object" | 2182 "type": "object" |
2075 } | 2183 } |
2076 }, | 2184 }, |
2077 "servicePath": "", | 2185 "servicePath": "", |
2078 "title": "Google Cloud Machine Learning Engine", | 2186 "title": "Google Cloud Machine Learning Engine", |
2079 "version": "v1" | 2187 "version": "v1" |
2080 } | 2188 } |
OLD | NEW |