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://dataproc.googleapis.com/", | 12 "baseUrl": "https://dataproc.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platf
orm.", | 14 "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platf
orm.", |
15 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://cloud.google.com/dataproc/", | 16 "documentationLink": "https://cloud.google.com/dataproc/", |
17 "icons": { | 17 "icons": { |
18 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 18 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
19 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 19 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
20 }, | 20 }, |
21 "id": "dataproc:v1beta1", | 21 "id": "dataproc:v1beta1", |
22 "kind": "discovery#restDescription", | 22 "kind": "discovery#restDescription", |
23 "name": "dataproc", | 23 "name": "dataproc", |
24 "ownerDomain": "google.com", | 24 "ownerDomain": "google.com", |
25 "ownerName": "Google", | 25 "ownerName": "Google", |
26 "parameters": { | 26 "parameters": { |
27 "pp": { | 27 "oauth_token": { |
28 "default": "true", | 28 "description": "OAuth 2.0 token for the current user.", |
29 "description": "Pretty-print response.", | |
30 "location": "query", | 29 "location": "query", |
31 "type": "boolean" | 30 "type": "string" |
32 }, | 31 }, |
33 "bearer_token": { | 32 "bearer_token": { |
34 "description": "OAuth bearer token.", | 33 "description": "OAuth bearer token.", |
35 "location": "query", | 34 "location": "query", |
36 "type": "string" | 35 "type": "string" |
37 }, | 36 }, |
38 "oauth_token": { | |
39 "description": "OAuth 2.0 token for the current user.", | |
40 "location": "query", | |
41 "type": "string" | |
42 }, | |
43 "upload_protocol": { | 37 "upload_protocol": { |
44 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
45 "location": "query", | 39 "location": "query", |
46 "type": "string" | 40 "type": "string" |
47 }, | 41 }, |
48 "prettyPrint": { | 42 "prettyPrint": { |
49 "default": "true", | 43 "default": "true", |
50 "description": "Returns response with indentations and line breaks."
, | 44 "description": "Returns response with indentations and line breaks."
, |
51 "location": "query", | 45 "location": "query", |
52 "type": "boolean" | 46 "type": "boolean" |
53 }, | 47 }, |
54 "uploadType": { | 48 "uploadType": { |
55 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 49 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
56 "location": "query", | 50 "location": "query", |
57 "type": "string" | 51 "type": "string" |
58 }, | 52 }, |
59 "fields": { | 53 "fields": { |
60 "description": "Selector specifying which fields to include in a par
tial response.", | 54 "description": "Selector specifying which fields to include in a par
tial response.", |
61 "location": "query", | 55 "location": "query", |
62 "type": "string" | 56 "type": "string" |
63 }, | 57 }, |
64 "callback": { | |
65 "description": "JSONP", | |
66 "location": "query", | |
67 "type": "string" | |
68 }, | |
69 "$.xgafv": { | 58 "$.xgafv": { |
70 "description": "V1 error format.", | 59 "description": "V1 error format.", |
71 "enum": [ | 60 "enum": [ |
72 "1", | 61 "1", |
73 "2" | 62 "2" |
74 ], | 63 ], |
75 "enumDescriptions": [ | 64 "enumDescriptions": [ |
76 "v1 error format", | 65 "v1 error format", |
77 "v2 error format" | 66 "v2 error format" |
78 ], | 67 ], |
79 "location": "query", | 68 "location": "query", |
80 "type": "string" | 69 "type": "string" |
81 }, | 70 }, |
| 71 "callback": { |
| 72 "description": "JSONP", |
| 73 "location": "query", |
| 74 "type": "string" |
| 75 }, |
82 "alt": { | 76 "alt": { |
83 "default": "json", | 77 "default": "json", |
84 "description": "Data format for response.", | 78 "description": "Data format for response.", |
85 "enum": [ | 79 "enum": [ |
86 "json", | 80 "json", |
87 "media", | 81 "media", |
88 "proto" | 82 "proto" |
89 ], | 83 ], |
90 "enumDescriptions": [ | 84 "enumDescriptions": [ |
91 "Responses with Content-Type of application/json", | 85 "Responses with Content-Type of application/json", |
(...skipping 10 matching lines...) Expand all Loading... |
102 }, | 96 }, |
103 "key": { | 97 "key": { |
104 "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.", | 98 "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.", |
105 "location": "query", | 99 "location": "query", |
106 "type": "string" | 100 "type": "string" |
107 }, | 101 }, |
108 "quotaUser": { | 102 "quotaUser": { |
109 "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.", | 103 "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.", |
110 "location": "query", | 104 "location": "query", |
111 "type": "string" | 105 "type": "string" |
| 106 }, |
| 107 "pp": { |
| 108 "default": "true", |
| 109 "description": "Pretty-print response.", |
| 110 "location": "query", |
| 111 "type": "boolean" |
112 } | 112 } |
113 }, | 113 }, |
114 "protocol": "rest", | 114 "protocol": "rest", |
115 "resources": { | 115 "resources": { |
116 "operations": { | 116 "operations": { |
117 "methods": { | 117 "methods": { |
118 "cancel": { | 118 "cancel": { |
119 "description": "Starts asynchronous cancellation on a long-r
unning operation. The server makes a best effort to cancel the operation, but su
ccess is not guaranteed. If the server doesn't support this method, it returns g
oogle.rpc.Code.UNIMPLEMENTED. Clients can use operations.get or other methods to
check whether the cancellation succeeded or whether the operation completed des
pite cancellation.", | 119 "description": "Starts asynchronous cancellation on a long-r
unning operation. The server makes a best effort to cancel the operation, but su
ccess is not guaranteed. If the server doesn't support this method, it returns g
oogle.rpc.Code.UNIMPLEMENTED. Clients can use operations.get or other methods to
check whether the cancellation succeeded or whether the operation completed des
pite cancellation.", |
120 "httpMethod": "POST", | 120 "httpMethod": "POST", |
121 "id": "dataproc.operations.cancel", | 121 "id": "dataproc.operations.cancel", |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 "$ref": "ListOperationsResponse" | 227 "$ref": "ListOperationsResponse" |
228 }, | 228 }, |
229 "scopes": [ | 229 "scopes": [ |
230 "https://www.googleapis.com/auth/cloud-platform" | 230 "https://www.googleapis.com/auth/cloud-platform" |
231 ] | 231 ] |
232 } | 232 } |
233 } | 233 } |
234 }, | 234 }, |
235 "projects": { | 235 "projects": { |
236 "resources": { | 236 "resources": { |
237 "clusters": { | 237 "jobs": { |
238 "methods": { | 238 "methods": { |
239 "create": { | 239 "submit": { |
240 "description": "Creates a cluster in a project.", | 240 "description": "Submits a job to a cluster.", |
241 "httpMethod": "POST", | 241 "httpMethod": "POST", |
242 "id": "dataproc.projects.clusters.create", | 242 "id": "dataproc.projects.jobs.submit", |
243 "parameterOrder": [ | 243 "parameterOrder": [ |
244 "projectId" | 244 "projectId" |
245 ], | 245 ], |
246 "parameters": { | 246 "parameters": { |
247 "projectId": { | 247 "projectId": { |
248 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", | 248 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", |
249 "location": "path", | 249 "location": "path", |
250 "required": true, | 250 "required": true, |
251 "type": "string" | 251 "type": "string" |
252 } | 252 } |
253 }, | 253 }, |
254 "path": "v1beta1/projects/{projectId}/clusters", | 254 "path": "v1beta1/projects/{projectId}/jobs:submit", |
255 "request": { | 255 "request": { |
256 "$ref": "Cluster" | 256 "$ref": "SubmitJobRequest" |
257 }, | 257 }, |
258 "response": { | 258 "response": { |
259 "$ref": "Operation" | 259 "$ref": "Job" |
| 260 }, |
| 261 "scopes": [ |
| 262 "https://www.googleapis.com/auth/cloud-platform" |
| 263 ] |
| 264 }, |
| 265 "delete": { |
| 266 "description": "Deletes the job from the project. If
the job is active, the delete fails, and the response returns FAILED_PRECONDITI
ON.", |
| 267 "httpMethod": "DELETE", |
| 268 "id": "dataproc.projects.jobs.delete", |
| 269 "parameterOrder": [ |
| 270 "projectId", |
| 271 "jobId" |
| 272 ], |
| 273 "parameters": { |
| 274 "projectId": { |
| 275 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", |
| 276 "location": "path", |
| 277 "required": true, |
| 278 "type": "string" |
| 279 }, |
| 280 "jobId": { |
| 281 "description": "Required The job ID.", |
| 282 "location": "path", |
| 283 "required": true, |
| 284 "type": "string" |
| 285 } |
| 286 }, |
| 287 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", |
| 288 "response": { |
| 289 "$ref": "Empty" |
| 290 }, |
| 291 "scopes": [ |
| 292 "https://www.googleapis.com/auth/cloud-platform" |
| 293 ] |
| 294 }, |
| 295 "list": { |
| 296 "description": "Lists jobs in a project.", |
| 297 "httpMethod": "GET", |
| 298 "id": "dataproc.projects.jobs.list", |
| 299 "parameterOrder": [ |
| 300 "projectId" |
| 301 ], |
| 302 "parameters": { |
| 303 "filter": { |
| 304 "description": "Optional A filter constraini
ng which jobs to list. Valid filters contain job state and label terms such as:
labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)", |
| 305 "location": "query", |
| 306 "type": "string" |
| 307 }, |
| 308 "jobStateMatcher": { |
| 309 "description": "Optional Specifies enumerate
d categories of jobs to list.", |
| 310 "enum": [ |
| 311 "ALL", |
| 312 "ACTIVE", |
| 313 "NON_ACTIVE" |
| 314 ], |
| 315 "location": "query", |
| 316 "type": "string" |
| 317 }, |
| 318 "pageToken": { |
| 319 "description": "Optional The page token, ret
urned by a previous call, to request the next page of results.", |
| 320 "location": "query", |
| 321 "type": "string" |
| 322 }, |
| 323 "pageSize": { |
| 324 "description": "Optional The number of resul
ts to return in each response.", |
| 325 "format": "int32", |
| 326 "location": "query", |
| 327 "type": "integer" |
| 328 }, |
| 329 "clusterName": { |
| 330 "description": "Optional If set, the returne
d jobs list includes only jobs that were submitted to the named cluster.", |
| 331 "location": "query", |
| 332 "type": "string" |
| 333 }, |
| 334 "projectId": { |
| 335 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", |
| 336 "location": "path", |
| 337 "required": true, |
| 338 "type": "string" |
| 339 } |
| 340 }, |
| 341 "path": "v1beta1/projects/{projectId}/jobs", |
| 342 "response": { |
| 343 "$ref": "ListJobsResponse" |
| 344 }, |
| 345 "scopes": [ |
| 346 "https://www.googleapis.com/auth/cloud-platform" |
| 347 ] |
| 348 }, |
| 349 "cancel": { |
| 350 "description": "Starts a job cancellation request. T
o access the job resource after cancellation, call jobs.list or jobs.get.", |
| 351 "httpMethod": "POST", |
| 352 "id": "dataproc.projects.jobs.cancel", |
| 353 "parameterOrder": [ |
| 354 "projectId", |
| 355 "jobId" |
| 356 ], |
| 357 "parameters": { |
| 358 "projectId": { |
| 359 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", |
| 360 "location": "path", |
| 361 "required": true, |
| 362 "type": "string" |
| 363 }, |
| 364 "jobId": { |
| 365 "description": "Required The job ID.", |
| 366 "location": "path", |
| 367 "required": true, |
| 368 "type": "string" |
| 369 } |
| 370 }, |
| 371 "path": "v1beta1/projects/{projectId}/jobs/{jobId}:c
ancel", |
| 372 "request": { |
| 373 "$ref": "CancelJobRequest" |
| 374 }, |
| 375 "response": { |
| 376 "$ref": "Job" |
260 }, | 377 }, |
261 "scopes": [ | 378 "scopes": [ |
262 "https://www.googleapis.com/auth/cloud-platform" | 379 "https://www.googleapis.com/auth/cloud-platform" |
263 ] | 380 ] |
264 }, | 381 }, |
265 "patch": { | 382 "patch": { |
266 "description": "Updates a cluster in a project.", | 383 "description": "Updates a job in a project.", |
267 "httpMethod": "PATCH", | 384 "httpMethod": "PATCH", |
268 "id": "dataproc.projects.clusters.patch", | 385 "id": "dataproc.projects.jobs.patch", |
269 "parameterOrder": [ | 386 "parameterOrder": [ |
270 "projectId", | 387 "projectId", |
271 "clusterName" | 388 "jobId" |
272 ], | 389 ], |
273 "parameters": { | 390 "parameters": { |
274 "clusterName": { | 391 "projectId": { |
275 "description": "Required The cluster name.", | 392 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", |
276 "location": "path", | 393 "location": "path", |
277 "required": true, | 394 "required": true, |
278 "type": "string" | 395 "type": "string" |
279 }, | 396 }, |
280 "projectId": { | 397 "jobId": { |
281 "description": "Required The ID of the Googl
e Cloud Platform project the cluster belongs to.", | 398 "description": "Required The job ID.", |
282 "location": "path", | 399 "location": "path", |
283 "required": true, | 400 "required": true, |
284 "type": "string" | 401 "type": "string" |
285 }, | 402 }, |
286 "updateMask": { | 403 "updateMask": { |
287 "description": "Required Specifies the path,
relative to <code>Cluster</code>, of the field to update. For example, to chang
e the number of workers in a cluster to 5, the <code>update_mask</code> paramete
r would be specified as <code>configuration.worker_configuration.num_instances</
code>, and the PATCH request body would specify the new value, as follows:\n{\n
\"configuration\":{\n \"workerConfiguration\":{\n \"numInstances\":\"5\
"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cl
uster to 5, the <code>update_mask</code> parameter would be <code>config.seconda
ry_worker_config.num_instances</code>, and the PATCH request body would be set a
s follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInsta
nces\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, <code>config.work
er_config.num_instances</code> and <code>config.secondary_worker_config.num_inst
ances</code> are the only fields that can be updated.", | 404 "description": "Required Specifies the path,
relative to <code>Job</code>, of the field to update. For example, to update th
e labels of a Job the <code>update_mask</code> parameter would be specified as <
code>labels</code>, and the PATCH request body would specify the new value. <str
ong>Note:</strong> Currently, <code>labels</code> is the only field that can be
updated.", |
288 "format": "google-fieldmask", | 405 "format": "google-fieldmask", |
289 "location": "query", | 406 "location": "query", |
290 "type": "string" | 407 "type": "string" |
291 } | 408 } |
292 }, | 409 }, |
293 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}", | 410 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", |
294 "request": { | 411 "request": { |
295 "$ref": "Cluster" | 412 "$ref": "Job" |
296 }, | 413 }, |
297 "response": { | 414 "response": { |
298 "$ref": "Operation" | 415 "$ref": "Job" |
299 }, | 416 }, |
300 "scopes": [ | 417 "scopes": [ |
301 "https://www.googleapis.com/auth/cloud-platform" | 418 "https://www.googleapis.com/auth/cloud-platform" |
302 ] | 419 ] |
303 }, | 420 }, |
304 "get": { | 421 "get": { |
305 "description": "Gets the resource representation for
a cluster in a project.", | 422 "description": "Gets the resource representation for
a job in a project.", |
306 "httpMethod": "GET", | 423 "httpMethod": "GET", |
307 "id": "dataproc.projects.clusters.get", | 424 "id": "dataproc.projects.jobs.get", |
308 "parameterOrder": [ | 425 "parameterOrder": [ |
309 "projectId", | 426 "projectId", |
310 "clusterName" | 427 "jobId" |
311 ], | 428 ], |
312 "parameters": { | 429 "parameters": { |
313 "clusterName": { | 430 "projectId": { |
314 "description": "Required The cluster name.", | 431 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", |
315 "location": "path", | 432 "location": "path", |
316 "required": true, | 433 "required": true, |
317 "type": "string" | 434 "type": "string" |
318 }, | 435 }, |
319 "projectId": { | 436 "jobId": { |
320 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", | 437 "description": "Required The job ID.", |
321 "location": "path", | 438 "location": "path", |
322 "required": true, | 439 "required": true, |
323 "type": "string" | 440 "type": "string" |
324 } | 441 } |
325 }, | 442 }, |
326 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}", | 443 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", |
327 "response": { | 444 "response": { |
328 "$ref": "Cluster" | 445 "$ref": "Job" |
329 }, | 446 }, |
330 "scopes": [ | 447 "scopes": [ |
331 "https://www.googleapis.com/auth/cloud-platform" | 448 "https://www.googleapis.com/auth/cloud-platform" |
332 ] | |
333 }, | |
334 "delete": { | |
335 "description": "Deletes a cluster in a project.", | |
336 "httpMethod": "DELETE", | |
337 "id": "dataproc.projects.clusters.delete", | |
338 "parameterOrder": [ | |
339 "projectId", | |
340 "clusterName" | |
341 ], | |
342 "parameters": { | |
343 "clusterName": { | |
344 "description": "Required The cluster name.", | |
345 "location": "path", | |
346 "required": true, | |
347 "type": "string" | |
348 }, | |
349 "projectId": { | |
350 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", | |
351 "location": "path", | |
352 "required": true, | |
353 "type": "string" | |
354 } | |
355 }, | |
356 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}", | |
357 "response": { | |
358 "$ref": "Operation" | |
359 }, | |
360 "scopes": [ | |
361 "https://www.googleapis.com/auth/cloud-platform" | |
362 ] | |
363 }, | |
364 "diagnose": { | |
365 "description": "Gets cluster diagnostic information.
After the operation completes, the Operation.response field contains DiagnoseCl
usterOutputLocation.", | |
366 "httpMethod": "POST", | |
367 "id": "dataproc.projects.clusters.diagnose", | |
368 "parameterOrder": [ | |
369 "projectId", | |
370 "clusterName" | |
371 ], | |
372 "parameters": { | |
373 "clusterName": { | |
374 "description": "Required The cluster name.", | |
375 "location": "path", | |
376 "required": true, | |
377 "type": "string" | |
378 }, | |
379 "projectId": { | |
380 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", | |
381 "location": "path", | |
382 "required": true, | |
383 "type": "string" | |
384 } | |
385 }, | |
386 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}:diagnose", | |
387 "request": { | |
388 "$ref": "DiagnoseClusterRequest" | |
389 }, | |
390 "response": { | |
391 "$ref": "Operation" | |
392 }, | |
393 "scopes": [ | |
394 "https://www.googleapis.com/auth/cloud-platform" | |
395 ] | |
396 }, | |
397 "list": { | |
398 "description": "Lists all clusters in a project.", | |
399 "httpMethod": "GET", | |
400 "id": "dataproc.projects.clusters.list", | |
401 "parameterOrder": [ | |
402 "projectId" | |
403 ], | |
404 "parameters": { | |
405 "filter": { | |
406 "description": "Optional A filter constraini
ng which clusters to list. Valid filters contain label terms such as: labels.key
1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)", | |
407 "location": "query", | |
408 "type": "string" | |
409 }, | |
410 "pageToken": { | |
411 "description": "The standard List page token
.", | |
412 "location": "query", | |
413 "type": "string" | |
414 }, | |
415 "pageSize": { | |
416 "description": "The standard List page size.
", | |
417 "format": "int32", | |
418 "location": "query", | |
419 "type": "integer" | |
420 }, | |
421 "projectId": { | |
422 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", | |
423 "location": "path", | |
424 "required": true, | |
425 "type": "string" | |
426 } | |
427 }, | |
428 "path": "v1beta1/projects/{projectId}/clusters", | |
429 "response": { | |
430 "$ref": "ListClustersResponse" | |
431 }, | |
432 "scopes": [ | |
433 "https://www.googleapis.com/auth/cloud-platform" | |
434 ] | 449 ] |
435 } | 450 } |
436 } | 451 } |
437 }, | 452 }, |
438 "jobs": { | 453 "clusters": { |
439 "methods": { | 454 "methods": { |
440 "get": { | 455 "get": { |
441 "description": "Gets the resource representation for
a job in a project.", | 456 "description": "Gets the resource representation for
a cluster in a project.", |
442 "httpMethod": "GET", | 457 "httpMethod": "GET", |
443 "id": "dataproc.projects.jobs.get", | 458 "id": "dataproc.projects.clusters.get", |
444 "parameterOrder": [ | 459 "parameterOrder": [ |
445 "projectId", | 460 "projectId", |
446 "jobId" | 461 "clusterName" |
447 ], | 462 ], |
448 "parameters": { | 463 "parameters": { |
449 "projectId": { | 464 "clusterName": { |
450 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", | 465 "description": "Required The cluster name.", |
451 "location": "path", | 466 "location": "path", |
452 "required": true, | 467 "required": true, |
453 "type": "string" | 468 "type": "string" |
454 }, | 469 }, |
455 "jobId": { | 470 "projectId": { |
456 "description": "Required The job ID.", | 471 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", |
457 "location": "path", | 472 "location": "path", |
458 "required": true, | 473 "required": true, |
459 "type": "string" | 474 "type": "string" |
460 } | 475 } |
461 }, | 476 }, |
462 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", | 477 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}", |
463 "response": { | 478 "response": { |
464 "$ref": "Job" | 479 "$ref": "Cluster" |
465 }, | 480 }, |
466 "scopes": [ | 481 "scopes": [ |
467 "https://www.googleapis.com/auth/cloud-platform" | 482 "https://www.googleapis.com/auth/cloud-platform" |
468 ] | 483 ] |
469 }, | 484 }, |
470 "patch": { | 485 "patch": { |
471 "description": "Updates a job in a project.", | 486 "description": "Updates a cluster in a project.", |
472 "httpMethod": "PATCH", | 487 "httpMethod": "PATCH", |
473 "id": "dataproc.projects.jobs.patch", | 488 "id": "dataproc.projects.clusters.patch", |
474 "parameterOrder": [ | 489 "parameterOrder": [ |
475 "projectId", | 490 "projectId", |
476 "jobId" | 491 "clusterName" |
477 ], | 492 ], |
478 "parameters": { | 493 "parameters": { |
| 494 "clusterName": { |
| 495 "description": "Required The cluster name.", |
| 496 "location": "path", |
| 497 "required": true, |
| 498 "type": "string" |
| 499 }, |
| 500 "projectId": { |
| 501 "description": "Required The ID of the Googl
e Cloud Platform project the cluster belongs to.", |
| 502 "location": "path", |
| 503 "required": true, |
| 504 "type": "string" |
| 505 }, |
479 "updateMask": { | 506 "updateMask": { |
480 "description": "Required Specifies the path,
relative to <code>Job</code>, of the field to update. For example, to update th
e labels of a Job the <code>update_mask</code> parameter would be specified as <
code>labels</code>, and the PATCH request body would specify the new value. <str
ong>Note:</strong> Currently, <code>labels</code> is the only field that can be
updated.", | 507 "description": "Required Specifies the path,
relative to <code>Cluster</code>, of the field to update. For example, to chang
e the number of workers in a cluster to 5, the <code>update_mask</code> paramete
r would be specified as <code>configuration.worker_configuration.num_instances</
code>, and the PATCH request body would specify the new value, as follows:\n{\n
\"configuration\":{\n \"workerConfiguration\":{\n \"numInstances\":\"5\
"\n }\n }\n}\nSimilarly, to change the number of preemptible workers in a cl
uster to 5, the <code>update_mask</code> parameter would be <code>config.seconda
ry_worker_config.num_instances</code>, and the PATCH request body would be set a
s follows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInsta
nces\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, <code>config.work
er_config.num_instances</code> and <code>config.secondary_worker_config.num_inst
ances</code> are the only fields that can be updated.", |
481 "format": "google-fieldmask", | 508 "format": "google-fieldmask", |
482 "location": "query", | 509 "location": "query", |
483 "type": "string" | 510 "type": "string" |
484 }, | 511 } |
485 "projectId": { | 512 }, |
486 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", | 513 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}", |
487 "location": "path", | |
488 "required": true, | |
489 "type": "string" | |
490 }, | |
491 "jobId": { | |
492 "description": "Required The job ID.", | |
493 "location": "path", | |
494 "required": true, | |
495 "type": "string" | |
496 } | |
497 }, | |
498 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", | |
499 "request": { | 514 "request": { |
500 "$ref": "Job" | 515 "$ref": "Cluster" |
501 }, | 516 }, |
502 "response": { | 517 "response": { |
503 "$ref": "Job" | 518 "$ref": "Operation" |
504 }, | 519 }, |
505 "scopes": [ | 520 "scopes": [ |
506 "https://www.googleapis.com/auth/cloud-platform" | 521 "https://www.googleapis.com/auth/cloud-platform" |
507 ] | 522 ] |
508 }, | 523 }, |
509 "submit": { | 524 "diagnose": { |
510 "description": "Submits a job to a cluster.", | 525 "description": "Gets cluster diagnostic information.
After the operation completes, the Operation.response field contains DiagnoseCl
usterOutputLocation.", |
511 "httpMethod": "POST", | 526 "httpMethod": "POST", |
512 "id": "dataproc.projects.jobs.submit", | 527 "id": "dataproc.projects.clusters.diagnose", |
| 528 "parameterOrder": [ |
| 529 "projectId", |
| 530 "clusterName" |
| 531 ], |
| 532 "parameters": { |
| 533 "clusterName": { |
| 534 "description": "Required The cluster name.", |
| 535 "location": "path", |
| 536 "required": true, |
| 537 "type": "string" |
| 538 }, |
| 539 "projectId": { |
| 540 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", |
| 541 "location": "path", |
| 542 "required": true, |
| 543 "type": "string" |
| 544 } |
| 545 }, |
| 546 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}:diagnose", |
| 547 "request": { |
| 548 "$ref": "DiagnoseClusterRequest" |
| 549 }, |
| 550 "response": { |
| 551 "$ref": "Operation" |
| 552 }, |
| 553 "scopes": [ |
| 554 "https://www.googleapis.com/auth/cloud-platform" |
| 555 ] |
| 556 }, |
| 557 "delete": { |
| 558 "description": "Deletes a cluster in a project.", |
| 559 "httpMethod": "DELETE", |
| 560 "id": "dataproc.projects.clusters.delete", |
| 561 "parameterOrder": [ |
| 562 "projectId", |
| 563 "clusterName" |
| 564 ], |
| 565 "parameters": { |
| 566 "clusterName": { |
| 567 "description": "Required The cluster name.", |
| 568 "location": "path", |
| 569 "required": true, |
| 570 "type": "string" |
| 571 }, |
| 572 "projectId": { |
| 573 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", |
| 574 "location": "path", |
| 575 "required": true, |
| 576 "type": "string" |
| 577 } |
| 578 }, |
| 579 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}", |
| 580 "response": { |
| 581 "$ref": "Operation" |
| 582 }, |
| 583 "scopes": [ |
| 584 "https://www.googleapis.com/auth/cloud-platform" |
| 585 ] |
| 586 }, |
| 587 "list": { |
| 588 "description": "Lists all clusters in a project.", |
| 589 "httpMethod": "GET", |
| 590 "id": "dataproc.projects.clusters.list", |
513 "parameterOrder": [ | 591 "parameterOrder": [ |
514 "projectId" | 592 "projectId" |
515 ], | 593 ], |
516 "parameters": { | 594 "parameters": { |
517 "projectId": { | 595 "filter": { |
518 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", | 596 "description": "Optional A filter constraini
ng which clusters to list. Valid filters contain label terms such as: labels.key
1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)", |
519 "location": "path", | 597 "location": "query", |
520 "required": true, | 598 "type": "string" |
521 "type": "string" | 599 }, |
522 } | 600 "pageToken": { |
523 }, | 601 "description": "The standard List page token
.", |
524 "path": "v1beta1/projects/{projectId}/jobs:submit", | 602 "location": "query", |
| 603 "type": "string" |
| 604 }, |
| 605 "pageSize": { |
| 606 "description": "The standard List page size.
", |
| 607 "format": "int32", |
| 608 "location": "query", |
| 609 "type": "integer" |
| 610 }, |
| 611 "projectId": { |
| 612 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", |
| 613 "location": "path", |
| 614 "required": true, |
| 615 "type": "string" |
| 616 } |
| 617 }, |
| 618 "path": "v1beta1/projects/{projectId}/clusters", |
| 619 "response": { |
| 620 "$ref": "ListClustersResponse" |
| 621 }, |
| 622 "scopes": [ |
| 623 "https://www.googleapis.com/auth/cloud-platform" |
| 624 ] |
| 625 }, |
| 626 "create": { |
| 627 "description": "Creates a cluster in a project.", |
| 628 "httpMethod": "POST", |
| 629 "id": "dataproc.projects.clusters.create", |
| 630 "parameterOrder": [ |
| 631 "projectId" |
| 632 ], |
| 633 "parameters": { |
| 634 "projectId": { |
| 635 "description": "Required The ID of the Googl
e Cloud Platform project that the cluster belongs to.", |
| 636 "location": "path", |
| 637 "required": true, |
| 638 "type": "string" |
| 639 } |
| 640 }, |
| 641 "path": "v1beta1/projects/{projectId}/clusters", |
525 "request": { | 642 "request": { |
526 "$ref": "SubmitJobRequest" | 643 "$ref": "Cluster" |
527 }, | 644 }, |
528 "response": { | 645 "response": { |
529 "$ref": "Job" | 646 "$ref": "Operation" |
530 }, | 647 }, |
531 "scopes": [ | 648 "scopes": [ |
532 "https://www.googleapis.com/auth/cloud-platform" | 649 "https://www.googleapis.com/auth/cloud-platform" |
533 ] | |
534 }, | |
535 "delete": { | |
536 "description": "Deletes the job from the project. If
the job is active, the delete fails, and the response returns FAILED_PRECONDITI
ON.", | |
537 "httpMethod": "DELETE", | |
538 "id": "dataproc.projects.jobs.delete", | |
539 "parameterOrder": [ | |
540 "projectId", | |
541 "jobId" | |
542 ], | |
543 "parameters": { | |
544 "projectId": { | |
545 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", | |
546 "location": "path", | |
547 "required": true, | |
548 "type": "string" | |
549 }, | |
550 "jobId": { | |
551 "description": "Required The job ID.", | |
552 "location": "path", | |
553 "required": true, | |
554 "type": "string" | |
555 } | |
556 }, | |
557 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", | |
558 "response": { | |
559 "$ref": "Empty" | |
560 }, | |
561 "scopes": [ | |
562 "https://www.googleapis.com/auth/cloud-platform" | |
563 ] | |
564 }, | |
565 "list": { | |
566 "description": "Lists jobs in a project.", | |
567 "httpMethod": "GET", | |
568 "id": "dataproc.projects.jobs.list", | |
569 "parameterOrder": [ | |
570 "projectId" | |
571 ], | |
572 "parameters": { | |
573 "pageToken": { | |
574 "description": "Optional The page token, ret
urned by a previous call, to request the next page of results.", | |
575 "location": "query", | |
576 "type": "string" | |
577 }, | |
578 "pageSize": { | |
579 "description": "Optional The number of resul
ts to return in each response.", | |
580 "format": "int32", | |
581 "location": "query", | |
582 "type": "integer" | |
583 }, | |
584 "clusterName": { | |
585 "description": "Optional If set, the returne
d jobs list includes only jobs that were submitted to the named cluster.", | |
586 "location": "query", | |
587 "type": "string" | |
588 }, | |
589 "projectId": { | |
590 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", | |
591 "location": "path", | |
592 "required": true, | |
593 "type": "string" | |
594 }, | |
595 "filter": { | |
596 "description": "Optional A filter constraini
ng which jobs to list. Valid filters contain job state and label terms such as:
labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)", | |
597 "location": "query", | |
598 "type": "string" | |
599 }, | |
600 "jobStateMatcher": { | |
601 "description": "Optional Specifies enumerate
d categories of jobs to list.", | |
602 "enum": [ | |
603 "ALL", | |
604 "ACTIVE", | |
605 "NON_ACTIVE" | |
606 ], | |
607 "location": "query", | |
608 "type": "string" | |
609 } | |
610 }, | |
611 "path": "v1beta1/projects/{projectId}/jobs", | |
612 "response": { | |
613 "$ref": "ListJobsResponse" | |
614 }, | |
615 "scopes": [ | |
616 "https://www.googleapis.com/auth/cloud-platform" | |
617 ] | |
618 }, | |
619 "cancel": { | |
620 "description": "Starts a job cancellation request. T
o access the job resource after cancellation, call jobs.list or jobs.get.", | |
621 "httpMethod": "POST", | |
622 "id": "dataproc.projects.jobs.cancel", | |
623 "parameterOrder": [ | |
624 "projectId", | |
625 "jobId" | |
626 ], | |
627 "parameters": { | |
628 "projectId": { | |
629 "description": "Required The ID of the Googl
e Cloud Platform project that the job belongs to.", | |
630 "location": "path", | |
631 "required": true, | |
632 "type": "string" | |
633 }, | |
634 "jobId": { | |
635 "description": "Required The job ID.", | |
636 "location": "path", | |
637 "required": true, | |
638 "type": "string" | |
639 } | |
640 }, | |
641 "path": "v1beta1/projects/{projectId}/jobs/{jobId}:c
ancel", | |
642 "request": { | |
643 "$ref": "CancelJobRequest" | |
644 }, | |
645 "response": { | |
646 "$ref": "Job" | |
647 }, | |
648 "scopes": [ | |
649 "https://www.googleapis.com/auth/cloud-platform" | |
650 ] | 650 ] |
651 } | 651 } |
652 } | 652 } |
653 } | 653 } |
654 } | 654 } |
655 } | 655 } |
656 }, | 656 }, |
657 "revision": "20170207", | 657 "revision": "20170228", |
658 "rootUrl": "https://dataproc.googleapis.com/", | 658 "rootUrl": "https://dataproc.googleapis.com/", |
659 "schemas": { | 659 "schemas": { |
660 "GceClusterConfiguration": { | 660 "ClusterMetrics": { |
661 "description": "Common configuration settings for resources of Googl
e Compute Engine cluster instances, applicable to all instances in the cluster."
, | 661 "description": "Contains cluster daemon metrics, such as HDFS and YA
RN stats.", |
662 "id": "GceClusterConfiguration", | 662 "id": "ClusterMetrics", |
663 "properties": { | 663 "properties": { |
664 "tags": { | 664 "yarnMetrics": { |
665 "description": "The Google Compute Engine tags to add to all
instances.", | 665 "additionalProperties": { |
| 666 "format": "int64", |
| 667 "type": "string" |
| 668 }, |
| 669 "description": "The YARN metrics.", |
| 670 "type": "object" |
| 671 }, |
| 672 "hdfsMetrics": { |
| 673 "additionalProperties": { |
| 674 "format": "int64", |
| 675 "type": "string" |
| 676 }, |
| 677 "description": "The HDFS metrics.", |
| 678 "type": "object" |
| 679 } |
| 680 }, |
| 681 "type": "object" |
| 682 }, |
| 683 "ClusterConfiguration": { |
| 684 "description": "The cluster configuration.", |
| 685 "id": "ClusterConfiguration", |
| 686 "properties": { |
| 687 "masterConfiguration": { |
| 688 "$ref": "InstanceGroupConfiguration", |
| 689 "description": "Optional The Google Compute Engine configura
tion settings for the master instance in a cluster." |
| 690 }, |
| 691 "secondaryWorkerConfiguration": { |
| 692 "$ref": "InstanceGroupConfiguration", |
| 693 "description": "Optional The Google Compute Engine configura
tion settings for additional worker instances in a cluster." |
| 694 }, |
| 695 "initializationActions": { |
| 696 "description": "Optional Commands to execute on each node af
ter configuration is completed. By default, executables are run on master and al
l worker nodes. You can test a node's <code>role</code> metadata to run an execu
table on a master or worker node, as shown below:\nROLE=$(/usr/share/google/get_
metadata_value attributes/role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... m
aster specific actions ...\nelse\n ... worker specific actions ...\nfi\n", |
| 697 "items": { |
| 698 "$ref": "NodeInitializationAction" |
| 699 }, |
| 700 "type": "array" |
| 701 }, |
| 702 "workerConfiguration": { |
| 703 "$ref": "InstanceGroupConfiguration", |
| 704 "description": "Optional The Google Compute Engine configura
tion settings for worker instances in a cluster." |
| 705 }, |
| 706 "softwareConfiguration": { |
| 707 "$ref": "SoftwareConfiguration", |
| 708 "description": "Optional The configuration settings for soft
ware inside the cluster." |
| 709 }, |
| 710 "gceClusterConfiguration": { |
| 711 "$ref": "GceClusterConfiguration", |
| 712 "description": "Required The shared Google Compute Engine co
nfiguration settings for all instances in a cluster." |
| 713 }, |
| 714 "configurationBucket": { |
| 715 "description": "Optional A Google Cloud Storage staging buck
et used for sharing generated SSH keys and configuration. If you do not specify
a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage loc
ation (US, ASIA, or EU) for your cluster's staging bucket according to the Googl
e Compute Engine zone where your cluster is deployed, and then it will create an
d manage this project-level, per-location bucket for you.", |
| 716 "type": "string" |
| 717 } |
| 718 }, |
| 719 "type": "object" |
| 720 }, |
| 721 "LoggingConfiguration": { |
| 722 "description": "The runtime logging configuration of the job.", |
| 723 "id": "LoggingConfiguration", |
| 724 "properties": { |
| 725 "driverLogLevels": { |
| 726 "additionalProperties": { |
| 727 "enum": [ |
| 728 "LEVEL_UNSPECIFIED", |
| 729 "ALL", |
| 730 "TRACE", |
| 731 "DEBUG", |
| 732 "INFO", |
| 733 "WARN", |
| 734 "ERROR", |
| 735 "FATAL", |
| 736 "OFF" |
| 737 ], |
| 738 "type": "string" |
| 739 }, |
| 740 "description": "The per-package log levels for the driver. T
his may include \"root\" package name to configure rootLogger. Examples: 'com.g
oogle = FATAL', 'root = INFO', 'org.apache = DEBUG'", |
| 741 "type": "object" |
| 742 } |
| 743 }, |
| 744 "type": "object" |
| 745 }, |
| 746 "InstanceGroupConfiguration": { |
| 747 "description": "The configuration settings for Google Compute Engine
resources in an instance group, such as a master or worker group.", |
| 748 "id": "InstanceGroupConfiguration", |
| 749 "properties": { |
| 750 "numInstances": { |
| 751 "description": "The number of VM instances in the instance g
roup. For master instance groups, must be set to 1.", |
| 752 "format": "int32", |
| 753 "type": "integer" |
| 754 }, |
| 755 "diskConfiguration": { |
| 756 "$ref": "DiskConfiguration", |
| 757 "description": "Disk option configuration settings." |
| 758 }, |
| 759 "isPreemptible": { |
| 760 "description": "Specifies that this instance group contains
Preemptible Instances.", |
| 761 "type": "boolean" |
| 762 }, |
| 763 "imageUri": { |
| 764 "description": "Output-only The Google Compute Engine image
resource used for cluster instances. Inferred from SoftwareConfiguration.image_v
ersion.", |
| 765 "type": "string" |
| 766 }, |
| 767 "machineTypeUri": { |
| 768 "description": "The Google Compute Engine machine type used
for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[
project_id]/zones/us-east1-a/machineTypes/n1-standard-2.", |
| 769 "type": "string" |
| 770 }, |
| 771 "managedGroupConfiguration": { |
| 772 "$ref": "ManagedGroupConfiguration", |
| 773 "description": "Output-only The configuration for Google Com
pute Engine Instance Group Manager that manages this group. This is only used fo
r preemptible instance groups." |
| 774 }, |
| 775 "instanceNames": { |
| 776 "description": "The list of instance names. Dataproc derives
the names from cluster_name, num_instances, and the instance group if not set b
y user (recommended practice is to let Dataproc derive the name).", |
666 "items": { | 777 "items": { |
667 "type": "string" | 778 "type": "string" |
668 }, | 779 }, |
669 "type": "array" | 780 "type": "array" |
670 }, | 781 }, |
671 "serviceAccount": { | 782 "accelerators": { |
672 "description": "Optional The service account of the instance
s. Defaults to the default Google Compute Engine service account. Custom service
accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.
logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/a
ccess/service-accounts#custom_service_accounts for more information). Example: [
account_id]@[project_id].iam.gserviceaccount.com", | 783 "description": "Optional The Google Compute Engine accelerat
or configuration for these instances.", |
673 "type": "string" | 784 "items": { |
674 }, | 785 "$ref": "AcceleratorConfiguration" |
675 "subnetworkUri": { | 786 }, |
676 "description": "The Google Compute Engine subnetwork to be u
sed for machine communications. Cannot be specified with network_uri. Example: h
ttps://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0
.", | 787 "type": "array" |
677 "type": "string" | 788 } |
678 }, | 789 }, |
| 790 "type": "object" |
| 791 }, |
| 792 "GceClusterConfiguration": { |
| 793 "description": "Common configuration settings for resources of Googl
e Compute Engine cluster instances, applicable to all instances in the cluster."
, |
| 794 "id": "GceClusterConfiguration", |
| 795 "properties": { |
679 "networkUri": { | 796 "networkUri": { |
680 "description": "The Google Compute Engine network to be used
for machine communications. Cannot be specified with subnetwork_uri. If neither
network_uri nor subnetwork_uri is specified, the \"default\" network of the pro
ject is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://c
loud.google.com/compute/docs/subnetworks for more information). Example: https:/
/www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.", | 797 "description": "The Google Compute Engine network to be used
for machine communications. Cannot be specified with subnetwork_uri. If neither
network_uri nor subnetwork_uri is specified, the \"default\" network of the pro
ject is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://c
loud.google.com/compute/docs/subnetworks for more information). Example: https:/
/www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default.", |
681 "type": "string" | 798 "type": "string" |
682 }, | 799 }, |
683 "zoneUri": { | 800 "zoneUri": { |
684 "description": "Required The zone where the Google Compute E
ngine cluster will be located. Example: https://www.googleapis.com/compute/v1/pr
ojects/[project_id]/zones/[zone].", | 801 "description": "Required The zone where the Google Compute E
ngine cluster will be located. Example: https://www.googleapis.com/compute/v1/pr
ojects/[project_id]/zones/[zone].", |
685 "type": "string" | 802 "type": "string" |
686 }, | 803 }, |
687 "metadata": { | 804 "metadata": { |
688 "additionalProperties": { | 805 "additionalProperties": { |
689 "type": "string" | 806 "type": "string" |
690 }, | 807 }, |
691 "description": "The Google Compute Engine metadata entries t
o add to all instances.", | 808 "description": "The Google Compute Engine metadata entries t
o add to all instances.", |
692 "type": "object" | 809 "type": "object" |
693 }, | 810 }, |
694 "internalIpOnly": { | 811 "internalIpOnly": { |
695 "description": "If true, all instances in the cluser will on
ly have internal IP addresses. By default, clusters are not restricted to intern
al IP addresses, and will have ephemeral external IP addresses assigned to each
instance. This restriction can only be enabled for subnetwork enabled networks,
and all off-cluster dependencies must be configured to be accessible without ext
ernal IP addresses.", | 812 "description": "If true, all instances in the cluser will on
ly have internal IP addresses. By default, clusters are not restricted to intern
al IP addresses, and will have ephemeral external IP addresses assigned to each
instance. This restriction can only be enabled for subnetwork enabled networks,
and all off-cluster dependencies must be configured to be accessible without ext
ernal IP addresses.", |
696 "type": "boolean" | 813 "type": "boolean" |
697 }, | 814 }, |
698 "serviceAccountScopes": { | 815 "serviceAccountScopes": { |
699 "description": "The URIs of service account scopes to be inc
luded in Google Compute Engine instances. The following base set of scopes is al
ways included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - h
ttps://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.co
m/auth/logging.write If no scopes are specfied, the following defaults are also
provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.co
m/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - ht
tps://www.googleapis.com/auth/devstorage.full_control", | 816 "description": "The URIs of service account scopes to be inc
luded in Google Compute Engine instances. The following base set of scopes is al
ways included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - h
ttps://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.co
m/auth/logging.write If no scopes are specfied, the following defaults are also
provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.co
m/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - ht
tps://www.googleapis.com/auth/devstorage.full_control", |
700 "items": { | 817 "items": { |
701 "type": "string" | 818 "type": "string" |
702 }, | 819 }, |
703 "type": "array" | 820 "type": "array" |
| 821 }, |
| 822 "tags": { |
| 823 "description": "The Google Compute Engine tags to add to all
instances.", |
| 824 "items": { |
| 825 "type": "string" |
| 826 }, |
| 827 "type": "array" |
| 828 }, |
| 829 "serviceAccount": { |
| 830 "description": "Optional The service account of the instance
s. Defaults to the default Google Compute Engine service account. Custom service
accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.
logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/a
ccess/service-accounts#custom_service_accounts for more information). Example: [
account_id]@[project_id].iam.gserviceaccount.com", |
| 831 "type": "string" |
| 832 }, |
| 833 "subnetworkUri": { |
| 834 "description": "The Google Compute Engine subnetwork to be u
sed for machine communications. Cannot be specified with network_uri. Example: h
ttps://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0
.", |
| 835 "type": "string" |
704 } | 836 } |
705 }, | 837 }, |
706 "type": "object" | 838 "type": "object" |
707 }, | 839 }, |
708 "CancelOperationRequest": { | 840 "CancelOperationRequest": { |
709 "description": "The request message for Operations.CancelOperation."
, | 841 "description": "The request message for Operations.CancelOperation."
, |
710 "id": "CancelOperationRequest", | 842 "id": "CancelOperationRequest", |
711 "properties": {}, | 843 "properties": {}, |
712 "type": "object" | 844 "type": "object" |
713 }, | 845 }, |
714 "DiagnoseClusterOutputLocation": { | 846 "DiagnoseClusterOutputLocation": { |
715 "description": "The location where output from diagnostic command ca
n be found.", | 847 "description": "The location of diagnostic output.", |
716 "id": "DiagnoseClusterOutputLocation", | 848 "id": "DiagnoseClusterOutputLocation", |
717 "properties": { | 849 "properties": { |
718 "outputUri": { | 850 "outputUri": { |
719 "description": "Output-only The Google Cloud Storage URI of
the diagnostic output. This will be a plain text file with summary of collected
diagnostics.", | 851 "description": "Output-only The Google Cloud Storage URI of
the diagnostic output. This is a plain text file with a summary of collected dia
gnostics.", |
720 "type": "string" | 852 "type": "string" |
721 } | 853 } |
722 }, | 854 }, |
723 "type": "object" | 855 "type": "object" |
724 }, | 856 }, |
725 "Operation": { | 857 "Operation": { |
726 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | 858 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
727 "id": "Operation", | 859 "id": "Operation", |
728 "properties": { | 860 "properties": { |
| 861 "done": { |
| 862 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", |
| 863 "type": "boolean" |
| 864 }, |
729 "response": { | 865 "response": { |
730 "additionalProperties": { | 866 "additionalProperties": { |
731 "description": "Properties of the object. Contains field
@type with type URL.", | 867 "description": "Properties of the object. Contains field
@type with type URL.", |
732 "type": "any" | 868 "type": "any" |
733 }, | 869 }, |
734 "description": "The normal response of the operation in case
of success. If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty. If the original method is standard Get/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", | 870 "description": "The normal response of the operation in case
of success. If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty. If the original method is standard Get/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", |
735 "type": "object" | 871 "type": "object" |
736 }, | 872 }, |
737 "name": { | 873 "name": { |
738 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", | 874 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", |
739 "type": "string" | 875 "type": "string" |
740 }, | 876 }, |
741 "error": { | 877 "error": { |
742 "$ref": "Status", | 878 "$ref": "Status", |
743 "description": "The error result of the operation in case of
failure or cancellation." | 879 "description": "The error result of the operation in case of
failure or cancellation." |
744 }, | 880 }, |
745 "metadata": { | 881 "metadata": { |
746 "additionalProperties": { | 882 "additionalProperties": { |
747 "description": "Properties of the object. Contains field
@type with type URL.", | 883 "description": "Properties of the object. Contains field
@type with type URL.", |
748 "type": "any" | 884 "type": "any" |
749 }, | 885 }, |
750 "description": "Service-specific metadata associated with th
e operation. It typically contains progress information and common metadata such
as create time. Some services might not provide such metadata. Any method that
returns a long-running operation should document the metadata type, if any.", | 886 "description": "Service-specific metadata associated with th
e operation. It typically contains progress information and common metadata such
as create time. Some services might not provide such metadata. Any method that
returns a long-running operation should document the metadata type, if any.", |
751 "type": "object" | 887 "type": "object" |
752 }, | |
753 "done": { | |
754 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", | |
755 "type": "boolean" | |
756 } | 888 } |
757 }, | 889 }, |
758 "type": "object" | 890 "type": "object" |
759 }, | 891 }, |
760 "OperationStatus": { | 892 "OperationStatus": { |
761 "description": "The status of the operation.", | 893 "description": "The status of the operation.", |
762 "id": "OperationStatus", | 894 "id": "OperationStatus", |
763 "properties": { | 895 "properties": { |
764 "innerState": { | |
765 "description": "A message containing the detailed operation
state.", | |
766 "type": "string" | |
767 }, | |
768 "stateStartTime": { | 896 "stateStartTime": { |
769 "description": "The time this state was entered.", | 897 "description": "The time this state was entered.", |
770 "format": "google-datetime", | 898 "format": "google-datetime", |
771 "type": "string" | 899 "type": "string" |
772 }, | 900 }, |
773 "state": { | 901 "state": { |
774 "description": "A message containing the operation state.", | 902 "description": "A message containing the operation state.", |
775 "enum": [ | 903 "enum": [ |
776 "UNKNOWN", | 904 "UNKNOWN", |
777 "PENDING", | 905 "PENDING", |
778 "RUNNING", | 906 "RUNNING", |
779 "DONE" | 907 "DONE" |
780 ], | 908 ], |
781 "enumDescriptions": [ | 909 "enumDescriptions": [ |
782 "Unused.", | 910 "Unused.", |
783 "The operation has been created.", | 911 "The operation has been created.", |
784 "The operation is running.", | 912 "The operation is running.", |
785 "The operation is done; either cancelled or completed." | 913 "The operation is done; either cancelled or completed." |
786 ], | 914 ], |
787 "type": "string" | 915 "type": "string" |
788 }, | 916 }, |
789 "details": { | 917 "details": { |
790 "description": "A message containing any operation metadata
details.", | 918 "description": "A message containing any operation metadata
details.", |
791 "type": "string" | 919 "type": "string" |
| 920 }, |
| 921 "innerState": { |
| 922 "description": "A message containing the detailed operation
state.", |
| 923 "type": "string" |
792 } | 924 } |
793 }, | 925 }, |
794 "type": "object" | 926 "type": "object" |
795 }, | 927 }, |
796 "JobReference": { | 928 "JobReference": { |
797 "description": "Encapsulates the full scoping used to reference a jo
b.", | 929 "description": "Encapsulates the full scoping used to reference a jo
b.", |
798 "id": "JobReference", | 930 "id": "JobReference", |
799 "properties": { | 931 "properties": { |
800 "projectId": { | 932 "projectId": { |
801 "description": "Required The ID of the Google Cloud Platform
project that the job belongs to.", | 933 "description": "Required The ID of the Google Cloud Platform
project that the job belongs to.", |
802 "type": "string" | 934 "type": "string" |
803 }, | 935 }, |
804 "jobId": { | 936 "jobId": { |
805 "description": "Required The job ID, which must be unique wi
thin the project. The job ID is generated by the server upon job submission or p
rovided by the user as a means to perform retries without creating duplicate job
s. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
or hyphens (-). The maximum length is 512 characters.", | 937 "description": "Required The job ID, which must be unique wi
thin the project. The job ID is generated by the server upon job submission or p
rovided by the user as a means to perform retries without creating duplicate job
s. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
or hyphens (-). The maximum length is 100 characters.", |
806 "type": "string" | 938 "type": "string" |
807 } | 939 } |
808 }, | 940 }, |
809 "type": "object" | 941 "type": "object" |
810 }, | 942 }, |
811 "SubmitJobRequest": { | 943 "SubmitJobRequest": { |
812 "description": "A request to submit a job.", | 944 "description": "A request to submit a job.", |
813 "id": "SubmitJobRequest", | 945 "id": "SubmitJobRequest", |
814 "properties": { | 946 "properties": { |
815 "job": { | 947 "job": { |
816 "$ref": "Job", | 948 "$ref": "Job", |
817 "description": "Required The job resource." | 949 "description": "Required The job resource." |
818 } | 950 } |
819 }, | 951 }, |
820 "type": "object" | 952 "type": "object" |
821 }, | 953 }, |
822 "Status": { | 954 "Status": { |
823 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s a predefined set of error detail types in the package google.rpc which can be
used for common error conditions.Language mappingThe Status message is the logic
al representation of the error model, but it is not necessarily the actual wire
format. When the Status message is exposed in different client libraries and dif
ferent wire protocols, it can be mapped differently. For example, it will likely
be mapped to some exceptions in Java, but more likely mapped to some error code
s in C.Other usesThe error model and the Status message can be used in a variety
of environments, either with or without APIs, to provide a consistent developer
experience across different environments.Example uses of this error model inclu
de:\nPartial errors. If a service needs to return partial errors to the client,
it may embed the Status in the normal response to indicate the partial errors.\n
Workflow errors. A typical workflow has multiple steps. Each step may have a Sta
tus message for error reporting purpose.\nBatch operations. If a client uses bat
ch request and batch response, the Status message should be used directly inside
batch response, one for each error sub-response.\nAsynchronous operations. If a
n API call embeds asynchronous operation results in its response, the status of
those operations should be represented directly using the Status message.\nLoggi
ng. If some API errors are stored in logs, the message Status could be used dire
ctly after any stripping needed for security/privacy reasons.", | 955 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s a predefined set of error detail types in the package google.rpc which can be
used for common error conditions.Language mappingThe Status message is the logic
al representation of the error model, but it is not necessarily the actual wire
format. When the Status message is exposed in different client libraries and dif
ferent wire protocols, it can be mapped differently. For example, it will likely
be mapped to some exceptions in Java, but more likely mapped to some error code
s in C.Other usesThe error model and the Status message can be used in a variety
of environments, either with or without APIs, to provide a consistent developer
experience across different environments.Example uses of this error model inclu
de:\nPartial errors. If a service needs to return partial errors to the client,
it may embed the Status in the normal response to indicate the partial errors.\n
Workflow errors. A typical workflow has multiple steps. Each step may have a Sta
tus message for error reporting purpose.\nBatch operations. If a client uses bat
ch request and batch response, the Status message should be used directly inside
batch response, one for each error sub-response.\nAsynchronous operations. If a
n API call embeds asynchronous operation results in its response, the status of
those operations should be represented directly using the Status message.\nLoggi
ng. If some API errors are stored in logs, the message Status could be used dire
ctly after any stripping needed for security/privacy reasons.", |
824 "id": "Status", | 956 "id": "Status", |
825 "properties": { | 957 "properties": { |
826 "code": { | |
827 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
828 "format": "int32", | |
829 "type": "integer" | |
830 }, | |
831 "message": { | 958 "message": { |
832 "description": "A developer-facing error message, which shou
ld be in English. Any user-facing error message should be localized and sent in
the google.rpc.Status.details field, or localized by the client.", | 959 "description": "A developer-facing error message, which shou
ld be in English. Any user-facing error message should be localized and sent in
the google.rpc.Status.details field, or localized by the client.", |
833 "type": "string" | 960 "type": "string" |
834 }, | 961 }, |
835 "details": { | 962 "details": { |
836 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", | 963 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", |
837 "items": { | 964 "items": { |
838 "additionalProperties": { | 965 "additionalProperties": { |
839 "description": "Properties of the object. Contains f
ield @type with type URL.", | 966 "description": "Properties of the object. Contains f
ield @type with type URL.", |
840 "type": "any" | 967 "type": "any" |
841 }, | 968 }, |
842 "type": "object" | 969 "type": "object" |
843 }, | 970 }, |
844 "type": "array" | 971 "type": "array" |
| 972 }, |
| 973 "code": { |
| 974 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 975 "format": "int32", |
| 976 "type": "integer" |
845 } | 977 } |
846 }, | 978 }, |
847 "type": "object" | 979 "type": "object" |
848 }, | 980 }, |
849 "JobScheduling": { | 981 "JobScheduling": { |
850 "description": "Job scheduling options.Beta Feature: These options a
re available for testing purposes only. They may be changed before final release
.", | 982 "description": "Job scheduling options.Beta Feature: These options a
re available for testing purposes only. They may be changed before final release
.", |
851 "id": "JobScheduling", | 983 "id": "JobScheduling", |
852 "properties": { | 984 "properties": { |
853 "maxFailuresPerHour": { | 985 "maxFailuresPerHour": { |
854 "description": "Optional Maximum number of times per hour a
driver may be restarted as a result of driver terminating with non-zero code bef
ore job is reported failed.A job may be reported as thrashing if driver exits wi
th non-zero code 4 times within 10 minute window.Maximum value is 10.", | 986 "description": "Optional Maximum number of times per hour a
driver may be restarted as a result of driver terminating with non-zero code bef
ore job is reported failed.A job may be reported as thrashing if driver exits wi
th non-zero code 4 times within 10 minute window.Maximum value is 10.", |
855 "format": "int32", | 987 "format": "int32", |
856 "type": "integer" | 988 "type": "integer" |
857 } | 989 } |
858 }, | 990 }, |
859 "type": "object" | 991 "type": "object" |
860 }, | 992 }, |
861 "NodeInitializationAction": { | 993 "NodeInitializationAction": { |
862 "description": "Specifies an executable to run on a fully configured
node and a timeout period for executable completion.", | 994 "description": "Specifies an executable to run on a fully configured
node and a timeout period for executable completion.", |
863 "id": "NodeInitializationAction", | 995 "id": "NodeInitializationAction", |
864 "properties": { | 996 "properties": { |
865 "executableFile": { | |
866 "description": "Required Google Cloud Storage URI of executa
ble file.", | |
867 "type": "string" | |
868 }, | |
869 "executionTimeout": { | 997 "executionTimeout": { |
870 "description": "Optional Amount of time executable has to co
mplete. Default is 10 minutes. Cluster creation fails with an explanatory error
message (the name of the executable that caused the error and the exceeded timeo
ut period) if the executable is not completed at end of the timeout period.", | 998 "description": "Optional Amount of time executable has to co
mplete. Default is 10 minutes. Cluster creation fails with an explanatory error
message (the name of the executable that caused the error and the exceeded timeo
ut period) if the executable is not completed at end of the timeout period.", |
871 "format": "google-duration", | 999 "format": "google-duration", |
872 "type": "string" | 1000 "type": "string" |
| 1001 }, |
| 1002 "executableFile": { |
| 1003 "description": "Required Google Cloud Storage URI of executa
ble file.", |
| 1004 "type": "string" |
873 } | 1005 } |
874 }, | 1006 }, |
875 "type": "object" | 1007 "type": "object" |
876 }, | 1008 }, |
877 "ListJobsResponse": { | 1009 "ListJobsResponse": { |
878 "description": "A list of jobs in a project.", | 1010 "description": "A list of jobs in a project.", |
879 "id": "ListJobsResponse", | 1011 "id": "ListJobsResponse", |
880 "properties": { | 1012 "properties": { |
881 "nextPageToken": { | |
882 "description": "Optional This token is included in the respo
nse if there are more results to fetch. To fetch additional results, provide thi
s value as the page_token in a subsequent <code>ListJobsRequest</code>.", | |
883 "type": "string" | |
884 }, | |
885 "jobs": { | 1013 "jobs": { |
886 "description": "Output-only Jobs list.", | 1014 "description": "Output-only Jobs list.", |
887 "items": { | 1015 "items": { |
888 "$ref": "Job" | 1016 "$ref": "Job" |
889 }, | 1017 }, |
890 "type": "array" | 1018 "type": "array" |
| 1019 }, |
| 1020 "nextPageToken": { |
| 1021 "description": "Optional This token is included in the respo
nse if there are more results to fetch. To fetch additional results, provide thi
s value as the page_token in a subsequent <code>ListJobsRequest</code>.", |
| 1022 "type": "string" |
891 } | 1023 } |
892 }, | 1024 }, |
893 "type": "object" | 1025 "type": "object" |
894 }, | 1026 }, |
895 "CancelJobRequest": { | 1027 "CancelJobRequest": { |
896 "description": "A request to cancel a job.", | 1028 "description": "A request to cancel a job.", |
897 "id": "CancelJobRequest", | 1029 "id": "CancelJobRequest", |
898 "properties": {}, | 1030 "properties": {}, |
899 "type": "object" | 1031 "type": "object" |
900 }, | 1032 }, |
901 "SparkSqlJob": { | 1033 "SparkSqlJob": { |
902 "description": "A Cloud Dataproc job for running Spark SQL queries."
, | 1034 "description": "A Cloud Dataproc job for running Spark SQL queries."
, |
903 "id": "SparkSqlJob", | 1035 "id": "SparkSqlJob", |
904 "properties": { | 1036 "properties": { |
| 1037 "queryFileUri": { |
| 1038 "description": "The HCFS URI of the script that contains SQL
queries.", |
| 1039 "type": "string" |
| 1040 }, |
905 "queryList": { | 1041 "queryList": { |
906 "$ref": "QueryList", | 1042 "$ref": "QueryList", |
907 "description": "A list of queries." | 1043 "description": "A list of queries." |
908 }, | 1044 }, |
909 "queryFileUri": { | |
910 "description": "The HCFS URI of the script that contains SQL
queries.", | |
911 "type": "string" | |
912 }, | |
913 "scriptVariables": { | 1045 "scriptVariables": { |
914 "additionalProperties": { | 1046 "additionalProperties": { |
915 "type": "string" | 1047 "type": "string" |
916 }, | 1048 }, |
917 "description": "Optional Mapping of query variable names to
values (equivalent to the Spark SQL command: SET name=\"value\";).", | 1049 "description": "Optional Mapping of query variable names to
values (equivalent to the Spark SQL command: SET name=\"value\";).", |
918 "type": "object" | 1050 "type": "object" |
919 }, | 1051 }, |
920 "jarFileUris": { | 1052 "jarFileUris": { |
921 "description": "Optional HCFS URIs of jar files to be added
to the Spark CLASSPATH.", | 1053 "description": "Optional HCFS URIs of jar files to be added
to the Spark CLASSPATH.", |
922 "items": { | 1054 "items": { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 "id": "OperationMetadata", | 1138 "id": "OperationMetadata", |
1007 "properties": { | 1139 "properties": { |
1008 "operationType": { | 1140 "operationType": { |
1009 "description": "Output-only The operation type.", | 1141 "description": "Output-only The operation type.", |
1010 "type": "string" | 1142 "type": "string" |
1011 }, | 1143 }, |
1012 "description": { | 1144 "description": { |
1013 "description": "Output-only Short description of operation."
, | 1145 "description": "Output-only Short description of operation."
, |
1014 "type": "string" | 1146 "type": "string" |
1015 }, | 1147 }, |
1016 "status": { | |
1017 "$ref": "OperationStatus", | |
1018 "description": "Output-only Current operation status." | |
1019 }, | |
1020 "state": { | |
1021 "description": "A message containing the operation state.", | |
1022 "enum": [ | |
1023 "UNKNOWN", | |
1024 "PENDING", | |
1025 "RUNNING", | |
1026 "DONE" | |
1027 ], | |
1028 "enumDescriptions": [ | |
1029 "Unused.", | |
1030 "The operation has been created.", | |
1031 "The operation is currently running.", | |
1032 "The operation is done, either cancelled or completed." | |
1033 ], | |
1034 "type": "string" | |
1035 }, | |
1036 "details": { | |
1037 "description": "A message containing any operation metadata
details.", | |
1038 "type": "string" | |
1039 }, | |
1040 "clusterName": { | |
1041 "description": "Name of the cluster for the operation.", | |
1042 "type": "string" | |
1043 }, | |
1044 "clusterUuid": { | |
1045 "description": "Cluster UUId for the operation.", | |
1046 "type": "string" | |
1047 }, | |
1048 "innerState": { | |
1049 "description": "A message containing the detailed operation
state.", | |
1050 "type": "string" | |
1051 }, | |
1052 "endTime": { | |
1053 "description": "The time that the operation completed.", | |
1054 "format": "google-datetime", | |
1055 "type": "string" | |
1056 }, | |
1057 "startTime": { | |
1058 "description": "The time that the operation was started by t
he server.", | |
1059 "format": "google-datetime", | |
1060 "type": "string" | |
1061 }, | |
1062 "warnings": { | 1148 "warnings": { |
1063 "description": "Output-only Errors encountered during operat
ion execution.", | 1149 "description": "Output-only Errors encountered during operat
ion execution.", |
1064 "items": { | 1150 "items": { |
1065 "type": "string" | 1151 "type": "string" |
1066 }, | 1152 }, |
1067 "type": "array" | 1153 "type": "array" |
1068 }, | 1154 }, |
1069 "insertTime": { | 1155 "status": { |
1070 "description": "The time that the operation was requested.", | 1156 "$ref": "OperationStatus", |
1071 "format": "google-datetime", | 1157 "description": "Output-only Current operation status." |
1072 "type": "string" | |
1073 }, | 1158 }, |
1074 "statusHistory": { | 1159 "statusHistory": { |
1075 "description": "Output-only Previous operation status.", | 1160 "description": "Output-only Previous operation status.", |
1076 "items": { | 1161 "items": { |
1077 "$ref": "OperationStatus" | 1162 "$ref": "OperationStatus" |
1078 }, | 1163 }, |
1079 "type": "array" | 1164 "type": "array" |
| 1165 }, |
| 1166 "clusterName": { |
| 1167 "description": "Name of the cluster for the operation.", |
| 1168 "type": "string" |
| 1169 }, |
| 1170 "clusterUuid": { |
| 1171 "description": "Cluster UUId for the operation.", |
| 1172 "type": "string" |
1080 } | 1173 } |
1081 }, | 1174 }, |
1082 "type": "object" | 1175 "type": "object" |
1083 }, | 1176 }, |
1084 "JobPlacement": { | 1177 "JobPlacement": { |
1085 "description": "Cloud Dataproc job configuration.", | 1178 "description": "Cloud Dataproc job configuration.", |
1086 "id": "JobPlacement", | 1179 "id": "JobPlacement", |
1087 "properties": { | 1180 "properties": { |
1088 "clusterName": { | 1181 "clusterName": { |
1089 "description": "Required The name of the cluster where the j
ob will be submitted.", | 1182 "description": "Required The name of the cluster where the j
ob will be submitted.", |
1090 "type": "string" | 1183 "type": "string" |
1091 }, | 1184 }, |
1092 "clusterUuid": { | 1185 "clusterUuid": { |
1093 "description": "Output-only A cluster UUID generated by the
Dataproc service when the job is submitted.", | 1186 "description": "Output-only A cluster UUID generated by the
Dataproc service when the job is submitted.", |
1094 "type": "string" | 1187 "type": "string" |
1095 } | 1188 } |
1096 }, | 1189 }, |
1097 "type": "object" | 1190 "type": "object" |
1098 }, | 1191 }, |
1099 "ClusterStatus": { | 1192 "ClusterStatus": { |
1100 "description": "The status of a cluster and its instances.", | 1193 "description": "The status of a cluster and its instances.", |
1101 "id": "ClusterStatus", | 1194 "id": "ClusterStatus", |
1102 "properties": { | 1195 "properties": { |
1103 "stateStartTime": { | |
1104 "description": "Time when this state was entered.", | |
1105 "format": "google-datetime", | |
1106 "type": "string" | |
1107 }, | |
1108 "detail": { | |
1109 "description": "Optional details of cluster's state.", | |
1110 "type": "string" | |
1111 }, | |
1112 "state": { | 1196 "state": { |
1113 "description": "The cluster's state.", | 1197 "description": "The cluster's state.", |
1114 "enum": [ | 1198 "enum": [ |
1115 "UNKNOWN", | 1199 "UNKNOWN", |
1116 "CREATING", | 1200 "CREATING", |
1117 "RUNNING", | 1201 "RUNNING", |
1118 "ERROR", | 1202 "ERROR", |
1119 "DELETING", | 1203 "DELETING", |
1120 "UPDATING" | 1204 "UPDATING" |
1121 ], | 1205 ], |
1122 "enumDescriptions": [ | 1206 "enumDescriptions": [ |
1123 "The cluster state is unknown.", | 1207 "The cluster state is unknown.", |
1124 "The cluster is being created and set up. It is not read
y for use.", | 1208 "The cluster is being created and set up. It is not read
y for use.", |
1125 "The cluster is currently running and healthy. It is rea
dy for use.", | 1209 "The cluster is currently running and healthy. It is rea
dy for use.", |
1126 "The cluster encountered an error. It is not ready for u
se.", | 1210 "The cluster encountered an error. It is not ready for u
se.", |
1127 "The cluster is being deleted. It cannot be used.", | 1211 "The cluster is being deleted. It cannot be used.", |
1128 "The cluster is being updated. It continues to accept an
d process jobs." | 1212 "The cluster is being updated. It continues to accept an
d process jobs." |
1129 ], | 1213 ], |
1130 "type": "string" | 1214 "type": "string" |
| 1215 }, |
| 1216 "stateStartTime": { |
| 1217 "description": "Time when this state was entered.", |
| 1218 "format": "google-datetime", |
| 1219 "type": "string" |
| 1220 }, |
| 1221 "detail": { |
| 1222 "description": "Optional details of cluster's state.", |
| 1223 "type": "string" |
1131 } | 1224 } |
1132 }, | 1225 }, |
1133 "type": "object" | 1226 "type": "object" |
1134 }, | 1227 }, |
1135 "PigJob": { | 1228 "PigJob": { |
1136 "description": "A Cloud Dataproc job for running Pig queries on YARN
.", | 1229 "description": "A Cloud Dataproc job for running Pig queries on YARN
.", |
1137 "id": "PigJob", | 1230 "id": "PigJob", |
1138 "properties": { | 1231 "properties": { |
1139 "continueOnFailure": { | 1232 "continueOnFailure": { |
1140 "description": "Optional Whether to continue executing queri
es if a query fails. The default value is false. Setting to true can be useful w
hen executing independent parallel queries.", | 1233 "description": "Optional Whether to continue executing queri
es if a query fails. The default value is false. Setting to true can be useful w
hen executing independent parallel queries.", |
1141 "type": "boolean" | 1234 "type": "boolean" |
1142 }, | 1235 }, |
| 1236 "queryFileUri": { |
| 1237 "description": "The HCFS URI of the script that contains the
Pig queries.", |
| 1238 "type": "string" |
| 1239 }, |
1143 "queryList": { | 1240 "queryList": { |
1144 "$ref": "QueryList", | 1241 "$ref": "QueryList", |
1145 "description": "A list of queries." | 1242 "description": "A list of queries." |
1146 }, | 1243 }, |
1147 "queryFileUri": { | |
1148 "description": "The HCFS URI of the script that contains the
Pig queries.", | |
1149 "type": "string" | |
1150 }, | |
1151 "jarFileUris": { | |
1152 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig U
DFs.", | |
1153 "items": { | |
1154 "type": "string" | |
1155 }, | |
1156 "type": "array" | |
1157 }, | |
1158 "scriptVariables": { | 1244 "scriptVariables": { |
1159 "additionalProperties": { | 1245 "additionalProperties": { |
1160 "type": "string" | 1246 "type": "string" |
1161 }, | 1247 }, |
1162 "description": "Optional Mapping of query variable names to
values (equivalent to the Pig command: name=[value]).", | 1248 "description": "Optional Mapping of query variable names to
values (equivalent to the Pig command: name=[value]).", |
1163 "type": "object" | 1249 "type": "object" |
1164 }, | 1250 }, |
| 1251 "jarFileUris": { |
| 1252 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig U
DFs.", |
| 1253 "items": { |
| 1254 "type": "string" |
| 1255 }, |
| 1256 "type": "array" |
| 1257 }, |
1165 "loggingConfiguration": { | 1258 "loggingConfiguration": { |
1166 "$ref": "LoggingConfiguration", | 1259 "$ref": "LoggingConfiguration", |
1167 "description": "Optional The runtime log configuration for j
ob execution." | 1260 "description": "Optional The runtime log configuration for j
ob execution." |
1168 }, | 1261 }, |
1169 "properties": { | 1262 "properties": { |
1170 "additionalProperties": { | 1263 "additionalProperties": { |
1171 "type": "string" | 1264 "type": "string" |
1172 }, | 1265 }, |
1173 "description": "Optional A mapping of property names to valu
es, used to configure Pig. Properties that conflict with values set by the Cloud
Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf
/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", | 1266 "description": "Optional A mapping of property names to valu
es, used to configure Pig. Properties that conflict with values set by the Cloud
Dataproc API may be overwritten. Can include properties set in /etc/hadoop/conf
/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", |
1174 "type": "object" | 1267 "type": "object" |
1175 } | 1268 } |
1176 }, | 1269 }, |
1177 "type": "object" | 1270 "type": "object" |
1178 }, | 1271 }, |
1179 "ManagedGroupConfiguration": { | 1272 "AcceleratorConfiguration": { |
1180 "description": "Specifies the resources used to actively manage an i
nstance group.", | 1273 "description": "Specifies the type and number of accelerator cards a
ttached to the instances of an instance group (see GPUs on Compute Engine).", |
1181 "id": "ManagedGroupConfiguration", | 1274 "id": "AcceleratorConfiguration", |
1182 "properties": { | 1275 "properties": { |
1183 "instanceGroupManagerName": { | 1276 "acceleratorTypeUri": { |
1184 "description": "Output-only The name of the Instance Group M
anager for this group.", | 1277 "description": "Full or partial URI of the accelerator type
resource to expose to this instance. See Google Compute Engine AcceleratorTypes(
/compute/docs/reference/beta/acceleratorTypes)", |
1185 "type": "string" | 1278 "type": "string" |
1186 }, | 1279 }, |
1187 "instanceTemplateName": { | 1280 "acceleratorCount": { |
1188 "description": "Output-only The name of the Instance Templat
e used for the Managed Instance Group.", | 1281 "description": "The number of the accelerator cards of this
type exposed to this instance.", |
1189 "type": "string" | 1282 "format": "int32", |
| 1283 "type": "integer" |
1190 } | 1284 } |
1191 }, | 1285 }, |
1192 "type": "object" | 1286 "type": "object" |
1193 }, | 1287 }, |
1194 "ListClustersResponse": { | 1288 "ListClustersResponse": { |
1195 "description": "The list of all clusters in a project.", | 1289 "description": "The list of all clusters in a project.", |
1196 "id": "ListClustersResponse", | 1290 "id": "ListClustersResponse", |
1197 "properties": { | 1291 "properties": { |
1198 "clusters": { | 1292 "clusters": { |
1199 "description": "Output-only The clusters in the project.", | 1293 "description": "Output-only The clusters in the project.", |
1200 "items": { | 1294 "items": { |
1201 "$ref": "Cluster" | 1295 "$ref": "Cluster" |
1202 }, | 1296 }, |
1203 "type": "array" | 1297 "type": "array" |
1204 }, | 1298 }, |
1205 "nextPageToken": { | 1299 "nextPageToken": { |
1206 "description": "The standard List next-page token.", | 1300 "description": "The standard List next-page token.", |
1207 "type": "string" | 1301 "type": "string" |
1208 } | 1302 } |
1209 }, | 1303 }, |
1210 "type": "object" | 1304 "type": "object" |
1211 }, | 1305 }, |
| 1306 "ManagedGroupConfiguration": { |
| 1307 "description": "Specifies the resources used to actively manage an i
nstance group.", |
| 1308 "id": "ManagedGroupConfiguration", |
| 1309 "properties": { |
| 1310 "instanceGroupManagerName": { |
| 1311 "description": "Output-only The name of the Instance Group M
anager for this group.", |
| 1312 "type": "string" |
| 1313 }, |
| 1314 "instanceTemplateName": { |
| 1315 "description": "Output-only The name of the Instance Templat
e used for the Managed Instance Group.", |
| 1316 "type": "string" |
| 1317 } |
| 1318 }, |
| 1319 "type": "object" |
| 1320 }, |
1212 "Job": { | 1321 "Job": { |
1213 "description": "A Cloud Dataproc job resource.", | 1322 "description": "A Cloud Dataproc job resource.", |
1214 "id": "Job", | 1323 "id": "Job", |
1215 "properties": { | 1324 "properties": { |
1216 "interactive": { | |
1217 "description": "Optional If set to true, the driver's stdin
will be kept open and driver_input_uri will be set to provide a path at which ad
ditional input can be sent to the driver.", | |
1218 "type": "boolean" | |
1219 }, | |
1220 "driverInputResourceUri": { | |
1221 "description": "Output-only A URI pointing to the location o
f the stdin of the job's driver program, only set if the job is interactive.", | |
1222 "type": "string" | |
1223 }, | |
1224 "hadoopJob": { | 1325 "hadoopJob": { |
1225 "$ref": "HadoopJob", | 1326 "$ref": "HadoopJob", |
1226 "description": "Job is a Hadoop job." | 1327 "description": "Job is a Hadoop job." |
1227 }, | 1328 }, |
| 1329 "placement": { |
| 1330 "$ref": "JobPlacement", |
| 1331 "description": "Required Job information, including how, whe
n, and where to run the job." |
| 1332 }, |
1228 "status": { | 1333 "status": { |
1229 "$ref": "JobStatus", | 1334 "$ref": "JobStatus", |
1230 "description": "Output-only The job status. Additional appli
cation-specific status information may be contained in the <code>type_job</code>
and <code>yarn_applications</code> fields." | 1335 "description": "Output-only The job status. Additional appli
cation-specific status information may be contained in the <code>type_job</code>
and <code>yarn_applications</code> fields." |
1231 }, | 1336 }, |
1232 "placement": { | |
1233 "$ref": "JobPlacement", | |
1234 "description": "Required Job information, including how, whe
n, and where to run the job." | |
1235 }, | |
1236 "driverControlFilesUri": { | 1337 "driverControlFilesUri": { |
1237 "description": "Output-only If present, the location of misc
ellaneous control files which may be used as part of job setup and handling. If
not present, control files may be placed in the same location as driver_output_u
ri.", | 1338 "description": "Output-only If present, the location of misc
ellaneous control files which may be used as part of job setup and handling. If
not present, control files may be placed in the same location as driver_output_u
ri.", |
1238 "type": "string" | 1339 "type": "string" |
1239 }, | 1340 }, |
1240 "submittedBy": { | 1341 "submittedBy": { |
1241 "description": "Output-only The email address of the user su
bmitting the job. For jobs submitted on the cluster, the address is <code>userna
me@hostname</code>.", | 1342 "description": "Output-only The email address of the user su
bmitting the job. For jobs submitted on the cluster, the address is <code>userna
me@hostname</code>.", |
1242 "type": "string" | 1343 "type": "string" |
1243 }, | 1344 }, |
1244 "scheduling": { | 1345 "scheduling": { |
1245 "$ref": "JobScheduling", | 1346 "$ref": "JobScheduling", |
(...skipping 15 matching lines...) Expand all Loading... |
1261 "type": "object" | 1362 "type": "object" |
1262 }, | 1363 }, |
1263 "driverOutputResourceUri": { | 1364 "driverOutputResourceUri": { |
1264 "description": "Output-only A URI pointing to the location o
f the stdout of the job's driver program.", | 1365 "description": "Output-only A URI pointing to the location o
f the stdout of the job's driver program.", |
1265 "type": "string" | 1366 "type": "string" |
1266 }, | 1367 }, |
1267 "sparkSqlJob": { | 1368 "sparkSqlJob": { |
1268 "$ref": "SparkSqlJob", | 1369 "$ref": "SparkSqlJob", |
1269 "description": "Job is a SparkSql job." | 1370 "description": "Job is a SparkSql job." |
1270 }, | 1371 }, |
| 1372 "sparkJob": { |
| 1373 "$ref": "SparkJob", |
| 1374 "description": "Job is a Spark job." |
| 1375 }, |
1271 "statusHistory": { | 1376 "statusHistory": { |
1272 "description": "Output-only The previous job status.", | 1377 "description": "Output-only The previous job status.", |
1273 "items": { | 1378 "items": { |
1274 "$ref": "JobStatus" | 1379 "$ref": "JobStatus" |
1275 }, | 1380 }, |
1276 "type": "array" | 1381 "type": "array" |
1277 }, | 1382 }, |
1278 "sparkJob": { | |
1279 "$ref": "SparkJob", | |
1280 "description": "Job is a Spark job." | |
1281 }, | |
1282 "yarnApplications": { | 1383 "yarnApplications": { |
1283 "description": "Output-only The collection of YARN applicati
ons spun up by this job.", | 1384 "description": "Output-only The collection of YARN applicati
ons spun up by this job.", |
1284 "items": { | 1385 "items": { |
1285 "$ref": "YarnApplication" | 1386 "$ref": "YarnApplication" |
1286 }, | 1387 }, |
1287 "type": "array" | 1388 "type": "array" |
1288 }, | 1389 }, |
1289 "pysparkJob": { | 1390 "pysparkJob": { |
1290 "$ref": "PySparkJob", | 1391 "$ref": "PySparkJob", |
1291 "description": "Job is a Pyspark job." | 1392 "description": "Job is a Pyspark job." |
1292 }, | 1393 }, |
1293 "reference": { | 1394 "reference": { |
1294 "$ref": "JobReference", | 1395 "$ref": "JobReference", |
1295 "description": "Optional The fully qualified reference to th
e job, which can be used to obtain the equivalent REST path of the job resource.
If this property is not specified when a job is created, the server generates a
<code>job_id</code>." | 1396 "description": "Optional The fully qualified reference to th
e job, which can be used to obtain the equivalent REST path of the job resource.
If this property is not specified when a job is created, the server generates a
<code>job_id</code>." |
| 1397 }, |
| 1398 "interactive": { |
| 1399 "description": "Optional If set to true, the driver's stdin
will be kept open and driver_input_uri will be set to provide a path at which ad
ditional input can be sent to the driver.", |
| 1400 "type": "boolean" |
| 1401 }, |
| 1402 "driverInputResourceUri": { |
| 1403 "description": "Output-only A URI pointing to the location o
f the stdin of the job's driver program, only set if the job is interactive.", |
| 1404 "type": "string" |
1296 } | 1405 } |
1297 }, | 1406 }, |
1298 "type": "object" | 1407 "type": "object" |
1299 }, | 1408 }, |
1300 "SparkJob": { | 1409 "SparkJob": { |
1301 "description": "A Cloud Dataproc job for running Spark applications
on YARN.", | 1410 "description": "A Cloud Dataproc job for running Spark applications
on YARN.", |
1302 "id": "SparkJob", | 1411 "id": "SparkJob", |
1303 "properties": { | 1412 "properties": { |
| 1413 "mainClass": { |
| 1414 "description": "The name of the driver's main class. The jar
file that contains the class must be in the default CLASSPATH or specified in j
ar_file_uris.", |
| 1415 "type": "string" |
| 1416 }, |
| 1417 "archiveUris": { |
| 1418 "description": "Optional HCFS URIs of archives to be extract
ed in the working directory of Spark drivers and tasks. Supported file types: .j
ar, .tar, .tar.gz, .tgz, and .zip.", |
| 1419 "items": { |
| 1420 "type": "string" |
| 1421 }, |
| 1422 "type": "array" |
| 1423 }, |
| 1424 "mainJarFileUri": { |
| 1425 "description": "The Hadoop Compatible Filesystem (HCFS) URI
of the jar file that contains the main class.", |
| 1426 "type": "string" |
| 1427 }, |
1304 "jarFileUris": { | 1428 "jarFileUris": { |
1305 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATHs of the Spark driver and tasks.", | 1429 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATHs of the Spark driver and tasks.", |
1306 "items": { | 1430 "items": { |
1307 "type": "string" | 1431 "type": "string" |
1308 }, | 1432 }, |
1309 "type": "array" | 1433 "type": "array" |
1310 }, | 1434 }, |
1311 "loggingConfiguration": { | 1435 "loggingConfiguration": { |
1312 "$ref": "LoggingConfiguration", | 1436 "$ref": "LoggingConfiguration", |
1313 "description": "Optional The runtime log configuration for j
ob execution." | 1437 "description": "Optional The runtime log configuration for j
ob execution." |
(...skipping 11 matching lines...) Expand all Loading... |
1325 "type": "string" | 1449 "type": "string" |
1326 }, | 1450 }, |
1327 "type": "array" | 1451 "type": "array" |
1328 }, | 1452 }, |
1329 "fileUris": { | 1453 "fileUris": { |
1330 "description": "Optional HCFS URIs of files to be copied to
the working directory of Spark drivers and distributed tasks. Useful for naively
parallel tasks.", | 1454 "description": "Optional HCFS URIs of files to be copied to
the working directory of Spark drivers and distributed tasks. Useful for naively
parallel tasks.", |
1331 "items": { | 1455 "items": { |
1332 "type": "string" | 1456 "type": "string" |
1333 }, | 1457 }, |
1334 "type": "array" | 1458 "type": "array" |
1335 }, | |
1336 "mainClass": { | |
1337 "description": "The name of the driver's main class. The jar
file that contains the class must be in the default CLASSPATH or specified in j
ar_file_uris.", | |
1338 "type": "string" | |
1339 }, | |
1340 "archiveUris": { | |
1341 "description": "Optional HCFS URIs of archives to be extract
ed in the working directory of Spark drivers and tasks. Supported file types: .j
ar, .tar, .tar.gz, .tgz, and .zip.", | |
1342 "items": { | |
1343 "type": "string" | |
1344 }, | |
1345 "type": "array" | |
1346 }, | |
1347 "mainJarFileUri": { | |
1348 "description": "The Hadoop Compatible Filesystem (HCFS) URI
of the jar file that contains the main class.", | |
1349 "type": "string" | |
1350 } | 1459 } |
1351 }, | 1460 }, |
1352 "type": "object" | 1461 "type": "object" |
1353 }, | 1462 }, |
1354 "DiskConfiguration": { | 1463 "DiskConfiguration": { |
1355 "description": "Specifies the configuration of disk options for a gr
oup of VM instances.", | 1464 "description": "Specifies the configuration of disk options for a gr
oup of VM instances.", |
1356 "id": "DiskConfiguration", | 1465 "id": "DiskConfiguration", |
1357 "properties": { | 1466 "properties": { |
1358 "bootDiskSizeGb": { | 1467 "bootDiskSizeGb": { |
1359 "description": "Optional Size in GB of the boot disk (defaul
t is 500GB).", | 1468 "description": "Optional Size in GB of the boot disk (defaul
t is 500GB).", |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 }, | 1622 }, |
1514 "type": "array" | 1623 "type": "array" |
1515 } | 1624 } |
1516 }, | 1625 }, |
1517 "type": "object" | 1626 "type": "object" |
1518 }, | 1627 }, |
1519 "YarnApplication": { | 1628 "YarnApplication": { |
1520 "description": "A YARN application created by a job. Application inf
ormation is a subset of <code>org.apache.hadoop.yarn.proto.YarnProtos.Applicatio
nReportProto</code>.", | 1629 "description": "A YARN application created by a job. Application inf
ormation is a subset of <code>org.apache.hadoop.yarn.proto.YarnProtos.Applicatio
nReportProto</code>.", |
1521 "id": "YarnApplication", | 1630 "id": "YarnApplication", |
1522 "properties": { | 1631 "properties": { |
1523 "progress": { | |
1524 "description": "Required The numerical progress of the appli
cation, from 1 to 100.", | |
1525 "format": "float", | |
1526 "type": "number" | |
1527 }, | |
1528 "state": { | 1632 "state": { |
1529 "description": "Required The application state.", | 1633 "description": "Required The application state.", |
1530 "enum": [ | 1634 "enum": [ |
1531 "STATE_UNSPECIFIED", | 1635 "STATE_UNSPECIFIED", |
1532 "NEW", | 1636 "NEW", |
1533 "NEW_SAVING", | 1637 "NEW_SAVING", |
1534 "SUBMITTED", | 1638 "SUBMITTED", |
1535 "ACCEPTED", | 1639 "ACCEPTED", |
1536 "RUNNING", | 1640 "RUNNING", |
1537 "FINISHED", | 1641 "FINISHED", |
(...skipping 13 matching lines...) Expand all Loading... |
1551 ], | 1655 ], |
1552 "type": "string" | 1656 "type": "string" |
1553 }, | 1657 }, |
1554 "name": { | 1658 "name": { |
1555 "description": "Required The application name.", | 1659 "description": "Required The application name.", |
1556 "type": "string" | 1660 "type": "string" |
1557 }, | 1661 }, |
1558 "trackingUrl": { | 1662 "trackingUrl": { |
1559 "description": "Optional The HTTP URL of the ApplicationMast
er, HistoryServer, or TimelineServer that provides application-specific informat
ion. The URL uses the internal hostname, and requires a proxy server for resolut
ion and, possibly, access.", | 1663 "description": "Optional The HTTP URL of the ApplicationMast
er, HistoryServer, or TimelineServer that provides application-specific informat
ion. The URL uses the internal hostname, and requires a proxy server for resolut
ion and, possibly, access.", |
1560 "type": "string" | 1664 "type": "string" |
| 1665 }, |
| 1666 "progress": { |
| 1667 "description": "Required The numerical progress of the appli
cation, from 1 to 100.", |
| 1668 "format": "float", |
| 1669 "type": "number" |
1561 } | 1670 } |
1562 }, | 1671 }, |
1563 "type": "object" | 1672 "type": "object" |
1564 }, | 1673 }, |
1565 "DiagnoseClusterRequest": { | 1674 "DiagnoseClusterRequest": { |
1566 "description": "A request to collect cluster diagnostic information.
", | 1675 "description": "A request to collect cluster diagnostic information.
", |
1567 "id": "DiagnoseClusterRequest", | 1676 "id": "DiagnoseClusterRequest", |
1568 "properties": {}, | 1677 "properties": {}, |
1569 "type": "object" | 1678 "type": "object" |
1570 }, | 1679 }, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1609 "description": "Output-only Cluster UUID for the operation."
, | 1718 "description": "Output-only Cluster UUID for the operation."
, |
1610 "type": "string" | 1719 "type": "string" |
1611 }, | 1720 }, |
1612 "clusterName": { | 1721 "clusterName": { |
1613 "description": "Output-only Name of the cluster for the oper
ation.", | 1722 "description": "Output-only Name of the cluster for the oper
ation.", |
1614 "type": "string" | 1723 "type": "string" |
1615 } | 1724 } |
1616 }, | 1725 }, |
1617 "type": "object" | 1726 "type": "object" |
1618 }, | 1727 }, |
1619 "Empty": { | |
1620 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance:\nservice Fo
o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J
SON representation for Empty is empty JSON object {}.", | |
1621 "id": "Empty", | |
1622 "properties": {}, | |
1623 "type": "object" | |
1624 }, | |
1625 "HiveJob": { | 1728 "HiveJob": { |
1626 "description": "A Cloud Dataproc job for running Hive queries on YAR
N.", | 1729 "description": "A Cloud Dataproc job for running Hive queries on YAR
N.", |
1627 "id": "HiveJob", | 1730 "id": "HiveJob", |
1628 "properties": { | 1731 "properties": { |
1629 "properties": { | |
1630 "additionalProperties": { | |
1631 "type": "string" | |
1632 }, | |
1633 "description": "Optional A mapping of property names and val
ues, used to configure Hive. Properties that conflict with values set by the Clo
ud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/co
nf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", | |
1634 "type": "object" | |
1635 }, | |
1636 "continueOnFailure": { | 1732 "continueOnFailure": { |
1637 "description": "Optional Whether to continue executing queri
es if a query fails. The default value is false. Setting to true can be useful w
hen executing independent parallel queries.", | 1733 "description": "Optional Whether to continue executing queri
es if a query fails. The default value is false. Setting to true can be useful w
hen executing independent parallel queries.", |
1638 "type": "boolean" | 1734 "type": "boolean" |
1639 }, | 1735 }, |
| 1736 "queryList": { |
| 1737 "$ref": "QueryList", |
| 1738 "description": "A list of queries." |
| 1739 }, |
1640 "queryFileUri": { | 1740 "queryFileUri": { |
1641 "description": "The HCFS URI of the script that contains Hiv
e queries.", | 1741 "description": "The HCFS URI of the script that contains Hiv
e queries.", |
1642 "type": "string" | 1742 "type": "string" |
1643 }, | 1743 }, |
1644 "queryList": { | 1744 "scriptVariables": { |
1645 "$ref": "QueryList", | 1745 "additionalProperties": { |
1646 "description": "A list of queries." | 1746 "type": "string" |
| 1747 }, |
| 1748 "description": "Optional Mapping of query variable names to
values (equivalent to the Hive command: SET name=\"value\";).", |
| 1749 "type": "object" |
1647 }, | 1750 }, |
1648 "jarFileUris": { | 1751 "jarFileUris": { |
1649 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive
SerDes and UDFs.", | 1752 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive
SerDes and UDFs.", |
1650 "items": { | 1753 "items": { |
1651 "type": "string" | 1754 "type": "string" |
1652 }, | 1755 }, |
1653 "type": "array" | 1756 "type": "array" |
1654 }, | 1757 }, |
1655 "scriptVariables": { | 1758 "properties": { |
1656 "additionalProperties": { | 1759 "additionalProperties": { |
1657 "type": "string" | 1760 "type": "string" |
1658 }, | 1761 }, |
1659 "description": "Optional Mapping of query variable names to
values (equivalent to the Hive command: SET name=\"value\";).", | 1762 "description": "Optional A mapping of property names and val
ues, used to configure Hive. Properties that conflict with values set by the Clo
ud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/co
nf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", |
1660 "type": "object" | 1763 "type": "object" |
1661 } | 1764 } |
1662 }, | 1765 }, |
1663 "type": "object" | 1766 "type": "object" |
1664 }, | 1767 }, |
| 1768 "Empty": { |
| 1769 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance:\nservice Fo
o {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n}\nThe J
SON representation for Empty is empty JSON object {}.", |
| 1770 "id": "Empty", |
| 1771 "properties": {}, |
| 1772 "type": "object" |
| 1773 }, |
1665 "DiagnoseClusterResults": { | 1774 "DiagnoseClusterResults": { |
1666 "description": "The location of diagnostic output.", | 1775 "description": "The location of diagnostic output.", |
1667 "id": "DiagnoseClusterResults", | 1776 "id": "DiagnoseClusterResults", |
1668 "properties": { | 1777 "properties": { |
1669 "outputUri": { | 1778 "outputUri": { |
1670 "description": "Output-only The Google Cloud Storage URI of
the diagnostic output. The output report is a plain text file with a summary of
collected diagnostics.", | 1779 "description": "Output-only The Google Cloud Storage URI of
the diagnostic output. The output report is a plain text file with a summary of
collected diagnostics.", |
1671 "type": "string" | 1780 "type": "string" |
1672 } | 1781 } |
1673 }, | 1782 }, |
1674 "type": "object" | 1783 "type": "object" |
(...skipping 13 matching lines...) Expand all Loading... |
1688 "description": "Optional The properties to set on daemon con
figuration files.Property keys are specified in \"prefix:property\" format, such
as \"core:fs.defaultFS\". The following are supported prefixes and their mappin
gs: core - core-site.xml hdfs - hdfs-site.xml mapred - mapred-site.xml yarn
- yarn-site.xml hive - hive-site.xml pig - pig.properties spark - spark-defau
lts.conf", | 1797 "description": "Optional The properties to set on daemon con
figuration files.Property keys are specified in \"prefix:property\" format, such
as \"core:fs.defaultFS\". The following are supported prefixes and their mappin
gs: core - core-site.xml hdfs - hdfs-site.xml mapred - mapred-site.xml yarn
- yarn-site.xml hive - hive-site.xml pig - pig.properties spark - spark-defau
lts.conf", |
1689 "type": "object" | 1798 "type": "object" |
1690 } | 1799 } |
1691 }, | 1800 }, |
1692 "type": "object" | 1801 "type": "object" |
1693 }, | 1802 }, |
1694 "PySparkJob": { | 1803 "PySparkJob": { |
1695 "description": "A Cloud Dataproc job for running PySpark application
s on YARN.", | 1804 "description": "A Cloud Dataproc job for running PySpark application
s on YARN.", |
1696 "id": "PySparkJob", | 1805 "id": "PySparkJob", |
1697 "properties": { | 1806 "properties": { |
1698 "fileUris": { | |
1699 "description": "Optional HCFS URIs of files to be copied to
the working directory of Python drivers and distributed tasks. Useful for naivel
y parallel tasks.", | |
1700 "items": { | |
1701 "type": "string" | |
1702 }, | |
1703 "type": "array" | |
1704 }, | |
1705 "pythonFileUris": { | |
1706 "description": "Optional HCFS file URIs of Python files to p
ass to the PySpark framework. Supported file types: .py, .egg, and .zip.", | |
1707 "items": { | |
1708 "type": "string" | |
1709 }, | |
1710 "type": "array" | |
1711 }, | |
1712 "mainPythonFileUri": { | |
1713 "description": "Required The Hadoop Compatible Filesystem (H
CFS) URI of the main Python file to use as the driver. Must be a .py file.", | |
1714 "type": "string" | |
1715 }, | |
1716 "archiveUris": { | |
1717 "description": "Optional HCFS URIs of archives to be extract
ed in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", | |
1718 "items": { | |
1719 "type": "string" | |
1720 }, | |
1721 "type": "array" | |
1722 }, | |
1723 "jarFileUris": { | 1807 "jarFileUris": { |
1724 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATHs of the Python driver and tasks.", | 1808 "description": "Optional HCFS URIs of jar files to add to th
e CLASSPATHs of the Python driver and tasks.", |
1725 "items": { | 1809 "items": { |
1726 "type": "string" | 1810 "type": "string" |
1727 }, | 1811 }, |
1728 "type": "array" | 1812 "type": "array" |
1729 }, | 1813 }, |
1730 "loggingConfiguration": { | 1814 "loggingConfiguration": { |
1731 "$ref": "LoggingConfiguration", | 1815 "$ref": "LoggingConfiguration", |
1732 "description": "Optional The runtime log configuration for j
ob execution." | 1816 "description": "Optional The runtime log configuration for j
ob execution." |
1733 }, | 1817 }, |
1734 "properties": { | 1818 "properties": { |
1735 "additionalProperties": { | 1819 "additionalProperties": { |
1736 "type": "string" | 1820 "type": "string" |
1737 }, | 1821 }, |
1738 "description": "Optional A mapping of property names to valu
es, used to configure PySpark. Properties that conflict with values set by the C
loud Dataproc API may be overwritten. Can include properties set in /etc/spark/c
onf/spark-defaults.conf and classes in user code.", | 1822 "description": "Optional A mapping of property names to valu
es, used to configure PySpark. Properties that conflict with values set by the C
loud Dataproc API may be overwritten. Can include properties set in /etc/spark/c
onf/spark-defaults.conf and classes in user code.", |
1739 "type": "object" | 1823 "type": "object" |
1740 }, | 1824 }, |
1741 "args": { | 1825 "args": { |
1742 "description": "Optional The arguments to pass to the driver
. Do not include arguments, such as --conf, that can be set as job properties, s
ince a collision may occur that causes an incorrect job submission.", | 1826 "description": "Optional The arguments to pass to the driver
. Do not include arguments, such as --conf, that can be set as job properties, s
ince a collision may occur that causes an incorrect job submission.", |
1743 "items": { | 1827 "items": { |
1744 "type": "string" | 1828 "type": "string" |
1745 }, | 1829 }, |
1746 "type": "array" | 1830 "type": "array" |
| 1831 }, |
| 1832 "fileUris": { |
| 1833 "description": "Optional HCFS URIs of files to be copied to
the working directory of Python drivers and distributed tasks. Useful for naivel
y parallel tasks.", |
| 1834 "items": { |
| 1835 "type": "string" |
| 1836 }, |
| 1837 "type": "array" |
| 1838 }, |
| 1839 "pythonFileUris": { |
| 1840 "description": "Optional HCFS file URIs of Python files to p
ass to the PySpark framework. Supported file types: .py, .egg, and .zip.", |
| 1841 "items": { |
| 1842 "type": "string" |
| 1843 }, |
| 1844 "type": "array" |
| 1845 }, |
| 1846 "mainPythonFileUri": { |
| 1847 "description": "Required The Hadoop Compatible Filesystem (H
CFS) URI of the main Python file to use as the driver. Must be a .py file.", |
| 1848 "type": "string" |
| 1849 }, |
| 1850 "archiveUris": { |
| 1851 "description": "Optional HCFS URIs of archives to be extract
ed in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", |
| 1852 "items": { |
| 1853 "type": "string" |
| 1854 }, |
| 1855 "type": "array" |
1747 } | 1856 } |
1748 }, | 1857 }, |
1749 "type": "object" | 1858 "type": "object" |
1750 }, | |
1751 "ClusterMetrics": { | |
1752 "description": "Contains cluster daemon metrics, such as HDFS and YA
RN stats.", | |
1753 "id": "ClusterMetrics", | |
1754 "properties": { | |
1755 "hdfsMetrics": { | |
1756 "additionalProperties": { | |
1757 "format": "int64", | |
1758 "type": "string" | |
1759 }, | |
1760 "description": "The HDFS metrics.", | |
1761 "type": "object" | |
1762 }, | |
1763 "yarnMetrics": { | |
1764 "additionalProperties": { | |
1765 "format": "int64", | |
1766 "type": "string" | |
1767 }, | |
1768 "description": "The YARN metrics.", | |
1769 "type": "object" | |
1770 } | |
1771 }, | |
1772 "type": "object" | |
1773 }, | |
1774 "ClusterConfiguration": { | |
1775 "description": "The cluster configuration.", | |
1776 "id": "ClusterConfiguration", | |
1777 "properties": { | |
1778 "secondaryWorkerConfiguration": { | |
1779 "$ref": "InstanceGroupConfiguration", | |
1780 "description": "Optional The Google Compute Engine configura
tion settings for additional worker instances in a cluster." | |
1781 }, | |
1782 "initializationActions": { | |
1783 "description": "Optional Commands to execute on each node af
ter configuration is completed. By default, executables are run on master and al
l worker nodes. You can test a node's <code>role</code> metadata to run an execu
table on a master or worker node, as shown below:\nROLE=$(/usr/share/google/get_
metadata_value attributes/role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... m
aster specific actions ...\nelse\n ... worker specific actions ...\nfi\n", | |
1784 "items": { | |
1785 "$ref": "NodeInitializationAction" | |
1786 }, | |
1787 "type": "array" | |
1788 }, | |
1789 "workerConfiguration": { | |
1790 "$ref": "InstanceGroupConfiguration", | |
1791 "description": "Optional The Google Compute Engine configura
tion settings for worker instances in a cluster." | |
1792 }, | |
1793 "softwareConfiguration": { | |
1794 "$ref": "SoftwareConfiguration", | |
1795 "description": "Optional The configuration settings for soft
ware inside the cluster." | |
1796 }, | |
1797 "gceClusterConfiguration": { | |
1798 "$ref": "GceClusterConfiguration", | |
1799 "description": "Required The shared Google Compute Engine co
nfiguration settings for all instances in a cluster." | |
1800 }, | |
1801 "configurationBucket": { | |
1802 "description": "Optional A Google Cloud Storage staging buck
et used for sharing generated SSH keys and configuration. If you do not specify
a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage loc
ation (US, ASIA, or EU) for your cluster's staging bucket according to the Googl
e Compute Engine zone where your cluster is deployed, and then it will create an
d manage this project-level, per-location bucket for you.", | |
1803 "type": "string" | |
1804 }, | |
1805 "masterConfiguration": { | |
1806 "$ref": "InstanceGroupConfiguration", | |
1807 "description": "Optional The Google Compute Engine configura
tion settings for the master instance in a cluster." | |
1808 } | |
1809 }, | |
1810 "type": "object" | |
1811 }, | |
1812 "LoggingConfiguration": { | |
1813 "description": "The runtime logging configuration of the job.", | |
1814 "id": "LoggingConfiguration", | |
1815 "properties": { | |
1816 "driverLogLevels": { | |
1817 "additionalProperties": { | |
1818 "enum": [ | |
1819 "LEVEL_UNSPECIFIED", | |
1820 "ALL", | |
1821 "TRACE", | |
1822 "DEBUG", | |
1823 "INFO", | |
1824 "WARN", | |
1825 "ERROR", | |
1826 "FATAL", | |
1827 "OFF" | |
1828 ], | |
1829 "type": "string" | |
1830 }, | |
1831 "description": "The per-package log levels for the driver. T
his may include \"root\" package name to configure rootLogger. Examples: 'com.g
oogle = FATAL', 'root = INFO', 'org.apache = DEBUG'", | |
1832 "type": "object" | |
1833 } | |
1834 }, | |
1835 "type": "object" | |
1836 }, | |
1837 "InstanceGroupConfiguration": { | |
1838 "description": "The configuration settings for Google Compute Engine
resources in an instance group, such as a master or worker group.", | |
1839 "id": "InstanceGroupConfiguration", | |
1840 "properties": { | |
1841 "diskConfiguration": { | |
1842 "$ref": "DiskConfiguration", | |
1843 "description": "Disk option configuration settings." | |
1844 }, | |
1845 "isPreemptible": { | |
1846 "description": "Specifies that this instance group contains
Preemptible Instances.", | |
1847 "type": "boolean" | |
1848 }, | |
1849 "imageUri": { | |
1850 "description": "Output-only The Google Compute Engine image
resource used for cluster instances. Inferred from SoftwareConfiguration.image_v
ersion.", | |
1851 "type": "string" | |
1852 }, | |
1853 "machineTypeUri": { | |
1854 "description": "The Google Compute Engine machine type used
for cluster instances. Example: https://www.googleapis.com/compute/v1/projects/[
project_id]/zones/us-east1-a/machineTypes/n1-standard-2.", | |
1855 "type": "string" | |
1856 }, | |
1857 "managedGroupConfiguration": { | |
1858 "$ref": "ManagedGroupConfiguration", | |
1859 "description": "Output-only The configuration for Google Com
pute Engine Instance Group Manager that manages this group. This is only used fo
r preemptible instance groups." | |
1860 }, | |
1861 "instanceNames": { | |
1862 "description": "The list of instance names. Dataproc derives
the names from cluster_name, num_instances, and the instance group if not set b
y user (recommended practice is to let Dataproc derive the name).", | |
1863 "items": { | |
1864 "type": "string" | |
1865 }, | |
1866 "type": "array" | |
1867 }, | |
1868 "numInstances": { | |
1869 "description": "The number of VM instances in the instance g
roup. For master instance groups, must be set to 1.", | |
1870 "format": "int32", | |
1871 "type": "integer" | |
1872 } | |
1873 }, | |
1874 "type": "object" | |
1875 } | 1859 } |
1876 }, | 1860 }, |
1877 "servicePath": "", | 1861 "servicePath": "", |
1878 "title": "Google Cloud Dataproc API", | 1862 "title": "Google Cloud Dataproc API", |
1879 "version": "v1beta1" | 1863 "version": "v1beta1" |
1880 } | 1864 } |
OLD | NEW |