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