Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: discovery/googleapis/ml__v1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/manufacturers__v1.json ('k') | discovery/googleapis/monitoring__v3.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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": {
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.",
30 "location": "query",
31 "type": "string"
32 },
33 "access_token": {
34 "description": "OAuth access token.",
35 "location": "query",
36 "type": "string"
37 },
38 "quotaUser": {
39 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
40 "location": "query",
41 "type": "string"
42 },
43 "pp": {
44 "default": "true",
45 "description": "Pretty-print response.",
46 "location": "query",
47 "type": "boolean"
48 },
49 "oauth_token": {
50 "description": "OAuth 2.0 token for the current user.",
51 "location": "query",
52 "type": "string"
53 },
54 "bearer_token": {
55 "description": "OAuth bearer token.",
56 "location": "query",
57 "type": "string"
58 },
28 "upload_protocol": { 59 "upload_protocol": {
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
30 "location": "query", 61 "location": "query",
31 "type": "string" 62 "type": "string"
32 }, 63 },
33 "prettyPrint": { 64 "prettyPrint": {
34 "default": "true", 65 "default": "true",
35 "description": "Returns response with indentations and line breaks." , 66 "description": "Returns response with indentations and line breaks." ,
36 "location": "query", 67 "location": "query",
37 "type": "boolean" 68 "type": "boolean"
38 }, 69 },
70 "fields": {
71 "description": "Selector specifying which fields to include in a par tial response.",
72 "location": "query",
73 "type": "string"
74 },
39 "uploadType": { 75 "uploadType": {
40 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 76 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
41 "location": "query", 77 "location": "query",
42 "type": "string" 78 "type": "string"
43 }, 79 },
44 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query",
47 "type": "string"
48 },
49 "$.xgafv": { 80 "$.xgafv": {
50 "description": "V1 error format.", 81 "description": "V1 error format.",
51 "enum": [ 82 "enum": [
52 "1", 83 "1",
53 "2" 84 "2"
54 ], 85 ],
55 "enumDescriptions": [ 86 "enumDescriptions": [
56 "v1 error format", 87 "v1 error format",
57 "v2 error format" 88 "v2 error format"
58 ], 89 ],
(...skipping 13 matching lines...) Expand all
72 "media", 103 "media",
73 "proto" 104 "proto"
74 ], 105 ],
75 "enumDescriptions": [ 106 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 107 "Responses with Content-Type of application/json",
77 "Media download with context-dependent Content-Type", 108 "Media download with context-dependent Content-Type",
78 "Responses with Content-Type of application/x-protobuf" 109 "Responses with Content-Type of application/x-protobuf"
79 ], 110 ],
80 "location": "query", 111 "location": "query",
81 "type": "string" 112 "type": "string"
82 },
83 "key": {
84 "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.",
85 "location": "query",
86 "type": "string"
87 },
88 "access_token": {
89 "description": "OAuth access token.",
90 "location": "query",
91 "type": "string"
92 },
93 "quotaUser": {
94 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
95 "location": "query",
96 "type": "string"
97 },
98 "pp": {
99 "default": "true",
100 "description": "Pretty-print response.",
101 "location": "query",
102 "type": "boolean"
103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
109 "oauth_token": {
110 "description": "OAuth 2.0 token for the current user.",
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 }, 162 },
163 "response": { 163 "response": {
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 "jobs": { 172 "models": {
173 "methods": { 173 "methods": {
174 "cancel": { 174 "getIamPolicy": {
175 "description": "Cancels a running job.", 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.",
176 "httpMethod": "POST", 176 "httpMethod": "GET",
177 "id": "ml.projects.jobs.cancel", 177 "id": "ml.projects.models.getIamPolicy",
178 "parameterOrder": [ 178 "parameterOrder": [
179 "name" 179 "resource"
180 ], 180 ],
181 "parameters": { 181 "parameters": {
182 "name": { 182 "resource": {
183 "description": "Required. The name of the jo b to cancel.", 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.",
184 "location": "path", 184 "location": "path",
185 "pattern": "^projects/[^/]+/jobs/[^/]+$", 185 "pattern": "^projects/[^/]+/models/[^/]+$",
186 "required": true, 186 "required": true,
187 "type": "string" 187 "type": "string"
188 } 188 }
189 }, 189 },
190 "path": "v1/{+name}:cancel", 190 "path": "v1/{+resource}:getIamPolicy",
191 "request": {
192 "$ref": "GoogleCloudMlV1__CancelJobRequest"
193 },
194 "response": { 191 "response": {
195 "$ref": "GoogleProtobuf__Empty" 192 "$ref": "GoogleIamV1__Policy"
196 }, 193 },
197 "scopes": [ 194 "scopes": [
198 "https://www.googleapis.com/auth/cloud-platform" 195 "https://www.googleapis.com/auth/cloud-platform"
199 ] 196 ]
200 }, 197 },
201 "get": { 198 "get": {
202 "description": "Describes a job.", 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).",
203 "httpMethod": "GET", 200 "httpMethod": "GET",
204 "id": "ml.projects.jobs.get", 201 "id": "ml.projects.models.get",
205 "parameterOrder": [ 202 "parameterOrder": [
206 "name" 203 "name"
207 ], 204 ],
208 "parameters": { 205 "parameters": {
209 "name": { 206 "name": {
210 "description": "Required. The name of the jo b to get the description of.", 207 "description": "Required. The name of the mo del.",
211 "location": "path", 208 "location": "path",
212 "pattern": "^projects/[^/]+/jobs/[^/]+$", 209 "pattern": "^projects/[^/]+/models/[^/]+$",
213 "required": true, 210 "required": true,
214 "type": "string" 211 "type": "string"
215 } 212 }
216 }, 213 },
217 "path": "v1/{+name}", 214 "path": "v1/{+name}",
218 "response": { 215 "response": {
219 "$ref": "GoogleCloudMlV1__Job" 216 "$ref": "GoogleCloudMlV1__Model"
220 }, 217 },
221 "scopes": [ 218 "scopes": [
222 "https://www.googleapis.com/auth/cloud-platform" 219 "https://www.googleapis.com/auth/cloud-platform"
223 ] 220 ]
224 }, 221 },
225 "list": {
226 "description": "Lists the jobs in the project.",
227 "httpMethod": "GET",
228 "id": "ml.projects.jobs.list",
229 "parameterOrder": [
230 "parent"
231 ],
232 "parameters": {
233 "pageToken": {
234 "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.",
235 "location": "query",
236 "type": "string"
237 },
238 "pageSize": {
239 "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_ token` field.\n\nThe default value is 20, and the maximum page size is 100.",
240 "format": "int32",
241 "location": "query",
242 "type": "integer"
243 },
244 "parent": {
245 "description": "Required. The name of the pr oject for which to list jobs.",
246 "location": "path",
247 "pattern": "^projects/[^/]+$",
248 "required": true,
249 "type": "string"
250 },
251 "filter": {
252 "description": "Optional. Specifies the subs et of jobs to retrieve.",
253 "location": "query",
254 "type": "string"
255 }
256 },
257 "path": "v1/{+parent}/jobs",
258 "response": {
259 "$ref": "GoogleCloudMlV1__ListJobsResponse"
260 },
261 "scopes": [
262 "https://www.googleapis.com/auth/cloud-platform"
263 ]
264 },
265 "create": {
266 "description": "Creates a training or a batch predic tion job.",
267 "httpMethod": "POST",
268 "id": "ml.projects.jobs.create",
269 "parameterOrder": [
270 "parent"
271 ],
272 "parameters": {
273 "parent": {
274 "description": "Required. The project name." ,
275 "location": "path",
276 "pattern": "^projects/[^/]+$",
277 "required": true,
278 "type": "string"
279 }
280 },
281 "path": "v1/{+parent}/jobs",
282 "request": {
283 "$ref": "GoogleCloudMlV1__Job"
284 },
285 "response": {
286 "$ref": "GoogleCloudMlV1__Job"
287 },
288 "scopes": [
289 "https://www.googleapis.com/auth/cloud-platform"
290 ]
291 }
292 }
293 },
294 "models": {
295 "methods": {
296 "testIamPermissions": { 222 "testIamPermissions": {
297 "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. ", 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. ",
298 "httpMethod": "POST", 224 "httpMethod": "POST",
299 "id": "ml.projects.models.testIamPermissions", 225 "id": "ml.projects.models.testIamPermissions",
300 "parameterOrder": [ 226 "parameterOrder": [
301 "resource" 227 "resource"
302 ], 228 ],
303 "parameters": { 229 "parameters": {
304 "resource": { 230 "resource": {
305 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", 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.",
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 "path": "v1/{+resource}:setIamPolicy", 351 "path": "v1/{+resource}:setIamPolicy",
426 "request": { 352 "request": {
427 "$ref": "GoogleIamV1__SetIamPolicyRequest" 353 "$ref": "GoogleIamV1__SetIamPolicyRequest"
428 }, 354 },
429 "response": { 355 "response": {
430 "$ref": "GoogleIamV1__Policy" 356 "$ref": "GoogleIamV1__Policy"
431 }, 357 },
432 "scopes": [ 358 "scopes": [
433 "https://www.googleapis.com/auth/cloud-platform" 359 "https://www.googleapis.com/auth/cloud-platform"
434 ] 360 ]
435 },
436 "getIamPolicy": {
437 "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.",
438 "httpMethod": "GET",
439 "id": "ml.projects.models.getIamPolicy",
440 "parameterOrder": [
441 "resource"
442 ],
443 "parameters": {
444 "resource": {
445 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
446 "location": "path",
447 "pattern": "^projects/[^/]+/models/[^/]+$",
448 "required": true,
449 "type": "string"
450 }
451 },
452 "path": "v1/{+resource}:getIamPolicy",
453 "response": {
454 "$ref": "GoogleIamV1__Policy"
455 },
456 "scopes": [
457 "https://www.googleapis.com/auth/cloud-platform"
458 ]
459 },
460 "get": {
461 "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).",
462 "httpMethod": "GET",
463 "id": "ml.projects.models.get",
464 "parameterOrder": [
465 "name"
466 ],
467 "parameters": {
468 "name": {
469 "description": "Required. The name of the mo del.",
470 "location": "path",
471 "pattern": "^projects/[^/]+/models/[^/]+$",
472 "required": true,
473 "type": "string"
474 }
475 },
476 "path": "v1/{+name}",
477 "response": {
478 "$ref": "GoogleCloudMlV1__Model"
479 },
480 "scopes": [
481 "https://www.googleapis.com/auth/cloud-platform"
482 ]
483 } 361 }
484 }, 362 },
485 "resources": { 363 "resources": {
486 "versions": { 364 "versions": {
487 "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 },
488 "setDefault": { 393 "setDefault": {
489 "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.", 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.",
490 "httpMethod": "POST", 395 "httpMethod": "POST",
491 "id": "ml.projects.models.versions.setDefaul t", 396 "id": "ml.projects.models.versions.setDefaul t",
492 "parameterOrder": [ 397 "parameterOrder": [
493 "name" 398 "name"
494 ], 399 ],
495 "parameters": { 400 "parameters": {
496 "name": { 401 "name": {
497 "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.", 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.",
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 "type": "string" 492 "type": "string"
588 } 493 }
589 }, 494 },
590 "path": "v1/{+parent}/versions", 495 "path": "v1/{+parent}/versions",
591 "response": { 496 "response": {
592 "$ref": "GoogleCloudMlV1__ListVersionsRe sponse" 497 "$ref": "GoogleCloudMlV1__ListVersionsRe sponse"
593 }, 498 },
594 "scopes": [ 499 "scopes": [
595 "https://www.googleapis.com/auth/cloud-p latform" 500 "https://www.googleapis.com/auth/cloud-p latform"
596 ] 501 ]
597 },
598 "create": {
599 "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).",
600 "httpMethod": "POST",
601 "id": "ml.projects.models.versions.create",
602 "parameterOrder": [
603 "parent"
604 ],
605 "parameters": {
606 "parent": {
607 "description": "Required. The name o f the model.",
608 "location": "path",
609 "pattern": "^projects/[^/]+/models/[ ^/]+$",
610 "required": true,
611 "type": "string"
612 }
613 },
614 "path": "v1/{+parent}/versions",
615 "request": {
616 "$ref": "GoogleCloudMlV1__Version"
617 },
618 "response": {
619 "$ref": "GoogleLongrunning__Operation"
620 },
621 "scopes": [
622 "https://www.googleapis.com/auth/cloud-p latform"
623 ]
624 } 502 }
625 } 503 }
626 } 504 }
627 } 505 }
628 }, 506 },
629 "operations": { 507 "operations": {
630 "methods": { 508 "methods": {
631 "cancel": { 509 "cancel": {
632 "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` .",
633 "httpMethod": "POST", 511 "httpMethod": "POST",
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 }, 612 },
735 "path": "v1/{+name}/operations", 613 "path": "v1/{+name}/operations",
736 "response": { 614 "response": {
737 "$ref": "GoogleLongrunning__ListOperationsRespon se" 615 "$ref": "GoogleLongrunning__ListOperationsRespon se"
738 }, 616 },
739 "scopes": [ 617 "scopes": [
740 "https://www.googleapis.com/auth/cloud-platform" 618 "https://www.googleapis.com/auth/cloud-platform"
741 ] 619 ]
742 } 620 }
743 } 621 }
622 },
623 "jobs": {
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": {
653 "description": "Describes a job.",
654 "httpMethod": "GET",
655 "id": "ml.projects.jobs.get",
656 "parameterOrder": [
657 "name"
658 ],
659 "parameters": {
660 "name": {
661 "description": "Required. The name of the jo b to get the description of.",
662 "location": "path",
663 "pattern": "^projects/[^/]+/jobs/[^/]+$",
664 "required": true,
665 "type": "string"
666 }
667 },
668 "path": "v1/{+name}",
669 "response": {
670 "$ref": "GoogleCloudMlV1__Job"
671 },
672 "scopes": [
673 "https://www.googleapis.com/auth/cloud-platform"
674 ]
675 },
676 "list": {
677 "description": "Lists the jobs in the project.",
678 "httpMethod": "GET",
679 "id": "ml.projects.jobs.list",
680 "parameterOrder": [
681 "parent"
682 ],
683 "parameters": {
684 "pageToken": {
685 "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.",
686 "location": "query",
687 "type": "string"
688 },
689 "pageSize": {
690 "description": "Optional. The number of jobs to retrieve per \"page\" of results. If there\nare more remaining results than this number, the response message will\ncontain a valid value in the `next_page_ token` field.\n\nThe default value is 20, and the maximum page size is 100.",
691 "format": "int32",
692 "location": "query",
693 "type": "integer"
694 },
695 "parent": {
696 "description": "Required. The name of the pr oject for which to list jobs.",
697 "location": "path",
698 "pattern": "^projects/[^/]+$",
699 "required": true,
700 "type": "string"
701 },
702 "filter": {
703 "description": "Optional. Specifies the subs et of jobs to retrieve.",
704 "location": "query",
705 "type": "string"
706 }
707 },
708 "path": "v1/{+parent}/jobs",
709 "response": {
710 "$ref": "GoogleCloudMlV1__ListJobsResponse"
711 },
712 "scopes": [
713 "https://www.googleapis.com/auth/cloud-platform"
714 ]
715 },
716 "create": {
717 "description": "Creates a training or a batch predic tion job.",
718 "httpMethod": "POST",
719 "id": "ml.projects.jobs.create",
720 "parameterOrder": [
721 "parent"
722 ],
723 "parameters": {
724 "parent": {
725 "description": "Required. The project name." ,
726 "location": "path",
727 "pattern": "^projects/[^/]+$",
728 "required": true,
729 "type": "string"
730 }
731 },
732 "path": "v1/{+parent}/jobs",
733 "request": {
734 "$ref": "GoogleCloudMlV1__Job"
735 },
736 "response": {
737 "$ref": "GoogleCloudMlV1__Job"
738 },
739 "scopes": [
740 "https://www.googleapis.com/auth/cloud-platform"
741 ]
742 }
743 }
744 } 744 }
745 } 745 }
746 } 746 }
747 }, 747 },
748 "revision": "20170627", 748 "revision": "20170718",
749 "rootUrl": "https://ml.googleapis.com/", 749 "rootUrl": "https://ml.googleapis.com/",
750 "schemas": { 750 "schemas": {
751 "GoogleCloudMlV1beta1__AutomaticScaling": { 751 "GoogleIamV1_LogConfig_DataAccessOptions": {
752 "description": "Options for automatically scaling a model.", 752 "description": "Write a Data Access (Gin) log",
753 "id": "GoogleCloudMlV1beta1__AutomaticScaling", 753 "id": "GoogleIamV1_LogConfig_DataAccessOptions",
754 "properties": {},
755 "type": "object"
756 },
757 "GoogleCloudMlV1__PredictionInput": {
758 "description": "Represents input parameters for a prediction job.",
759 "id": "GoogleCloudMlV1__PredictionInput",
754 "properties": { 760 "properties": {
755 "minNodes": { 761 "dataFormat": {
756 "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.", 762 "description": "Required. The format of the input data files .",
757 "format": "int32", 763 "enum": [
758 "type": "integer" 764 "DATA_FORMAT_UNSPECIFIED",
765 "TEXT",
766 "TF_RECORD",
767 "TF_RECORD_GZIP"
768 ],
769 "enumDescriptions": [
770 "Unspecified format.",
771 "The source file is a text file with instances separated by the\nnew-line character.",
772 "The source file is a TFRecord file.",
773 "The source file is a GZIP-compressed TFRecord file."
774 ],
775 "type": "string"
776 },
777 "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.",
779 "type": "string"
780 },
781 "inputPaths": {
782 "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.",
783 "items": {
784 "type": "string"
785 },
786 "type": "array"
787 },
788 "region": {
789 "description": "Required. The Google Compute Engine region t o run the prediction job in.",
790 "type": "string"
791 },
792 "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>\"`",
794 "type": "string"
795 },
796 "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>\"`",
798 "type": "string"
799 },
800 "outputPath": {
801 "description": "Required. The output Google Cloud Storage lo cation.",
802 "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"
759 } 812 }
760 }, 813 },
761 "type": "object" 814 "type": "object"
762 }, 815 },
763 "GoogleLongrunning__ListOperationsResponse": { 816 "GoogleCloudMlV1__OperationMetadata": {
764 "description": "The response message for Operations.ListOperations." , 817 "description": "Represents the metadata of the long-running operatio n.",
765 "id": "GoogleLongrunning__ListOperationsResponse", 818 "id": "GoogleCloudMlV1__OperationMetadata",
766 "properties": { 819 "properties": {
767 "operations": { 820 "modelName": {
768 "description": "A list of operations that matches the specif ied filter in the request.", 821 "description": "Contains the name of the model associated wi th the operation.",
769 "items": { 822 "type": "string"
770 "$ref": "GoogleLongrunning__Operation" 823 },
771 }, 824 "version": {
772 "type": "array" 825 "$ref": "GoogleCloudMlV1__Version",
773 }, 826 "description": "Contains the version associated with the ope ration."
774 "nextPageToken": { 827 },
775 "description": "The standard List next-page token.", 828 "endTime": {
829 "description": "The time operation processing completed.",
830 "format": "google-datetime",
831 "type": "string"
832 },
833 "operationType": {
834 "description": "The operation type.",
835 "enum": [
836 "OPERATION_TYPE_UNSPECIFIED",
837 "CREATE_VERSION",
838 "DELETE_VERSION",
839 "DELETE_MODEL"
840 ],
841 "enumDescriptions": [
842 "Unspecified operation type.",
843 "An operation to create a new version.",
844 "An operation to delete an existing version.",
845 "An operation to delete an existing model."
846 ],
847 "type": "string"
848 },
849 "startTime": {
850 "description": "The time operation processing started.",
851 "format": "google-datetime",
852 "type": "string"
853 },
854 "isCancellationRequested": {
855 "description": "Indicates whether a request to cancel this o peration has been made.",
856 "type": "boolean"
857 },
858 "createTime": {
859 "description": "The time the operation was submitted.",
860 "format": "google-datetime",
776 "type": "string" 861 "type": "string"
777 } 862 }
778 }, 863 },
779 "type": "object" 864 "type": "object"
780 }, 865 },
781 "GoogleIamV1__Condition": { 866 "GoogleCloudMlV1beta1__OperationMetadata": {
782 "description": "A condition to be met.", 867 "description": "Represents the metadata of the long-running operatio n.",
783 "id": "GoogleIamV1__Condition", 868 "id": "GoogleCloudMlV1beta1__OperationMetadata",
784 "properties": { 869 "properties": {
785 "op": { 870 "startTime": {
786 "description": "An operator to apply the subject with.", 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": {
889 "$ref": "GoogleCloudMlV1beta1__Version",
890 "description": "Contains the version associated with the ope ration."
891 },
892 "endTime": {
893 "description": "The time operation processing completed.",
894 "format": "google-datetime",
895 "type": "string"
896 },
897 "operationType": {
898 "description": "The operation type.",
787 "enum": [ 899 "enum": [
788 "NO_OP", 900 "OPERATION_TYPE_UNSPECIFIED",
789 "EQUALS", 901 "CREATE_VERSION",
790 "NOT_EQUALS", 902 "DELETE_VERSION",
791 "IN", 903 "DELETE_MODEL"
792 "NOT_IN",
793 "DISCHARGED"
794 ], 904 ],
795 "enumDescriptions": [ 905 "enumDescriptions": [
796 "Default no-op.", 906 "Unspecified operation type.",
797 "DEPRECATED. Use IN instead.", 907 "An operation to create a new version.",
798 "DEPRECATED. Use NOT_IN instead.", 908 "An operation to delete an existing version.",
799 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", 909 "An operation to delete an existing model."
800 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", 910 ],
801 "Subject is discharged" 911 "type": "string"
802 ], 912 }
803 "type": "string" 913 },
804 }, 914 "type": "object"
805 "svc": { 915 },
806 "description": "Trusted attributes discharged by the service .", 916 "GoogleIamV1__AuditLogConfig": {
807 "type": "string" 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.",
808 }, 918 "id": "GoogleIamV1__AuditLogConfig",
809 "value": { 919 "properties": {
810 "description": "DEPRECATED. Use 'values' instead.", 920 "logType": {
811 "type": "string" 921 "description": "The log type that this config enables.",
812 },
813 "sys": {
814 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
815 "enum": [ 922 "enum": [
816 "NO_ATTR", 923 "LOG_TYPE_UNSPECIFIED",
817 "REGION", 924 "ADMIN_READ",
818 "SERVICE", 925 "DATA_WRITE",
819 "NAME", 926 "DATA_READ"
820 "IP"
821 ], 927 ],
822 "enumDescriptions": [ 928 "enumDescriptions": [
823 "Default non-attribute type", 929 "Default case. Should never be this.",
824 "Region of the resource", 930 "Admin reads. Example: CloudIAM getIamPolicy",
825 "Service name", 931 "Data writes. Example: CloudSQL Users create",
826 "Resource name", 932 "Data reads. Example: CloudSQL Users list"
827 "IP address of the caller" 933 ],
828 ], 934 "type": "string"
829 "type": "string" 935 },
830 }, 936 "exemptedMembers": {
831 "iam": { 937 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
832 "description": "Trusted attributes supplied by the IAM syste m.",
833 "enum": [
834 "NO_ATTR",
835 "AUTHORITY",
836 "ATTRIBUTION",
837 "APPROVER",
838 "JUSTIFICATION_TYPE"
839 ],
840 "enumDescriptions": [
841 "Default non-attribute.",
842 "Either principal or (if present) authority selector.",
843 "The principal (even if an authority selector is present ), which\nmust only be used for attribution, not authorization.",
844 "An approver (distinct from the requester) that has auth orized this\nrequest.\nWhen used with IN, the condition indicates that one of th e approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, a nd are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT _IN).",
845 "What types of justifications have been supplied with th is request.\nString values should match enum names from tech.iam.JustificationTy pe,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe * absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications , e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported. "
846 ],
847 "type": "string"
848 },
849 "values": {
850 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
851 "items": { 938 "items": {
852 "type": "string" 939 "type": "string"
853 }, 940 },
854 "type": "array" 941 "type": "array"
855 } 942 }
856 }, 943 },
857 "type": "object" 944 "type": "object"
858 }, 945 },
859 "GoogleCloudMlV1__ManualScaling": {
860 "description": "Options for manually scaling a model.",
861 "id": "GoogleCloudMlV1__ManualScaling",
862 "properties": {
863 "nodes": {
864 "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.",
865 "format": "int32",
866 "type": "integer"
867 }
868 },
869 "type": "object"
870 },
871 "GoogleIamV1__Binding": {
872 "description": "Associates `members` with a `role`.",
873 "id": "GoogleIamV1__Binding",
874 "properties": {
875 "members": {
876 "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",
877 "items": {
878 "type": "string"
879 },
880 "type": "array"
881 },
882 "role": {
883 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
884 "type": "string"
885 },
886 "condition": {
887 "$ref": "GoogleType__Expr",
888 "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."
889 }
890 },
891 "type": "object"
892 },
893 "GoogleCloudMlV1__TrainingOutput": {
894 "description": "Represents results of a training job. Output only.",
895 "id": "GoogleCloudMlV1__TrainingOutput",
896 "properties": {
897 "trials": {
898 "description": "Results for individual Hyperparameter trials .\nOnly set for hyperparameter tuning jobs.",
899 "items": {
900 "$ref": "GoogleCloudMlV1__HyperparameterOutput"
901 },
902 "type": "array"
903 },
904 "completedTrialCount": {
905 "description": "The number of hyperparameter tuning trials t hat completed successfully.\nOnly set for hyperparameter tuning jobs.",
906 "format": "int64",
907 "type": "string"
908 },
909 "isHyperparameterTuningJob": {
910 "description": "Whether this job is a hyperparameter tuning job.",
911 "type": "boolean"
912 },
913 "consumedMLUnits": {
914 "description": "The amount of ML units consumed by the job." ,
915 "format": "double",
916 "type": "number"
917 }
918 },
919 "type": "object"
920 },
921 "GoogleIamV1__Rule": {
922 "description": "A rule to be applied in a Policy.",
923 "id": "GoogleIamV1__Rule",
924 "properties": {
925 "notIn": {
926 "description": "If one or more 'not_in' clauses are specifie d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri es.\nThe format for in and not_in entries is the same as for members in a\nBindi ng (see google/iam/v1/policy.proto).",
927 "items": {
928 "type": "string"
929 },
930 "type": "array"
931 },
932 "description": {
933 "description": "Human-readable description of the rule.",
934 "type": "string"
935 },
936 "conditions": {
937 "description": "Additional restrictions that must be met",
938 "items": {
939 "$ref": "GoogleIamV1__Condition"
940 },
941 "type": "array"
942 },
943 "logConfig": {
944 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
945 "items": {
946 "$ref": "GoogleIamV1__LogConfig"
947 },
948 "type": "array"
949 },
950 "in": {
951 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
952 "items": {
953 "type": "string"
954 },
955 "type": "array"
956 },
957 "permissions": {
958 "description": "A permission is a string of form '<service>. <resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
959 "items": {
960 "type": "string"
961 },
962 "type": "array"
963 },
964 "action": {
965 "description": "Required",
966 "enum": [
967 "NO_ACTION",
968 "ALLOW",
969 "ALLOW_WITH_LOG",
970 "DENY",
971 "DENY_WITH_LOG",
972 "LOG"
973 ],
974 "enumDescriptions": [
975 "Default no action.",
976 "Matching 'Entries' grant access.",
977 "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
978 "Matching 'Entries' deny access.",
979 "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
980 "Matching 'Entries' tell IAM.Check callers to generate l ogs."
981 ],
982 "type": "string"
983 }
984 },
985 "type": "object"
986 },
987 "GoogleIamV1_LogConfig_CounterOptions": {
988 "description": "Options for counters",
989 "id": "GoogleIamV1_LogConfig_CounterOptions",
990 "properties": {
991 "field": {
992 "description": "The field value to attribute.",
993 "type": "string"
994 },
995 "metric": {
996 "description": "The metric to update.",
997 "type": "string"
998 }
999 },
1000 "type": "object"
1001 },
1002 "GoogleCloudMlV1__PredictRequest": {
1003 "description": "Request for predictions to be issued against a train ed model.\n\nThe body of the request is a single JSON object with a single top-l evel\nfield:\n\n<dl>\n <dt>instances</dt>\n <dd>A JSON array containing values representing the instances to use for\n prediction.</dd>\n</dl>\n\nThe str ucture of each element of the instances list is determined by your\nmodel's inpu t definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJS ON values (boolean, number, or string). However, instances are often lists\nof s imple values, or complex nested lists. Here are some examples of request\nbodies :\n\nCSV data with each row encoded as a string value:\n<pre>\n{\"instances\": [ \"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n</pre>\nPlain text:\ n<pre>\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n</pre>\ nSentences encoded as lists of words (vectors of strings):\n<pre>\n{\n \"instan ces\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n</pre>\nFloating point scalar values:\n<pre>\n{\"instances\": [0. 0, 1.1, 2.2]}\n</pre>\nVectors of integers:\n<pre>\n{\n \"instances\": [\n [ 0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n</pre>\nTensors (in this case, two-d imensional tensors):\n<pre>\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n</pre>\nImages can be represented differe nt ways. In this encoding scheme the first\ntwo dimensions represent the rows an d columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n<pre>\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ] ,\n ...\n ]\n}\n</pre>\nJSON strings must be encoded as UTF-8. To send binar y data, you must\nbase64-encode the data and mark it as binary. To mark a JSON s tring\nas binary, replace it with a JSON object with a single attribute named `b 64`:\n<pre>{\"b64\": \"...\"} </pre>\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n</pre>\nTwo JPEG image byte strings (fak e data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"AS a8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n</pre>\nIf your data includes named refere nces, format each instance as a JSON object\nwith the named references as the ke ys:\n\nJSON input data to be preprocessed:\n<pre>\n{\n \"instances\": [\n {\ n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n</pre>\nS ome models have an underlying TensorFlow graph that accepts multiple input\ntens ors. In this case, you should use the names of JSON name/value pairs to\nidentif y the input tensors, as shown in the following exmaples:\n\nFor a graph with inp ut tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n<pre >\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\" b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": { \"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n</pre>\nFor a graph with input tensor ali ases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n<pre> \n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\ n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97] ,\n ...\n ],\n [\n [254, 1, 101],\n [25 4, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n</pre>\nIf the call is successful, the response body will contain one pred iction\nentry per instance in the request body. If prediction fails for any\nins tance, the response body will contain no predictions and will contian\na single error entry instead.",
1004 "id": "GoogleCloudMlV1__PredictRequest",
1005 "properties": {
1006 "httpBody": {
1007 "$ref": "GoogleApi__HttpBody",
1008 "description": "\nRequired. The prediction request body."
1009 }
1010 },
1011 "type": "object"
1012 },
1013 "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": {
1014 "description": "An observed value of a metric.",
1015 "id": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric",
1016 "properties": {
1017 "objectiveValue": {
1018 "description": "The objective value at this training step.",
1019 "format": "double",
1020 "type": "number"
1021 },
1022 "trainingStep": {
1023 "description": "The global training step for this metric.",
1024 "format": "int64",
1025 "type": "string"
1026 }
1027 },
1028 "type": "object"
1029 },
1030 "GoogleIamV1_LogConfig_CloudAuditOptions": {
1031 "description": "Write a Cloud Audit log",
1032 "id": "GoogleIamV1_LogConfig_CloudAuditOptions",
1033 "properties": {
1034 "logName": {
1035 "description": "The log_name to populate in the Cloud Audit Record.",
1036 "enum": [
1037 "UNSPECIFIED_LOG_NAME",
1038 "ADMIN_ACTIVITY",
1039 "DATA_ACCESS"
1040 ],
1041 "enumDescriptions": [
1042 "Default. Should not be used.",
1043 "Corresponds to \"cloudaudit.googleapis.com/activity\"",
1044 "Corresponds to \"cloudaudit.googleapis.com/data_access\ ""
1045 ],
1046 "type": "string"
1047 }
1048 },
1049 "type": "object"
1050 },
1051 "GoogleCloudMlV1__Version": {
1052 "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).",
1053 "id": "GoogleCloudMlV1__Version",
1054 "properties": {
1055 "errorMessage": {
1056 "description": "Output only. The details of a failure or a c ancellation.",
1057 "type": "string"
1058 },
1059 "automaticScaling": {
1060 "$ref": "GoogleCloudMlV1__AutomaticScaling",
1061 "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."
1062 },
1063 "lastUseTime": {
1064 "description": "Output only. The time the version was last u sed for prediction.",
1065 "format": "google-datetime",
1066 "type": "string"
1067 },
1068 "runtimeVersion": {
1069 "description": "Optional. The Google Cloud ML runtime versio n to use for this deployment.\nIf not set, Google Cloud ML will choose a version .",
1070 "type": "string"
1071 },
1072 "description": {
1073 "description": "Optional. The description specified for the version when it was created.",
1074 "type": "string"
1075 },
1076 "deploymentUri": {
1077 "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\ninformaiton.\ 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.",
1078 "type": "string"
1079 },
1080 "isDefault": {
1081 "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).",
1082 "type": "boolean"
1083 },
1084 "createTime": {
1085 "description": "Output only. The time the version was create d.",
1086 "format": "google-datetime",
1087 "type": "string"
1088 },
1089 "manualScaling": {
1090 "$ref": "GoogleCloudMlV1__ManualScaling",
1091 "description": "Manually select the number of nodes to use f or serving the\nmodel. You should generally use `automatic_scaling` with an appr opriate\n`min_nodes` instead, but this option is available if you want more\npre dictable billing. Beware that latency and error rates will increase\nif the traf fic exceeds that capability of the system to serve it based\non the selected num ber of nodes."
1092 },
1093 "state": {
1094 "description": "Output only. The state of a version.",
1095 "enum": [
1096 "UNKNOWN",
1097 "READY",
1098 "CREATING",
1099 "FAILED"
1100 ],
1101 "enumDescriptions": [
1102 "The version state is unspecified.",
1103 "The version is ready for prediction.",
1104 "The version is still in the process of creation.",
1105 "The version failed to be created, possibly cancelled.\n `error_message` should contain the details of the failure."
1106 ],
1107 "type": "string"
1108 },
1109 "name": {
1110 "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.",
1111 "type": "string"
1112 }
1113 },
1114 "type": "object"
1115 },
1116 "GoogleCloudMlV1__ParameterSpec": {
1117 "description": "Represents a single hyperparameter to optimize.",
1118 "id": "GoogleCloudMlV1__ParameterSpec",
1119 "properties": {
1120 "minValue": {
1121 "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.",
1122 "format": "double",
1123 "type": "number"
1124 },
1125 "discreteValues": {
1126 "description": "Required if type is `DISCRETE`.\nA list of f easible points.\nThe list should be in strictly increasing order. For instance, this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nsh ould not contain more than 1,000 values.",
1127 "items": {
1128 "format": "double",
1129 "type": "number"
1130 },
1131 "type": "array"
1132 },
1133 "maxValue": {
1134 "description": "Required if typeis `DOUBLE` or `INTEGER`. Th is field\nshould be unset if type is `CATEGORICAL`. This value should be integer s if\ntype is `INTEGER`.",
1135 "format": "double",
1136 "type": "number"
1137 },
1138 "scaleType": {
1139 "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scalin g is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_S CALE`).",
1140 "enum": [
1141 "NONE",
1142 "UNIT_LINEAR_SCALE",
1143 "UNIT_LOG_SCALE",
1144 "UNIT_REVERSE_LOG_SCALE"
1145 ],
1146 "enumDescriptions": [
1147 "By default, no scaling is applied.",
1148 "Scales the feasible space to (0, 1) linearly.",
1149 "Scales the feasible space logarithmically to (0, 1). Th e entire feasible\nspace must be strictly positive.",
1150 "Scales the feasible space \"reverse\" logarithmically t o (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive."
1151 ],
1152 "type": "string"
1153 },
1154 "type": {
1155 "description": "Required. The type of the parameter.",
1156 "enum": [
1157 "PARAMETER_TYPE_UNSPECIFIED",
1158 "DOUBLE",
1159 "INTEGER",
1160 "CATEGORICAL",
1161 "DISCRETE"
1162 ],
1163 "enumDescriptions": [
1164 "You must specify a valid type. Using this unspecified t ype will result in\nan error.",
1165 "Type for real-valued parameters.",
1166 "Type for integral parameters.",
1167 "The parameter is categorical, with a value chosen from the categories\nfield.",
1168 "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."
1169 ],
1170 "type": "string"
1171 },
1172 "categoricalValues": {
1173 "description": "Required if type is `CATEGORICAL`. The list of possible categories.",
1174 "items": {
1175 "type": "string"
1176 },
1177 "type": "array"
1178 },
1179 "parameterName": {
1180 "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_ rate\".",
1181 "type": "string"
1182 }
1183 },
1184 "type": "object"
1185 },
1186 "GoogleIamV1_LogConfig_DataAccessOptions": {
1187 "description": "Write a Data Access (Gin) log",
1188 "id": "GoogleIamV1_LogConfig_DataAccessOptions",
1189 "properties": {},
1190 "type": "object"
1191 },
1192 "GoogleCloudMlV1__PredictionInput": {
1193 "description": "Represents input parameters for a prediction job.",
1194 "id": "GoogleCloudMlV1__PredictionInput",
1195 "properties": {
1196 "region": {
1197 "description": "Required. The Google Compute Engine region t o run the prediction job in.",
1198 "type": "string"
1199 },
1200 "versionName": {
1201 "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>\"`",
1202 "type": "string"
1203 },
1204 "modelName": {
1205 "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>\"`",
1206 "type": "string"
1207 },
1208 "outputPath": {
1209 "description": "Required. The output Google Cloud Storage lo cation.",
1210 "type": "string"
1211 },
1212 "maxWorkerCount": {
1213 "description": "Optional. The maximum number of workers to b e used for parallel processing.\nDefaults to 10 if not specified.",
1214 "format": "int64",
1215 "type": "string"
1216 },
1217 "uri": {
1218 "description": "Use this field if you want to specify a Goog le Cloud Storage path for\nthe model to use.",
1219 "type": "string"
1220 },
1221 "dataFormat": {
1222 "description": "Required. The format of the input data files .",
1223 "enum": [
1224 "DATA_FORMAT_UNSPECIFIED",
1225 "TEXT",
1226 "TF_RECORD",
1227 "TF_RECORD_GZIP"
1228 ],
1229 "enumDescriptions": [
1230 "Unspecified format.",
1231 "The source file is a text file with instances separated by the\nnew-line character.",
1232 "The source file is a TFRecord file.",
1233 "The source file is a GZIP-compressed TFRecord file."
1234 ],
1235 "type": "string"
1236 },
1237 "runtimeVersion": {
1238 "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.",
1239 "type": "string"
1240 },
1241 "inputPaths": {
1242 "description": "Required. The Google Cloud Storage location of the input data files.\nMay contain wildcards.",
1243 "items": {
1244 "type": "string"
1245 },
1246 "type": "array"
1247 }
1248 },
1249 "type": "object"
1250 },
1251 "GoogleCloudMlV1__OperationMetadata": {
1252 "description": "Represents the metadata of the long-running operatio n.",
1253 "id": "GoogleCloudMlV1__OperationMetadata",
1254 "properties": {
1255 "createTime": {
1256 "description": "The time the operation was submitted.",
1257 "format": "google-datetime",
1258 "type": "string"
1259 },
1260 "modelName": {
1261 "description": "Contains the name of the model associated wi th the operation.",
1262 "type": "string"
1263 },
1264 "version": {
1265 "$ref": "GoogleCloudMlV1__Version",
1266 "description": "Contains the version associated with the ope ration."
1267 },
1268 "endTime": {
1269 "description": "The time operation processing completed.",
1270 "format": "google-datetime",
1271 "type": "string"
1272 },
1273 "operationType": {
1274 "description": "The operation type.",
1275 "enum": [
1276 "OPERATION_TYPE_UNSPECIFIED",
1277 "CREATE_VERSION",
1278 "DELETE_VERSION",
1279 "DELETE_MODEL"
1280 ],
1281 "enumDescriptions": [
1282 "Unspecified operation type.",
1283 "An operation to create a new version.",
1284 "An operation to delete an existing version.",
1285 "An operation to delete an existing model."
1286 ],
1287 "type": "string"
1288 },
1289 "startTime": {
1290 "description": "The time operation processing started.",
1291 "format": "google-datetime",
1292 "type": "string"
1293 },
1294 "isCancellationRequested": {
1295 "description": "Indicates whether a request to cancel this o peration has been made.",
1296 "type": "boolean"
1297 }
1298 },
1299 "type": "object"
1300 },
1301 "GoogleCloudMlV1beta1__OperationMetadata": {
1302 "description": "Represents the metadata of the long-running operatio n.",
1303 "id": "GoogleCloudMlV1beta1__OperationMetadata",
1304 "properties": {
1305 "endTime": {
1306 "description": "The time operation processing completed.",
1307 "format": "google-datetime",
1308 "type": "string"
1309 },
1310 "operationType": {
1311 "description": "The operation type.",
1312 "enum": [
1313 "OPERATION_TYPE_UNSPECIFIED",
1314 "CREATE_VERSION",
1315 "DELETE_VERSION",
1316 "DELETE_MODEL"
1317 ],
1318 "enumDescriptions": [
1319 "Unspecified operation type.",
1320 "An operation to create a new version.",
1321 "An operation to delete an existing version.",
1322 "An operation to delete an existing model."
1323 ],
1324 "type": "string"
1325 },
1326 "startTime": {
1327 "description": "The time operation processing started.",
1328 "format": "google-datetime",
1329 "type": "string"
1330 },
1331 "isCancellationRequested": {
1332 "description": "Indicates whether a request to cancel this o peration has been made.",
1333 "type": "boolean"
1334 },
1335 "createTime": {
1336 "description": "The time the operation was submitted.",
1337 "format": "google-datetime",
1338 "type": "string"
1339 },
1340 "modelName": {
1341 "description": "Contains the name of the model associated wi th the operation.",
1342 "type": "string"
1343 },
1344 "version": {
1345 "$ref": "GoogleCloudMlV1beta1__Version",
1346 "description": "Contains the version associated with the ope ration."
1347 }
1348 },
1349 "type": "object"
1350 },
1351 "GoogleIamV1__AuditLogConfig": {
1352 "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.",
1353 "id": "GoogleIamV1__AuditLogConfig",
1354 "properties": {
1355 "logType": {
1356 "description": "The log type that this config enables.",
1357 "enum": [
1358 "LOG_TYPE_UNSPECIFIED",
1359 "ADMIN_READ",
1360 "DATA_WRITE",
1361 "DATA_READ"
1362 ],
1363 "enumDescriptions": [
1364 "Default case. Should never be this.",
1365 "Admin reads. Example: CloudIAM getIamPolicy",
1366 "Data writes. Example: CloudSQL Users create",
1367 "Data reads. Example: CloudSQL Users list"
1368 ],
1369 "type": "string"
1370 },
1371 "exemptedMembers": {
1372 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
1373 "items": {
1374 "type": "string"
1375 },
1376 "type": "array"
1377 }
1378 },
1379 "type": "object"
1380 },
1381 "GoogleType__Expr": { 946 "GoogleType__Expr": {
1382 "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\"", 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\"",
1383 "id": "GoogleType__Expr", 948 "id": "GoogleType__Expr",
1384 "properties": { 949 "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 },
1385 "location": { 954 "location": {
1386 "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.", 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.",
1387 "type": "string" 956 "type": "string"
1388 }, 957 },
1389 "title": { 958 "title": {
1390 "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.", 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.",
1391 "type": "string" 960 "type": "string"
1392 }, 961 },
1393 "description": { 962 "description": {
1394 "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.", 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.",
1395 "type": "string" 964 "type": "string"
1396 },
1397 "expression": {
1398 "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.",
1399 "type": "string"
1400 } 965 }
1401 }, 966 },
1402 "type": "object" 967 "type": "object"
1403 }, 968 },
1404 "GoogleCloudMlV1__HyperparameterSpec": { 969 "GoogleCloudMlV1__HyperparameterSpec": {
1405 "description": "Represents a set of hyperparameters to optimize.", 970 "description": "Represents a set of hyperparameters to optimize.",
1406 "id": "GoogleCloudMlV1__HyperparameterSpec", 971 "id": "GoogleCloudMlV1__HyperparameterSpec",
1407 "properties": { 972 "properties": {
1408 "maxTrials": {
1409 "description": "Optional. How many training trials should be attempted to optimize\nthe specified hyperparameters.\n\nDefaults to one.",
1410 "format": "int32",
1411 "type": "integer"
1412 },
1413 "params": {
1414 "description": "Required. The set of parameters to tune.",
1415 "items": {
1416 "$ref": "GoogleCloudMlV1__ParameterSpec"
1417 },
1418 "type": "array"
1419 },
1420 "maxParallelTrials": { 973 "maxParallelTrials": {
1421 "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.", 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.",
1422 "format": "int32", 975 "format": "int32",
1423 "type": "integer" 976 "type": "integer"
1424 }, 977 },
1425 "hyperparameterMetricTag": { 978 "hyperparameterMetricTag": {
1426 "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.", 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.",
1427 "type": "string" 980 "type": "string"
1428 }, 981 },
1429 "goal": { 982 "goal": {
1430 "description": "Required. The type of goal to use for tuning . Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.", 983 "description": "Required. The type of goal to use for tuning . Available types are\n`MAXIMIZE` and `MINIMIZE`.\n\nDefaults to `MAXIMIZE`.",
1431 "enum": [ 984 "enum": [
1432 "GOAL_TYPE_UNSPECIFIED", 985 "GOAL_TYPE_UNSPECIFIED",
1433 "MAXIMIZE", 986 "MAXIMIZE",
1434 "MINIMIZE" 987 "MINIMIZE"
1435 ], 988 ],
1436 "enumDescriptions": [ 989 "enumDescriptions": [
1437 "Goal Type will default to maximize.", 990 "Goal Type will default to maximize.",
1438 "Maximize the goal metric.", 991 "Maximize the goal metric.",
1439 "Minimize the goal metric." 992 "Minimize the goal metric."
1440 ], 993 ],
1441 "type": "string" 994 "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"
1442 } 1007 }
1443 }, 1008 },
1444 "type": "object" 1009 "type": "object"
1445 }, 1010 },
1446 "GoogleCloudMlV1__ListJobsResponse": { 1011 "GoogleCloudMlV1__ListJobsResponse": {
1447 "description": "Response message for the ListJobs method.", 1012 "description": "Response message for the ListJobs method.",
1448 "id": "GoogleCloudMlV1__ListJobsResponse", 1013 "id": "GoogleCloudMlV1__ListJobsResponse",
1449 "properties": { 1014 "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 },
1450 "jobs": { 1019 "jobs": {
1451 "description": "The list of jobs.", 1020 "description": "The list of jobs.",
1452 "items": { 1021 "items": {
1453 "$ref": "GoogleCloudMlV1__Job" 1022 "$ref": "GoogleCloudMlV1__Job"
1454 }, 1023 },
1455 "type": "array" 1024 "type": "array"
1456 },
1457 "nextPageToken": {
1458 "description": "Optional. Pass this token as the `page_token ` field of the request for a\nsubsequent call.",
1459 "type": "string"
1460 } 1025 }
1461 }, 1026 },
1462 "type": "object" 1027 "type": "object"
1463 }, 1028 },
1464 "GoogleCloudMlV1__SetDefaultVersionRequest": { 1029 "GoogleCloudMlV1__SetDefaultVersionRequest": {
1465 "description": "Request message for the SetDefaultVersion request.", 1030 "description": "Request message for the SetDefaultVersion request.",
1466 "id": "GoogleCloudMlV1__SetDefaultVersionRequest", 1031 "id": "GoogleCloudMlV1__SetDefaultVersionRequest",
1467 "properties": {}, 1032 "properties": {},
1468 "type": "object" 1033 "type": "object"
1469 }, 1034 },
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 } 1120 }
1556 }, 1121 },
1557 "type": "object" 1122 "type": "object"
1558 }, 1123 },
1559 "GoogleProtobuf__Empty": { 1124 "GoogleProtobuf__Empty": {
1560 "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 `{}`.", 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 `{}`.",
1561 "id": "GoogleProtobuf__Empty", 1126 "id": "GoogleProtobuf__Empty",
1562 "properties": {}, 1127 "properties": {},
1563 "type": "object" 1128 "type": "object"
1564 }, 1129 },
1565 "GoogleCloudMlV1__ListVersionsResponse": { 1130 "GoogleIamV1__TestIamPermissionsRequest": {
1566 "description": "Response message for the ListVersions method.", 1131 "description": "Request message for `TestIamPermissions` method.",
1567 "id": "GoogleCloudMlV1__ListVersionsResponse", 1132 "id": "GoogleIamV1__TestIamPermissionsRequest",
1568 "properties": { 1133 "properties": {
1569 "versions": { 1134 "permissions": {
1570 "description": "The list of versions.", 1135 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).",
1571 "items": { 1136 "items": {
1572 "$ref": "GoogleCloudMlV1__Version" 1137 "type": "string"
1573 }, 1138 },
1574 "type": "array" 1139 "type": "array"
1575 },
1576 "nextPageToken": {
1577 "description": "Optional. Pass this token as the `page_token ` field of the request for a\nsubsequent call.",
1578 "type": "string"
1579 } 1140 }
1580 }, 1141 },
1581 "type": "object" 1142 "type": "object"
1582 }, 1143 },
1583 "GoogleCloudMlV1__CancelJobRequest": { 1144 "GoogleCloudMlV1__CancelJobRequest": {
1584 "description": "Request message for the CancelJob method.", 1145 "description": "Request message for the CancelJob method.",
1585 "id": "GoogleCloudMlV1__CancelJobRequest", 1146 "id": "GoogleCloudMlV1__CancelJobRequest",
1586 "properties": {}, 1147 "properties": {},
1587 "type": "object" 1148 "type": "object"
1588 }, 1149 },
1589 "GoogleIamV1__TestIamPermissionsRequest": { 1150 "GoogleCloudMlV1__ListVersionsResponse": {
1590 "description": "Request message for `TestIamPermissions` method.", 1151 "description": "Response message for the ListVersions method.",
1591 "id": "GoogleIamV1__TestIamPermissionsRequest", 1152 "id": "GoogleCloudMlV1__ListVersionsResponse",
1592 "properties": { 1153 "properties": {
1593 "permissions": { 1154 "versions": {
1594 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).", 1155 "description": "The list of versions.",
1595 "items": { 1156 "items": {
1596 "type": "string" 1157 "$ref": "GoogleCloudMlV1__Version"
1597 }, 1158 },
1598 "type": "array" 1159 "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"
1599 } 1164 }
1600 }, 1165 },
1601 "type": "object" 1166 "type": "object"
1602 }, 1167 },
1603 "GoogleCloudMlV1beta1__ManualScaling": { 1168 "GoogleCloudMlV1beta1__ManualScaling": {
1604 "description": "Options for manually scaling a model.", 1169 "description": "Options for manually scaling a model.",
1605 "id": "GoogleCloudMlV1beta1__ManualScaling", 1170 "id": "GoogleCloudMlV1beta1__ManualScaling",
1606 "properties": { 1171 "properties": {
1607 "nodes": { 1172 "nodes": {
1608 "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.", 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.",
1609 "format": "int32", 1174 "format": "int32",
1610 "type": "integer" 1175 "type": "integer"
1611 } 1176 }
1612 }, 1177 },
1613 "type": "object" 1178 "type": "object"
1614 }, 1179 },
1615 "GoogleIamV1__LogConfig": { 1180 "GoogleIamV1__LogConfig": {
1616 "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", 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",
1617 "id": "GoogleIamV1__LogConfig", 1182 "id": "GoogleIamV1__LogConfig",
1618 "properties": { 1183 "properties": {
1619 "dataAccess": { 1184 "dataAccess": {
1620 "$ref": "GoogleIamV1_LogConfig_DataAccessOptions", 1185 "$ref": "GoogleIamV1_LogConfig_DataAccessOptions",
1621 "description": "Data access options." 1186 "description": "Data access options."
1622 }, 1187 },
1623 "cloudAudit": { 1188 "cloudAudit": {
1624 "$ref": "GoogleIamV1_LogConfig_CloudAuditOptions", 1189 "$ref": "GoogleIamV1_LogConfig_CloudAuditOptions",
1625 "description": "Cloud audit options." 1190 "description": "Cloud audit options."
1626 }, 1191 },
1627 "counter": { 1192 "counter": {
1628 "$ref": "GoogleIamV1_LogConfig_CounterOptions", 1193 "$ref": "GoogleIamV1_LogConfig_CounterOptions",
1629 "description": "Counter options." 1194 "description": "Counter options."
1630 } 1195 }
1631 }, 1196 },
1632 "type": "object" 1197 "type": "object"
1633 }, 1198 },
1199 "GoogleCloudMlV1__AutoScaling": {
1200 "description": "Options for automatically scaling a model.",
1201 "id": "GoogleCloudMlV1__AutoScaling",
1202 "properties": {
1203 "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.",
1205 "format": "int32",
1206 "type": "integer"
1207 }
1208 },
1209 "type": "object"
1210 },
1634 "GoogleRpc__Status": { 1211 "GoogleRpc__Status": {
1635 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", 1212 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1636 "id": "GoogleRpc__Status", 1213 "id": "GoogleRpc__Status",
1637 "properties": { 1214 "properties": {
1638 "code": { 1215 "code": {
1639 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 1216 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1640 "format": "int32", 1217 "format": "int32",
1641 "type": "integer" 1218 "type": "integer"
1642 }, 1219 },
1643 "message": { 1220 "message": {
1644 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", 1221 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1645 "type": "string" 1222 "type": "string"
1646 }, 1223 },
1647 "details": { 1224 "details": {
1648 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.", 1225 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
1649 "items": { 1226 "items": {
1650 "additionalProperties": { 1227 "additionalProperties": {
1651 "description": "Properties of the object. Contains f ield @type with type URL.", 1228 "description": "Properties of the object. Contains f ield @type with type URL.",
1652 "type": "any" 1229 "type": "any"
1653 }, 1230 },
1654 "type": "object" 1231 "type": "object"
1655 }, 1232 },
1656 "type": "array" 1233 "type": "array"
1657 } 1234 }
1658 }, 1235 },
1659 "type": "object" 1236 "type": "object"
1660 }, 1237 },
1661 "GoogleCloudMlV1__ListModelsResponse": {
1662 "description": "Response message for the ListModels method.",
1663 "id": "GoogleCloudMlV1__ListModelsResponse",
1664 "properties": {
1665 "nextPageToken": {
1666 "description": "Optional. Pass this token as the `page_token ` field of the request for a\nsubsequent call.",
1667 "type": "string"
1668 },
1669 "models": {
1670 "description": "The list of models.",
1671 "items": {
1672 "$ref": "GoogleCloudMlV1__Model"
1673 },
1674 "type": "array"
1675 }
1676 },
1677 "type": "object"
1678 },
1679 "GoogleCloudMlV1__TrainingInput": { 1238 "GoogleCloudMlV1__TrainingInput": {
1680 "description": "Represents input parameters for a training job.", 1239 "description": "Represents input parameters for a training job.",
1681 "id": "GoogleCloudMlV1__TrainingInput", 1240 "id": "GoogleCloudMlV1__TrainingInput",
1682 "properties": { 1241 "properties": {
1683 "workerCount": { 1242 "workerType": {
1684 "description": "Optional. The number of worker replicas to u se for the training job. Each\nreplica in the cluster will be of the type specif ied in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.", 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.",
1685 "format": "int64", 1244 "type": "string"
1686 "type": "string" 1245 },
1687 }, 1246 "args": {
1688 "masterType": { 1247 "description": "Optional. Command line arguments to pass to the program.",
1689 "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`.", 1248 "items": {
1690 "type": "string" 1249 "type": "string"
1691 }, 1250 },
1692 "runtimeVersion": { 1251 "type": "array"
1693 "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.",
1694 "type": "string"
1695 },
1696 "pythonModule": {
1697 "description": "Required. The Python module name to run afte r installing the packages.",
1698 "type": "string"
1699 }, 1252 },
1700 "region": { 1253 "region": {
1701 "description": "Required. The Google Compute Engine region t o run the training job in.", 1254 "description": "Required. The Google Compute Engine region t o run the training job in.",
1702 "type": "string" 1255 "type": "string"
1703 }, 1256 },
1704 "args": {
1705 "description": "Optional. Command line arguments to pass to the program.",
1706 "items": {
1707 "type": "string"
1708 },
1709 "type": "array"
1710 },
1711 "workerType": {
1712 "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.",
1713 "type": "string"
1714 },
1715 "parameterServerType": { 1257 "parameterServerType": {
1716 "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.", 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.",
1717 "type": "string" 1259 "type": "string"
1718 }, 1260 },
1719 "scaleTier": { 1261 "scaleTier": {
1720 "description": "Required. Specifies the machine types, the n umber of replicas for workers\nand parameter servers.", 1262 "description": "Required. Specifies the machine types, the n umber of replicas for workers\nand parameter servers.",
1721 "enum": [ 1263 "enum": [
1722 "BASIC", 1264 "BASIC",
1723 "STANDARD_1", 1265 "STANDARD_1",
1724 "PREMIUM_1", 1266 "PREMIUM_1",
(...skipping 21 matching lines...) Expand all
1746 "description": "Optional. The number of parameter server rep licas to use for the training\njob. Each replica in the cluster will be of the t ype specified in\n`parameter_server_type`.\n\nThis value can only be used when ` scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parame ter_server_type`.", 1288 "description": "Optional. The number of parameter server rep licas to use for the training\njob. Each replica in the cluster will be of the t ype specified in\n`parameter_server_type`.\n\nThis value can only be used when ` scale_tier` is set to `CUSTOM`.If you\nset this value, you must also set `parame ter_server_type`.",
1747 "format": "int64", 1289 "format": "int64",
1748 "type": "string" 1290 "type": "string"
1749 }, 1291 },
1750 "packageUris": { 1292 "packageUris": {
1751 "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100.", 1293 "description": "Required. The Google Cloud Storage location of the packages with\nthe training program and any additional dependencies.\nThe maximum number of package URIs is 100.",
1752 "items": { 1294 "items": {
1753 "type": "string" 1295 "type": "string"
1754 }, 1296 },
1755 "type": "array" 1297 "type": "array"
1298 },
1299 "workerCount": {
1300 "description": "Optional. The number of worker replicas to u se for the training job. Each\nreplica in the cluster will be of the type specif ied in `worker_type`.\n\nThis value can only be used when `scale_tier` is set to `CUSTOM`. If you\nset this value, you must also set `worker_type`.",
1301 "format": "int64",
1302 "type": "string"
1303 },
1304 "masterType": {
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`.",
1306 "type": "string"
1307 },
1308 "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.",
1310 "type": "string"
1311 },
1312 "pythonModule": {
1313 "description": "Required. The Python module name to run afte r installing the packages.",
1314 "type": "string"
1315 }
1316 },
1317 "type": "object"
1318 },
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"
1756 } 1333 }
1757 }, 1334 },
1758 "type": "object" 1335 "type": "object"
1759 }, 1336 },
1760 "GoogleCloudMlV1__Job": { 1337 "GoogleCloudMlV1__Job": {
1761 "description": "Represents a training or prediction job.", 1338 "description": "Represents a training or prediction job.",
1762 "id": "GoogleCloudMlV1__Job", 1339 "id": "GoogleCloudMlV1__Job",
1763 "properties": { 1340 "properties": {
1341 "predictionOutput": {
1342 "$ref": "GoogleCloudMlV1__PredictionOutput",
1343 "description": "The current prediction job result."
1344 },
1345 "trainingOutput": {
1346 "$ref": "GoogleCloudMlV1__TrainingOutput",
1347 "description": "The current training job result."
1348 },
1349 "createTime": {
1350 "description": "Output only. When the job was created.",
1351 "format": "google-datetime",
1352 "type": "string"
1353 },
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 },
1764 "state": { 1362 "state": {
1765 "description": "Output only. The detailed state of a job.", 1363 "description": "Output only. The detailed state of a job.",
1766 "enum": [ 1364 "enum": [
1767 "STATE_UNSPECIFIED", 1365 "STATE_UNSPECIFIED",
1768 "QUEUED", 1366 "QUEUED",
1769 "PREPARING", 1367 "PREPARING",
1770 "RUNNING", 1368 "RUNNING",
1771 "SUCCEEDED", 1369 "SUCCEEDED",
1772 "FAILED", 1370 "FAILED",
1773 "CANCELLING", 1371 "CANCELLING",
1774 "CANCELLED" 1372 "CANCELLED"
1775 ], 1373 ],
1776 "enumDescriptions": [ 1374 "enumDescriptions": [
1777 "The job state is unspecified.", 1375 "The job state is unspecified.",
1778 "The job has been just created and processing has not ye t begun.", 1376 "The job has been just created and processing has not ye t begun.",
1779 "The service is preparing to run the job.", 1377 "The service is preparing to run the job.",
1780 "The job is in progress.", 1378 "The job is in progress.",
1781 "The job completed successfully.", 1379 "The job completed successfully.",
1782 "The job failed.\n`error_message` should contain the det ails of the failure.", 1380 "The job failed.\n`error_message` should contain the det ails of the failure.",
1783 "The job is being cancelled.\n`error_message` should des cribe the reason for the cancellation.", 1381 "The job is being cancelled.\n`error_message` should des cribe the reason for the cancellation.",
1784 "The job has been 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."
1785 ], 1383 ],
1786 "type": "string" 1384 "type": "string"
1787 }, 1385 },
1788 "predictionInput": {
1789 "$ref": "GoogleCloudMlV1__PredictionInput",
1790 "description": "Input parameters to create a prediction job. "
1791 },
1792 "jobId": { 1386 "jobId": {
1793 "description": "Required. The user-specified id of the job." , 1387 "description": "Required. The user-specified id of the job." ,
1794 "type": "string" 1388 "type": "string"
1795 }, 1389 },
1796 "errorMessage": { 1390 "errorMessage": {
1797 "description": "Output only. The details of a failure or a c ancellation.", 1391 "description": "Output only. The details of a failure or a c ancellation.",
1798 "type": "string" 1392 "type": "string"
1799 }, 1393 },
1800 "endTime": { 1394 "endTime": {
1801 "description": "Output only. When the job processing was com pleted.", 1395 "description": "Output only. When the job processing was com pleted.",
1802 "format": "google-datetime", 1396 "format": "google-datetime",
1803 "type": "string" 1397 "type": "string"
1804 }, 1398 },
1805 "startTime": { 1399 "startTime": {
1806 "description": "Output only. When the job processing was sta rted.", 1400 "description": "Output only. When the job processing was sta rted.",
1807 "format": "google-datetime", 1401 "format": "google-datetime",
1808 "type": "string" 1402 "type": "string"
1809 },
1810 "predictionOutput": {
1811 "$ref": "GoogleCloudMlV1__PredictionOutput",
1812 "description": "The current prediction job result."
1813 },
1814 "trainingOutput": {
1815 "$ref": "GoogleCloudMlV1__TrainingOutput",
1816 "description": "The current training job result."
1817 },
1818 "createTime": {
1819 "description": "Output only. When the job was created.",
1820 "format": "google-datetime",
1821 "type": "string"
1822 },
1823 "trainingInput": {
1824 "$ref": "GoogleCloudMlV1__TrainingInput",
1825 "description": "Input parameters to create a training job."
1826 } 1403 }
1827 }, 1404 },
1828 "type": "object" 1405 "type": "object"
1829 }, 1406 },
1830 "GoogleApi__HttpBody": { 1407 "GoogleApi__HttpBody": {
1831 "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.", 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.",
1832 "id": "GoogleApi__HttpBody", 1409 "id": "GoogleApi__HttpBody",
1833 "properties": { 1410 "properties": {
1834 "extensions": { 1411 "extensions": {
1835 "description": "Application specific response metadata. Must be set in the first response\nfor streaming APIs.", 1412 "description": "Application specific response metadata. Must be set in the first response\nfor streaming APIs.",
(...skipping 11 matching lines...) Expand all
1847 "format": "byte", 1424 "format": "byte",
1848 "type": "string" 1425 "type": "string"
1849 }, 1426 },
1850 "contentType": { 1427 "contentType": {
1851 "description": "The HTTP Content-Type string representing th e content type of the body.", 1428 "description": "The HTTP Content-Type string representing th e content type of the body.",
1852 "type": "string" 1429 "type": "string"
1853 } 1430 }
1854 }, 1431 },
1855 "type": "object" 1432 "type": "object"
1856 }, 1433 },
1434 "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).",
1436 "id": "GoogleCloudMlV1beta1__Version",
1437 "properties": {
1438 "description": {
1439 "description": "Optional. The description specified for the version when it was created.",
1440 "type": "string"
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 },
1459 "state": {
1460 "description": "Output only. The state of a version.",
1461 "enum": [
1462 "UNKNOWN",
1463 "READY",
1464 "CREATING",
1465 "FAILED"
1466 ],
1467 "enumDescriptions": [
1468 "The version state is unspecified.",
1469 "The version is ready for prediction.",
1470 "The version is still in the process of creation.",
1471 "The version failed to be created, possibly cancelled.\n `error_message` should contain the details of the failure."
1472 ],
1473 "type": "string"
1474 },
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": {
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.",
1481 "type": "string"
1482 },
1483 "errorMessage": {
1484 "description": "Output only. The details of a failure or a c ancellation.",
1485 "type": "string"
1486 },
1487 "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 .",
1489 "type": "string"
1490 },
1491 "lastUseTime": {
1492 "description": "Output only. The time the version was last u sed for prediction.",
1493 "format": "google-datetime",
1494 "type": "string"
1495 }
1496 },
1497 "type": "object"
1498 },
1857 "GoogleCloudMlV1__GetConfigResponse": { 1499 "GoogleCloudMlV1__GetConfigResponse": {
1858 "description": "Returns service account information associated with a project.", 1500 "description": "Returns service account information associated with a project.",
1859 "id": "GoogleCloudMlV1__GetConfigResponse", 1501 "id": "GoogleCloudMlV1__GetConfigResponse",
1860 "properties": { 1502 "properties": {
1861 "serviceAccountProject": { 1503 "serviceAccountProject": {
1862 "description": "The project number for `service_account`.", 1504 "description": "The project number for `service_account`.",
1863 "format": "int64", 1505 "format": "int64",
1864 "type": "string" 1506 "type": "string"
1865 }, 1507 },
1866 "serviceAccount": { 1508 "serviceAccount": {
1867 "description": "The service account Cloud ML uses to access resources in the project.", 1509 "description": "The service account Cloud ML uses to access resources in the project.",
1868 "type": "string" 1510 "type": "string"
1869 } 1511 }
1870 }, 1512 },
1871 "type": "object" 1513 "type": "object"
1872 }, 1514 },
1873 "GoogleCloudMlV1beta1__Version": { 1515 "GoogleIamV1__TestIamPermissionsResponse": {
1874 "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).", 1516 "description": "Response message for `TestIamPermissions` method.",
1875 "id": "GoogleCloudMlV1beta1__Version", 1517 "id": "GoogleIamV1__TestIamPermissionsResponse",
1876 "properties": { 1518 "properties": {
1519 "permissions": {
1520 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
1521 "items": {
1522 "type": "string"
1523 },
1524 "type": "array"
1525 }
1526 },
1527 "type": "object"
1528 },
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": {
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.",
1547 "id": "GoogleCloudMlV1__HyperparameterOutput",
1548 "properties": {
1549 "hyperparameters": {
1550 "additionalProperties": {
1551 "type": "string"
1552 },
1553 "description": "The hyperparameters given to this trial.",
1554 "type": "object"
1555 },
1556 "trialId": {
1557 "description": "The trial id for these results.",
1558 "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 }
1571 },
1572 "type": "object"
1573 },
1574 "GoogleCloudMlV1__PredictionOutput": {
1575 "description": "Represents results of a prediction job.",
1576 "id": "GoogleCloudMlV1__PredictionOutput",
1577 "properties": {
1578 "errorCount": {
1579 "description": "The number of data instances which resulted in errors.",
1580 "format": "int64",
1581 "type": "string"
1582 },
1583 "nodeHours": {
1584 "description": "Node hours used by the batch prediction job. ",
1585 "format": "double",
1586 "type": "number"
1587 },
1588 "outputPath": {
1589 "description": "The output Google Cloud Storage location pro vided at the job creation time.",
1590 "type": "string"
1591 },
1592 "predictionCount": {
1593 "description": "The number of generated predictions.",
1594 "format": "int64",
1595 "type": "string"
1596 }
1597 },
1598 "type": "object"
1599 },
1600 "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).",
1602 "id": "GoogleIamV1__Policy",
1603 "properties": {
1604 "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.",
1606 "format": "byte",
1607 "type": "string"
1608 },
1609 "iamOwned": {
1610 "type": "boolean"
1611 },
1612 "rules": {
1613 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.",
1614 "items": {
1615 "$ref": "GoogleIamV1__Rule"
1616 },
1617 "type": "array"
1618 },
1619 "version": {
1620 "description": "Version of the `Policy`. The default version is 0.",
1621 "format": "int32",
1622 "type": "integer"
1623 },
1624 "auditConfigs": {
1625 "description": "Specifies cloud audit logging configuration for this policy.",
1626 "items": {
1627 "$ref": "GoogleIamV1__AuditConfig"
1628 },
1629 "type": "array"
1630 },
1631 "bindings": {
1632 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1633 "items": {
1634 "$ref": "GoogleIamV1__Binding"
1635 },
1636 "type": "array"
1637 }
1638 },
1639 "type": "object"
1640 },
1641 "GoogleLongrunning__ListOperationsResponse": {
1642 "description": "The response message for Operations.ListOperations." ,
1643 "id": "GoogleLongrunning__ListOperationsResponse",
1644 "properties": {
1645 "operations": {
1646 "description": "A list of operations that matches the specif ied filter in the request.",
1647 "items": {
1648 "$ref": "GoogleLongrunning__Operation"
1649 },
1650 "type": "array"
1651 },
1652 "nextPageToken": {
1653 "description": "The standard List next-page token.",
1654 "type": "string"
1655 }
1656 },
1657 "type": "object"
1658 },
1659 "GoogleIamV1__Condition": {
1660 "description": "A condition to be met.",
1661 "id": "GoogleIamV1__Condition",
1662 "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": {
1690 "description": "The objects of the condition. This is mutual ly exclusive with 'value'.",
1691 "items": {
1692 "type": "string"
1693 },
1694 "type": "array"
1695 },
1696 "iam": {
1697 "description": "Trusted attributes supplied by the IAM syste m.",
1698 "enum": [
1699 "NO_ATTR",
1700 "AUTHORITY",
1701 "ATTRIBUTION",
1702 "APPROVER",
1703 "JUSTIFICATION_TYPE"
1704 ],
1705 "enumDescriptions": [
1706 "Default non-attribute.",
1707 "Either principal or (if present) authority selector.",
1708 "The principal (even if an authority selector is present ), which\nmust only be used for attribution, not authorization.",
1709 "An approver (distinct from the requester) that has auth orized this\nrequest.\nWhen used with IN, the condition indicates that one of th e approvers\nassociated with the request matches the specified principal, or is a\nmember of the specified group. Approvers can only grant additional\naccess, a nd are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT _IN).",
1710 "What types of justifications have been supplied with th is request.\nString values should match enum names from tech.iam.JustificationTy pe,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe * absence* of a justification, so justification conditions can only\nbe used in a \"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications , e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported. "
1711 ],
1712 "type": "string"
1713 },
1714 "op": {
1715 "description": "An operator to apply the subject with.",
1716 "enum": [
1717 "NO_OP",
1718 "EQUALS",
1719 "NOT_EQUALS",
1720 "IN",
1721 "NOT_IN",
1722 "DISCHARGED"
1723 ],
1724 "enumDescriptions": [
1725 "Default no-op.",
1726 "DEPRECATED. Use IN instead.",
1727 "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.",
1729 "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"
1731 ],
1732 "type": "string"
1733 }
1734 },
1735 "type": "object"
1736 },
1737 "GoogleCloudMlV1__ManualScaling": {
1738 "description": "Options for manually scaling a model.",
1739 "id": "GoogleCloudMlV1__ManualScaling",
1740 "properties": {
1741 "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.",
1743 "format": "int32",
1744 "type": "integer"
1745 }
1746 },
1747 "type": "object"
1748 },
1749 "GoogleIamV1__Binding": {
1750 "description": "Associates `members` with a `role`.",
1751 "id": "GoogleIamV1__Binding",
1752 "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": {
1758 "$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."
1760 },
1761 "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",
1763 "items": {
1764 "type": "string"
1765 },
1766 "type": "array"
1767 }
1768 },
1769 "type": "object"
1770 },
1771 "GoogleCloudMlV1__TrainingOutput": {
1772 "description": "Represents results of a training job. Output only.",
1773 "id": "GoogleCloudMlV1__TrainingOutput",
1774 "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": {
1783 "description": "The number of hyperparameter tuning trials t hat completed successfully.\nOnly set for hyperparameter tuning jobs.",
1784 "format": "int64",
1785 "type": "string"
1786 },
1787 "isHyperparameterTuningJob": {
1788 "description": "Whether this job is a hyperparameter tuning job.",
1789 "type": "boolean"
1790 },
1791 "consumedMLUnits": {
1792 "description": "The amount of ML units consumed by the job." ,
1793 "format": "double",
1794 "type": "number"
1795 }
1796 },
1797 "type": "object"
1798 },
1799 "GoogleCloudMlV1beta1__AutoScaling": {
1800 "description": "Options for automatically scaling a model.",
1801 "id": "GoogleCloudMlV1beta1__AutoScaling",
1802 "properties": {
1803 "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.",
1805 "format": "int32",
1806 "type": "integer"
1807 }
1808 },
1809 "type": "object"
1810 },
1811 "GoogleIamV1__Rule": {
1812 "description": "A rule to be applied in a Policy.",
1813 "id": "GoogleIamV1__Rule",
1814 "properties": {
1815 "logConfig": {
1816 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
1817 "items": {
1818 "$ref": "GoogleIamV1__LogConfig"
1819 },
1820 "type": "array"
1821 },
1822 "in": {
1823 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
1824 "items": {
1825 "type": "string"
1826 },
1827 "type": "array"
1828 },
1829 "permissions": {
1830 "description": "A permission is a string of form '<service>. <resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
1831 "items": {
1832 "type": "string"
1833 },
1834 "type": "array"
1835 },
1836 "action": {
1837 "description": "Required",
1838 "enum": [
1839 "NO_ACTION",
1840 "ALLOW",
1841 "ALLOW_WITH_LOG",
1842 "DENY",
1843 "DENY_WITH_LOG",
1844 "LOG"
1845 ],
1846 "enumDescriptions": [
1847 "Default no action.",
1848 "Matching 'Entries' grant access.",
1849 "Matching 'Entries' grant access and the caller promises to log\nthe request per the returned log_configs.",
1850 "Matching 'Entries' deny access.",
1851 "Matching 'Entries' deny access and the caller promises to log\nthe request per the returned log_configs.",
1852 "Matching 'Entries' tell IAM.Check callers to generate l ogs."
1853 ],
1854 "type": "string"
1855 },
1856 "notIn": {
1857 "description": "If one or more 'not_in' clauses are specifie d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri es.\nThe format for in and not_in entries is the same as for members in a\nBindi ng (see google/iam/v1/policy.proto).",
1858 "items": {
1859 "type": "string"
1860 },
1861 "type": "array"
1862 },
1863 "description": {
1864 "description": "Human-readable description of the rule.",
1865 "type": "string"
1866 },
1867 "conditions": {
1868 "description": "Additional restrictions that must be met",
1869 "items": {
1870 "$ref": "GoogleIamV1__Condition"
1871 },
1872 "type": "array"
1873 }
1874 },
1875 "type": "object"
1876 },
1877 "GoogleIamV1_LogConfig_CounterOptions": {
1878 "description": "Options for counters",
1879 "id": "GoogleIamV1_LogConfig_CounterOptions",
1880 "properties": {
1881 "field": {
1882 "description": "The field value to attribute.",
1883 "type": "string"
1884 },
1885 "metric": {
1886 "description": "The metric to update.",
1887 "type": "string"
1888 }
1889 },
1890 "type": "object"
1891 },
1892 "GoogleCloudMlV1__PredictRequest": {
1893 "description": "Request for predictions to be issued against a train ed model.\n\nThe body of the request is a single JSON object with a single top-l evel\nfield:\n\n<dl>\n <dt>instances</dt>\n <dd>A JSON array containing values representing the instances to use for\n prediction.</dd>\n</dl>\n\nThe str ucture of each element of the instances list is determined by your\nmodel's inpu t definition. Instances can include named inputs or can contain\nonly unlabeled values.\n\nNot all data includes named inputs. Some instances will be simple\nJS ON values (boolean, number, or string). However, instances are often lists\nof s imple values, or complex nested lists. Here are some examples of request\nbodies :\n\nCSV data with each row encoded as a string value:\n<pre>\n{\"instances\": [ \"1.0,true,\\\\\"x\\\\\"\", \"-2.0,false,\\\\\"y\\\\\"\"]}\n</pre>\nPlain text:\ n<pre>\n{\"instances\": [\"the quick brown fox\", \"la bruja le dio\"]}\n</pre>\ nSentences encoded as lists of words (vectors of strings):\n<pre>\n{\n \"instan ces\": [\n [\"the\",\"quick\",\"brown\"],\n [\"la\",\"bruja\",\"le\"],\n ...\n ]\n}\n</pre>\nFloating point scalar values:\n<pre>\n{\"instances\": [0. 0, 1.1, 2.2]}\n</pre>\nVectors of integers:\n<pre>\n{\n \"instances\": [\n [ 0, 1, 2],\n [3, 4, 5],\n ...\n ]\n}\n</pre>\nTensors (in this case, two-d imensional tensors):\n<pre>\n{\n \"instances\": [\n [\n [0, 1, 2],\n [3, 4, 5]\n ],\n ...\n ]\n}\n</pre>\nImages can be represented differe nt ways. In this encoding scheme the first\ntwo dimensions represent the rows an d columns of the image, and the third\ncontains lists (vectors) of the R, G, and B values for each pixel.\n<pre>\n{\n \"instances\": [\n [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ] ,\n ...\n ]\n}\n</pre>\nJSON strings must be encoded as UTF-8. To send binar y data, you must\nbase64-encode the data and mark it as binary. To mark a JSON s tring\nas binary, replace it with a JSON object with a single attribute named `b 64`:\n<pre>{\"b64\": \"...\"} </pre>\nFor example:\n\nTwo Serialized tf.Examples (fake data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"X5ad6u\"}, {\"b64\": \"IA9j4nx\"}]}\n</pre>\nTwo JPEG image byte strings (fak e data, for illustrative purposes only):\n<pre>\n{\"instances\": [{\"b64\": \"AS a8asdf\"}, {\"b64\": \"JLK7ljk3\"}]}\n</pre>\nIf your data includes named refere nces, format each instance as a JSON object\nwith the named references as the ke ys:\n\nJSON input data to be preprocessed:\n<pre>\n{\n \"instances\": [\n {\ n \"a\": 1.0,\n \"b\": true,\n \"c\": \"x\"\n },\n {\n \"a\": -2.0,\n \"b\": false,\n \"c\": \"y\"\n }\n ]\n}\n</pre>\nS ome models have an underlying TensorFlow graph that accepts multiple input\ntens ors. In this case, you should use the names of JSON name/value pairs to\nidentif y the input tensors, as shown in the following exmaples:\n\nFor a graph with inp ut tensor aliases \"tag\" (string) and \"image\"\n(base64-encoded string):\n<pre >\n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": {\" b64\": \"ASa8asdf\"}\n },\n {\n \"tag\": \"car\",\n \"image\": { \"b64\": \"JLK7ljk3\"}\n }\n ]\n}\n</pre>\nFor a graph with input tensor ali ases \"tag\" (string) and \"image\"\n(3-dimensional array of 8-bit ints):\n<pre> \n{\n \"instances\": [\n {\n \"tag\": \"beach\",\n \"image\": [\n [\n [138, 30, 66],\n [130, 20, 56],\n ...\n ],\n [\n [126, 38, 61],\n [122, 24, 57],\n ...\n ],\n ...\n ]\n },\n {\n \"tag\": \"car\",\ n \"image\": [\n [\n [255, 0, 102],\n [255, 0, 97] ,\n ...\n ],\n [\n [254, 1, 101],\n [25 4, 2, 93],\n ...\n ],\n ...\n ]\n },\n ...\n ]\n}\n</pre>\nIf the call is successful, the response body will contain one pred iction\nentry per instance in the request body. If prediction fails for any\nins tance, the response body will contain no predictions and will contian\na single error entry instead.",
1894 "id": "GoogleCloudMlV1__PredictRequest",
1895 "properties": {
1896 "httpBody": {
1897 "$ref": "GoogleApi__HttpBody",
1898 "description": "\nRequired. The prediction request body."
1899 }
1900 },
1901 "type": "object"
1902 },
1903 "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric": {
1904 "description": "An observed value of a metric.",
1905 "id": "GoogleCloudMlV1_HyperparameterOutput_HyperparameterMetric",
1906 "properties": {
1907 "trainingStep": {
1908 "description": "The global training step for this metric.",
1909 "format": "int64",
1910 "type": "string"
1911 },
1912 "objectiveValue": {
1913 "description": "The objective value at this training step.",
1914 "format": "double",
1915 "type": "number"
1916 }
1917 },
1918 "type": "object"
1919 },
1920 "GoogleIamV1_LogConfig_CloudAuditOptions": {
1921 "description": "Write a Cloud Audit log",
1922 "id": "GoogleIamV1_LogConfig_CloudAuditOptions",
1923 "properties": {
1924 "logName": {
1925 "description": "The log_name to populate in the Cloud Audit Record.",
1926 "enum": [
1927 "UNSPECIFIED_LOG_NAME",
1928 "ADMIN_ACTIVITY",
1929 "DATA_ACCESS"
1930 ],
1931 "enumDescriptions": [
1932 "Default. Should not be used.",
1933 "Corresponds to \"cloudaudit.googleapis.com/activity\"",
1934 "Corresponds to \"cloudaudit.googleapis.com/data_access\ ""
1935 ],
1936 "type": "string"
1937 }
1938 },
1939 "type": "object"
1940 },
1941 "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).",
1943 "id": "GoogleCloudMlV1__Version",
1944 "properties": {
1945 "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.",
1947 "type": "string"
1948 },
1949 "errorMessage": {
1950 "description": "Output only. The details of a failure or a c ancellation.",
1951 "type": "string"
1952 },
1877 "runtimeVersion": { 1953 "runtimeVersion": {
1878 "description": "Optional. The Google Cloud ML runtime versio n to use for this deployment.\nIf not set, Google Cloud ML will choose a version .", 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 .",
1879 "type": "string" 1955 "type": "string"
1880 }, 1956 },
1881 "lastUseTime": { 1957 "lastUseTime": {
1882 "description": "Output only. The time the version was last u sed for prediction.", 1958 "description": "Output only. The time the version was last u sed for prediction.",
1883 "format": "google-datetime", 1959 "format": "google-datetime",
1884 "type": "string" 1960 "type": "string"
1885 }, 1961 },
1886 "description": { 1962 "description": {
1887 "description": "Optional. The description specified for the version when it was created.", 1963 "description": "Optional. The description specified for the version when it was created.",
1888 "type": "string" 1964 "type": "string"
1889 }, 1965 },
1890 "deploymentUri": { 1966 "deploymentUri": {
1891 "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\ninformaiton.\ 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.", 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.",
1892 "type": "string" 1968 "type": "string"
1893 }, 1969 },
1970 "autoScaling": {
1971 "$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."
1973 },
1894 "isDefault": { 1974 "isDefault": {
1895 "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).", 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).",
1896 "type": "boolean" 1976 "type": "boolean"
1897 }, 1977 },
1898 "createTime": { 1978 "createTime": {
1899 "description": "Output only. The time the version was create d.", 1979 "description": "Output only. The time the version was create d.",
1900 "format": "google-datetime", 1980 "format": "google-datetime",
1901 "type": "string" 1981 "type": "string"
1902 }, 1982 },
1903 "state": { 1983 "state": {
1904 "description": "Output only. The state of a version.", 1984 "description": "Output only. The state of a version.",
1905 "enum": [ 1985 "enum": [
1906 "UNKNOWN", 1986 "UNKNOWN",
1907 "READY", 1987 "READY",
1908 "CREATING", 1988 "CREATING",
1909 "FAILED" 1989 "FAILED"
1910 ], 1990 ],
1911 "enumDescriptions": [ 1991 "enumDescriptions": [
1912 "/ The version state is unspecified.", 1992 "The version state is unspecified.",
1913 "The version is ready for prediction.", 1993 "The version is ready for prediction.",
1914 "The version is still in the process of creation.", 1994 "The version is still in the process of creation.",
1915 "The version failed to be created, possibly cancelled.\n `error_message` should contain the details of the failure." 1995 "The version failed to be created, possibly cancelled.\n `error_message` should contain the details of the failure."
1916 ], 1996 ],
1917 "type": "string" 1997 "type": "string"
1918 }, 1998 },
1919 "manualScaling": { 1999 "manualScaling": {
1920 "$ref": "GoogleCloudMlV1beta1__ManualScaling", 2000 "$ref": "GoogleCloudMlV1__ManualScaling",
1921 "description": "Manually select the number of nodes to use f or serving the\nmodel. You should generally use `automatic_scaling` with an appr opriate\n`min_nodes` instead, but this option is available if you want predictab le\nbilling. Beware that latency and error rates will increase if the\ntraffic e xceeds that capability of the system to serve it based on\nthe selected number o f nodes." 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."
1922 },
1923 "name": {
1924 "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.",
1925 "type": "string"
1926 },
1927 "errorMessage": {
1928 "description": "Output only. The details of a failure or a c ancellation.",
1929 "type": "string"
1930 },
1931 "automaticScaling": {
1932 "$ref": "GoogleCloudMlV1beta1__AutomaticScaling",
1933 "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."
1934 } 2002 }
1935 }, 2003 },
1936 "type": "object" 2004 "type": "object"
1937 }, 2005 },
1938 "GoogleIamV1__TestIamPermissionsResponse": { 2006 "GoogleCloudMlV1__ParameterSpec": {
1939 "description": "Response message for `TestIamPermissions` method.", 2007 "description": "Represents a single hyperparameter to optimize.",
1940 "id": "GoogleIamV1__TestIamPermissionsResponse", 2008 "id": "GoogleCloudMlV1__ParameterSpec",
1941 "properties": { 2009 "properties": {
1942 "permissions": { 2010 "minValue": {
1943 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 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.",
2012 "format": "double",
2013 "type": "number"
2014 },
2015 "discreteValues": {
2016 "description": "Required if type is `DISCRETE`.\nA list of f easible points.\nThe list should be in strictly increasing order. For instance, this\nparameter might have possible settings of 1.5, 2.5, and 4.0. This list\nsh ould not contain more than 1,000 values.",
2017 "items": {
2018 "format": "double",
2019 "type": "number"
2020 },
2021 "type": "array"
2022 },
2023 "scaleType": {
2024 "description": "Optional. How the parameter should be scaled to the hypercube.\nLeave unset for categorical parameters.\nSome kind of scalin g is strongly recommended for real or integral\nparameters (e.g., `UNIT_LINEAR_S CALE`).",
2025 "enum": [
2026 "NONE",
2027 "UNIT_LINEAR_SCALE",
2028 "UNIT_LOG_SCALE",
2029 "UNIT_REVERSE_LOG_SCALE"
2030 ],
2031 "enumDescriptions": [
2032 "By default, no scaling is applied.",
2033 "Scales the feasible space to (0, 1) linearly.",
2034 "Scales the feasible space logarithmically to (0, 1). Th e entire feasible\nspace must be strictly positive.",
2035 "Scales the feasible space \"reverse\" logarithmically t o (0, 1). The result\nis that values close to the top of the feasible space are spread out more\nthan points near the bottom. The entire feasible space must be strictly\npositive."
2036 ],
2037 "type": "string"
2038 },
2039 "maxValue": {
2040 "description": "Required if typeis `DOUBLE` or `INTEGER`. Th is field\nshould be unset if type is `CATEGORICAL`. This value should be integer s if\ntype is `INTEGER`.",
2041 "format": "double",
2042 "type": "number"
2043 },
2044 "type": {
2045 "description": "Required. The type of the parameter.",
2046 "enum": [
2047 "PARAMETER_TYPE_UNSPECIFIED",
2048 "DOUBLE",
2049 "INTEGER",
2050 "CATEGORICAL",
2051 "DISCRETE"
2052 ],
2053 "enumDescriptions": [
2054 "You must specify a valid type. Using this unspecified t ype will result in\nan error.",
2055 "Type for real-valued parameters.",
2056 "Type for integral parameters.",
2057 "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."
2059 ],
2060 "type": "string"
2061 },
2062 "categoricalValues": {
2063 "description": "Required if type is `CATEGORICAL`. The list of possible categories.",
1944 "items": { 2064 "items": {
1945 "type": "string" 2065 "type": "string"
1946 }, 2066 },
1947 "type": "array" 2067 "type": "array"
1948 }
1949 },
1950 "type": "object"
1951 },
1952 "GoogleCloudMlV1__HyperparameterOutput": {
1953 "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.",
1954 "id": "GoogleCloudMlV1__HyperparameterOutput",
1955 "properties": {
1956 "allMetrics": {
1957 "description": "All recorded object metrics for this trial." ,
1958 "items": {
1959 "$ref": "GoogleCloudMlV1_HyperparameterOutput_Hyperparam eterMetric"
1960 },
1961 "type": "array"
1962 }, 2068 },
1963 "finalMetric": { 2069 "parameterName": {
1964 "$ref": "GoogleCloudMlV1_HyperparameterOutput_Hyperparameter Metric", 2070 "description": "Required. The parameter name must be unique amongst all ParameterConfigs in\na HyperparameterSpec message. E.g., \"learning_ rate\".",
1965 "description": "The final objective metric seen for this tri al."
1966 },
1967 "hyperparameters": {
1968 "additionalProperties": {
1969 "type": "string"
1970 },
1971 "description": "The hyperparameters given to this trial.",
1972 "type": "object"
1973 },
1974 "trialId": {
1975 "description": "The trial id for these results.",
1976 "type": "string" 2071 "type": "string"
1977 } 2072 }
1978 }, 2073 },
1979 "type": "object" 2074 "type": "object"
1980 },
1981 "GoogleIamV1__SetIamPolicyRequest": {
1982 "description": "Request message for `SetIamPolicy` method.",
1983 "id": "GoogleIamV1__SetIamPolicyRequest",
1984 "properties": {
1985 "updateMask": {
1986 "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.",
1987 "format": "google-fieldmask",
1988 "type": "string"
1989 },
1990 "policy": {
1991 "$ref": "GoogleIamV1__Policy",
1992 "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."
1993 }
1994 },
1995 "type": "object"
1996 },
1997 "GoogleCloudMlV1__AutomaticScaling": {
1998 "description": "Options for automatically scaling a model.",
1999 "id": "GoogleCloudMlV1__AutomaticScaling",
2000 "properties": {
2001 "minNodes": {
2002 "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.",
2003 "format": "int32",
2004 "type": "integer"
2005 }
2006 },
2007 "type": "object"
2008 },
2009 "GoogleCloudMlV1__PredictionOutput": {
2010 "description": "Represents results of a prediction job.",
2011 "id": "GoogleCloudMlV1__PredictionOutput",
2012 "properties": {
2013 "predictionCount": {
2014 "description": "The number of generated predictions.",
2015 "format": "int64",
2016 "type": "string"
2017 },
2018 "errorCount": {
2019 "description": "The number of data instances which resulted in errors.",
2020 "format": "int64",
2021 "type": "string"
2022 },
2023 "nodeHours": {
2024 "description": "Node hours used by the batch prediction job. ",
2025 "format": "double",
2026 "type": "number"
2027 },
2028 "outputPath": {
2029 "description": "The output Google Cloud Storage location pro vided at the job creation time.",
2030 "type": "string"
2031 }
2032 },
2033 "type": "object"
2034 },
2035 "GoogleIamV1__Policy": {
2036 "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).",
2037 "id": "GoogleIamV1__Policy",
2038 "properties": {
2039 "etag": {
2040 "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.",
2041 "format": "byte",
2042 "type": "string"
2043 },
2044 "iamOwned": {
2045 "type": "boolean"
2046 },
2047 "rules": {
2048 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.",
2049 "items": {
2050 "$ref": "GoogleIamV1__Rule"
2051 },
2052 "type": "array"
2053 },
2054 "version": {
2055 "description": "Version of the `Policy`. The default version is 0.",
2056 "format": "int32",
2057 "type": "integer"
2058 },
2059 "auditConfigs": {
2060 "description": "Specifies cloud audit logging configuration for this policy.",
2061 "items": {
2062 "$ref": "GoogleIamV1__AuditConfig"
2063 },
2064 "type": "array"
2065 },
2066 "bindings": {
2067 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
2068 "items": {
2069 "$ref": "GoogleIamV1__Binding"
2070 },
2071 "type": "array"
2072 }
2073 },
2074 "type": "object"
2075 } 2075 }
2076 }, 2076 },
2077 "servicePath": "", 2077 "servicePath": "",
2078 "title": "Google Cloud Machine Learning Engine", 2078 "title": "Google Cloud Machine Learning Engine",
2079 "version": "v1" 2079 "version": "v1"
2080 } 2080 }
OLDNEW
« no previous file with comments | « discovery/googleapis/manufacturers__v1.json ('k') | discovery/googleapis/monitoring__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698