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

Side by Side Diff: discovery/googleapis_beta/dataproc__v1beta1.json

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://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 "key": {
28 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
29 "location": "query",
30 "type": "string"
31 },
27 "access_token": { 32 "access_token": {
28 "description": "OAuth access token.", 33 "description": "OAuth access token.",
29 "location": "query", 34 "location": "query",
30 "type": "string" 35 "type": "string"
31 }, 36 },
32 "key": {
33 "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.",
34 "location": "query",
35 "type": "string"
36 },
37 "quotaUser": { 37 "quotaUser": {
38 "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.", 38 "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.",
39 "location": "query", 39 "location": "query",
40 "type": "string" 40 "type": "string"
41 }, 41 },
42 "pp": { 42 "pp": {
43 "default": "true", 43 "default": "true",
44 "description": "Pretty-print response.", 44 "description": "Pretty-print response.",
45 "location": "query", 45 "location": "query",
46 "type": "boolean" 46 "type": "boolean"
47 }, 47 },
48 "oauth_token": {
49 "description": "OAuth 2.0 token for the current user.",
50 "location": "query",
51 "type": "string"
52 },
48 "bearer_token": { 53 "bearer_token": {
49 "description": "OAuth bearer token.", 54 "description": "OAuth bearer token.",
50 "location": "query", 55 "location": "query",
51 "type": "string" 56 "type": "string"
52 }, 57 },
53 "oauth_token": {
54 "description": "OAuth 2.0 token for the current user.",
55 "location": "query",
56 "type": "string"
57 },
58 "upload_protocol": { 58 "upload_protocol": {
59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
60 "location": "query", 60 "location": "query",
61 "type": "string" 61 "type": "string"
62 }, 62 },
63 "prettyPrint": { 63 "prettyPrint": {
64 "default": "true", 64 "default": "true",
65 "description": "Returns response with indentations and line breaks." , 65 "description": "Returns response with indentations and line breaks." ,
66 "location": "query", 66 "location": "query",
67 "type": "boolean" 67 "type": "boolean"
68 }, 68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a par tial response.",
71 "location": "query",
72 "type": "string"
73 },
69 "uploadType": { 74 "uploadType": {
70 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 75 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
71 "location": "query", 76 "location": "query",
72 "type": "string" 77 "type": "string"
73 }, 78 },
74 "fields": {
75 "description": "Selector specifying which fields to include in a par tial response.",
76 "location": "query",
77 "type": "string"
78 },
79 "callback": { 79 "callback": {
80 "description": "JSONP", 80 "description": "JSONP",
81 "location": "query", 81 "location": "query",
82 "type": "string" 82 "type": "string"
83 }, 83 },
84 "$.xgafv": { 84 "$.xgafv": {
85 "description": "V1 error format.", 85 "description": "V1 error format.",
86 "enum": [ 86 "enum": [
87 "1", 87 "1",
88 "2" 88 "2"
(...skipping 17 matching lines...) Expand all
106 "Responses with Content-Type of application/json", 106 "Responses with Content-Type of application/json",
107 "Media download with context-dependent Content-Type", 107 "Media download with context-dependent Content-Type",
108 "Responses with Content-Type of application/x-protobuf" 108 "Responses with Content-Type of application/x-protobuf"
109 ], 109 ],
110 "location": "query", 110 "location": "query",
111 "type": "string" 111 "type": "string"
112 } 112 }
113 }, 113 },
114 "protocol": "rest", 114 "protocol": "rest",
115 "resources": { 115 "resources": {
116 "operations": {
117 "methods": {
118 "delete": {
119 "description": "Deletes a long-running operation. This metho d indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it ret urns google.rpc.Code.UNIMPLEMENTED.",
120 "httpMethod": "DELETE",
121 "id": "dataproc.operations.delete",
122 "parameterOrder": [
123 "name"
124 ],
125 "parameters": {
126 "name": {
127 "description": "The name of the operation resource t o be deleted.",
128 "location": "path",
129 "pattern": "^operations/.+$",
130 "required": true,
131 "type": "string"
132 }
133 },
134 "path": "v1beta1/{+name}",
135 "response": {
136 "$ref": "Empty"
137 },
138 "scopes": [
139 "https://www.googleapis.com/auth/cloud-platform"
140 ]
141 },
142 "list": {
143 "description": "Lists operations that match the specified fi lter in the request. If the server doesn't support this method, it returns UNIMP LEMENTED.NOTE: the name binding below allows API services to override the bindin g to use different resource name schemes, such as users/*/operations.",
144 "httpMethod": "GET",
145 "id": "dataproc.operations.list",
146 "parameterOrder": [
147 "name"
148 ],
149 "parameters": {
150 "filter": {
151 "description": "The standard list filter.",
152 "location": "query",
153 "type": "string"
154 },
155 "pageToken": {
156 "description": "The standard list page token.",
157 "location": "query",
158 "type": "string"
159 },
160 "name": {
161 "description": "The name of the operation's parent r esource.",
162 "location": "path",
163 "pattern": "^operations$",
164 "required": true,
165 "type": "string"
166 },
167 "pageSize": {
168 "description": "The standard list page size.",
169 "format": "int32",
170 "location": "query",
171 "type": "integer"
172 }
173 },
174 "path": "v1beta1/{+name}",
175 "response": {
176 "$ref": "ListOperationsResponse"
177 },
178 "scopes": [
179 "https://www.googleapis.com/auth/cloud-platform"
180 ]
181 },
182 "get": {
183 "description": "Gets the latest state of a long-running oper ation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
184 "httpMethod": "GET",
185 "id": "dataproc.operations.get",
186 "parameterOrder": [
187 "name"
188 ],
189 "parameters": {
190 "name": {
191 "description": "The name of the operation resource." ,
192 "location": "path",
193 "pattern": "^operations/.+$",
194 "required": true,
195 "type": "string"
196 }
197 },
198 "path": "v1beta1/{+name}",
199 "response": {
200 "$ref": "Operation"
201 },
202 "scopes": [
203 "https://www.googleapis.com/auth/cloud-platform"
204 ]
205 },
206 "cancel": {
207 "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.",
208 "httpMethod": "POST",
209 "id": "dataproc.operations.cancel",
210 "parameterOrder": [
211 "name"
212 ],
213 "parameters": {
214 "name": {
215 "description": "The name of the operation resource t o be cancelled.",
216 "location": "path",
217 "pattern": "^operations/.+$",
218 "required": true,
219 "type": "string"
220 }
221 },
222 "path": "v1beta1/{+name}:cancel",
223 "request": {
224 "$ref": "CancelOperationRequest"
225 },
226 "response": {
227 "$ref": "Empty"
228 },
229 "scopes": [
230 "https://www.googleapis.com/auth/cloud-platform"
231 ]
232 }
233 }
234 },
116 "projects": { 235 "projects": {
117 "resources": { 236 "resources": {
237 "clusters": {
238 "methods": {
239 "diagnose": {
240 "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseCl usterOutputLocation.",
241 "httpMethod": "POST",
242 "id": "dataproc.projects.clusters.diagnose",
243 "parameterOrder": [
244 "projectId",
245 "clusterName"
246 ],
247 "parameters": {
248 "projectId": {
249 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.",
250 "location": "path",
251 "required": true,
252 "type": "string"
253 },
254 "clusterName": {
255 "description": "Required The cluster name.",
256 "location": "path",
257 "required": true,
258 "type": "string"
259 }
260 },
261 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}:diagnose",
262 "request": {
263 "$ref": "DiagnoseClusterRequest"
264 },
265 "response": {
266 "$ref": "Operation"
267 },
268 "scopes": [
269 "https://www.googleapis.com/auth/cloud-platform"
270 ]
271 },
272 "delete": {
273 "description": "Deletes a cluster in a project.",
274 "httpMethod": "DELETE",
275 "id": "dataproc.projects.clusters.delete",
276 "parameterOrder": [
277 "projectId",
278 "clusterName"
279 ],
280 "parameters": {
281 "clusterName": {
282 "description": "Required The cluster name.",
283 "location": "path",
284 "required": true,
285 "type": "string"
286 },
287 "projectId": {
288 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.",
289 "location": "path",
290 "required": true,
291 "type": "string"
292 }
293 },
294 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}",
295 "response": {
296 "$ref": "Operation"
297 },
298 "scopes": [
299 "https://www.googleapis.com/auth/cloud-platform"
300 ]
301 },
302 "list": {
303 "description": "Lists all clusters in a project.",
304 "httpMethod": "GET",
305 "id": "dataproc.projects.clusters.list",
306 "parameterOrder": [
307 "projectId"
308 ],
309 "parameters": {
310 "filter": {
311 "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)",
312 "location": "query",
313 "type": "string"
314 },
315 "pageToken": {
316 "description": "The standard List page token .",
317 "location": "query",
318 "type": "string"
319 },
320 "pageSize": {
321 "description": "The standard List page size. ",
322 "format": "int32",
323 "location": "query",
324 "type": "integer"
325 },
326 "projectId": {
327 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.",
328 "location": "path",
329 "required": true,
330 "type": "string"
331 }
332 },
333 "path": "v1beta1/projects/{projectId}/clusters",
334 "response": {
335 "$ref": "ListClustersResponse"
336 },
337 "scopes": [
338 "https://www.googleapis.com/auth/cloud-platform"
339 ]
340 },
341 "create": {
342 "description": "Creates a cluster in a project.",
343 "httpMethod": "POST",
344 "id": "dataproc.projects.clusters.create",
345 "parameterOrder": [
346 "projectId"
347 ],
348 "parameters": {
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",
357 "request": {
358 "$ref": "Cluster"
359 },
360 "response": {
361 "$ref": "Operation"
362 },
363 "scopes": [
364 "https://www.googleapis.com/auth/cloud-platform"
365 ]
366 },
367 "patch": {
368 "description": "Updates a cluster in a project.",
369 "httpMethod": "PATCH",
370 "id": "dataproc.projects.clusters.patch",
371 "parameterOrder": [
372 "projectId",
373 "clusterName"
374 ],
375 "parameters": {
376 "updateMask": {
377 "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.",
378 "format": "google-fieldmask",
379 "location": "query",
380 "type": "string"
381 },
382 "clusterName": {
383 "description": "Required The cluster name.",
384 "location": "path",
385 "required": true,
386 "type": "string"
387 },
388 "projectId": {
389 "description": "Required The ID of the Googl e Cloud Platform project the cluster belongs to.",
390 "location": "path",
391 "required": true,
392 "type": "string"
393 }
394 },
395 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}",
396 "request": {
397 "$ref": "Cluster"
398 },
399 "response": {
400 "$ref": "Operation"
401 },
402 "scopes": [
403 "https://www.googleapis.com/auth/cloud-platform"
404 ]
405 },
406 "get": {
407 "description": "Gets the resource representation for a cluster in a project.",
408 "httpMethod": "GET",
409 "id": "dataproc.projects.clusters.get",
410 "parameterOrder": [
411 "projectId",
412 "clusterName"
413 ],
414 "parameters": {
415 "clusterName": {
416 "description": "Required The cluster name.",
417 "location": "path",
418 "required": true,
419 "type": "string"
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/{clus terName}",
429 "response": {
430 "$ref": "Cluster"
431 },
432 "scopes": [
433 "https://www.googleapis.com/auth/cloud-platform"
434 ]
435 }
436 }
437 },
118 "jobs": { 438 "jobs": {
119 "methods": { 439 "methods": {
120 "cancel": {
121 "description": "Starts a job cancellation request. T o access the job resource after cancellation, call jobs.list or jobs.get.",
122 "httpMethod": "POST",
123 "id": "dataproc.projects.jobs.cancel",
124 "parameterOrder": [
125 "projectId",
126 "jobId"
127 ],
128 "parameters": {
129 "projectId": {
130 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
131 "location": "path",
132 "required": true,
133 "type": "string"
134 },
135 "jobId": {
136 "description": "Required The job ID.",
137 "location": "path",
138 "required": true,
139 "type": "string"
140 }
141 },
142 "path": "v1beta1/projects/{projectId}/jobs/{jobId}:c ancel",
143 "request": {
144 "$ref": "CancelJobRequest"
145 },
146 "response": {
147 "$ref": "Job"
148 },
149 "scopes": [
150 "https://www.googleapis.com/auth/cloud-platform"
151 ]
152 },
153 "patch": {
154 "description": "Updates a job in a project.",
155 "httpMethod": "PATCH",
156 "id": "dataproc.projects.jobs.patch",
157 "parameterOrder": [
158 "projectId",
159 "jobId"
160 ],
161 "parameters": {
162 "projectId": {
163 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
164 "location": "path",
165 "required": true,
166 "type": "string"
167 },
168 "jobId": {
169 "description": "Required The job ID.",
170 "location": "path",
171 "required": true,
172 "type": "string"
173 },
174 "updateMask": {
175 "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.",
176 "format": "google-fieldmask",
177 "location": "query",
178 "type": "string"
179 }
180 },
181 "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
182 "request": {
183 "$ref": "Job"
184 },
185 "response": {
186 "$ref": "Job"
187 },
188 "scopes": [
189 "https://www.googleapis.com/auth/cloud-platform"
190 ]
191 },
192 "get": {
193 "description": "Gets the resource representation for a job in a project.",
194 "httpMethod": "GET",
195 "id": "dataproc.projects.jobs.get",
196 "parameterOrder": [
197 "projectId",
198 "jobId"
199 ],
200 "parameters": {
201 "projectId": {
202 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
203 "location": "path",
204 "required": true,
205 "type": "string"
206 },
207 "jobId": {
208 "description": "Required The job ID.",
209 "location": "path",
210 "required": true,
211 "type": "string"
212 }
213 },
214 "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
215 "response": {
216 "$ref": "Job"
217 },
218 "scopes": [
219 "https://www.googleapis.com/auth/cloud-platform"
220 ]
221 },
222 "submit": {
223 "description": "Submits a job to a cluster.",
224 "httpMethod": "POST",
225 "id": "dataproc.projects.jobs.submit",
226 "parameterOrder": [
227 "projectId"
228 ],
229 "parameters": {
230 "projectId": {
231 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
232 "location": "path",
233 "required": true,
234 "type": "string"
235 }
236 },
237 "path": "v1beta1/projects/{projectId}/jobs:submit",
238 "request": {
239 "$ref": "SubmitJobRequest"
240 },
241 "response": {
242 "$ref": "Job"
243 },
244 "scopes": [
245 "https://www.googleapis.com/auth/cloud-platform"
246 ]
247 },
248 "delete": { 440 "delete": {
249 "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITI ON.", 441 "description": "Deletes the job from the project. If the job is active, the delete fails, and the response returns FAILED_PRECONDITI ON.",
250 "httpMethod": "DELETE", 442 "httpMethod": "DELETE",
251 "id": "dataproc.projects.jobs.delete", 443 "id": "dataproc.projects.jobs.delete",
252 "parameterOrder": [ 444 "parameterOrder": [
253 "projectId", 445 "projectId",
254 "jobId" 446 "jobId"
255 ], 447 ],
256 "parameters": { 448 "parameters": {
257 "projectId": {
258 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
259 "location": "path",
260 "required": true,
261 "type": "string"
262 },
263 "jobId": { 449 "jobId": {
264 "description": "Required The job ID.", 450 "description": "Required The job ID.",
265 "location": "path", 451 "location": "path",
266 "required": true, 452 "required": true,
267 "type": "string" 453 "type": "string"
454 },
455 "projectId": {
456 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
457 "location": "path",
458 "required": true,
459 "type": "string"
268 } 460 }
269 }, 461 },
270 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", 462 "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
271 "response": { 463 "response": {
272 "$ref": "Empty" 464 "$ref": "Empty"
273 }, 465 },
274 "scopes": [ 466 "scopes": [
275 "https://www.googleapis.com/auth/cloud-platform" 467 "https://www.googleapis.com/auth/cloud-platform"
276 ] 468 ]
277 }, 469 },
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 "type": "string" 513 "type": "string"
322 } 514 }
323 }, 515 },
324 "path": "v1beta1/projects/{projectId}/jobs", 516 "path": "v1beta1/projects/{projectId}/jobs",
325 "response": { 517 "response": {
326 "$ref": "ListJobsResponse" 518 "$ref": "ListJobsResponse"
327 }, 519 },
328 "scopes": [ 520 "scopes": [
329 "https://www.googleapis.com/auth/cloud-platform" 521 "https://www.googleapis.com/auth/cloud-platform"
330 ] 522 ]
331 } 523 },
332 } 524 "cancel": {
333 }, 525 "description": "Starts a job cancellation request. T o access the job resource after cancellation, call jobs.list or jobs.get.",
334 "clusters": {
335 "methods": {
336 "diagnose": {
337 "description": "Gets cluster diagnostic information. After the operation completes, the Operation.response field contains DiagnoseCl usterOutputLocation.",
338 "httpMethod": "POST", 526 "httpMethod": "POST",
339 "id": "dataproc.projects.clusters.diagnose", 527 "id": "dataproc.projects.jobs.cancel",
340 "parameterOrder": [ 528 "parameterOrder": [
341 "projectId", 529 "projectId",
342 "clusterName" 530 "jobId"
343 ], 531 ],
344 "parameters": { 532 "parameters": {
345 "clusterName": { 533 "jobId": {
346 "description": "Required The cluster name.", 534 "description": "Required The job ID.",
347 "location": "path", 535 "location": "path",
348 "required": true, 536 "required": true,
349 "type": "string" 537 "type": "string"
350 }, 538 },
351 "projectId": { 539 "projectId": {
352 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.", 540 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
353 "location": "path", 541 "location": "path",
354 "required": true, 542 "required": true,
355 "type": "string" 543 "type": "string"
356 } 544 }
357 }, 545 },
358 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}:diagnose", 546 "path": "v1beta1/projects/{projectId}/jobs/{jobId}:c ancel",
359 "request": { 547 "request": {
360 "$ref": "DiagnoseClusterRequest" 548 "$ref": "CancelJobRequest"
361 }, 549 },
362 "response": { 550 "response": {
363 "$ref": "Operation" 551 "$ref": "Job"
364 }, 552 },
365 "scopes": [ 553 "scopes": [
366 "https://www.googleapis.com/auth/cloud-platform" 554 "https://www.googleapis.com/auth/cloud-platform"
367 ] 555 ]
368 }, 556 },
369 "delete": { 557 "patch": {
370 "description": "Deletes a cluster in a project.", 558 "description": "Updates a job in a project.",
371 "httpMethod": "DELETE", 559 "httpMethod": "PATCH",
372 "id": "dataproc.projects.clusters.delete", 560 "id": "dataproc.projects.jobs.patch",
373 "parameterOrder": [ 561 "parameterOrder": [
374 "projectId", 562 "projectId",
375 "clusterName" 563 "jobId"
376 ], 564 ],
377 "parameters": { 565 "parameters": {
378 "clusterName": { 566 "updateMask": {
379 "description": "Required The cluster name.", 567 "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.",
568 "format": "google-fieldmask",
569 "location": "query",
570 "type": "string"
571 },
572 "jobId": {
573 "description": "Required The job ID.",
380 "location": "path", 574 "location": "path",
381 "required": true, 575 "required": true,
382 "type": "string" 576 "type": "string"
383 }, 577 },
384 "projectId": { 578 "projectId": {
385 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.", 579 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
386 "location": "path", 580 "location": "path",
387 "required": true, 581 "required": true,
388 "type": "string" 582 "type": "string"
389 } 583 }
390 }, 584 },
391 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}", 585 "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
392 "response": {
393 "$ref": "Operation"
394 },
395 "scopes": [
396 "https://www.googleapis.com/auth/cloud-platform"
397 ]
398 },
399 "list": {
400 "description": "Lists all clusters in a project.",
401 "httpMethod": "GET",
402 "id": "dataproc.projects.clusters.list",
403 "parameterOrder": [
404 "projectId"
405 ],
406 "parameters": {
407 "filter": {
408 "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)",
409 "location": "query",
410 "type": "string"
411 },
412 "pageToken": {
413 "description": "The standard List page token .",
414 "location": "query",
415 "type": "string"
416 },
417 "pageSize": {
418 "description": "The standard List page size. ",
419 "format": "int32",
420 "location": "query",
421 "type": "integer"
422 },
423 "projectId": {
424 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.",
425 "location": "path",
426 "required": true,
427 "type": "string"
428 }
429 },
430 "path": "v1beta1/projects/{projectId}/clusters",
431 "response": {
432 "$ref": "ListClustersResponse"
433 },
434 "scopes": [
435 "https://www.googleapis.com/auth/cloud-platform"
436 ]
437 },
438 "create": {
439 "description": "Creates a cluster in a project.",
440 "httpMethod": "POST",
441 "id": "dataproc.projects.clusters.create",
442 "parameterOrder": [
443 "projectId"
444 ],
445 "parameters": {
446 "projectId": {
447 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.",
448 "location": "path",
449 "required": true,
450 "type": "string"
451 }
452 },
453 "path": "v1beta1/projects/{projectId}/clusters",
454 "request": { 586 "request": {
455 "$ref": "Cluster" 587 "$ref": "Job"
456 }, 588 },
457 "response": { 589 "response": {
458 "$ref": "Operation" 590 "$ref": "Job"
459 }, 591 },
460 "scopes": [ 592 "scopes": [
461 "https://www.googleapis.com/auth/cloud-platform" 593 "https://www.googleapis.com/auth/cloud-platform"
462 ] 594 ]
463 }, 595 },
464 "get": { 596 "get": {
465 "description": "Gets the resource representation for a cluster in a project.", 597 "description": "Gets the resource representation for a job in a project.",
466 "httpMethod": "GET", 598 "httpMethod": "GET",
467 "id": "dataproc.projects.clusters.get", 599 "id": "dataproc.projects.jobs.get",
468 "parameterOrder": [ 600 "parameterOrder": [
469 "projectId", 601 "projectId",
470 "clusterName" 602 "jobId"
471 ], 603 ],
472 "parameters": { 604 "parameters": {
473 "clusterName": { 605 "jobId": {
474 "description": "Required The cluster name.", 606 "description": "Required The job ID.",
475 "location": "path", 607 "location": "path",
476 "required": true, 608 "required": true,
477 "type": "string" 609 "type": "string"
478 }, 610 },
479 "projectId": { 611 "projectId": {
480 "description": "Required The ID of the Googl e Cloud Platform project that the cluster belongs to.", 612 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
481 "location": "path", 613 "location": "path",
482 "required": true, 614 "required": true,
483 "type": "string" 615 "type": "string"
484 } 616 }
485 }, 617 },
486 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}", 618 "path": "v1beta1/projects/{projectId}/jobs/{jobId}",
487 "response": { 619 "response": {
488 "$ref": "Cluster" 620 "$ref": "Job"
489 }, 621 },
490 "scopes": [ 622 "scopes": [
491 "https://www.googleapis.com/auth/cloud-platform" 623 "https://www.googleapis.com/auth/cloud-platform"
492 ] 624 ]
493 }, 625 },
494 "patch": { 626 "submit": {
495 "description": "Updates a cluster in a project.", 627 "description": "Submits a job to a cluster.",
496 "httpMethod": "PATCH", 628 "httpMethod": "POST",
497 "id": "dataproc.projects.clusters.patch", 629 "id": "dataproc.projects.jobs.submit",
498 "parameterOrder": [ 630 "parameterOrder": [
499 "projectId", 631 "projectId"
500 "clusterName"
501 ], 632 ],
502 "parameters": { 633 "parameters": {
503 "projectId": { 634 "projectId": {
504 "description": "Required The ID of the Googl e Cloud Platform project the cluster belongs to.", 635 "description": "Required The ID of the Googl e Cloud Platform project that the job belongs to.",
505 "location": "path",
506 "required": true,
507 "type": "string"
508 },
509 "updateMask": {
510 "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.",
511 "format": "google-fieldmask",
512 "location": "query",
513 "type": "string"
514 },
515 "clusterName": {
516 "description": "Required The cluster name.",
517 "location": "path", 636 "location": "path",
518 "required": true, 637 "required": true,
519 "type": "string" 638 "type": "string"
520 } 639 }
521 }, 640 },
522 "path": "v1beta1/projects/{projectId}/clusters/{clus terName}", 641 "path": "v1beta1/projects/{projectId}/jobs:submit",
523 "request": { 642 "request": {
524 "$ref": "Cluster" 643 "$ref": "SubmitJobRequest"
525 }, 644 },
526 "response": { 645 "response": {
527 "$ref": "Operation" 646 "$ref": "Job"
528 }, 647 },
529 "scopes": [ 648 "scopes": [
530 "https://www.googleapis.com/auth/cloud-platform" 649 "https://www.googleapis.com/auth/cloud-platform"
531 ] 650 ]
532 } 651 }
533 } 652 }
534 } 653 }
535 } 654 }
536 },
537 "operations": {
538 "methods": {
539 "cancel": {
540 "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.",
541 "httpMethod": "POST",
542 "id": "dataproc.operations.cancel",
543 "parameterOrder": [
544 "name"
545 ],
546 "parameters": {
547 "name": {
548 "description": "The name of the operation resource t o be cancelled.",
549 "location": "path",
550 "pattern": "^operations/.+$",
551 "required": true,
552 "type": "string"
553 }
554 },
555 "path": "v1beta1/{+name}:cancel",
556 "request": {
557 "$ref": "CancelOperationRequest"
558 },
559 "response": {
560 "$ref": "Empty"
561 },
562 "scopes": [
563 "https://www.googleapis.com/auth/cloud-platform"
564 ]
565 },
566 "delete": {
567 "description": "Deletes a long-running operation. This metho d indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it ret urns google.rpc.Code.UNIMPLEMENTED.",
568 "httpMethod": "DELETE",
569 "id": "dataproc.operations.delete",
570 "parameterOrder": [
571 "name"
572 ],
573 "parameters": {
574 "name": {
575 "description": "The name of the operation resource t o be deleted.",
576 "location": "path",
577 "pattern": "^operations/.+$",
578 "required": true,
579 "type": "string"
580 }
581 },
582 "path": "v1beta1/{+name}",
583 "response": {
584 "$ref": "Empty"
585 },
586 "scopes": [
587 "https://www.googleapis.com/auth/cloud-platform"
588 ]
589 },
590 "get": {
591 "description": "Gets the latest state of a long-running oper ation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
592 "httpMethod": "GET",
593 "id": "dataproc.operations.get",
594 "parameterOrder": [
595 "name"
596 ],
597 "parameters": {
598 "name": {
599 "description": "The name of the operation resource." ,
600 "location": "path",
601 "pattern": "^operations/.+$",
602 "required": true,
603 "type": "string"
604 }
605 },
606 "path": "v1beta1/{+name}",
607 "response": {
608 "$ref": "Operation"
609 },
610 "scopes": [
611 "https://www.googleapis.com/auth/cloud-platform"
612 ]
613 },
614 "list": {
615 "description": "Lists operations that match the specified fi lter in the request. If the server doesn't support this method, it returns UNIMP LEMENTED.NOTE: the name binding below allows API services to override the bindin g to use different resource name schemes, such as users/*/operations.",
616 "httpMethod": "GET",
617 "id": "dataproc.operations.list",
618 "parameterOrder": [
619 "name"
620 ],
621 "parameters": {
622 "filter": {
623 "description": "The standard list filter.",
624 "location": "query",
625 "type": "string"
626 },
627 "name": {
628 "description": "The name of the operation collection .",
629 "location": "path",
630 "pattern": "^operations$",
631 "required": true,
632 "type": "string"
633 },
634 "pageToken": {
635 "description": "The standard list page token.",
636 "location": "query",
637 "type": "string"
638 },
639 "pageSize": {
640 "description": "The standard list page size.",
641 "format": "int32",
642 "location": "query",
643 "type": "integer"
644 }
645 },
646 "path": "v1beta1/{+name}",
647 "response": {
648 "$ref": "ListOperationsResponse"
649 },
650 "scopes": [
651 "https://www.googleapis.com/auth/cloud-platform"
652 ]
653 }
654 }
655 } 655 }
656 }, 656 },
657 "revision": "20170515", 657 "revision": "20170606",
658 "rootUrl": "https://dataproc.googleapis.com/", 658 "rootUrl": "https://dataproc.googleapis.com/",
659 "schemas": { 659 "schemas": {
660 "InstanceGroupConfiguration": {
661 "description": "The configuration settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
662 "id": "InstanceGroupConfiguration",
663 "properties": {
664 "accelerators": {
665 "description": "Optional The Google Compute Engine accelerat or configuration for these instances.",
666 "items": {
667 "$ref": "AcceleratorConfiguration"
668 },
669 "type": "array"
670 },
671 "numInstances": {
672 "description": "The number of VM instances in the instance g roup. For master instance groups, must be set to 1.",
673 "format": "int32",
674 "type": "integer"
675 },
676 "diskConfiguration": {
677 "$ref": "DiskConfiguration",
678 "description": "Disk option configuration settings."
679 },
680 "imageUri": {
681 "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_v ersion.",
682 "type": "string"
683 },
684 "isPreemptible": {
685 "description": "Specifies that this instance group contains Preemptible Instances.",
686 "type": "boolean"
687 },
688 "machineTypeUri": {
689 "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.",
690 "type": "string"
691 },
692 "instanceNames": {
693 "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).",
694 "items": {
695 "type": "string"
696 },
697 "type": "array"
698 },
699 "managedGroupConfiguration": {
700 "$ref": "ManagedGroupConfiguration",
701 "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."
702 }
703 },
704 "type": "object"
705 },
706 "GceClusterConfiguration": {
707 "description": "Common configuration settings for resources of Googl e Compute Engine cluster instances, applicable to all instances in the cluster." ,
708 "id": "GceClusterConfiguration",
709 "properties": {
710 "serviceAccountScopes": {
711 "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",
712 "items": {
713 "type": "string"
714 },
715 "type": "array"
716 },
717 "tags": {
718 "description": "The Google Compute Engine tags to add to all instances.",
719 "items": {
720 "type": "string"
721 },
722 "type": "array"
723 },
724 "serviceAccount": {
725 "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",
726 "type": "string"
727 },
728 "subnetworkUri": {
729 "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 .",
730 "type": "string"
731 },
732 "networkUri": {
733 "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.",
734 "type": "string"
735 },
736 "zoneUri": {
737 "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].",
738 "type": "string"
739 },
740 "metadata": {
741 "additionalProperties": {
742 "type": "string"
743 },
744 "description": "The Google Compute Engine metadata entries t o add to all instances.",
745 "type": "object"
746 },
747 "internalIpOnly": {
748 "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.",
749 "type": "boolean"
750 }
751 },
752 "type": "object"
753 },
754 "CancelOperationRequest": {
755 "description": "The request message for Operations.CancelOperation." ,
756 "id": "CancelOperationRequest",
757 "properties": {},
758 "type": "object"
759 },
760 "DiagnoseClusterOutputLocation": {
761 "description": "The location of diagnostic output.",
762 "id": "DiagnoseClusterOutputLocation",
763 "properties": {
764 "outputUri": {
765 "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.",
766 "type": "string"
767 }
768 },
769 "type": "object"
770 },
771 "Operation": {
772 "description": "This resource represents a long-running operation th at is the result of a network API call.",
773 "id": "Operation",
774 "properties": {
775 "error": {
776 "$ref": "Status",
777 "description": "The error result of the operation in case of failure or cancellation."
778 },
779 "metadata": {
780 "additionalProperties": {
781 "description": "Properties of the object. Contains field @type with type URL.",
782 "type": "any"
783 },
784 "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.",
785 "type": "object"
786 },
787 "done": {
788 "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.",
789 "type": "boolean"
790 },
791 "response": {
792 "additionalProperties": {
793 "description": "Properties of the object. Contains field @type with type URL.",
794 "type": "any"
795 },
796 "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.",
797 "type": "object"
798 },
799 "name": {
800 "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.",
801 "type": "string"
802 }
803 },
804 "type": "object"
805 },
806 "OperationStatus": {
807 "description": "The status of the operation.",
808 "id": "OperationStatus",
809 "properties": {
810 "state": {
811 "description": "A message containing the operation state.",
812 "enum": [
813 "UNKNOWN",
814 "PENDING",
815 "RUNNING",
816 "DONE"
817 ],
818 "enumDescriptions": [
819 "Unused.",
820 "The operation has been created.",
821 "The operation is running.",
822 "The operation is done; either cancelled or completed."
823 ],
824 "type": "string"
825 },
826 "details": {
827 "description": "A message containing any operation metadata details.",
828 "type": "string"
829 },
830 "innerState": {
831 "description": "A message containing the detailed operation state.",
832 "type": "string"
833 },
834 "stateStartTime": {
835 "description": "The time this state was entered.",
836 "format": "google-datetime",
837 "type": "string"
838 }
839 },
840 "type": "object"
841 },
842 "JobReference": {
843 "description": "Encapsulates the full scoping used to reference a jo b.",
844 "id": "JobReference",
845 "properties": {
846 "projectId": {
847 "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
848 "type": "string"
849 },
850 "jobId": {
851 "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.",
852 "type": "string"
853 }
854 },
855 "type": "object"
856 },
857 "SubmitJobRequest": { 660 "SubmitJobRequest": {
858 "description": "A request to submit a job.", 661 "description": "A request to submit a job.",
859 "id": "SubmitJobRequest", 662 "id": "SubmitJobRequest",
860 "properties": { 663 "properties": {
861 "job": { 664 "job": {
862 "$ref": "Job", 665 "$ref": "Job",
863 "description": "Required The job resource." 666 "description": "Required The job resource."
864 } 667 }
865 }, 668 },
866 "type": "object" 669 "type": "object"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 "format": "int32", 704 "format": "int32",
902 "type": "integer" 705 "type": "integer"
903 } 706 }
904 }, 707 },
905 "type": "object" 708 "type": "object"
906 }, 709 },
907 "NodeInitializationAction": { 710 "NodeInitializationAction": {
908 "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", 711 "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
909 "id": "NodeInitializationAction", 712 "id": "NodeInitializationAction",
910 "properties": { 713 "properties": {
911 "executableFile": {
912 "description": "Required Google Cloud Storage URI of executa ble file.",
913 "type": "string"
914 },
915 "executionTimeout": { 714 "executionTimeout": {
916 "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.", 715 "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.",
917 "format": "google-duration", 716 "format": "google-duration",
918 "type": "string" 717 "type": "string"
718 },
719 "executableFile": {
720 "description": "Required Google Cloud Storage URI of executa ble file.",
721 "type": "string"
919 } 722 }
920 }, 723 },
921 "type": "object" 724 "type": "object"
922 }, 725 },
923 "ListJobsResponse": { 726 "ListJobsResponse": {
924 "description": "A list of jobs in a project.", 727 "description": "A list of jobs in a project.",
925 "id": "ListJobsResponse", 728 "id": "ListJobsResponse",
926 "properties": { 729 "properties": {
730 "nextPageToken": {
731 "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>.",
732 "type": "string"
733 },
927 "jobs": { 734 "jobs": {
928 "description": "Output-only Jobs list.", 735 "description": "Output-only Jobs list.",
929 "items": { 736 "items": {
930 "$ref": "Job" 737 "$ref": "Job"
931 }, 738 },
932 "type": "array" 739 "type": "array"
933 },
934 "nextPageToken": {
935 "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>.",
936 "type": "string"
937 } 740 }
938 }, 741 },
939 "type": "object" 742 "type": "object"
940 }, 743 },
941 "CancelJobRequest": { 744 "CancelJobRequest": {
942 "description": "A request to cancel a job.", 745 "description": "A request to cancel a job.",
943 "id": "CancelJobRequest", 746 "id": "CancelJobRequest",
944 "properties": {}, 747 "properties": {},
945 "type": "object" 748 "type": "object"
946 }, 749 },
947 "SparkSqlJob": { 750 "SparkSqlJob": {
948 "description": "A Cloud Dataproc job for running Spark SQL queries." , 751 "description": "A Cloud Dataproc job for running Spark SQL queries." ,
949 "id": "SparkSqlJob", 752 "id": "SparkSqlJob",
950 "properties": { 753 "properties": {
951 "queryFileUri": { 754 "scriptVariables": {
952 "description": "The HCFS URI of the script that contains SQL queries.", 755 "additionalProperties": {
953 "type": "string" 756 "type": "string"
954 }, 757 },
955 "queryList": { 758 "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).",
956 "$ref": "QueryList", 759 "type": "object"
957 "description": "A list of queries."
958 }, 760 },
959 "jarFileUris": { 761 "jarFileUris": {
960 "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", 762 "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.",
961 "items": { 763 "items": {
962 "type": "string" 764 "type": "string"
963 }, 765 },
964 "type": "array" 766 "type": "array"
965 }, 767 },
966 "scriptVariables": {
967 "additionalProperties": {
968 "type": "string"
969 },
970 "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).",
971 "type": "object"
972 },
973 "loggingConfiguration": { 768 "loggingConfiguration": {
974 "$ref": "LoggingConfiguration", 769 "$ref": "LoggingConfiguration",
975 "description": "Optional The runtime log configuration for j ob execution." 770 "description": "Optional The runtime log configuration for j ob execution."
976 }, 771 },
977 "properties": { 772 "properties": {
978 "additionalProperties": { 773 "additionalProperties": {
979 "type": "string" 774 "type": "string"
980 }, 775 },
981 "description": "Optional A mapping of property names to valu es, used to configure Spark SQL's SparkConf. Properties that conflict with value s set by the Cloud Dataproc API may be overwritten.", 776 "description": "Optional A mapping of property names to valu es, used to configure Spark SQL's SparkConf. Properties that conflict with value s set by the Cloud Dataproc API may be overwritten.",
982 "type": "object" 777 "type": "object"
778 },
779 "queryFileUri": {
780 "description": "The HCFS URI of the script that contains SQL queries.",
781 "type": "string"
782 },
783 "queryList": {
784 "$ref": "QueryList",
785 "description": "A list of queries."
983 } 786 }
984 }, 787 },
985 "type": "object" 788 "type": "object"
986 }, 789 },
987 "Cluster": { 790 "Cluster": {
988 "description": "Describes the identifying information, configuration , and status of a cluster of Google Compute Engine instances.", 791 "description": "Describes the identifying information, configuration , and status of a cluster of Google Compute Engine instances.",
989 "id": "Cluster", 792 "id": "Cluster",
990 "properties": { 793 "properties": {
991 "labels": { 794 "labels": {
992 "additionalProperties": { 795 "additionalProperties": {
(...skipping 10 matching lines...) Expand all
1003 "$ref": "ClusterStatus", 806 "$ref": "ClusterStatus",
1004 "description": "Output-only Cluster status." 807 "description": "Output-only Cluster status."
1005 }, 808 },
1006 "statusHistory": { 809 "statusHistory": {
1007 "description": "Output-only Previous cluster statuses.", 810 "description": "Output-only Previous cluster statuses.",
1008 "items": { 811 "items": {
1009 "$ref": "ClusterStatus" 812 "$ref": "ClusterStatus"
1010 }, 813 },
1011 "type": "array" 814 "type": "array"
1012 }, 815 },
816 "clusterUuid": {
817 "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.",
818 "type": "string"
819 },
1013 "clusterName": { 820 "clusterName": {
1014 "description": "Required The cluster name. Cluster names wit hin a project must be unique. Names from deleted clusters can be reused.", 821 "description": "Required The cluster name. Cluster names wit hin a project must be unique. Names from deleted clusters can be reused.",
1015 "type": "string" 822 "type": "string"
1016 }, 823 },
1017 "clusterUuid": {
1018 "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.",
1019 "type": "string"
1020 },
1021 "projectId": { 824 "projectId": {
1022 "description": "Required The Google Cloud Platform project I D that the cluster belongs to.", 825 "description": "Required The Google Cloud Platform project I D that the cluster belongs to.",
1023 "type": "string" 826 "type": "string"
1024 }, 827 },
1025 "configuration": { 828 "configuration": {
1026 "$ref": "ClusterConfiguration", 829 "$ref": "ClusterConfiguration",
1027 "description": "Required The cluster configuration. Note tha t Cloud Dataproc may set default values, and values may change when clusters are updated." 830 "description": "Required The cluster configuration. Note tha t Cloud Dataproc may set default values, and values may change when clusters are updated."
1028 } 831 }
1029 }, 832 },
1030 "type": "object" 833 "type": "object"
(...skipping 13 matching lines...) Expand all
1044 "description": "The standard List next-page token.", 847 "description": "The standard List next-page token.",
1045 "type": "string" 848 "type": "string"
1046 } 849 }
1047 }, 850 },
1048 "type": "object" 851 "type": "object"
1049 }, 852 },
1050 "OperationMetadata": { 853 "OperationMetadata": {
1051 "description": "Metadata describing the operation.", 854 "description": "Metadata describing the operation.",
1052 "id": "OperationMetadata", 855 "id": "OperationMetadata",
1053 "properties": { 856 "properties": {
857 "operationType": {
858 "description": "Output-only The operation type.",
859 "type": "string"
860 },
1054 "description": { 861 "description": {
1055 "description": "Output-only Short description of operation." , 862 "description": "Output-only Short description of operation." ,
1056 "type": "string" 863 "type": "string"
1057 }, 864 },
1058 "warnings": { 865 "warnings": {
1059 "description": "Output-only Errors encountered during operat ion execution.", 866 "description": "Output-only Errors encountered during operat ion execution.",
1060 "items": { 867 "items": {
1061 "type": "string" 868 "type": "string"
1062 }, 869 },
1063 "type": "array" 870 "type": "array"
1064 }, 871 },
1065 "status": { 872 "status": {
1066 "$ref": "OperationStatus", 873 "$ref": "OperationStatus",
1067 "description": "Output-only Current operation status." 874 "description": "Output-only Current operation status."
1068 }, 875 },
1069 "statusHistory": { 876 "statusHistory": {
1070 "description": "Output-only Previous operation status.", 877 "description": "Output-only Previous operation status.",
1071 "items": { 878 "items": {
1072 "$ref": "OperationStatus" 879 "$ref": "OperationStatus"
1073 }, 880 },
1074 "type": "array" 881 "type": "array"
1075 }, 882 },
1076 "clusterUuid": {
1077 "description": "Cluster UUId for the operation.",
1078 "type": "string"
1079 },
1080 "clusterName": { 883 "clusterName": {
1081 "description": "Name of the cluster for the operation.", 884 "description": "Name of the cluster for the operation.",
1082 "type": "string" 885 "type": "string"
1083 }, 886 },
1084 "operationType": { 887 "clusterUuid": {
1085 "description": "Output-only The operation type.", 888 "description": "Cluster UUId for the operation.",
1086 "type": "string" 889 "type": "string"
1087 } 890 }
1088 }, 891 },
1089 "type": "object" 892 "type": "object"
1090 }, 893 },
1091 "JobPlacement": { 894 "JobPlacement": {
1092 "description": "Cloud Dataproc job configuration.", 895 "description": "Cloud Dataproc job configuration.",
1093 "id": "JobPlacement", 896 "id": "JobPlacement",
1094 "properties": { 897 "properties": {
898 "clusterUuid": {
899 "description": "Output-only A cluster UUID generated by the Dataproc service when the job is submitted.",
900 "type": "string"
901 },
1095 "clusterName": { 902 "clusterName": {
1096 "description": "Required The name of the cluster where the j ob will be submitted.", 903 "description": "Required The name of the cluster where the j ob will be submitted.",
1097 "type": "string" 904 "type": "string"
1098 },
1099 "clusterUuid": {
1100 "description": "Output-only A cluster UUID generated by the Dataproc service when the job is submitted.",
1101 "type": "string"
1102 } 905 }
1103 }, 906 },
1104 "type": "object" 907 "type": "object"
908 },
909 "PigJob": {
910 "description": "A Cloud Dataproc job for running Pig queries on YARN .",
911 "id": "PigJob",
912 "properties": {
913 "continueOnFailure": {
914 "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.",
915 "type": "boolean"
916 },
917 "queryList": {
918 "$ref": "QueryList",
919 "description": "A list of queries."
920 },
921 "queryFileUri": {
922 "description": "The HCFS URI of the script that contains the Pig queries.",
923 "type": "string"
924 },
925 "scriptVariables": {
926 "additionalProperties": {
927 "type": "string"
928 },
929 "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
930 "type": "object"
931 },
932 "jarFileUris": {
933 "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.",
934 "items": {
935 "type": "string"
936 },
937 "type": "array"
938 },
939 "loggingConfiguration": {
940 "$ref": "LoggingConfiguration",
941 "description": "Optional The runtime log configuration for j ob execution."
942 },
943 "properties": {
944 "additionalProperties": {
945 "type": "string"
946 },
947 "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.",
948 "type": "object"
949 }
950 },
951 "type": "object"
1105 }, 952 },
1106 "ClusterStatus": { 953 "ClusterStatus": {
1107 "description": "The status of a cluster and its instances.", 954 "description": "The status of a cluster and its instances.",
1108 "id": "ClusterStatus", 955 "id": "ClusterStatus",
1109 "properties": { 956 "properties": {
1110 "detail": {
1111 "description": "Optional details of cluster's state.",
1112 "type": "string"
1113 },
1114 "state": { 957 "state": {
1115 "description": "The cluster's state.", 958 "description": "The cluster's state.",
1116 "enum": [ 959 "enum": [
1117 "UNKNOWN", 960 "UNKNOWN",
1118 "CREATING", 961 "CREATING",
1119 "RUNNING", 962 "RUNNING",
1120 "ERROR", 963 "ERROR",
1121 "DELETING", 964 "DELETING",
1122 "UPDATING" 965 "UPDATING"
1123 ], 966 ],
1124 "enumDescriptions": [ 967 "enumDescriptions": [
1125 "The cluster state is unknown.", 968 "The cluster state is unknown.",
1126 "The cluster is being created and set up. It is not read y for use.", 969 "The cluster is being created and set up. It is not read y for use.",
1127 "The cluster is currently running and healthy. It is rea dy for use.", 970 "The cluster is currently running and healthy. It is rea dy for use.",
1128 "The cluster encountered an error. It is not ready for u se.", 971 "The cluster encountered an error. It is not ready for u se.",
1129 "The cluster is being deleted. It cannot be used.", 972 "The cluster is being deleted. It cannot be used.",
1130 "The cluster is being updated. It continues to accept an d process jobs." 973 "The cluster is being updated. It continues to accept an d process jobs."
1131 ], 974 ],
1132 "type": "string" 975 "type": "string"
1133 }, 976 },
1134 "stateStartTime": {
1135 "description": "Time when this state was entered.",
1136 "format": "google-datetime",
1137 "type": "string"
1138 },
1139 "substate": { 977 "substate": {
1140 "description": "Output-only Additional state information tha t includes status reported by the agent.", 978 "description": "Output-only Additional state information tha t includes status reported by the agent.",
1141 "enum": [ 979 "enum": [
1142 "UNSPECIFIED", 980 "UNSPECIFIED",
1143 "UNHEALTHY", 981 "UNHEALTHY",
1144 "STALE_STATUS" 982 "STALE_STATUS"
1145 ], 983 ],
1146 "enumDescriptions": [ 984 "enumDescriptions": [
1147 "", 985 "",
1148 "The cluster is known to be in an unhealthy state (for e xample, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.", 986 "The cluster is known to be in an unhealthy state (for e xample, critical daemons are not running or HDFS capacity is exhausted).Applies to RUNNING state.",
1149 "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state." 987 "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state."
1150 ], 988 ],
1151 "type": "string" 989 "type": "string"
990 },
991 "stateStartTime": {
992 "description": "Time when this state was entered.",
993 "format": "google-datetime",
994 "type": "string"
995 },
996 "detail": {
997 "description": "Optional details of cluster's state.",
998 "type": "string"
1152 } 999 }
1153 }, 1000 },
1154 "type": "object" 1001 "type": "object"
1155 },
1156 "PigJob": {
1157 "description": "A Cloud Dataproc job for running Pig queries on YARN .",
1158 "id": "PigJob",
1159 "properties": {
1160 "queryList": {
1161 "$ref": "QueryList",
1162 "description": "A list of queries."
1163 },
1164 "queryFileUri": {
1165 "description": "The HCFS URI of the script that contains the Pig queries.",
1166 "type": "string"
1167 },
1168 "scriptVariables": {
1169 "additionalProperties": {
1170 "type": "string"
1171 },
1172 "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
1173 "type": "object"
1174 },
1175 "jarFileUris": {
1176 "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.",
1177 "items": {
1178 "type": "string"
1179 },
1180 "type": "array"
1181 },
1182 "loggingConfiguration": {
1183 "$ref": "LoggingConfiguration",
1184 "description": "Optional The runtime log configuration for j ob execution."
1185 },
1186 "properties": {
1187 "additionalProperties": {
1188 "type": "string"
1189 },
1190 "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.",
1191 "type": "object"
1192 },
1193 "continueOnFailure": {
1194 "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.",
1195 "type": "boolean"
1196 }
1197 },
1198 "type": "object"
1199 }, 1002 },
1200 "AcceleratorConfiguration": { 1003 "AcceleratorConfiguration": {
1201 "description": "Specifies the type and number of accelerator cards a ttached to the instances of an instance group (see GPUs on Compute Engine).", 1004 "description": "Specifies the type and number of accelerator cards a ttached to the instances of an instance group (see GPUs on Compute Engine).",
1202 "id": "AcceleratorConfiguration", 1005 "id": "AcceleratorConfiguration",
1203 "properties": { 1006 "properties": {
1204 "acceleratorCount": { 1007 "acceleratorCount": {
1205 "description": "The number of the accelerator cards of this type exposed to this instance.", 1008 "description": "The number of the accelerator cards of this type exposed to this instance.",
1206 "format": "int32", 1009 "format": "int32",
1207 "type": "integer" 1010 "type": "integer"
1208 }, 1011 },
1209 "acceleratorTypeUri": { 1012 "acceleratorTypeUri": {
1210 "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)", 1013 "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)",
1211 "type": "string" 1014 "type": "string"
1212 } 1015 }
1213 }, 1016 },
1214 "type": "object" 1017 "type": "object"
1215 }, 1018 },
1216 "ListClustersResponse": { 1019 "ListClustersResponse": {
1217 "description": "The list of all clusters in a project.", 1020 "description": "The list of all clusters in a project.",
1218 "id": "ListClustersResponse", 1021 "id": "ListClustersResponse",
1219 "properties": { 1022 "properties": {
1023 "nextPageToken": {
1024 "description": "The standard List next-page token.",
1025 "type": "string"
1026 },
1220 "clusters": { 1027 "clusters": {
1221 "description": "Output-only The clusters in the project.", 1028 "description": "Output-only The clusters in the project.",
1222 "items": { 1029 "items": {
1223 "$ref": "Cluster" 1030 "$ref": "Cluster"
1224 }, 1031 },
1225 "type": "array" 1032 "type": "array"
1226 },
1227 "nextPageToken": {
1228 "description": "The standard List next-page token.",
1229 "type": "string"
1230 } 1033 }
1231 }, 1034 },
1232 "type": "object" 1035 "type": "object"
1233 }, 1036 },
1234 "ManagedGroupConfiguration": { 1037 "ManagedGroupConfiguration": {
1235 "description": "Specifies the resources used to actively manage an i nstance group.", 1038 "description": "Specifies the resources used to actively manage an i nstance group.",
1236 "id": "ManagedGroupConfiguration", 1039 "id": "ManagedGroupConfiguration",
1237 "properties": { 1040 "properties": {
1238 "instanceGroupManagerName": { 1041 "instanceGroupManagerName": {
1239 "description": "Output-only The name of the Instance Group M anager for this group.", 1042 "description": "Output-only The name of the Instance Group M anager for this group.",
1240 "type": "string" 1043 "type": "string"
1241 }, 1044 },
1242 "instanceTemplateName": { 1045 "instanceTemplateName": {
1243 "description": "Output-only The name of the Instance Templat e used for the Managed Instance Group.", 1046 "description": "Output-only The name of the Instance Templat e used for the Managed Instance Group.",
1244 "type": "string" 1047 "type": "string"
1245 } 1048 }
1246 }, 1049 },
1247 "type": "object" 1050 "type": "object"
1248 }, 1051 },
1249 "SparkJob": { 1052 "SparkJob": {
1250 "description": "A Cloud Dataproc job for running Spark applications on YARN.", 1053 "description": "A Cloud Dataproc job for running Spark applications on YARN.",
1251 "id": "SparkJob", 1054 "id": "SparkJob",
1252 "properties": { 1055 "properties": {
1056 "mainClass": {
1057 "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.",
1058 "type": "string"
1059 },
1060 "archiveUris": {
1061 "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.",
1062 "items": {
1063 "type": "string"
1064 },
1065 "type": "array"
1066 },
1067 "mainJarFileUri": {
1068 "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file that contains the main class.",
1069 "type": "string"
1070 },
1071 "jarFileUris": {
1072 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Spark driver and tasks.",
1073 "items": {
1074 "type": "string"
1075 },
1076 "type": "array"
1077 },
1253 "loggingConfiguration": { 1078 "loggingConfiguration": {
1254 "$ref": "LoggingConfiguration", 1079 "$ref": "LoggingConfiguration",
1255 "description": "Optional The runtime log configuration for j ob execution." 1080 "description": "Optional The runtime log configuration for j ob execution."
1256 }, 1081 },
1257 "properties": { 1082 "properties": {
1258 "additionalProperties": { 1083 "additionalProperties": {
1259 "type": "string" 1084 "type": "string"
1260 }, 1085 },
1261 "description": "Optional A mapping of property names to valu es, used to configure Spark. Properties that conflict with values set by the Clo ud Dataproc API may be overwritten. Can include properties set in /etc/spark/con f/spark-defaults.conf and classes in user code.", 1086 "description": "Optional A mapping of property names to valu es, used to configure Spark. Properties that conflict with values set by the Clo ud Dataproc API may be overwritten. Can include properties set in /etc/spark/con f/spark-defaults.conf and classes in user code.",
1262 "type": "object" 1087 "type": "object"
1263 }, 1088 },
1264 "args": { 1089 "args": {
1265 "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.", 1090 "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.",
1266 "items": { 1091 "items": {
1267 "type": "string" 1092 "type": "string"
1268 }, 1093 },
1269 "type": "array" 1094 "type": "array"
1270 }, 1095 },
1271 "fileUris": { 1096 "fileUris": {
1272 "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.", 1097 "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
1273 "items": { 1098 "items": {
1274 "type": "string" 1099 "type": "string"
1275 }, 1100 },
1276 "type": "array"
1277 },
1278 "mainClass": {
1279 "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.",
1280 "type": "string"
1281 },
1282 "archiveUris": {
1283 "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.",
1284 "items": {
1285 "type": "string"
1286 },
1287 "type": "array"
1288 },
1289 "mainJarFileUri": {
1290 "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file that contains the main class.",
1291 "type": "string"
1292 },
1293 "jarFileUris": {
1294 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Spark driver and tasks.",
1295 "items": {
1296 "type": "string"
1297 },
1298 "type": "array" 1101 "type": "array"
1299 } 1102 }
1300 }, 1103 },
1301 "type": "object" 1104 "type": "object"
1302 }, 1105 },
1303 "Job": { 1106 "Job": {
1304 "description": "A Cloud Dataproc job resource.", 1107 "description": "A Cloud Dataproc job resource.",
1305 "id": "Job", 1108 "id": "Job",
1306 "properties": { 1109 "properties": {
1307 "driverInputResourceUri": {
1308 "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.",
1309 "type": "string"
1310 },
1311 "hadoopJob": {
1312 "$ref": "HadoopJob",
1313 "description": "Job is a Hadoop job."
1314 },
1315 "placement": { 1110 "placement": {
1316 "$ref": "JobPlacement", 1111 "$ref": "JobPlacement",
1317 "description": "Required Job information, including how, whe n, and where to run the job." 1112 "description": "Required Job information, including how, whe n, and where to run the job."
1318 }, 1113 },
1319 "status": { 1114 "status": {
1320 "$ref": "JobStatus", 1115 "$ref": "JobStatus",
1321 "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." 1116 "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."
1322 }, 1117 },
1323 "driverControlFilesUri": { 1118 "driverControlFilesUri": {
1324 "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.", 1119 "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.",
(...skipping 19 matching lines...) Expand all
1344 "additionalProperties": { 1139 "additionalProperties": {
1345 "type": "string" 1140 "type": "string"
1346 }, 1141 },
1347 "description": "Optional The labels to associate with this j ob.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \ \p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.", 1142 "description": "Optional The labels to associate with this j ob.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \ \p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.",
1348 "type": "object" 1143 "type": "object"
1349 }, 1144 },
1350 "driverOutputResourceUri": { 1145 "driverOutputResourceUri": {
1351 "description": "Output-only A URI pointing to the location o f the stdout of the job's driver program.", 1146 "description": "Output-only A URI pointing to the location o f the stdout of the job's driver program.",
1352 "type": "string" 1147 "type": "string"
1353 }, 1148 },
1354 "sparkJob": {
1355 "$ref": "SparkJob",
1356 "description": "Job is a Spark job."
1357 },
1358 "sparkSqlJob": { 1149 "sparkSqlJob": {
1359 "$ref": "SparkSqlJob", 1150 "$ref": "SparkSqlJob",
1360 "description": "Job is a SparkSql job." 1151 "description": "Job is a SparkSql job."
1361 }, 1152 },
1362 "statusHistory": { 1153 "statusHistory": {
1363 "description": "Output-only The previous job status.", 1154 "description": "Output-only The previous job status.",
1364 "items": { 1155 "items": {
1365 "$ref": "JobStatus" 1156 "$ref": "JobStatus"
1366 }, 1157 },
1367 "type": "array" 1158 "type": "array"
1368 }, 1159 },
1160 "sparkJob": {
1161 "$ref": "SparkJob",
1162 "description": "Job is a Spark job."
1163 },
1369 "yarnApplications": { 1164 "yarnApplications": {
1370 "description": "Output-only The collection of YARN applicati ons spun up by this job.", 1165 "description": "Output-only The collection of YARN applicati ons spun up by this job.",
1371 "items": { 1166 "items": {
1372 "$ref": "YarnApplication" 1167 "$ref": "YarnApplication"
1373 }, 1168 },
1374 "type": "array" 1169 "type": "array"
1375 }, 1170 },
1376 "pysparkJob": { 1171 "pysparkJob": {
1377 "$ref": "PySparkJob", 1172 "$ref": "PySparkJob",
1378 "description": "Job is a Pyspark job." 1173 "description": "Job is a Pyspark job."
1379 }, 1174 },
1380 "reference": { 1175 "reference": {
1381 "$ref": "JobReference", 1176 "$ref": "JobReference",
1382 "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>." 1177 "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>."
1383 }, 1178 },
1384 "interactive": { 1179 "interactive": {
1385 "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.", 1180 "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.",
1386 "type": "boolean" 1181 "type": "boolean"
1182 },
1183 "driverInputResourceUri": {
1184 "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.",
1185 "type": "string"
1186 },
1187 "hadoopJob": {
1188 "$ref": "HadoopJob",
1189 "description": "Job is a Hadoop job."
1387 } 1190 }
1388 }, 1191 },
1389 "type": "object" 1192 "type": "object"
1390 },
1391 "DiskConfiguration": {
1392 "description": "Specifies the configuration of disk options for a gr oup of VM instances.",
1393 "id": "DiskConfiguration",
1394 "properties": {
1395 "bootDiskSizeGb": {
1396 "description": "Optional Size in GB of the boot disk (defaul t is 500GB).",
1397 "format": "int32",
1398 "type": "integer"
1399 },
1400 "numLocalSsds": {
1401 "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runti me logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and i nstalled binaries.",
1402 "format": "int32",
1403 "type": "integer"
1404 }
1405 },
1406 "type": "object"
1407 }, 1193 },
1408 "JobStatus": { 1194 "JobStatus": {
1409 "description": "Cloud Dataproc job status.", 1195 "description": "Cloud Dataproc job status.",
1410 "id": "JobStatus", 1196 "id": "JobStatus",
1411 "properties": { 1197 "properties": {
1412 "stateStartTime": {
1413 "description": "Output-only The time when this state was ent ered.",
1414 "format": "google-datetime",
1415 "type": "string"
1416 },
1417 "substate": { 1198 "substate": {
1418 "description": "Output-only Additional state information, wh ich includes status reported by the agent.", 1199 "description": "Output-only Additional state information, wh ich includes status reported by the agent.",
1419 "enum": [ 1200 "enum": [
1420 "UNSPECIFIED", 1201 "UNSPECIFIED",
1421 "SUBMITTED", 1202 "SUBMITTED",
1422 "QUEUED", 1203 "QUEUED",
1423 "STALE_STATUS" 1204 "STALE_STATUS"
1424 ], 1205 ],
1425 "enumDescriptions": [ 1206 "enumDescriptions": [
1426 "", 1207 "",
1427 "The Job is submitted to the agent.Applies to RUNNING st ate.", 1208 "The Job is submitted to the agent.Applies to RUNNING st ate.",
1428 "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the re ason for the delay.Applies to RUNNING state.", 1209 "The Job has been received and is awaiting execution (it may be waiting for a condition to be met). See the \"details\" field for the re ason for the delay.Applies to RUNNING state.",
1429 "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the a gent does not send a timely update, the job will fail.Applies to RUNNING state." 1210 "The agent-reported status is out of date, which may be caused by a loss of communication between the agent and Cloud Dataproc. If the a gent does not send a timely update, the job will fail.Applies to RUNNING state."
1430 ], 1211 ],
1431 "type": "string" 1212 "type": "string"
1432 }, 1213 },
1214 "stateStartTime": {
1215 "description": "Output-only The time when this state was ent ered.",
1216 "format": "google-datetime",
1217 "type": "string"
1218 },
1219 "details": {
1220 "description": "Optional Job state details, such as an error description if the state is <code>ERROR</code>.",
1221 "type": "string"
1222 },
1433 "state": { 1223 "state": {
1434 "description": "Required A state message specifying the over all job state.", 1224 "description": "Required A state message specifying the over all job state.",
1435 "enum": [ 1225 "enum": [
1436 "STATE_UNSPECIFIED", 1226 "STATE_UNSPECIFIED",
1437 "PENDING", 1227 "PENDING",
1438 "SETUP_DONE", 1228 "SETUP_DONE",
1439 "RUNNING", 1229 "RUNNING",
1440 "CANCEL_PENDING", 1230 "CANCEL_PENDING",
1441 "CANCEL_STARTED", 1231 "CANCEL_STARTED",
1442 "CANCELLED", 1232 "CANCELLED",
1443 "DONE", 1233 "DONE",
1444 "ERROR", 1234 "ERROR",
1445 "ATTEMPT_FAILURE" 1235 "ATTEMPT_FAILURE"
1446 ], 1236 ],
1447 "enumDescriptions": [ 1237 "enumDescriptions": [
1448 "The job state is unknown.", 1238 "The job state is unknown.",
1449 "The job is pending; it has been submitted, but is not y et running.", 1239 "The job is pending; it has been submitted, but is not y et running.",
1450 "Job has been received by the service and completed init ial setup; it will shortly be submitted to the cluster.", 1240 "Job has been received by the service and completed init ial setup; it will shortly be submitted to the cluster.",
1451 "The job is running on the cluster.", 1241 "The job is running on the cluster.",
1452 "A CancelJob request has been received, but is pending." , 1242 "A CancelJob request has been received, but is pending." ,
1453 "Transient in-flight resources have been canceled, and t he request to cancel the running job has been issued to the cluster.", 1243 "Transient in-flight resources have been canceled, and t he request to cancel the running job has been issued to the cluster.",
1454 "The job cancelation was successful.", 1244 "The job cancelation was successful.",
1455 "The job has completed successfully.", 1245 "The job has completed successfully.",
1456 "The job has completed, but encountered an error.", 1246 "The job has completed, but encountered an error.",
1457 "Job attempt has failed. The detail field contains failu re details for this attempt.Applies to restartable jobs only." 1247 "Job attempt has failed. The detail field contains failu re details for this attempt.Applies to restartable jobs only."
1458 ], 1248 ],
1459 "type": "string" 1249 "type": "string"
1460 },
1461 "details": {
1462 "description": "Optional Job state details, such as an error description if the state is <code>ERROR</code>.",
1463 "type": "string"
1464 } 1250 }
1465 }, 1251 },
1466 "type": "object" 1252 "type": "object"
1253 },
1254 "DiskConfiguration": {
1255 "description": "Specifies the configuration of disk options for a gr oup of VM instances.",
1256 "id": "DiskConfiguration",
1257 "properties": {
1258 "bootDiskSizeGb": {
1259 "description": "Optional Size in GB of the boot disk (defaul t is 500GB).",
1260 "format": "int32",
1261 "type": "integer"
1262 },
1263 "numLocalSsds": {
1264 "description": "Optional Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runti me logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic configuration and i nstalled binaries.",
1265 "format": "int32",
1266 "type": "integer"
1267 }
1268 },
1269 "type": "object"
1467 }, 1270 },
1468 "ClusterOperationStatus": { 1271 "ClusterOperationStatus": {
1469 "description": "The status of the operation.", 1272 "description": "The status of the operation.",
1470 "id": "ClusterOperationStatus", 1273 "id": "ClusterOperationStatus",
1471 "properties": { 1274 "properties": {
1472 "innerState": { 1275 "innerState": {
1473 "description": "Output-only. A message containing the detail ed operation state.", 1276 "description": "Output-only. A message containing the detail ed operation state.",
1474 "type": "string" 1277 "type": "string"
1475 }, 1278 },
1476 "stateStartTime": { 1279 "stateStartTime": {
1477 "description": "Output-only. The time this state was entered .", 1280 "description": "Output-only. The time this state was entered .",
1478 "format": "google-datetime", 1281 "format": "google-datetime",
1479 "type": "string" 1282 "type": "string"
1480 }, 1283 },
1284 "details": {
1285 "description": "Output-only.A message containing any operati on metadata details.",
1286 "type": "string"
1287 },
1481 "state": { 1288 "state": {
1482 "description": "Output-only. A message containing the operat ion state.", 1289 "description": "Output-only. A message containing the operat ion state.",
1483 "enum": [ 1290 "enum": [
1484 "UNKNOWN", 1291 "UNKNOWN",
1485 "PENDING", 1292 "PENDING",
1486 "RUNNING", 1293 "RUNNING",
1487 "DONE" 1294 "DONE"
1488 ], 1295 ],
1489 "enumDescriptions": [ 1296 "enumDescriptions": [
1490 "Unused.", 1297 "Unused.",
1491 "The operation has been created.", 1298 "The operation has been created.",
1492 "The operation is running.", 1299 "The operation is running.",
1493 "The operation is done; either cancelled or completed." 1300 "The operation is done; either cancelled or completed."
1494 ], 1301 ],
1495 "type": "string" 1302 "type": "string"
1496 },
1497 "details": {
1498 "description": "Output-only.A message containing any operati on metadata details.",
1499 "type": "string"
1500 } 1303 }
1501 }, 1304 },
1502 "type": "object" 1305 "type": "object"
1503 }, 1306 },
1504 "YarnApplication": { 1307 "YarnApplication": {
1505 "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>.", 1308 "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>.",
1506 "id": "YarnApplication", 1309 "id": "YarnApplication",
1507 "properties": { 1310 "properties": {
1508 "trackingUrl": { 1311 "trackingUrl": {
1509 "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.", 1312 "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.",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1558 }, 1361 },
1559 "type": "array" 1362 "type": "array"
1560 } 1363 }
1561 }, 1364 },
1562 "type": "object" 1365 "type": "object"
1563 }, 1366 },
1564 "HadoopJob": { 1367 "HadoopJob": {
1565 "description": "A Cloud Dataproc job for running Hadoop MapReduce jo bs on YARN.", 1368 "description": "A Cloud Dataproc job for running Hadoop MapReduce jo bs on YARN.",
1566 "id": "HadoopJob", 1369 "id": "HadoopJob",
1567 "properties": { 1370 "properties": {
1371 "mainJarFileUri": {
1372 "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics -binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcou nt.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
1373 "type": "string"
1374 },
1568 "jarFileUris": { 1375 "jarFileUris": {
1569 "description": "Optional Jar file URIs to add to the CLASSPA THs of the Hadoop driver and tasks.", 1376 "description": "Optional Jar file URIs to add to the CLASSPA THs of the Hadoop driver and tasks.",
1570 "items": { 1377 "items": {
1571 "type": "string" 1378 "type": "string"
1572 }, 1379 },
1573 "type": "array" 1380 "type": "array"
1574 }, 1381 },
1575 "loggingConfiguration": { 1382 "loggingConfiguration": {
1576 "$ref": "LoggingConfiguration", 1383 "$ref": "LoggingConfiguration",
1577 "description": "Optional The runtime log configuration for j ob execution." 1384 "description": "Optional The runtime log configuration for j ob execution."
(...skipping 22 matching lines...) Expand all
1600 "mainClass": { 1407 "mainClass": {
1601 "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_ file_uris.", 1408 "description": "The name of the driver's main class. The jar file containing the class must be in the default CLASSPATH or specified in jar_ file_uris.",
1602 "type": "string" 1409 "type": "string"
1603 }, 1410 },
1604 "archiveUris": { 1411 "archiveUris": {
1605 "description": "Optional HCFS URIs of archives to be extract ed in the working directory of Hadoop drivers and tasks. Supported file types: . jar, .tar, .tar.gz, .tgz, or .zip.", 1412 "description": "Optional HCFS URIs of archives to be extract ed in the working directory of Hadoop drivers and tasks. Supported file types: . jar, .tar, .tar.gz, .tgz, or .zip.",
1606 "items": { 1413 "items": {
1607 "type": "string" 1414 "type": "string"
1608 }, 1415 },
1609 "type": "array" 1416 "type": "array"
1610 },
1611 "mainJarFileUri": {
1612 "description": "The Hadoop Compatible Filesystem (HCFS) URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics -binaries/extract-useful-metrics-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcou nt.jar' 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
1613 "type": "string"
1614 } 1417 }
1615 }, 1418 },
1616 "type": "object" 1419 "type": "object"
1617 }, 1420 },
1618 "DiagnoseClusterRequest": { 1421 "DiagnoseClusterRequest": {
1619 "description": "A request to collect cluster diagnostic information. ", 1422 "description": "A request to collect cluster diagnostic information. ",
1620 "id": "DiagnoseClusterRequest", 1423 "id": "DiagnoseClusterRequest",
1621 "properties": {}, 1424 "properties": {},
1622 "type": "object" 1425 "type": "object"
1623 }, 1426 },
1624 "ClusterOperationMetadata": { 1427 "ClusterOperationMetadata": {
1625 "description": "Metadata describing the operation.", 1428 "description": "Metadata describing the operation.",
1626 "id": "ClusterOperationMetadata", 1429 "id": "ClusterOperationMetadata",
1627 "properties": { 1430 "properties": {
1431 "operationType": {
1432 "description": "Output-only. The operation type.",
1433 "type": "string"
1434 },
1435 "description": {
1436 "description": "Output-only. Short description of operation. ",
1437 "type": "string"
1438 },
1628 "warnings": { 1439 "warnings": {
1629 "description": "Output-only. Errors encountered during opera tion execution.", 1440 "description": "Output-only. Errors encountered during opera tion execution.",
1630 "items": { 1441 "items": {
1631 "type": "string" 1442 "type": "string"
1632 }, 1443 },
1633 "type": "array" 1444 "type": "array"
1634 }, 1445 },
1635 "labels": { 1446 "labels": {
1636 "additionalProperties": { 1447 "additionalProperties": {
1637 "type": "string" 1448 "type": "string"
(...skipping 12 matching lines...) Expand all
1650 }, 1461 },
1651 "type": "array" 1462 "type": "array"
1652 }, 1463 },
1653 "clusterUuid": { 1464 "clusterUuid": {
1654 "description": "Output-only. Cluster UUID for the operation. ", 1465 "description": "Output-only. Cluster UUID for the operation. ",
1655 "type": "string" 1466 "type": "string"
1656 }, 1467 },
1657 "clusterName": { 1468 "clusterName": {
1658 "description": "Output-only. Name of the cluster for the ope ration.", 1469 "description": "Output-only. Name of the cluster for the ope ration.",
1659 "type": "string" 1470 "type": "string"
1660 },
1661 "operationType": {
1662 "description": "Output-only. The operation type.",
1663 "type": "string"
1664 },
1665 "description": {
1666 "description": "Output-only. Short description of operation. ",
1667 "type": "string"
1668 } 1471 }
1669 }, 1472 },
1670 "type": "object" 1473 "type": "object"
1671 }, 1474 },
1475 "Empty": {
1476 "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 {}.",
1477 "id": "Empty",
1478 "properties": {},
1479 "type": "object"
1480 },
1672 "HiveJob": { 1481 "HiveJob": {
1673 "description": "A Cloud Dataproc job for running Hive queries on YAR N.", 1482 "description": "A Cloud Dataproc job for running Hive queries on YAR N.",
1674 "id": "HiveJob", 1483 "id": "HiveJob",
1675 "properties": { 1484 "properties": {
1676 "continueOnFailure": { 1485 "continueOnFailure": {
1677 "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.", 1486 "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.",
1678 "type": "boolean" 1487 "type": "boolean"
1679 }, 1488 },
1489 "queryFileUri": {
1490 "description": "The HCFS URI of the script that contains Hiv e queries.",
1491 "type": "string"
1492 },
1680 "queryList": { 1493 "queryList": {
1681 "$ref": "QueryList", 1494 "$ref": "QueryList",
1682 "description": "A list of queries." 1495 "description": "A list of queries."
1683 }, 1496 },
1684 "queryFileUri": {
1685 "description": "The HCFS URI of the script that contains Hiv e queries.",
1686 "type": "string"
1687 },
1688 "jarFileUris": { 1497 "jarFileUris": {
1689 "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.", 1498 "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.",
1690 "items": { 1499 "items": {
1691 "type": "string" 1500 "type": "string"
1692 }, 1501 },
1693 "type": "array" 1502 "type": "array"
1694 }, 1503 },
1695 "scriptVariables": { 1504 "scriptVariables": {
1696 "additionalProperties": { 1505 "additionalProperties": {
1697 "type": "string" 1506 "type": "string"
1698 }, 1507 },
1699 "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).", 1508 "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
1700 "type": "object" 1509 "type": "object"
1701 }, 1510 },
1702 "properties": { 1511 "properties": {
1703 "additionalProperties": { 1512 "additionalProperties": {
1704 "type": "string" 1513 "type": "string"
1705 }, 1514 },
1706 "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.", 1515 "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.",
1707 "type": "object" 1516 "type": "object"
1708 } 1517 }
1709 }, 1518 },
1710 "type": "object" 1519 "type": "object"
1711 }, 1520 },
1712 "Empty": {
1713 "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 {}.",
1714 "id": "Empty",
1715 "properties": {},
1716 "type": "object"
1717 },
1718 "DiagnoseClusterResults": { 1521 "DiagnoseClusterResults": {
1719 "description": "The location of diagnostic output.", 1522 "description": "The location of diagnostic output.",
1720 "id": "DiagnoseClusterResults", 1523 "id": "DiagnoseClusterResults",
1721 "properties": { 1524 "properties": {
1722 "outputUri": { 1525 "outputUri": {
1723 "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.", 1526 "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.",
1724 "type": "string" 1527 "type": "string"
1725 } 1528 }
1726 }, 1529 },
1727 "type": "object" 1530 "type": "object"
(...skipping 13 matching lines...) Expand all
1741 "description": "Optional The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, i t defaults to the latest version (see Cloud Dataproc Versioning).", 1544 "description": "Optional The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, i t defaults to the latest version (see Cloud Dataproc Versioning).",
1742 "type": "string" 1545 "type": "string"
1743 } 1546 }
1744 }, 1547 },
1745 "type": "object" 1548 "type": "object"
1746 }, 1549 },
1747 "PySparkJob": { 1550 "PySparkJob": {
1748 "description": "A Cloud Dataproc job for running PySpark application s on YARN.", 1551 "description": "A Cloud Dataproc job for running PySpark application s on YARN.",
1749 "id": "PySparkJob", 1552 "id": "PySparkJob",
1750 "properties": { 1553 "properties": {
1751 "pythonFileUris": {
1752 "description": "Optional HCFS file URIs of Python files to p ass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
1753 "items": {
1754 "type": "string"
1755 },
1756 "type": "array"
1757 },
1758 "mainPythonFileUri": {
1759 "description": "Required The Hadoop Compatible Filesystem (H CFS) URI of the main Python file to use as the driver. Must be a .py file.",
1760 "type": "string"
1761 },
1762 "archiveUris": {
1763 "description": "Optional HCFS URIs of archives to be extract ed in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
1764 "items": {
1765 "type": "string"
1766 },
1767 "type": "array"
1768 },
1769 "jarFileUris": { 1554 "jarFileUris": {
1770 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Python driver and tasks.", 1555 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Python driver and tasks.",
1771 "items": { 1556 "items": {
1772 "type": "string" 1557 "type": "string"
1773 }, 1558 },
1774 "type": "array" 1559 "type": "array"
1775 }, 1560 },
1776 "loggingConfiguration": { 1561 "loggingConfiguration": {
1777 "$ref": "LoggingConfiguration", 1562 "$ref": "LoggingConfiguration",
1778 "description": "Optional The runtime log configuration for j ob execution." 1563 "description": "Optional The runtime log configuration for j ob execution."
(...skipping 11 matching lines...) Expand all
1790 "type": "string" 1575 "type": "string"
1791 }, 1576 },
1792 "type": "array" 1577 "type": "array"
1793 }, 1578 },
1794 "fileUris": { 1579 "fileUris": {
1795 "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.", 1580 "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.",
1796 "items": { 1581 "items": {
1797 "type": "string" 1582 "type": "string"
1798 }, 1583 },
1799 "type": "array" 1584 "type": "array"
1800 } 1585 },
1801 }, 1586 "pythonFileUris": {
1802 "type": "object" 1587 "description": "Optional HCFS file URIs of Python files to p ass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
1803 }, 1588 "items": {
1804 "ClusterMetrics": { 1589 "type": "string"
1805 "description": "Contains cluster daemon metrics, such as HDFS and YA RN stats.", 1590 },
1806 "id": "ClusterMetrics", 1591 "type": "array"
1807 "properties": { 1592 },
1808 "yarnMetrics": { 1593 "mainPythonFileUri": {
1809 "additionalProperties": { 1594 "description": "Required The Hadoop Compatible Filesystem (H CFS) URI of the main Python file to use as the driver. Must be a .py file.",
1810 "format": "int64", 1595 "type": "string"
1811 "type": "string" 1596 },
1812 }, 1597 "archiveUris": {
1813 "description": "The YARN metrics.", 1598 "description": "Optional HCFS URIs of archives to be extract ed in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
1814 "type": "object" 1599 "items": {
1815 }, 1600 "type": "string"
1816 "hdfsMetrics": {
1817 "additionalProperties": {
1818 "format": "int64",
1819 "type": "string"
1820 },
1821 "description": "The HDFS metrics.",
1822 "type": "object"
1823 }
1824 },
1825 "type": "object"
1826 },
1827 "ClusterConfiguration": {
1828 "description": "The cluster configuration.",
1829 "id": "ClusterConfiguration",
1830 "properties": {
1831 "gceClusterConfiguration": {
1832 "$ref": "GceClusterConfiguration",
1833 "description": "Required The shared Google Compute Engine co nfiguration settings for all instances in a cluster."
1834 },
1835 "softwareConfiguration": {
1836 "$ref": "SoftwareConfiguration",
1837 "description": "Optional The configuration settings for soft ware inside the cluster."
1838 },
1839 "configurationBucket": {
1840 "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.",
1841 "type": "string"
1842 },
1843 "masterConfiguration": {
1844 "$ref": "InstanceGroupConfiguration",
1845 "description": "Optional The Google Compute Engine configura tion settings for the master instance in a cluster."
1846 },
1847 "secondaryWorkerConfiguration": {
1848 "$ref": "InstanceGroupConfiguration",
1849 "description": "Optional The Google Compute Engine configura tion settings for additional worker instances in a cluster."
1850 },
1851 "workerConfiguration": {
1852 "$ref": "InstanceGroupConfiguration",
1853 "description": "Optional The Google Compute Engine configura tion settings for worker instances in a cluster."
1854 },
1855 "initializationActions": {
1856 "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",
1857 "items": {
1858 "$ref": "NodeInitializationAction"
1859 }, 1601 },
1860 "type": "array" 1602 "type": "array"
1861 } 1603 }
1862 }, 1604 },
1863 "type": "object" 1605 "type": "object"
1864 }, 1606 },
1865 "LoggingConfiguration": { 1607 "LoggingConfiguration": {
1866 "description": "The runtime logging configuration of the job.", 1608 "description": "The runtime logging configuration of the job.",
1867 "id": "LoggingConfiguration", 1609 "id": "LoggingConfiguration",
1868 "properties": { 1610 "properties": {
(...skipping 10 matching lines...) Expand all
1879 "FATAL", 1621 "FATAL",
1880 "OFF" 1622 "OFF"
1881 ], 1623 ],
1882 "type": "string" 1624 "type": "string"
1883 }, 1625 },
1884 "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'", 1626 "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'",
1885 "type": "object" 1627 "type": "object"
1886 } 1628 }
1887 }, 1629 },
1888 "type": "object" 1630 "type": "object"
1631 },
1632 "ClusterConfiguration": {
1633 "description": "The cluster configuration.",
1634 "id": "ClusterConfiguration",
1635 "properties": {
1636 "softwareConfiguration": {
1637 "$ref": "SoftwareConfiguration",
1638 "description": "Optional The configuration settings for soft ware inside the cluster."
1639 },
1640 "gceClusterConfiguration": {
1641 "$ref": "GceClusterConfiguration",
1642 "description": "Required The shared Google Compute Engine co nfiguration settings for all instances in a cluster."
1643 },
1644 "configurationBucket": {
1645 "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.",
1646 "type": "string"
1647 },
1648 "masterConfiguration": {
1649 "$ref": "InstanceGroupConfiguration",
1650 "description": "Optional The Google Compute Engine configura tion settings for the master instance in a cluster."
1651 },
1652 "secondaryWorkerConfiguration": {
1653 "$ref": "InstanceGroupConfiguration",
1654 "description": "Optional The Google Compute Engine configura tion settings for additional worker instances in a cluster."
1655 },
1656 "initializationActions": {
1657 "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",
1658 "items": {
1659 "$ref": "NodeInitializationAction"
1660 },
1661 "type": "array"
1662 },
1663 "workerConfiguration": {
1664 "$ref": "InstanceGroupConfiguration",
1665 "description": "Optional The Google Compute Engine configura tion settings for worker instances in a cluster."
1666 }
1667 },
1668 "type": "object"
1669 },
1670 "ClusterMetrics": {
1671 "description": "Contains cluster daemon metrics, such as HDFS and YA RN stats.",
1672 "id": "ClusterMetrics",
1673 "properties": {
1674 "hdfsMetrics": {
1675 "additionalProperties": {
1676 "format": "int64",
1677 "type": "string"
1678 },
1679 "description": "The HDFS metrics.",
1680 "type": "object"
1681 },
1682 "yarnMetrics": {
1683 "additionalProperties": {
1684 "format": "int64",
1685 "type": "string"
1686 },
1687 "description": "The YARN metrics.",
1688 "type": "object"
1689 }
1690 },
1691 "type": "object"
1692 },
1693 "InstanceGroupConfiguration": {
1694 "description": "The configuration settings for Google Compute Engine resources in an instance group, such as a master or worker group.",
1695 "id": "InstanceGroupConfiguration",
1696 "properties": {
1697 "isPreemptible": {
1698 "description": "Specifies that this instance group contains Preemptible Instances.",
1699 "type": "boolean"
1700 },
1701 "imageUri": {
1702 "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfiguration.image_v ersion.",
1703 "type": "string"
1704 },
1705 "machineTypeUri": {
1706 "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.",
1707 "type": "string"
1708 },
1709 "instanceNames": {
1710 "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).",
1711 "items": {
1712 "type": "string"
1713 },
1714 "type": "array"
1715 },
1716 "managedGroupConfiguration": {
1717 "$ref": "ManagedGroupConfiguration",
1718 "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."
1719 },
1720 "accelerators": {
1721 "description": "Optional The Google Compute Engine accelerat or configuration for these instances.",
1722 "items": {
1723 "$ref": "AcceleratorConfiguration"
1724 },
1725 "type": "array"
1726 },
1727 "numInstances": {
1728 "description": "The number of VM instances in the instance g roup. For master instance groups, must be set to 1.",
1729 "format": "int32",
1730 "type": "integer"
1731 },
1732 "diskConfiguration": {
1733 "$ref": "DiskConfiguration",
1734 "description": "Disk option configuration settings."
1735 }
1736 },
1737 "type": "object"
1738 },
1739 "GceClusterConfiguration": {
1740 "description": "Common configuration settings for resources of Googl e Compute Engine cluster instances, applicable to all instances in the cluster." ,
1741 "id": "GceClusterConfiguration",
1742 "properties": {
1743 "metadata": {
1744 "additionalProperties": {
1745 "type": "string"
1746 },
1747 "description": "The Google Compute Engine metadata entries t o add to all instances.",
1748 "type": "object"
1749 },
1750 "internalIpOnly": {
1751 "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.",
1752 "type": "boolean"
1753 },
1754 "serviceAccountScopes": {
1755 "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",
1756 "items": {
1757 "type": "string"
1758 },
1759 "type": "array"
1760 },
1761 "tags": {
1762 "description": "The Google Compute Engine tags to add to all instances.",
1763 "items": {
1764 "type": "string"
1765 },
1766 "type": "array"
1767 },
1768 "serviceAccount": {
1769 "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",
1770 "type": "string"
1771 },
1772 "subnetworkUri": {
1773 "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 .",
1774 "type": "string"
1775 },
1776 "networkUri": {
1777 "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.",
1778 "type": "string"
1779 },
1780 "zoneUri": {
1781 "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].",
1782 "type": "string"
1783 }
1784 },
1785 "type": "object"
1786 },
1787 "CancelOperationRequest": {
1788 "description": "The request message for Operations.CancelOperation." ,
1789 "id": "CancelOperationRequest",
1790 "properties": {},
1791 "type": "object"
1792 },
1793 "DiagnoseClusterOutputLocation": {
1794 "description": "The location of diagnostic output.",
1795 "id": "DiagnoseClusterOutputLocation",
1796 "properties": {
1797 "outputUri": {
1798 "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.",
1799 "type": "string"
1800 }
1801 },
1802 "type": "object"
1803 },
1804 "Operation": {
1805 "description": "This resource represents a long-running operation th at is the result of a network API call.",
1806 "id": "Operation",
1807 "properties": {
1808 "response": {
1809 "additionalProperties": {
1810 "description": "Properties of the object. Contains field @type with type URL.",
1811 "type": "any"
1812 },
1813 "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.",
1814 "type": "object"
1815 },
1816 "name": {
1817 "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.",
1818 "type": "string"
1819 },
1820 "error": {
1821 "$ref": "Status",
1822 "description": "The error result of the operation in case of failure or cancellation."
1823 },
1824 "metadata": {
1825 "additionalProperties": {
1826 "description": "Properties of the object. Contains field @type with type URL.",
1827 "type": "any"
1828 },
1829 "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.",
1830 "type": "object"
1831 },
1832 "done": {
1833 "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.",
1834 "type": "boolean"
1835 }
1836 },
1837 "type": "object"
1838 },
1839 "OperationStatus": {
1840 "description": "The status of the operation.",
1841 "id": "OperationStatus",
1842 "properties": {
1843 "innerState": {
1844 "description": "A message containing the detailed operation state.",
1845 "type": "string"
1846 },
1847 "stateStartTime": {
1848 "description": "The time this state was entered.",
1849 "format": "google-datetime",
1850 "type": "string"
1851 },
1852 "details": {
1853 "description": "A message containing any operation metadata details.",
1854 "type": "string"
1855 },
1856 "state": {
1857 "description": "A message containing the operation state.",
1858 "enum": [
1859 "UNKNOWN",
1860 "PENDING",
1861 "RUNNING",
1862 "DONE"
1863 ],
1864 "enumDescriptions": [
1865 "Unused.",
1866 "The operation has been created.",
1867 "The operation is running.",
1868 "The operation is done; either cancelled or completed."
1869 ],
1870 "type": "string"
1871 }
1872 },
1873 "type": "object"
1874 },
1875 "JobReference": {
1876 "description": "Encapsulates the full scoping used to reference a jo b.",
1877 "id": "JobReference",
1878 "properties": {
1879 "jobId": {
1880 "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.",
1881 "type": "string"
1882 },
1883 "projectId": {
1884 "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
1885 "type": "string"
1886 }
1887 },
1888 "type": "object"
1889 } 1889 }
1890 }, 1890 },
1891 "servicePath": "", 1891 "servicePath": "",
1892 "title": "Google Cloud Dataproc API", 1892 "title": "Google Cloud Dataproc API",
1893 "version": "v1beta1" 1893 "version": "v1beta1"
1894 } 1894 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/dataflow__v1b3.json ('k') | discovery/googleapis_beta/dlp__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698