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

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

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 8 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:v1", 21 "id": "dataproc:v1",
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 "access_token": {
28 "description": "OAuth access token.",
29 "location": "query",
30 "type": "string"
31 },
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": {
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",
40 "type": "string"
41 },
42 "pp": {
43 "default": "true",
44 "description": "Pretty-print response.",
45 "location": "query",
46 "type": "boolean"
47 },
48 "oauth_token": {
49 "description": "OAuth 2.0 token for the current user.",
50 "location": "query",
51 "type": "string"
52 },
53 "bearer_token": {
54 "description": "OAuth bearer token.",
55 "location": "query",
56 "type": "string"
57 },
27 "upload_protocol": { 58 "upload_protocol": {
28 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
29 "location": "query", 60 "location": "query",
30 "type": "string" 61 "type": "string"
31 }, 62 },
32 "prettyPrint": { 63 "prettyPrint": {
33 "default": "true", 64 "default": "true",
34 "description": "Returns response with indentations and line breaks." , 65 "description": "Returns response with indentations and line breaks." ,
35 "location": "query", 66 "location": "query",
36 "type": "boolean" 67 "type": "boolean"
37 }, 68 },
38 "uploadType": { 69 "uploadType": {
39 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 70 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
40 "location": "query", 71 "location": "query",
41 "type": "string" 72 "type": "string"
42 }, 73 },
43 "fields": { 74 "fields": {
44 "description": "Selector specifying which fields to include in a par tial response.", 75 "description": "Selector specifying which fields to include in a par tial response.",
45 "location": "query", 76 "location": "query",
46 "type": "string" 77 "type": "string"
47 }, 78 },
48 "callback": {
49 "description": "JSONP",
50 "location": "query",
51 "type": "string"
52 },
53 "$.xgafv": { 79 "$.xgafv": {
54 "description": "V1 error format.", 80 "description": "V1 error format.",
55 "enum": [ 81 "enum": [
56 "1", 82 "1",
57 "2" 83 "2"
58 ], 84 ],
59 "enumDescriptions": [ 85 "enumDescriptions": [
60 "v1 error format", 86 "v1 error format",
61 "v2 error format" 87 "v2 error format"
62 ], 88 ],
63 "location": "query", 89 "location": "query",
64 "type": "string" 90 "type": "string"
65 }, 91 },
92 "callback": {
93 "description": "JSONP",
94 "location": "query",
95 "type": "string"
96 },
66 "alt": { 97 "alt": {
67 "default": "json", 98 "default": "json",
68 "description": "Data format for response.", 99 "description": "Data format for response.",
69 "enum": [ 100 "enum": [
70 "json", 101 "json",
71 "media", 102 "media",
72 "proto" 103 "proto"
73 ], 104 ],
74 "enumDescriptions": [ 105 "enumDescriptions": [
75 "Responses with Content-Type of application/json", 106 "Responses with Content-Type of application/json",
76 "Media download with context-dependent Content-Type", 107 "Media download with context-dependent Content-Type",
77 "Responses with Content-Type of application/x-protobuf" 108 "Responses with Content-Type of application/x-protobuf"
78 ], 109 ],
79 "location": "query", 110 "location": "query",
80 "type": "string" 111 "type": "string"
81 },
82 "access_token": {
83 "description": "OAuth access token.",
84 "location": "query",
85 "type": "string"
86 },
87 "key": {
88 "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.",
89 "location": "query",
90 "type": "string"
91 },
92 "quotaUser": {
93 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
94 "location": "query",
95 "type": "string"
96 },
97 "pp": {
98 "default": "true",
99 "description": "Pretty-print response.",
100 "location": "query",
101 "type": "boolean"
102 },
103 "bearer_token": {
104 "description": "OAuth bearer token.",
105 "location": "query",
106 "type": "string"
107 },
108 "oauth_token": {
109 "description": "OAuth 2.0 token for the current user.",
110 "location": "query",
111 "type": "string"
112 } 112 }
113 }, 113 },
114 "protocol": "rest", 114 "protocol": "rest",
115 "resources": { 115 "resources": {
116 "projects": { 116 "projects": {
117 "resources": { 117 "resources": {
118 "regions": { 118 "regions": {
119 "resources": { 119 "resources": {
120 "jobs": { 120 "clusters": {
121 "methods": { 121 "methods": {
122 "list": { 122 "create": {
123 "description": "Lists regions/{region}/jobs in a project.", 123 "description": "Creates a cluster in a proje ct.",
124 "httpMethod": "GET", 124 "httpMethod": "POST",
125 "id": "dataproc.projects.regions.jobs.list", 125 "id": "dataproc.projects.regions.clusters.cr eate",
126 "parameterOrder": [ 126 "parameterOrder": [
127 "projectId", 127 "projectId",
128 "region" 128 "region"
129 ], 129 ],
130 "parameters": { 130 "parameters": {
131 "pageToken": {
132 "description": "Optional The page to ken, returned by a previous call, to request the next page of results.",
133 "location": "query",
134 "type": "string"
135 },
136 "pageSize": {
137 "description": "Optional The number of results to return in each response.",
138 "format": "int32",
139 "location": "query",
140 "type": "integer"
141 },
142 "region": { 131 "region": {
143 "description": "Required The Cloud D ataproc region in which to handle the request.", 132 "description": "Required The Cloud D ataproc region in which to handle the request.",
144 "location": "path", 133 "location": "path",
145 "required": true, 134 "required": true,
146 "type": "string" 135 "type": "string"
147 }, 136 },
148 "clusterName": {
149 "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster. ",
150 "location": "query",
151 "type": "string"
152 },
153 "projectId": { 137 "projectId": {
154 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.", 138 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
155 "location": "path", 139 "location": "path",
156 "required": true, 140 "required": true,
157 "type": "string" 141 "type": "string"
158 },
159 "filter": {
160 "description": "Optional A filter co nstraining the jobs to list. Filters are case-sensitive and have the following s yntax:field = value AND field = value ...where field is status.state or labels.[ KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or INACTIVE. Only the logical AND operator is supported; s pace-separated items are treated as having an implicit AND operator.Example filt er:status.state = ACTIVE AND labels.env = staging AND labels.starred = *",
161 "location": "query",
162 "type": "string"
163 },
164 "jobStateMatcher": {
165 "description": "Optional Specifies e numerated categories of jobs to list (default = match ALL jobs).",
166 "enum": [
167 "ALL",
168 "ACTIVE",
169 "NON_ACTIVE"
170 ],
171 "location": "query",
172 "type": "string"
173 } 142 }
174 }, 143 },
175 "path": "v1/projects/{projectId}/regions/{re gion}/jobs", 144 "path": "v1/projects/{projectId}/regions/{re gion}/clusters",
145 "request": {
146 "$ref": "Cluster"
147 },
176 "response": { 148 "response": {
177 "$ref": "ListJobsResponse" 149 "$ref": "Operation"
178 }, 150 },
179 "scopes": [ 151 "scopes": [
180 "https://www.googleapis.com/auth/cloud-p latform" 152 "https://www.googleapis.com/auth/cloud-p latform"
181 ] 153 ]
182 }, 154 },
183 "cancel": { 155 "patch": {
184 "description": "Starts a job cancellation re quest. To access the job resource after cancellation, call regions/{region}/jobs .list or regions/{region}/jobs.get.", 156 "description": "Updates a cluster in a proje ct.",
185 "httpMethod": "POST", 157 "httpMethod": "PATCH",
186 "id": "dataproc.projects.regions.jobs.cancel ", 158 "id": "dataproc.projects.regions.clusters.pa tch",
187 "parameterOrder": [ 159 "parameterOrder": [
188 "projectId", 160 "projectId",
189 "region", 161 "region",
190 "jobId" 162 "clusterName"
191 ], 163 ],
192 "parameters": { 164 "parameters": {
193 "projectId": {
194 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
195 "location": "path",
196 "required": true,
197 "type": "string"
198 },
199 "jobId": {
200 "description": "Required The job ID. ",
201 "location": "path",
202 "required": true,
203 "type": "string"
204 },
205 "region": { 165 "region": {
206 "description": "Required The Cloud D ataproc region in which to handle the request.", 166 "description": "Required The Cloud D ataproc region in which to handle the request.",
207 "location": "path", 167 "location": "path",
208 "required": true, 168 "required": true,
209 "type": "string" 169 "type": "string"
170 },
171 "updateMask": {
172 "description": "Required Specifies t he path, relative to <code>Cluster</code>, of the field to update. For example, to change the number of workers in a cluster to 5, the <code>update_mask</code> parameter would be specified as <code>config.worker_config.num_instances</code>, and the PATCH request body would specify the new value, as follows:\n{\n \"con fig\":{\n \"workerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSi milarly, to change the number of preemptible workers in a cluster to 5, the <cod e>update_mask</code> parameter would be <code>config.secondary_worker_config.num _instances</code>, and the PATCH request body would be set as follows:\n{\n \"c onfig\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\ n }\n}\n<strong>Note:</strong> Currently, <code>config.worker_config.num_instan ces</code> and <code>config.secondary_worker_config.num_instances</code> are the only fields that can be updated.",
173 "format": "google-fieldmask",
174 "location": "query",
175 "type": "string"
176 },
177 "clusterName": {
178 "description": "Required The cluster name.",
179 "location": "path",
180 "required": true,
181 "type": "string"
182 },
183 "projectId": {
184 "description": "Required The ID of t he Google Cloud Platform project the cluster belongs to.",
185 "location": "path",
186 "required": true,
187 "type": "string"
210 } 188 }
211 }, 189 },
212 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}:cancel", 190 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}",
213 "request": { 191 "request": {
214 "$ref": "CancelJobRequest" 192 "$ref": "Cluster"
215 }, 193 },
216 "response": { 194 "response": {
217 "$ref": "Job" 195 "$ref": "Operation"
218 }, 196 },
219 "scopes": [ 197 "scopes": [
220 "https://www.googleapis.com/auth/cloud-p latform" 198 "https://www.googleapis.com/auth/cloud-p latform"
221 ] 199 ]
222 }, 200 },
223 "get": { 201 "get": {
224 "description": "Gets the resource representa tion for a job in a project.", 202 "description": "Gets the resource representa tion for a cluster in a project.",
225 "httpMethod": "GET", 203 "httpMethod": "GET",
226 "id": "dataproc.projects.regions.jobs.get", 204 "id": "dataproc.projects.regions.clusters.ge t",
227 "parameterOrder": [ 205 "parameterOrder": [
228 "projectId", 206 "projectId",
229 "region", 207 "region",
230 "jobId" 208 "clusterName"
231 ], 209 ],
232 "parameters": { 210 "parameters": {
233 "projectId": { 211 "clusterName": {
234 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.", 212 "description": "Required The cluster name.",
235 "location": "path", 213 "location": "path",
236 "required": true, 214 "required": true,
237 "type": "string" 215 "type": "string"
238 }, 216 },
239 "jobId": { 217 "projectId": {
240 "description": "Required The job ID. ", 218 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
241 "location": "path", 219 "location": "path",
242 "required": true, 220 "required": true,
243 "type": "string" 221 "type": "string"
244 }, 222 },
245 "region": { 223 "region": {
246 "description": "Required The Cloud D ataproc region in which to handle the request.", 224 "description": "Required The Cloud D ataproc region in which to handle the request.",
247 "location": "path", 225 "location": "path",
248 "required": true, 226 "required": true,
249 "type": "string" 227 "type": "string"
250 } 228 }
251 }, 229 },
252 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}", 230 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}",
253 "response": { 231 "response": {
254 "$ref": "Job" 232 "$ref": "Cluster"
255 }, 233 },
256 "scopes": [ 234 "scopes": [
257 "https://www.googleapis.com/auth/cloud-p latform" 235 "https://www.googleapis.com/auth/cloud-p latform"
258 ] 236 ]
259 }, 237 },
260 "patch": { 238 "diagnose": {
261 "description": "Updates a job in a project." , 239 "description": "Gets cluster diagnostic info rmation. After the operation completes, the Operation.response field contains Di agnoseClusterOutputLocation.",
262 "httpMethod": "PATCH", 240 "httpMethod": "POST",
263 "id": "dataproc.projects.regions.jobs.patch" , 241 "id": "dataproc.projects.regions.clusters.di agnose",
264 "parameterOrder": [ 242 "parameterOrder": [
265 "projectId", 243 "projectId",
266 "region", 244 "region",
267 "jobId" 245 "clusterName"
268 ], 246 ],
269 "parameters": { 247 "parameters": {
270 "projectId": {
271 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
272 "location": "path",
273 "required": true,
274 "type": "string"
275 },
276 "jobId": {
277 "description": "Required The job ID. ",
278 "location": "path",
279 "required": true,
280 "type": "string"
281 },
282 "region": { 248 "region": {
283 "description": "Required The Cloud D ataproc region in which to handle the request.", 249 "description": "Required The Cloud D ataproc region in which to handle the request.",
284 "location": "path", 250 "location": "path",
285 "required": true, 251 "required": true,
286 "type": "string" 252 "type": "string"
287 }, 253 },
288 "updateMask": { 254 "clusterName": {
289 "description": "Required Specifies t he path, relative to <code>Job</code>, of the field to update. For example, to u pdate the labels of a Job the <code>update_mask</code> parameter would be specif ied as <code>labels</code>, and the PATCH request body would specify the new val ue. <strong>Note:</strong> Currently, <code>labels</code> is the only field that can be updated.", 255 "description": "Required The cluster name.",
290 "format": "google-fieldmask", 256 "location": "path",
291 "location": "query", 257 "required": true,
258 "type": "string"
259 },
260 "projectId": {
261 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
262 "location": "path",
263 "required": true,
292 "type": "string" 264 "type": "string"
293 } 265 }
294 }, 266 },
295 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}", 267 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}:diagnose",
296 "request": { 268 "request": {
297 "$ref": "Job" 269 "$ref": "DiagnoseClusterRequest"
298 }, 270 },
299 "response": { 271 "response": {
300 "$ref": "Job" 272 "$ref": "Operation"
301 }, 273 },
302 "scopes": [ 274 "scopes": [
303 "https://www.googleapis.com/auth/cloud-p latform" 275 "https://www.googleapis.com/auth/cloud-p latform"
304 ] 276 ]
305 }, 277 },
306 "submit": { 278 "delete": {
307 "description": "Submits a job to a cluster." , 279 "description": "Deletes a cluster in a proje ct.",
308 "httpMethod": "POST", 280 "httpMethod": "DELETE",
309 "id": "dataproc.projects.regions.jobs.submit ", 281 "id": "dataproc.projects.regions.clusters.de lete",
310 "parameterOrder": [ 282 "parameterOrder": [
311 "projectId", 283 "projectId",
312 "region" 284 "region",
285 "clusterName"
313 ], 286 ],
314 "parameters": { 287 "parameters": {
315 "projectId": { 288 "clusterName": {
316 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.", 289 "description": "Required The cluster name.",
317 "location": "path", 290 "location": "path",
318 "required": true, 291 "required": true,
319 "type": "string" 292 "type": "string"
293 },
294 "projectId": {
295 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
296 "location": "path",
297 "required": true,
298 "type": "string"
320 }, 299 },
321 "region": { 300 "region": {
322 "description": "Required The Cloud D ataproc region in which to handle the request.", 301 "description": "Required The Cloud D ataproc region in which to handle the request.",
323 "location": "path", 302 "location": "path",
324 "required": true, 303 "required": true,
325 "type": "string" 304 "type": "string"
326 } 305 }
327 }, 306 },
328 "path": "v1/projects/{projectId}/regions/{re gion}/jobs:submit", 307 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}",
329 "request": {
330 "$ref": "SubmitJobRequest"
331 },
332 "response": { 308 "response": {
333 "$ref": "Job" 309 "$ref": "Operation"
334 }, 310 },
335 "scopes": [ 311 "scopes": [
336 "https://www.googleapis.com/auth/cloud-p latform" 312 "https://www.googleapis.com/auth/cloud-p latform"
337 ] 313 ]
338 }, 314 },
339 "delete": { 315 "list": {
340 "description": "Deletes the job from the pro ject. If the job is active, the delete fails, and the response returns FAILED_PR ECONDITION.", 316 "description": "Lists all regions/{region}/c lusters in a project.",
341 "httpMethod": "DELETE", 317 "httpMethod": "GET",
342 "id": "dataproc.projects.regions.jobs.delete ", 318 "id": "dataproc.projects.regions.clusters.li st",
343 "parameterOrder": [ 319 "parameterOrder": [
344 "projectId", 320 "projectId",
345 "region", 321 "region"
346 "jobId"
347 ], 322 ],
348 "parameters": { 323 "parameters": {
324 "pageToken": {
325 "description": "Optional The standar d List page token.",
326 "location": "query",
327 "type": "string"
328 },
329 "pageSize": {
330 "description": "Optional The standar d List page size.",
331 "format": "int32",
332 "location": "query",
333 "type": "integer"
334 },
335 "projectId": {
336 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
337 "location": "path",
338 "required": true,
339 "type": "string"
340 },
349 "region": { 341 "region": {
350 "description": "Required The Cloud D ataproc region in which to handle the request.", 342 "description": "Required The Cloud D ataproc region in which to handle the request.",
351 "location": "path", 343 "location": "path",
352 "required": true, 344 "required": true,
353 "type": "string" 345 "type": "string"
354 }, 346 },
355 "projectId": { 347 "filter": {
356 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.", 348 "description": "Optional A filter co nstraining the clusters to list. Filters are case-sensitive and have the followi ng syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATIN G, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING , and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterNa me is the name of the cluster provided at creation time. Only the logical AND op erator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND l abels.env = staging AND labels.starred = *",
357 "location": "path", 349 "location": "query",
358 "required": true,
359 "type": "string"
360 },
361 "jobId": {
362 "description": "Required The job ID. ",
363 "location": "path",
364 "required": true,
365 "type": "string" 350 "type": "string"
366 } 351 }
367 }, 352 },
368 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}", 353 "path": "v1/projects/{projectId}/regions/{re gion}/clusters",
369 "response": { 354 "response": {
370 "$ref": "Empty" 355 "$ref": "ListClustersResponse"
371 }, 356 },
372 "scopes": [ 357 "scopes": [
373 "https://www.googleapis.com/auth/cloud-p latform" 358 "https://www.googleapis.com/auth/cloud-p latform"
374 ] 359 ]
375 } 360 }
376 } 361 }
377 }, 362 },
378 "clusters": {
379 "methods": {
380 "delete": {
381 "description": "Deletes a cluster in a proje ct.",
382 "httpMethod": "DELETE",
383 "id": "dataproc.projects.regions.clusters.de lete",
384 "parameterOrder": [
385 "projectId",
386 "region",
387 "clusterName"
388 ],
389 "parameters": {
390 "region": {
391 "description": "Required The Cloud D ataproc region in which to handle the request.",
392 "location": "path",
393 "required": true,
394 "type": "string"
395 },
396 "clusterName": {
397 "description": "Required The cluster name.",
398 "location": "path",
399 "required": true,
400 "type": "string"
401 },
402 "projectId": {
403 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
404 "location": "path",
405 "required": true,
406 "type": "string"
407 }
408 },
409 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}",
410 "response": {
411 "$ref": "Operation"
412 },
413 "scopes": [
414 "https://www.googleapis.com/auth/cloud-p latform"
415 ]
416 },
417 "diagnose": {
418 "description": "Gets cluster diagnostic info rmation. After the operation completes, the Operation.response field contains Di agnoseClusterOutputLocation.",
419 "httpMethod": "POST",
420 "id": "dataproc.projects.regions.clusters.di agnose",
421 "parameterOrder": [
422 "projectId",
423 "region",
424 "clusterName"
425 ],
426 "parameters": {
427 "projectId": {
428 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
429 "location": "path",
430 "required": true,
431 "type": "string"
432 },
433 "region": {
434 "description": "Required The Cloud D ataproc region in which to handle the request.",
435 "location": "path",
436 "required": true,
437 "type": "string"
438 },
439 "clusterName": {
440 "description": "Required The cluster name.",
441 "location": "path",
442 "required": true,
443 "type": "string"
444 }
445 },
446 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}:diagnose",
447 "request": {
448 "$ref": "DiagnoseClusterRequest"
449 },
450 "response": {
451 "$ref": "Operation"
452 },
453 "scopes": [
454 "https://www.googleapis.com/auth/cloud-p latform"
455 ]
456 },
457 "list": {
458 "description": "Lists all regions/{region}/c lusters in a project.",
459 "httpMethod": "GET",
460 "id": "dataproc.projects.regions.clusters.li st",
461 "parameterOrder": [
462 "projectId",
463 "region"
464 ],
465 "parameters": {
466 "region": {
467 "description": "Required The Cloud D ataproc region in which to handle the request.",
468 "location": "path",
469 "required": true,
470 "type": "string"
471 },
472 "filter": {
473 "description": "Optional A filter co nstraining the clusters to list. Filters are case-sensitive and have the followi ng syntax:field = value AND field = value ...where field is one of status.state, clusterName, or labels.[KEY], and [KEY] is a label key. value can be * to match all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATIN G, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATING , and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterNa me is the name of the cluster provided at creation time. Only the logical AND op erator is supported; space-separated items are treated as having an implicit AND operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND l abels.env = staging AND labels.starred = *",
474 "location": "query",
475 "type": "string"
476 },
477 "pageToken": {
478 "description": "Optional The standar d List page token.",
479 "location": "query",
480 "type": "string"
481 },
482 "pageSize": {
483 "description": "Optional The standar d List page size.",
484 "format": "int32",
485 "location": "query",
486 "type": "integer"
487 },
488 "projectId": {
489 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
490 "location": "path",
491 "required": true,
492 "type": "string"
493 }
494 },
495 "path": "v1/projects/{projectId}/regions/{re gion}/clusters",
496 "response": {
497 "$ref": "ListClustersResponse"
498 },
499 "scopes": [
500 "https://www.googleapis.com/auth/cloud-p latform"
501 ]
502 },
503 "create": {
504 "description": "Creates a cluster in a proje ct.",
505 "httpMethod": "POST",
506 "id": "dataproc.projects.regions.clusters.cr eate",
507 "parameterOrder": [
508 "projectId",
509 "region"
510 ],
511 "parameters": {
512 "projectId": {
513 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
514 "location": "path",
515 "required": true,
516 "type": "string"
517 },
518 "region": {
519 "description": "Required The Cloud D ataproc region in which to handle the request.",
520 "location": "path",
521 "required": true,
522 "type": "string"
523 }
524 },
525 "path": "v1/projects/{projectId}/regions/{re gion}/clusters",
526 "request": {
527 "$ref": "Cluster"
528 },
529 "response": {
530 "$ref": "Operation"
531 },
532 "scopes": [
533 "https://www.googleapis.com/auth/cloud-p latform"
534 ]
535 },
536 "get": {
537 "description": "Gets the resource representa tion for a cluster in a project.",
538 "httpMethod": "GET",
539 "id": "dataproc.projects.regions.clusters.ge t",
540 "parameterOrder": [
541 "projectId",
542 "region",
543 "clusterName"
544 ],
545 "parameters": {
546 "projectId": {
547 "description": "Required The ID of t he Google Cloud Platform project that the cluster belongs to.",
548 "location": "path",
549 "required": true,
550 "type": "string"
551 },
552 "region": {
553 "description": "Required The Cloud D ataproc region in which to handle the request.",
554 "location": "path",
555 "required": true,
556 "type": "string"
557 },
558 "clusterName": {
559 "description": "Required The cluster name.",
560 "location": "path",
561 "required": true,
562 "type": "string"
563 }
564 },
565 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}",
566 "response": {
567 "$ref": "Cluster"
568 },
569 "scopes": [
570 "https://www.googleapis.com/auth/cloud-p latform"
571 ]
572 },
573 "patch": {
574 "description": "Updates a cluster in a proje ct.",
575 "httpMethod": "PATCH",
576 "id": "dataproc.projects.regions.clusters.pa tch",
577 "parameterOrder": [
578 "projectId",
579 "region",
580 "clusterName"
581 ],
582 "parameters": {
583 "region": {
584 "description": "Required The Cloud D ataproc region in which to handle the request.",
585 "location": "path",
586 "required": true,
587 "type": "string"
588 },
589 "updateMask": {
590 "description": "Required Specifies t he path, relative to <code>Cluster</code>, of the field to update. For example, to change the number of workers in a cluster to 5, the <code>update_mask</code> parameter would be specified as <code>config.worker_config.num_instances</code>, and the PATCH request body would specify the new value, as follows:\n{\n \"con fig\":{\n \"workerConfig\":{\n \"numInstances\":\"5\"\n }\n }\n}\nSi milarly, to change the number of preemptible workers in a cluster to 5, the <cod e>update_mask</code> parameter would be <code>config.secondary_worker_config.num _instances</code>, and the PATCH request body would be set as follows:\n{\n \"c onfig\":{\n \"secondaryWorkerConfig\":{\n \"numInstances\":\"5\"\n }\ n }\n}\n<strong>Note:</strong> Currently, <code>config.worker_config.num_instan ces</code> and <code>config.secondary_worker_config.num_instances</code> are the only fields that can be updated.",
591 "format": "google-fieldmask",
592 "location": "query",
593 "type": "string"
594 },
595 "clusterName": {
596 "description": "Required The cluster name.",
597 "location": "path",
598 "required": true,
599 "type": "string"
600 },
601 "projectId": {
602 "description": "Required The ID of t he Google Cloud Platform project the cluster belongs to.",
603 "location": "path",
604 "required": true,
605 "type": "string"
606 }
607 },
608 "path": "v1/projects/{projectId}/regions/{re gion}/clusters/{clusterName}",
609 "request": {
610 "$ref": "Cluster"
611 },
612 "response": {
613 "$ref": "Operation"
614 },
615 "scopes": [
616 "https://www.googleapis.com/auth/cloud-p latform"
617 ]
618 }
619 }
620 },
621 "operations": { 363 "operations": {
622 "methods": { 364 "methods": {
365 "cancel": {
366 "description": "Starts asynchronous cancella tion on a long-running operation. The server makes a best effort to cancel the o peration, but success is not guaranteed. If the server doesn't support this meth od, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOper ation or other methods to check whether the cancellation succeeded or whether th e operation completed despite cancellation. On successful cancellation, the oper ation is not deleted; instead, it becomes an operation with an Operation.error v alue with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.",
367 "httpMethod": "POST",
368 "id": "dataproc.projects.regions.operations. cancel",
369 "parameterOrder": [
370 "name"
371 ],
372 "parameters": {
373 "name": {
374 "description": "The name of the oper ation resource to be cancelled.",
375 "location": "path",
376 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$",
377 "required": true,
378 "type": "string"
379 }
380 },
381 "path": "v1/{+name}:cancel",
382 "response": {
383 "$ref": "Empty"
384 },
385 "scopes": [
386 "https://www.googleapis.com/auth/cloud-p latform"
387 ]
388 },
389 "delete": {
390 "description": "Deletes a long-running opera tion. This method indicates that the client is no longer interested in the opera tion result. It does not cancel the operation. If the server doesn't support thi s method, it returns google.rpc.Code.UNIMPLEMENTED.",
391 "httpMethod": "DELETE",
392 "id": "dataproc.projects.regions.operations. delete",
393 "parameterOrder": [
394 "name"
395 ],
396 "parameters": {
397 "name": {
398 "description": "The name of the oper ation resource to be deleted.",
399 "location": "path",
400 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$",
401 "required": true,
402 "type": "string"
403 }
404 },
405 "path": "v1/{+name}",
406 "response": {
407 "$ref": "Empty"
408 },
409 "scopes": [
410 "https://www.googleapis.com/auth/cloud-p latform"
411 ]
412 },
623 "list": { 413 "list": {
624 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to ove rride the binding to use different resource name schemes, such as users/*/operat ions.", 414 "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding below allows API services to ove rride the binding to use different resource name schemes, such as users/*/operat ions.",
625 "httpMethod": "GET", 415 "httpMethod": "GET",
626 "id": "dataproc.projects.regions.operations. list", 416 "id": "dataproc.projects.regions.operations. list",
627 "parameterOrder": [ 417 "parameterOrder": [
628 "name" 418 "name"
629 ], 419 ],
630 "parameters": { 420 "parameters": {
421 "filter": {
422 "description": "The standard list fi lter.",
423 "location": "query",
424 "type": "string"
425 },
426 "name": {
427 "description": "The name of the oper ation collection.",
428 "location": "path",
429 "pattern": "^projects/[^/]+/regions/ [^/]+/operations$",
430 "required": true,
431 "type": "string"
432 },
433 "pageToken": {
434 "description": "The standard list pa ge token.",
435 "location": "query",
436 "type": "string"
437 },
631 "pageSize": { 438 "pageSize": {
632 "description": "The standard list pa ge size.", 439 "description": "The standard list pa ge size.",
633 "format": "int32", 440 "format": "int32",
634 "location": "query", 441 "location": "query",
635 "type": "integer" 442 "type": "integer"
636 },
637 "filter": {
638 "description": "The standard list fi lter.",
639 "location": "query",
640 "type": "string"
641 },
642 "name": {
643 "description": "The name of the oper ation collection.",
644 "location": "path",
645 "pattern": "^projects/[^/]+/regions/ [^/]+/operations$",
646 "required": true,
647 "type": "string"
648 },
649 "pageToken": {
650 "description": "The standard list pa ge token.",
651 "location": "query",
652 "type": "string"
653 } 443 }
654 }, 444 },
655 "path": "v1/{+name}", 445 "path": "v1/{+name}",
656 "response": { 446 "response": {
657 "$ref": "ListOperationsResponse" 447 "$ref": "ListOperationsResponse"
658 }, 448 },
659 "scopes": [ 449 "scopes": [
660 "https://www.googleapis.com/auth/cloud-p latform" 450 "https://www.googleapis.com/auth/cloud-p latform"
661 ] 451 ]
662 }, 452 },
(...skipping 13 matching lines...) Expand all
676 "type": "string" 466 "type": "string"
677 } 467 }
678 }, 468 },
679 "path": "v1/{+name}", 469 "path": "v1/{+name}",
680 "response": { 470 "response": {
681 "$ref": "Operation" 471 "$ref": "Operation"
682 }, 472 },
683 "scopes": [ 473 "scopes": [
684 "https://www.googleapis.com/auth/cloud-p latform" 474 "https://www.googleapis.com/auth/cloud-p latform"
685 ] 475 ]
686 }, 476 }
477 }
478 },
479 "jobs": {
480 "methods": {
687 "cancel": { 481 "cancel": {
688 "description": "Starts asynchronous cancella tion on a long-running operation. The server makes a best effort to cancel the o peration, but success is not guaranteed. If the server doesn't support this meth od, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOper ation or other methods to check whether the cancellation succeeded or whether th e operation completed despite cancellation. On successful cancellation, the oper ation is not deleted; instead, it becomes an operation with an Operation.error v alue with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.", 482 "description": "Starts a job cancellation re quest. To access the job resource after cancellation, call regions/{region}/jobs .list or regions/{region}/jobs.get.",
689 "httpMethod": "POST", 483 "httpMethod": "POST",
690 "id": "dataproc.projects.regions.operations. cancel", 484 "id": "dataproc.projects.regions.jobs.cancel ",
691 "parameterOrder": [ 485 "parameterOrder": [
692 "name" 486 "projectId",
693 ], 487 "region",
694 "parameters": { 488 "jobId"
695 "name": { 489 ],
696 "description": "The name of the oper ation resource to be cancelled.", 490 "parameters": {
697 "location": "path", 491 "region": {
698 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$", 492 "description": "Required The Cloud D ataproc region in which to handle the request.",
699 "required": true, 493 "location": "path",
700 "type": "string" 494 "required": true,
701 } 495 "type": "string"
702 }, 496 },
703 "path": "v1/{+name}:cancel", 497 "projectId": {
498 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
499 "location": "path",
500 "required": true,
501 "type": "string"
502 },
503 "jobId": {
504 "description": "Required The job ID. ",
505 "location": "path",
506 "required": true,
507 "type": "string"
508 }
509 },
510 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}:cancel",
511 "request": {
512 "$ref": "CancelJobRequest"
513 },
514 "response": {
515 "$ref": "Job"
516 },
517 "scopes": [
518 "https://www.googleapis.com/auth/cloud-p latform"
519 ]
520 },
521 "patch": {
522 "description": "Updates a job in a project." ,
523 "httpMethod": "PATCH",
524 "id": "dataproc.projects.regions.jobs.patch" ,
525 "parameterOrder": [
526 "projectId",
527 "region",
528 "jobId"
529 ],
530 "parameters": {
531 "projectId": {
532 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
533 "location": "path",
534 "required": true,
535 "type": "string"
536 },
537 "jobId": {
538 "description": "Required The job ID. ",
539 "location": "path",
540 "required": true,
541 "type": "string"
542 },
543 "region": {
544 "description": "Required The Cloud D ataproc region in which to handle the request.",
545 "location": "path",
546 "required": true,
547 "type": "string"
548 },
549 "updateMask": {
550 "description": "Required Specifies t he path, relative to <code>Job</code>, of the field to update. For example, to u pdate the labels of a Job the <code>update_mask</code> parameter would be specif ied as <code>labels</code>, and the PATCH request body would specify the new val ue. <strong>Note:</strong> Currently, <code>labels</code> is the only field that can be updated.",
551 "format": "google-fieldmask",
552 "location": "query",
553 "type": "string"
554 }
555 },
556 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}",
557 "request": {
558 "$ref": "Job"
559 },
560 "response": {
561 "$ref": "Job"
562 },
563 "scopes": [
564 "https://www.googleapis.com/auth/cloud-p latform"
565 ]
566 },
567 "get": {
568 "description": "Gets the resource representa tion for a job in a project.",
569 "httpMethod": "GET",
570 "id": "dataproc.projects.regions.jobs.get",
571 "parameterOrder": [
572 "projectId",
573 "region",
574 "jobId"
575 ],
576 "parameters": {
577 "projectId": {
578 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
579 "location": "path",
580 "required": true,
581 "type": "string"
582 },
583 "jobId": {
584 "description": "Required The job ID. ",
585 "location": "path",
586 "required": true,
587 "type": "string"
588 },
589 "region": {
590 "description": "Required The Cloud D ataproc region in which to handle the request.",
591 "location": "path",
592 "required": true,
593 "type": "string"
594 }
595 },
596 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}",
597 "response": {
598 "$ref": "Job"
599 },
600 "scopes": [
601 "https://www.googleapis.com/auth/cloud-p latform"
602 ]
603 },
604 "submit": {
605 "description": "Submits a job to a cluster." ,
606 "httpMethod": "POST",
607 "id": "dataproc.projects.regions.jobs.submit ",
608 "parameterOrder": [
609 "projectId",
610 "region"
611 ],
612 "parameters": {
613 "region": {
614 "description": "Required The Cloud D ataproc region in which to handle the request.",
615 "location": "path",
616 "required": true,
617 "type": "string"
618 },
619 "projectId": {
620 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
621 "location": "path",
622 "required": true,
623 "type": "string"
624 }
625 },
626 "path": "v1/projects/{projectId}/regions/{re gion}/jobs:submit",
627 "request": {
628 "$ref": "SubmitJobRequest"
629 },
630 "response": {
631 "$ref": "Job"
632 },
633 "scopes": [
634 "https://www.googleapis.com/auth/cloud-p latform"
635 ]
636 },
637 "delete": {
638 "description": "Deletes the job from the pro ject. If the job is active, the delete fails, and the response returns FAILED_PR ECONDITION.",
639 "httpMethod": "DELETE",
640 "id": "dataproc.projects.regions.jobs.delete ",
641 "parameterOrder": [
642 "projectId",
643 "region",
644 "jobId"
645 ],
646 "parameters": {
647 "projectId": {
648 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
649 "location": "path",
650 "required": true,
651 "type": "string"
652 },
653 "jobId": {
654 "description": "Required The job ID. ",
655 "location": "path",
656 "required": true,
657 "type": "string"
658 },
659 "region": {
660 "description": "Required The Cloud D ataproc region in which to handle the request.",
661 "location": "path",
662 "required": true,
663 "type": "string"
664 }
665 },
666 "path": "v1/projects/{projectId}/regions/{re gion}/jobs/{jobId}",
704 "response": { 667 "response": {
705 "$ref": "Empty" 668 "$ref": "Empty"
706 }, 669 },
707 "scopes": [ 670 "scopes": [
708 "https://www.googleapis.com/auth/cloud-p latform" 671 "https://www.googleapis.com/auth/cloud-p latform"
709 ] 672 ]
710 }, 673 },
711 "delete": { 674 "list": {
712 "description": "Deletes a long-running opera tion. This method indicates that the client is no longer interested in the opera tion result. It does not cancel the operation. If the server doesn't support thi s method, it returns google.rpc.Code.UNIMPLEMENTED.", 675 "description": "Lists regions/{region}/jobs in a project.",
713 "httpMethod": "DELETE", 676 "httpMethod": "GET",
714 "id": "dataproc.projects.regions.operations. delete", 677 "id": "dataproc.projects.regions.jobs.list",
715 "parameterOrder": [ 678 "parameterOrder": [
716 "name" 679 "projectId",
680 "region"
717 ], 681 ],
718 "parameters": { 682 "parameters": {
719 "name": { 683 "pageToken": {
720 "description": "The name of the oper ation resource to be deleted.", 684 "description": "Optional The page to ken, returned by a previous call, to request the next page of results.",
685 "location": "query",
686 "type": "string"
687 },
688 "pageSize": {
689 "description": "Optional The number of results to return in each response.",
690 "format": "int32",
691 "location": "query",
692 "type": "integer"
693 },
694 "region": {
695 "description": "Required The Cloud D ataproc region in which to handle the request.",
721 "location": "path", 696 "location": "path",
722 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$",
723 "required": true, 697 "required": true,
724 "type": "string" 698 "type": "string"
699 },
700 "clusterName": {
701 "description": "Optional If set, the returned jobs list includes only jobs that were submitted to the named cluster. ",
702 "location": "query",
703 "type": "string"
704 },
705 "projectId": {
706 "description": "Required The ID of t he Google Cloud Platform project that the job belongs to.",
707 "location": "path",
708 "required": true,
709 "type": "string"
710 },
711 "filter": {
712 "description": "Optional A filter co nstraining the jobs to list. Filters are case-sensitive and have the following s yntax:field = value AND field = value ...where field is status.state or labels.[ KEY], and [KEY] is a label key. value can be * to match all values. status.state can be either ACTIVE or INACTIVE. Only the logical AND operator is supported; s pace-separated items are treated as having an implicit AND operator.Example filt er:status.state = ACTIVE AND labels.env = staging AND labels.starred = *",
713 "location": "query",
714 "type": "string"
715 },
716 "jobStateMatcher": {
717 "description": "Optional Specifies e numerated categories of jobs to list (default = match ALL jobs).",
718 "enum": [
719 "ALL",
720 "ACTIVE",
721 "NON_ACTIVE"
722 ],
723 "location": "query",
724 "type": "string"
725 } 725 }
726 }, 726 },
727 "path": "v1/{+name}", 727 "path": "v1/projects/{projectId}/regions/{re gion}/jobs",
728 "response": { 728 "response": {
729 "$ref": "Empty" 729 "$ref": "ListJobsResponse"
730 }, 730 },
731 "scopes": [ 731 "scopes": [
732 "https://www.googleapis.com/auth/cloud-p latform" 732 "https://www.googleapis.com/auth/cloud-p latform"
733 ] 733 ]
734 } 734 }
735 } 735 }
736 } 736 }
737 } 737 }
738 } 738 }
739 } 739 }
740 } 740 }
741 }, 741 },
742 "revision": "20170228", 742 "revision": "20170321",
743 "rootUrl": "https://dataproc.googleapis.com/", 743 "rootUrl": "https://dataproc.googleapis.com/",
744 "schemas": { 744 "schemas": {
745 "NodeInitializationAction": { 745 "AcceleratorConfig": {
746 "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.", 746 "description": "Specifies the type and number of accelerator cards a ttached to the instances of an instance group (see GPUs on Compute Engine).",
747 "id": "NodeInitializationAction", 747 "id": "AcceleratorConfig",
748 "properties": { 748 "properties": {
749 "executionTimeout": { 749 "acceleratorCount": {
750 "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.", 750 "description": "The number of the accelerator cards of this type exposed to this instance.",
751 "format": "google-duration", 751 "format": "int32",
752 "type": "string" 752 "type": "integer"
753 }, 753 },
754 "executableFile": { 754 "acceleratorTypeUri": {
755 "description": "Required Google Cloud Storage URI of executa ble file.", 755 "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)",
756 "type": "string" 756 "type": "string"
757 } 757 }
758 }, 758 },
759 "type": "object" 759 "type": "object"
760 }, 760 },
761 "ListJobsResponse": { 761 "ClusterMetrics": {
762 "description": "A list of jobs in a project.", 762 "description": "Contains cluster daemon metrics, such as HDFS and YA RN stats.Beta Feature: This report is available for testing purposes only. It ma y be changed before final release.",
763 "id": "ListJobsResponse", 763 "id": "ClusterMetrics",
764 "properties": { 764 "properties": {
765 "nextPageToken": { 765 "yarnMetrics": {
766 "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>.",
767 "type": "string"
768 },
769 "jobs": {
770 "description": "Output-only Jobs list.",
771 "items": {
772 "$ref": "Job"
773 },
774 "type": "array"
775 }
776 },
777 "type": "object"
778 },
779 "CancelJobRequest": {
780 "description": "A request to cancel a job.",
781 "id": "CancelJobRequest",
782 "properties": {},
783 "type": "object"
784 },
785 "SparkSqlJob": {
786 "description": "A Cloud Dataproc job for running Apache Spark SQL (h ttp://spark.apache.org/sql/) queries.",
787 "id": "SparkSqlJob",
788 "properties": {
789 "queryFileUri": {
790 "description": "The HCFS URI of the script that contains SQL queries.",
791 "type": "string"
792 },
793 "queryList": {
794 "$ref": "QueryList",
795 "description": "A list of queries."
796 },
797 "scriptVariables": {
798 "additionalProperties": { 766 "additionalProperties": {
767 "format": "int64",
799 "type": "string" 768 "type": "string"
800 }, 769 },
801 "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).", 770 "description": "The YARN metrics.",
802 "type": "object" 771 "type": "object"
803 }, 772 },
804 "jarFileUris": { 773 "hdfsMetrics": {
805 "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.", 774 "additionalProperties": {
806 "items": { 775 "format": "int64",
807 "type": "string" 776 "type": "string"
808 }, 777 },
809 "type": "array" 778 "description": "The HDFS metrics.",
810 },
811 "loggingConfig": {
812 "$ref": "LoggingConfig",
813 "description": "Optional The runtime log config for job exec ution."
814 },
815 "properties": {
816 "additionalProperties": {
817 "type": "string"
818 },
819 "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.",
820 "type": "object" 779 "type": "object"
821 } 780 }
822 }, 781 },
823 "type": "object" 782 "type": "object"
824 }, 783 },
825 "Cluster": { 784 "LoggingConfig": {
826 "description": "Describes the identifying information, config, and s tatus of a cluster of Google Compute Engine instances.", 785 "description": "The runtime logging config of the job.",
827 "id": "Cluster", 786 "id": "LoggingConfig",
828 "properties": { 787 "properties": {
829 "labels": { 788 "driverLogLevels": {
830 "additionalProperties": { 789 "additionalProperties": {
790 "enum": [
791 "LEVEL_UNSPECIFIED",
792 "ALL",
793 "TRACE",
794 "DEBUG",
795 "INFO",
796 "WARN",
797 "ERROR",
798 "FATAL",
799 "OFF"
800 ],
831 "type": "string" 801 "type": "string"
832 }, 802 },
833 "description": "Optional The labels to associate with this c luster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if pres ent, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www. ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a clust er.", 803 "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'",
834 "type": "object" 804 "type": "object"
835 }, 805 }
836 "metrics": { 806 },
837 "$ref": "ClusterMetrics", 807 "type": "object"
838 "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only . It may be changed before final release." 808 },
839 }, 809 "DiagnoseClusterOutputLocation": {
840 "status": { 810 "description": "The location where output from diagnostic command ca n be found.",
841 "$ref": "ClusterStatus", 811 "id": "DiagnoseClusterOutputLocation",
842 "description": "Output-only Cluster status." 812 "properties": {
843 }, 813 "outputUri": {
844 "statusHistory": { 814 "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.",
845 "description": "Output-only The previous cluster status.",
846 "items": {
847 "$ref": "ClusterStatus"
848 },
849 "type": "array"
850 },
851 "config": {
852 "$ref": "ClusterConfig",
853 "description": "Required The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are update d."
854 },
855 "clusterName": {
856 "description": "Required The cluster name. Cluster names wit hin a project must be unique. Names of deleted clusters can be reused.",
857 "type": "string"
858 },
859 "clusterUuid": {
860 "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.",
861 "type": "string"
862 },
863 "projectId": {
864 "description": "Required The Google Cloud Platform project I D that the cluster belongs to.",
865 "type": "string" 815 "type": "string"
866 } 816 }
867 }, 817 },
868 "type": "object" 818 "type": "object"
869 }, 819 },
870 "ListOperationsResponse": { 820 "Operation": {
871 "description": "The response message for Operations.ListOperations." , 821 "description": "This resource represents a long-running operation th at is the result of a network API call.",
872 "id": "ListOperationsResponse", 822 "id": "Operation",
873 "properties": { 823 "properties": {
874 "nextPageToken": { 824 "done": {
875 "description": "The standard List next-page token.", 825 "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.",
826 "type": "boolean"
827 },
828 "response": {
829 "additionalProperties": {
830 "description": "Properties of the object. Contains field @type with type URL.",
831 "type": "any"
832 },
833 "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.",
834 "type": "object"
835 },
836 "name": {
837 "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.",
876 "type": "string" 838 "type": "string"
877 }, 839 },
878 "operations": { 840 "error": {
879 "description": "A list of operations that matches the specif ied filter in the request.", 841 "$ref": "Status",
880 "items": { 842 "description": "The error result of the operation in case of failure or cancellation."
881 "$ref": "Operation" 843 },
844 "metadata": {
845 "additionalProperties": {
846 "description": "Properties of the object. Contains field @type with type URL.",
847 "type": "any"
882 }, 848 },
883 "type": "array" 849 "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.",
850 "type": "object"
884 } 851 }
885 }, 852 },
886 "type": "object" 853 "type": "object"
887 }, 854 },
888 "OperationMetadata": { 855 "OperationStatus": {
889 "description": "Metadata describing the operation.", 856 "description": "The status of the operation.",
890 "id": "OperationMetadata", 857 "id": "OperationStatus",
891 "properties": { 858 "properties": {
892 "status": { 859 "stateStartTime": {
893 "$ref": "OperationStatus", 860 "description": "The time this state was entered.",
894 "description": "Output-only Current operation status." 861 "format": "google-datetime",
862 "type": "string"
895 }, 863 },
896 "state": { 864 "state": {
897 "description": "A message containing the operation state.", 865 "description": "A message containing the operation state.",
898 "enum": [ 866 "enum": [
899 "UNKNOWN", 867 "UNKNOWN",
900 "PENDING", 868 "PENDING",
901 "RUNNING", 869 "RUNNING",
902 "DONE" 870 "DONE"
903 ], 871 ],
904 "enumDescriptions": [ 872 "enumDescriptions": [
905 "Unused.", 873 "Unused.",
906 "The operation has been created.", 874 "The operation has been created.",
907 "The operation is currently running.", 875 "The operation is running.",
908 "The operation is done, either cancelled or completed." 876 "The operation is done; either cancelled or completed."
909 ], 877 ],
910 "type": "string" 878 "type": "string"
911 }, 879 },
912 "details": { 880 "details": {
913 "description": "A message containing any operation metadata details.", 881 "description": "A message containing any operation metadata details.",
914 "type": "string" 882 "type": "string"
915 }, 883 },
916 "clusterUuid": {
917 "description": "Cluster UUId for the operation.",
918 "type": "string"
919 },
920 "clusterName": {
921 "description": "Name of the cluster for the operation.",
922 "type": "string"
923 },
924 "innerState": { 884 "innerState": {
925 "description": "A message containing the detailed operation state.", 885 "description": "A message containing the detailed operation state.",
926 "type": "string" 886 "type": "string"
927 }, 887 }
928 "endTime": { 888 },
929 "description": "The time that the operation completed.", 889 "type": "object"
930 "format": "google-datetime", 890 },
891 "JobReference": {
892 "description": "Encapsulates the full scoping used to reference a jo b.",
893 "id": "JobReference",
894 "properties": {
895 "projectId": {
896 "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
931 "type": "string" 897 "type": "string"
932 }, 898 },
933 "startTime": { 899 "jobId": {
934 "description": "The time that the operation was started by t he server.", 900 "description": "Optional 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.",
935 "format": "google-datetime",
936 "type": "string" 901 "type": "string"
902 }
903 },
904 "type": "object"
905 },
906 "SubmitJobRequest": {
907 "description": "A request to submit a job.",
908 "id": "SubmitJobRequest",
909 "properties": {
910 "job": {
911 "$ref": "Job",
912 "description": "Required The job resource."
913 }
914 },
915 "type": "object"
916 },
917 "Status": {
918 "description": "The Status type defines a logical error model that i s suitable for different programming environments, including REST APIs and RPC A PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t o be:\nSimple to use and understand for most users\nFlexible enough to meet unex pected needsOverviewThe Status message contains three pieces of data: error code , error message, and error details. The error code should be an enum value of go ogle.rpc.Code, but it may accept additional error codes if needed. The error mes sage should be a developer-facing English message that helps developers understa nd and resolve the error. If a localized user-facing error message is needed, pu t the localized message in the error details or localize it in the client. The o ptional error details may contain arbitrary information about the error. There i s a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logic al representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and dif ferent wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error code s in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model inclu de:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\n Workflow errors. A typical workflow has multiple steps. Each step may have a Sta tus message for error reporting purpose.\nBatch operations. If a client uses bat ch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If a n API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLoggi ng. If some API errors are stored in logs, the message Status could be used dire ctly after any stripping needed for security/privacy reasons.",
919 "id": "Status",
920 "properties": {
921 "details": {
922 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
923 "items": {
924 "additionalProperties": {
925 "description": "Properties of the object. Contains f ield @type with type URL.",
926 "type": "any"
927 },
928 "type": "object"
929 },
930 "type": "array"
937 }, 931 },
938 "warnings": { 932 "code": {
939 "description": "Output-only Errors encountered during operat ion execution.", 933 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
934 "format": "int32",
935 "type": "integer"
936 },
937 "message": {
938 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
939 "type": "string"
940 }
941 },
942 "type": "object"
943 },
944 "JobScheduling": {
945 "description": "Job scheduling options.Beta Feature: These options a re available for testing purposes only. They may be changed before final release .",
946 "id": "JobScheduling",
947 "properties": {
948 "maxFailuresPerHour": {
949 "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code bef ore job is reported failed.A job may be reported as thrashing if driver exits wi th non-zero code 4 times within 10 minute window.Maximum value is 10.",
950 "format": "int32",
951 "type": "integer"
952 }
953 },
954 "type": "object"
955 },
956 "InstanceGroupConfig": {
957 "description": "Optional The config settings for Google Compute Engi ne resources in an instance group, such as a master or worker group.",
958 "id": "InstanceGroupConfig",
959 "properties": {
960 "instanceNames": {
961 "description": "Optional The list of instance names. Cloud D ataproc derives the names from cluster_name, num_instances, and the instance gro up if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
940 "items": { 962 "items": {
941 "type": "string" 963 "type": "string"
942 }, 964 },
943 "type": "array" 965 "type": "array"
944 }, 966 },
945 "insertTime": { 967 "accelerators": {
946 "description": "The time that the operation was requested.", 968 "description": "Optional The Google Compute Engine accelerat or configuration for these instances.Beta Feature: This feature is still under d evelopment. It may be changed before final release.",
947 "format": "google-datetime",
948 "type": "string"
949 },
950 "statusHistory": {
951 "description": "Output-only Previous operation status.",
952 "items": { 969 "items": {
953 "$ref": "OperationStatus" 970 "$ref": "AcceleratorConfig"
954 }, 971 },
955 "type": "array" 972 "type": "array"
956 }, 973 },
957 "operationType": { 974 "numInstances": {
958 "description": "Output-only The operation type.", 975 "description": "Required The number of VM instances in the i nstance group. For master instance groups, must be set to 1.",
976 "format": "int32",
977 "type": "integer"
978 },
979 "diskConfig": {
980 "$ref": "DiskConfig",
981 "description": "Optional Disk option config settings."
982 },
983 "machineTypeUri": {
984 "description": "Required The Google Compute Engine machine t ype used for cluster instances. Example: https://www.googleapis.com/compute/v1/p rojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.",
959 "type": "string" 985 "type": "string"
960 }, 986 },
961 "description": { 987 "managedGroupConfig": {
962 "description": "Output-only Short description of operation." , 988 "$ref": "ManagedGroupConfig",
989 "description": "Output-only The config for Google Compute En gine Instance Group Manager that manages this group. This is only used for preem ptible instance groups."
990 },
991 "isPreemptible": {
992 "description": "Optional Specifies that this instance group contains preemptible instances.",
993 "type": "boolean"
994 },
995 "imageUri": {
996 "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version. ",
963 "type": "string" 997 "type": "string"
964 } 998 }
965 }, 999 },
966 "type": "object" 1000 "type": "object"
967 }, 1001 },
968 "JobPlacement": { 1002 "ListJobsResponse": {
969 "description": "Cloud Dataproc job config.", 1003 "description": "A list of jobs in a project.",
970 "id": "JobPlacement", 1004 "id": "ListJobsResponse",
971 "properties": { 1005 "properties": {
972 "clusterName": { 1006 "jobs": {
973 "description": "Required The name of the cluster where the j ob will be submitted.", 1007 "description": "Output-only Jobs list.",
974 "type": "string" 1008 "items": {
1009 "$ref": "Job"
1010 },
1011 "type": "array"
975 }, 1012 },
976 "clusterUuid": { 1013 "nextPageToken": {
977 "description": "Output-only A cluster UUID generated by the Cloud Dataproc service when the job is submitted.", 1014 "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>.",
978 "type": "string" 1015 "type": "string"
979 } 1016 }
980 }, 1017 },
981 "type": "object" 1018 "type": "object"
982 }, 1019 },
983 "SoftwareConfig": { 1020 "NodeInitializationAction": {
984 "description": "Specifies the selection and config of software insid e the cluster.", 1021 "description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
985 "id": "SoftwareConfig", 1022 "id": "NodeInitializationAction",
986 "properties": { 1023 "properties": {
987 "imageVersion": { 1024 "executableFile": {
988 "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).", 1025 "description": "Required Google Cloud Storage URI of executa ble file.",
989 "type": "string" 1026 "type": "string"
990 }, 1027 },
991 "properties": { 1028 "executionTimeout": {
992 "additionalProperties": { 1029 "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.",
993 "type": "string" 1030 "format": "google-duration",
994 },
995 "description": "Optional The properties to set on daemon con fig files.Property keys are specified in prefix:property format, such as core:fs .defaultFS. The following are supported prefixes and their mappings:\ncore: core -site.xml\nhdfs: hdfs-site.xml\nmapred: mapred-site.xml\nyarn: yarn-site.xml\nhi ve: hive-site.xml\npig: pig.properties\nspark: spark-defaults.conf",
996 "type": "object"
997 }
998 },
999 "type": "object"
1000 },
1001 "ClusterStatus": {
1002 "description": "The status of a cluster and its instances.",
1003 "id": "ClusterStatus",
1004 "properties": {
1005 "detail": {
1006 "description": "Output-only Optional details of cluster's st ate.",
1007 "type": "string"
1008 },
1009 "state": {
1010 "description": "Output-only The cluster's state.",
1011 "enum": [
1012 "UNKNOWN",
1013 "CREATING",
1014 "RUNNING",
1015 "ERROR",
1016 "DELETING",
1017 "UPDATING"
1018 ],
1019 "enumDescriptions": [
1020 "The cluster state is unknown.",
1021 "The cluster is being created and set up. It is not read y for use.",
1022 "The cluster is currently running and healthy. It is rea dy for use.",
1023 "The cluster encountered an error. It is not ready for u se.",
1024 "The cluster is being deleted. It cannot be used.",
1025 "The cluster is being updated. It continues to accept an d process jobs."
1026 ],
1027 "type": "string"
1028 },
1029 "stateStartTime": {
1030 "description": "Output-only Time when this state was entered .",
1031 "format": "google-datetime",
1032 "type": "string" 1031 "type": "string"
1033 } 1032 }
1034 }, 1033 },
1035 "type": "object" 1034 "type": "object"
1036 }, 1035 },
1037 "PigJob": { 1036 "CancelJobRequest": {
1038 "description": "A Cloud Dataproc job for running Apache Pig (https:/ /pig.apache.org/) queries on YARN.", 1037 "description": "A request to cancel a job.",
1039 "id": "PigJob", 1038 "id": "CancelJobRequest",
1039 "properties": {},
1040 "type": "object"
1041 },
1042 "SparkSqlJob": {
1043 "description": "A Cloud Dataproc job for running Apache Spark SQL (h ttp://spark.apache.org/sql/) queries.",
1044 "id": "SparkSqlJob",
1040 "properties": { 1045 "properties": {
1041 "scriptVariables": { 1046 "scriptVariables": {
1042 "additionalProperties": { 1047 "additionalProperties": {
1043 "type": "string" 1048 "type": "string"
1044 }, 1049 },
1045 "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).", 1050 "description": "Optional Mapping of query variable names to values (equivalent to the Spark SQL command: SET name=\"value\";).",
1046 "type": "object" 1051 "type": "object"
1047 }, 1052 },
1048 "jarFileUris": { 1053 "jarFileUris": {
1049 "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.", 1054 "description": "Optional HCFS URIs of jar files to be added to the Spark CLASSPATH.",
1050 "items": { 1055 "items": {
1051 "type": "string" 1056 "type": "string"
1052 }, 1057 },
1053 "type": "array"
1054 },
1055 "loggingConfig": {
1056 "$ref": "LoggingConfig",
1057 "description": "Optional The runtime log config for job exec ution."
1058 },
1059 "properties": {
1060 "additionalProperties": {
1061 "type": "string"
1062 },
1063 "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.",
1064 "type": "object"
1065 },
1066 "continueOnFailure": {
1067 "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.",
1068 "type": "boolean"
1069 },
1070 "queryFileUri": {
1071 "description": "The HCFS URI of the script that contains the Pig queries.",
1072 "type": "string"
1073 },
1074 "queryList": {
1075 "$ref": "QueryList",
1076 "description": "A list of queries."
1077 }
1078 },
1079 "type": "object"
1080 },
1081 "ListClustersResponse": {
1082 "description": "The list of all clusters in a project.",
1083 "id": "ListClustersResponse",
1084 "properties": {
1085 "clusters": {
1086 "description": "Output-only The clusters in the project.",
1087 "items": {
1088 "$ref": "Cluster"
1089 },
1090 "type": "array"
1091 },
1092 "nextPageToken": {
1093 "description": "Output-only This token is included in the re sponse if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListClustersRequest</code>.",
1094 "type": "string"
1095 }
1096 },
1097 "type": "object"
1098 },
1099 "Job": {
1100 "description": "A Cloud Dataproc job resource.",
1101 "id": "Job",
1102 "properties": {
1103 "placement": {
1104 "$ref": "JobPlacement",
1105 "description": "Required Job information, including how, whe n, and where to run the job."
1106 },
1107 "status": {
1108 "$ref": "JobStatus",
1109 "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."
1110 },
1111 "driverControlFilesUri": {
1112 "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.",
1113 "type": "string"
1114 },
1115 "scheduling": {
1116 "$ref": "JobScheduling",
1117 "description": "Optional Job scheduling configuration."
1118 },
1119 "pigJob": {
1120 "$ref": "PigJob",
1121 "description": "Job is a Pig job."
1122 },
1123 "hiveJob": {
1124 "$ref": "HiveJob",
1125 "description": "Job is a Hive job."
1126 },
1127 "labels": {
1128 "additionalProperties": {
1129 "type": "string"
1130 },
1131 "description": "Optional The labels to associate with this j ob. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (ht tps://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf .org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.",
1132 "type": "object"
1133 },
1134 "driverOutputResourceUri": {
1135 "description": "Output-only A URI pointing to the location o f the stdout of the job's driver program.",
1136 "type": "string"
1137 },
1138 "statusHistory": {
1139 "description": "Output-only The previous job status.",
1140 "items": {
1141 "$ref": "JobStatus"
1142 },
1143 "type": "array"
1144 },
1145 "sparkJob": {
1146 "$ref": "SparkJob",
1147 "description": "Job is a Spark job."
1148 },
1149 "sparkSqlJob": {
1150 "$ref": "SparkSqlJob",
1151 "description": "Job is a SparkSql job."
1152 },
1153 "yarnApplications": {
1154 "description": "Output-only The collection of YARN applicati ons spun up by this job.Beta Feature: This report is available for testing purpo ses only. It may be changed before final release.",
1155 "items": {
1156 "$ref": "YarnApplication"
1157 },
1158 "type": "array"
1159 },
1160 "pysparkJob": {
1161 "$ref": "PySparkJob",
1162 "description": "Job is a Pyspark job."
1163 },
1164 "reference": {
1165 "$ref": "JobReference",
1166 "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>."
1167 },
1168 "hadoopJob": {
1169 "$ref": "HadoopJob",
1170 "description": "Job is a Hadoop job."
1171 }
1172 },
1173 "type": "object"
1174 },
1175 "SparkJob": {
1176 "description": "A Cloud Dataproc job for running Apache Spark (http: //spark.apache.org/) applications on YARN.",
1177 "id": "SparkJob",
1178 "properties": {
1179 "jarFileUris": {
1180 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Spark driver and tasks.",
1181 "items": {
1182 "type": "string"
1183 },
1184 "type": "array" 1058 "type": "array"
1185 }, 1059 },
1186 "loggingConfig": { 1060 "loggingConfig": {
1187 "$ref": "LoggingConfig", 1061 "$ref": "LoggingConfig",
1188 "description": "Optional The runtime log config for job exec ution." 1062 "description": "Optional The runtime log config for job exec ution."
1189 }, 1063 },
1190 "properties": { 1064 "properties": {
1191 "additionalProperties": { 1065 "additionalProperties": {
1192 "type": "string" 1066 "type": "string"
1193 }, 1067 },
1194 "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.", 1068 "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.",
1195 "type": "object" 1069 "type": "object"
1196 }, 1070 },
1197 "args": { 1071 "queryFileUri": {
1198 "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.", 1072 "description": "The HCFS URI of the script that contains SQL queries.",
1199 "items": { 1073 "type": "string"
1200 "type": "string" 1074 },
1201 }, 1075 "queryList": {
1202 "type": "array" 1076 "$ref": "QueryList",
1203 }, 1077 "description": "A list of queries."
1204 "fileUris": { 1078 }
1205 "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.", 1079 },
1206 "items": { 1080 "type": "object"
1207 "type": "string" 1081 },
1208 }, 1082 "Cluster": {
1209 "type": "array" 1083 "description": "Describes the identifying information, config, and s tatus of a cluster of Google Compute Engine instances.",
1210 }, 1084 "id": "Cluster",
1211 "mainClass": { 1085 "properties": {
1212 "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.", 1086 "labels": {
1213 "type": "string" 1087 "additionalProperties": {
1214 }, 1088 "type": "string"
1215 "archiveUris": { 1089 },
1216 "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.", 1090 "description": "Optional The labels to associate with this c luster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if pres ent, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www. ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a clust er.",
1217 "items": { 1091 "type": "object"
1218 "type": "string" 1092 },
1219 }, 1093 "status": {
1220 "type": "array" 1094 "$ref": "ClusterStatus",
1221 }, 1095 "description": "Output-only Cluster status."
1222 "mainJarFileUri": { 1096 },
1223 "description": "The HCFS URI of the jar file that contains t he main class.", 1097 "metrics": {
1224 "type": "string" 1098 "$ref": "ClusterMetrics",
1225 } 1099 "description": "Contains cluster daemon metrics such as HDFS and YARN stats.Beta Feature: This report is available for testing purposes only . It may be changed before final release."
1226 }, 1100 },
1227 "type": "object" 1101 "statusHistory": {
1228 }, 1102 "description": "Output-only The previous cluster status.",
1229 "JobStatus": { 1103 "items": {
1230 "description": "Cloud Dataproc job status.", 1104 "$ref": "ClusterStatus"
1231 "id": "JobStatus", 1105 },
1232 "properties": { 1106 "type": "array"
1233 "stateStartTime": { 1107 },
1234 "description": "Output-only The time when this state was ent ered.", 1108 "config": {
1235 "format": "google-datetime", 1109 "$ref": "ClusterConfig",
1236 "type": "string" 1110 "description": "Required The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are update d."
1111 },
1112 "clusterUuid": {
1113 "description": "Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.",
1114 "type": "string"
1115 },
1116 "clusterName": {
1117 "description": "Required The cluster name. Cluster names wit hin a project must be unique. Names of deleted clusters can be reused.",
1118 "type": "string"
1119 },
1120 "projectId": {
1121 "description": "Required The Google Cloud Platform project I D that the cluster belongs to.",
1122 "type": "string"
1123 }
1124 },
1125 "type": "object"
1126 },
1127 "ListOperationsResponse": {
1128 "description": "The response message for Operations.ListOperations." ,
1129 "id": "ListOperationsResponse",
1130 "properties": {
1131 "nextPageToken": {
1132 "description": "The standard List next-page token.",
1133 "type": "string"
1134 },
1135 "operations": {
1136 "description": "A list of operations that matches the specif ied filter in the request.",
1137 "items": {
1138 "$ref": "Operation"
1139 },
1140 "type": "array"
1141 }
1142 },
1143 "type": "object"
1144 },
1145 "OperationMetadata": {
1146 "description": "Metadata describing the operation.",
1147 "id": "OperationMetadata",
1148 "properties": {
1149 "operationType": {
1150 "description": "Output-only The operation type.",
1151 "type": "string"
1152 },
1153 "description": {
1154 "description": "Output-only Short description of operation." ,
1155 "type": "string"
1156 },
1157 "status": {
1158 "$ref": "OperationStatus",
1159 "description": "Output-only Current operation status."
1237 }, 1160 },
1238 "state": { 1161 "state": {
1239 "description": "Output-only A state message specifying the o verall job state.", 1162 "description": "A message containing the operation state.",
1240 "enum": [
1241 "STATE_UNSPECIFIED",
1242 "PENDING",
1243 "SETUP_DONE",
1244 "RUNNING",
1245 "CANCEL_PENDING",
1246 "CANCEL_STARTED",
1247 "CANCELLED",
1248 "DONE",
1249 "ERROR",
1250 "ATTEMPT_FAILURE"
1251 ],
1252 "enumDescriptions": [
1253 "The job state is unknown.",
1254 "The job is pending; it has been submitted, but is not y et running.",
1255 "Job has been received by the service and completed init ial setup; it will soon be submitted to the cluster.",
1256 "The job is running on the cluster.",
1257 "A CancelJob request has been received, but is pending." ,
1258 "Transient in-flight resources have been canceled, and t he request to cancel the running job has been issued to the cluster.",
1259 "The job cancellation was successful.",
1260 "The job has completed successfully.",
1261 "The job has completed, but encountered an error.",
1262 "Job attempt has failed. The detail field contains failu re details for this attempt.Applies to restartable jobs only."
1263 ],
1264 "type": "string"
1265 },
1266 "details": {
1267 "description": "Output-only Optional job state details, such as an error description if the state is <code>ERROR</code>.",
1268 "type": "string"
1269 }
1270 },
1271 "type": "object"
1272 },
1273 "ManagedGroupConfig": {
1274 "description": "Specifies the resources used to actively manage an i nstance group.",
1275 "id": "ManagedGroupConfig",
1276 "properties": {
1277 "instanceGroupManagerName": {
1278 "description": "Output-only The name of the Instance Group M anager for this group.",
1279 "type": "string"
1280 },
1281 "instanceTemplateName": {
1282 "description": "Output-only The name of the Instance Templat e used for the Managed Instance Group.",
1283 "type": "string"
1284 }
1285 },
1286 "type": "object"
1287 },
1288 "ClusterOperationStatus": {
1289 "description": "The status of the operation.",
1290 "id": "ClusterOperationStatus",
1291 "properties": {
1292 "stateStartTime": {
1293 "description": "Output-only The time this state was entered. ",
1294 "format": "google-datetime",
1295 "type": "string"
1296 },
1297 "state": {
1298 "description": "Output-only A message containing the operati on state.",
1299 "enum": [ 1163 "enum": [
1300 "UNKNOWN", 1164 "UNKNOWN",
1301 "PENDING", 1165 "PENDING",
1302 "RUNNING", 1166 "RUNNING",
1303 "DONE" 1167 "DONE"
1304 ], 1168 ],
1305 "enumDescriptions": [ 1169 "enumDescriptions": [
1306 "Unused.", 1170 "Unused.",
1307 "The operation has been created.", 1171 "The operation has been created.",
1308 "The operation is running.", 1172 "The operation is currently running.",
1309 "The operation is done; either cancelled or completed." 1173 "The operation is done, either cancelled or completed."
1310 ], 1174 ],
1311 "type": "string" 1175 "type": "string"
1312 }, 1176 },
1313 "details": { 1177 "details": {
1314 "description": "Output-onlyA message containing any operatio n metadata details.", 1178 "description": "A message containing any operation metadata details.",
1179 "type": "string"
1180 },
1181 "clusterUuid": {
1182 "description": "Cluster UUId for the operation.",
1183 "type": "string"
1184 },
1185 "clusterName": {
1186 "description": "Name of the cluster for the operation.",
1315 "type": "string" 1187 "type": "string"
1316 }, 1188 },
1317 "innerState": { 1189 "innerState": {
1318 "description": "Output-only A message containing the detaile d operation state.", 1190 "description": "A message containing the detailed operation state.",
1319 "type": "string" 1191 "type": "string"
1320 } 1192 },
1321 }, 1193 "endTime": {
1322 "type": "object" 1194 "description": "The time that the operation completed.",
1323 }, 1195 "format": "google-datetime",
1324 "YarnApplication": { 1196 "type": "string"
1325 "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>.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", 1197 },
1326 "id": "YarnApplication", 1198 "startTime": {
1327 "properties": { 1199 "description": "The time that the operation was started by t he server.",
1200 "format": "google-datetime",
1201 "type": "string"
1202 },
1203 "warnings": {
1204 "description": "Output-only Errors encountered during operat ion execution.",
1205 "items": {
1206 "type": "string"
1207 },
1208 "type": "array"
1209 },
1210 "insertTime": {
1211 "description": "The time that the operation was requested.",
1212 "format": "google-datetime",
1213 "type": "string"
1214 },
1215 "statusHistory": {
1216 "description": "Output-only Previous operation status.",
1217 "items": {
1218 "$ref": "OperationStatus"
1219 },
1220 "type": "array"
1221 }
1222 },
1223 "type": "object"
1224 },
1225 "SoftwareConfig": {
1226 "description": "Specifies the selection and config of software insid e the cluster.",
1227 "id": "SoftwareConfig",
1228 "properties": {
1229 "imageVersion": {
1230 "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).",
1231 "type": "string"
1232 },
1233 "properties": {
1234 "additionalProperties": {
1235 "type": "string"
1236 },
1237 "description": "Optional The properties to set on daemon con fig files.Property keys are specified in prefix:property format, such as core:fs .defaultFS. The following are supported prefixes and their mappings:\ncore: core -site.xml\nhdfs: hdfs-site.xml\nmapred: mapred-site.xml\nyarn: yarn-site.xml\nhi ve: hive-site.xml\npig: pig.properties\nspark: spark-defaults.conf",
1238 "type": "object"
1239 }
1240 },
1241 "type": "object"
1242 },
1243 "JobPlacement": {
1244 "description": "Cloud Dataproc job config.",
1245 "id": "JobPlacement",
1246 "properties": {
1247 "clusterName": {
1248 "description": "Required The name of the cluster where the j ob will be submitted.",
1249 "type": "string"
1250 },
1251 "clusterUuid": {
1252 "description": "Output-only A cluster UUID generated by the Cloud Dataproc service when the job is submitted.",
1253 "type": "string"
1254 }
1255 },
1256 "type": "object"
1257 },
1258 "ClusterStatus": {
1259 "description": "The status of a cluster and its instances.",
1260 "id": "ClusterStatus",
1261 "properties": {
1262 "stateStartTime": {
1263 "description": "Output-only Time when this state was entered .",
1264 "format": "google-datetime",
1265 "type": "string"
1266 },
1267 "substate": {
1268 "description": "Output-only Additional state information tha t includes status reported by the agent.",
1269 "enum": [
1270 "UNSPECIFIED",
1271 "UNHEALTHY",
1272 "STALE_STATUS"
1273 ],
1274 "enumDescriptions": [
1275 "",
1276 "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.",
1277 "The agent-reported status is out of date (may occur if Cloud Dataproc loses communication with Agent).Applies to RUNNING state."
1278 ],
1279 "type": "string"
1280 },
1281 "detail": {
1282 "description": "Output-only Optional details of cluster's st ate.",
1283 "type": "string"
1284 },
1328 "state": { 1285 "state": {
1329 "description": "Required The application state.", 1286 "description": "Output-only The cluster's state.",
1330 "enum": [ 1287 "enum": [
1331 "STATE_UNSPECIFIED", 1288 "UNKNOWN",
1332 "NEW", 1289 "CREATING",
1333 "NEW_SAVING",
1334 "SUBMITTED",
1335 "ACCEPTED",
1336 "RUNNING", 1290 "RUNNING",
1337 "FINISHED", 1291 "ERROR",
1338 "FAILED", 1292 "DELETING",
1339 "KILLED" 1293 "UPDATING"
1340 ], 1294 ],
1341 "enumDescriptions": [ 1295 "enumDescriptions": [
1342 "Status is unspecified.", 1296 "The cluster state is unknown.",
1343 "Status is NEW.", 1297 "The cluster is being created and set up. It is not read y for use.",
1344 "Status is NEW_SAVING.", 1298 "The cluster is currently running and healthy. It is rea dy for use.",
1345 "Status is SUBMITTED.", 1299 "The cluster encountered an error. It is not ready for u se.",
1346 "Status is ACCEPTED.", 1300 "The cluster is being deleted. It cannot be used.",
1347 "Status is RUNNING.", 1301 "The cluster is being updated. It continues to accept an d process jobs."
1348 "Status is FINISHED.", 1302 ],
1349 "Status is FAILED.", 1303 "type": "string"
1350 "Status is KILLED." 1304 }
1351 ], 1305 },
1352 "type": "string" 1306 "type": "object"
1353 }, 1307 },
1354 "name": { 1308 "PigJob": {
1355 "description": "Required The application name.", 1309 "description": "A Cloud Dataproc job for running Apache Pig (https:/ /pig.apache.org/) queries on YARN.",
1356 "type": "string" 1310 "id": "PigJob",
1357 }, 1311 "properties": {
1358 "trackingUrl": { 1312 "properties": {
1359 "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.", 1313 "additionalProperties": {
1360 "type": "string" 1314 "type": "string"
1361 }, 1315 },
1362 "progress": { 1316 "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.",
1363 "description": "Required The numerical progress of the appli cation, from 1 to 100.", 1317 "type": "object"
1364 "format": "float", 1318 },
1365 "type": "number" 1319 "continueOnFailure": {
1366 } 1320 "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.",
1367 }, 1321 "type": "boolean"
1368 "type": "object" 1322 },
1369 }, 1323 "queryFileUri": {
1370 "QueryList": { 1324 "description": "The HCFS URI of the script that contains the Pig queries.",
1371 "description": "A list of queries to run on a cluster.", 1325 "type": "string"
1372 "id": "QueryList", 1326 },
1373 "properties": { 1327 "queryList": {
1374 "queries": { 1328 "$ref": "QueryList",
1375 "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": { \n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n", 1329 "description": "A list of queries."
1376 "items": { 1330 },
1377 "type": "string" 1331 "jarFileUris": {
1378 }, 1332 "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.",
1379 "type": "array" 1333 "items": {
1380 } 1334 "type": "string"
1381 }, 1335 },
1382 "type": "object" 1336 "type": "array"
1383 }, 1337 },
1384 "HadoopJob": { 1338 "scriptVariables": {
1385 "description": "A Cloud Dataproc job for running Apache Hadoop MapRe duce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapr educe-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://ha doop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).", 1339 "additionalProperties": {
1386 "id": "HadoopJob", 1340 "type": "string"
1387 "properties": { 1341 },
1342 "description": "Optional Mapping of query variable names to values (equivalent to the Pig command: name=[value]).",
1343 "type": "object"
1344 },
1345 "loggingConfig": {
1346 "$ref": "LoggingConfig",
1347 "description": "Optional The runtime log config for job exec ution."
1348 }
1349 },
1350 "type": "object"
1351 },
1352 "ListClustersResponse": {
1353 "description": "The list of all clusters in a project.",
1354 "id": "ListClustersResponse",
1355 "properties": {
1356 "clusters": {
1357 "description": "Output-only The clusters in the project.",
1358 "items": {
1359 "$ref": "Cluster"
1360 },
1361 "type": "array"
1362 },
1363 "nextPageToken": {
1364 "description": "Output-only This token is included in the re sponse if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent <code>ListClustersRequest</code>.",
1365 "type": "string"
1366 }
1367 },
1368 "type": "object"
1369 },
1370 "SparkJob": {
1371 "description": "A Cloud Dataproc job for running Apache Spark (http: //spark.apache.org/) applications on YARN.",
1372 "id": "SparkJob",
1373 "properties": {
1374 "mainClass": {
1375 "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.",
1376 "type": "string"
1377 },
1378 "archiveUris": {
1379 "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.",
1380 "items": {
1381 "type": "string"
1382 },
1383 "type": "array"
1384 },
1388 "mainJarFileUri": { 1385 "mainJarFileUri": {
1389 "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metric s-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/ hadoop-mapreduce/hadoop-mapreduce-examples.jar'", 1386 "description": "The HCFS URI of the jar file that contains t he main class.",
1390 "type": "string" 1387 "type": "string"
1391 }, 1388 },
1392 "jarFileUris": { 1389 "jarFileUris": {
1393 "description": "Optional Jar file URIs to add to the CLASSPA THs of the Hadoop driver and tasks.", 1390 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Spark driver and tasks.",
1394 "items": { 1391 "items": {
1395 "type": "string" 1392 "type": "string"
1396 }, 1393 },
1397 "type": "array" 1394 "type": "array"
1398 }, 1395 },
1399 "loggingConfig": { 1396 "loggingConfig": {
1400 "$ref": "LoggingConfig", 1397 "$ref": "LoggingConfig",
1401 "description": "Optional The runtime log config for job exec ution." 1398 "description": "Optional The runtime log config for job exec ution."
1402 }, 1399 },
1403 "properties": { 1400 "properties": {
1404 "additionalProperties": { 1401 "additionalProperties": {
1405 "type": "string" 1402 "type": "string"
1406 }, 1403 },
1407 "description": "Optional A mapping of property names to valu es, used to configure Hadoop. Properties that conflict with values set by the Cl oud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/c onf/*-site and classes in user code.", 1404 "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.",
1408 "type": "object" 1405 "type": "object"
1409 }, 1406 },
1410 "args": { 1407 "args": {
1411 "description": "Optional The arguments to pass to the driver . Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as jo b properties, since a collision may occur that causes an incorrect job submissio n.", 1408 "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.",
1412 "items": { 1409 "items": {
1413 "type": "string" 1410 "type": "string"
1414 }, 1411 },
1415 "type": "array" 1412 "type": "array"
1416 }, 1413 },
1417 "fileUris": { 1414 "fileUris": {
1418 "description": "Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distr ibuted tasks. Useful for naively parallel tasks.", 1415 "description": "Optional HCFS URIs of files to be copied to the working directory of Spark drivers and distributed tasks. Useful for naively parallel tasks.",
1419 "items": { 1416 "items": {
1420 "type": "string" 1417 "type": "string"
1421 }, 1418 },
1422 "type": "array"
1423 },
1424 "mainClass": {
1425 "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.",
1426 "type": "string"
1427 },
1428 "archiveUris": {
1429 "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.",
1430 "items": {
1431 "type": "string"
1432 },
1433 "type": "array" 1419 "type": "array"
1434 } 1420 }
1435 }, 1421 },
1436 "type": "object" 1422 "type": "object"
1437 }, 1423 },
1438 "DiagnoseClusterRequest": { 1424 "Job": {
1439 "description": "A request to collect cluster diagnostic information. ", 1425 "description": "A Cloud Dataproc job resource.",
1440 "id": "DiagnoseClusterRequest", 1426 "id": "Job",
1441 "properties": {}, 1427 "properties": {
1442 "type": "object" 1428 "reference": {
1443 }, 1429 "$ref": "JobReference",
1444 "DiskConfig": { 1430 "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>."
1445 "description": "Specifies the config of disk options for a group of VM instances.", 1431 },
1446 "id": "DiskConfig", 1432 "hadoopJob": {
1447 "properties": { 1433 "$ref": "HadoopJob",
1448 "numLocalSsds": { 1434 "description": "Job is a Hadoop job."
1449 "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 (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) da ta. If one or more SSDs are attached, this runtime bulk data is spread across th em, and the boot disk contains only basic config and installed binaries.", 1435 },
1450 "format": "int32", 1436 "placement": {
1451 "type": "integer" 1437 "$ref": "JobPlacement",
1452 }, 1438 "description": "Required Job information, including how, whe n, and where to run the job."
1453 "bootDiskSizeGb": { 1439 },
1454 "description": "Optional Size in GB of the boot disk (defaul t is 500GB).", 1440 "status": {
1455 "format": "int32", 1441 "$ref": "JobStatus",
1456 "type": "integer" 1442 "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."
1457 } 1443 },
1458 }, 1444 "driverControlFilesUri": {
1459 "type": "object" 1445 "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.",
1460 }, 1446 "type": "string"
1461 "ClusterOperationMetadata": { 1447 },
1462 "description": "Metadata describing the operation.", 1448 "scheduling": {
1463 "id": "ClusterOperationMetadata", 1449 "$ref": "JobScheduling",
1464 "properties": { 1450 "description": "Optional Job scheduling configuration."
1465 "operationType": { 1451 },
1466 "description": "Output-only The operation type.", 1452 "pigJob": {
1467 "type": "string" 1453 "$ref": "PigJob",
1468 }, 1454 "description": "Job is a Pig job."
1469 "description": { 1455 },
1470 "description": "Output-only Short description of operation." , 1456 "hiveJob": {
1471 "type": "string" 1457 "$ref": "HiveJob",
1472 }, 1458 "description": "Job is a Hive job."
1473 "warnings": {
1474 "description": "Output-only Errors encountered during operat ion execution.",
1475 "items": {
1476 "type": "string"
1477 },
1478 "type": "array"
1479 }, 1459 },
1480 "labels": { 1460 "labels": {
1481 "additionalProperties": { 1461 "additionalProperties": {
1482 "type": "string" 1462 "type": "string"
1483 }, 1463 },
1484 "description": "Output-only Labels associated with the opera tion", 1464 "description": "Optional The labels to associate with this j ob. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (ht tps://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf .org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.",
1485 "type": "object" 1465 "type": "object"
1486 }, 1466 },
1487 "status": { 1467 "driverOutputResourceUri": {
1488 "$ref": "ClusterOperationStatus", 1468 "description": "Output-only A URI pointing to the location o f the stdout of the job's driver program.",
1489 "description": "Output-only Current operation status." 1469 "type": "string"
1470 },
1471 "sparkSqlJob": {
1472 "$ref": "SparkSqlJob",
1473 "description": "Job is a SparkSql job."
1490 }, 1474 },
1491 "statusHistory": { 1475 "statusHistory": {
1492 "description": "Output-only The previous operation status.", 1476 "description": "Output-only The previous job status.",
1493 "items": { 1477 "items": {
1494 "$ref": "ClusterOperationStatus" 1478 "$ref": "JobStatus"
1495 }, 1479 },
1496 "type": "array" 1480 "type": "array"
1497 }, 1481 },
1498 "clusterName": { 1482 "sparkJob": {
1499 "description": "Output-only Name of the cluster for the oper ation.", 1483 "$ref": "SparkJob",
1500 "type": "string" 1484 "description": "Job is a Spark job."
1501 }, 1485 },
1502 "clusterUuid": { 1486 "yarnApplications": {
1503 "description": "Output-only Cluster UUID for the operation." , 1487 "description": "Output-only The collection of YARN applicati ons spun up by this job.Beta Feature: This report is available for testing purpo ses only. It may be changed before final release.",
1504 "type": "string" 1488 "items": {
1505 } 1489 "$ref": "YarnApplication"
1506 }, 1490 },
1507 "type": "object" 1491 "type": "array"
1508 }, 1492 },
1509 "Empty": { 1493 "pysparkJob": {
1510 "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 {}.", 1494 "$ref": "PySparkJob",
1511 "id": "Empty", 1495 "description": "Job is a Pyspark job."
1512 "properties": {}, 1496 }
1513 "type": "object" 1497 },
1514 }, 1498 "type": "object"
1515 "HiveJob": { 1499 },
1516 "description": "A Cloud Dataproc job for running Apache Hive (https: //hive.apache.org/) queries on YARN.", 1500 "JobStatus": {
1517 "id": "HiveJob", 1501 "description": "Cloud Dataproc job status.",
1518 "properties": { 1502 "id": "JobStatus",
1519 "continueOnFailure": { 1503 "properties": {
1520 "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.", 1504 "stateStartTime": {
1521 "type": "boolean" 1505 "description": "Output-only The time when this state was ent ered.",
1522 }, 1506 "format": "google-datetime",
1523 "queryList": { 1507 "type": "string"
1524 "$ref": "QueryList", 1508 },
1525 "description": "A list of queries." 1509 "substate": {
1526 }, 1510 "description": "Output-only Additional state information, wh ich includes status reported by the agent.",
1527 "queryFileUri": { 1511 "enum": [
1528 "description": "The HCFS URI of the script that contains Hiv e queries.", 1512 "UNSPECIFIED",
1513 "SUBMITTED",
1514 "QUEUED",
1515 "STALE_STATUS"
1516 ],
1517 "enumDescriptions": [
1518 "",
1519 "The Job is submitted to the agent.Applies to RUNNING st ate.",
1520 "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.",
1521 "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."
1522 ],
1523 "type": "string"
1524 },
1525 "state": {
1526 "description": "Output-only A state message specifying the o verall job state.",
1527 "enum": [
1528 "STATE_UNSPECIFIED",
1529 "PENDING",
1530 "SETUP_DONE",
1531 "RUNNING",
1532 "CANCEL_PENDING",
1533 "CANCEL_STARTED",
1534 "CANCELLED",
1535 "DONE",
1536 "ERROR",
1537 "ATTEMPT_FAILURE"
1538 ],
1539 "enumDescriptions": [
1540 "The job state is unknown.",
1541 "The job is pending; it has been submitted, but is not y et running.",
1542 "Job has been received by the service and completed init ial setup; it will soon be submitted to the cluster.",
1543 "The job is running on the cluster.",
1544 "A CancelJob request has been received, but is pending." ,
1545 "Transient in-flight resources have been canceled, and t he request to cancel the running job has been issued to the cluster.",
1546 "The job cancellation was successful.",
1547 "The job has completed successfully.",
1548 "The job has completed, but encountered an error.",
1549 "Job attempt has failed. The detail field contains failu re details for this attempt.Applies to restartable jobs only."
1550 ],
1551 "type": "string"
1552 },
1553 "details": {
1554 "description": "Output-only Optional job state details, such as an error description if the state is <code>ERROR</code>.",
1555 "type": "string"
1556 }
1557 },
1558 "type": "object"
1559 },
1560 "ManagedGroupConfig": {
1561 "description": "Specifies the resources used to actively manage an i nstance group.",
1562 "id": "ManagedGroupConfig",
1563 "properties": {
1564 "instanceGroupManagerName": {
1565 "description": "Output-only The name of the Instance Group M anager for this group.",
1566 "type": "string"
1567 },
1568 "instanceTemplateName": {
1569 "description": "Output-only The name of the Instance Templat e used for the Managed Instance Group.",
1570 "type": "string"
1571 }
1572 },
1573 "type": "object"
1574 },
1575 "ClusterOperationStatus": {
1576 "description": "The status of the operation.",
1577 "id": "ClusterOperationStatus",
1578 "properties": {
1579 "stateStartTime": {
1580 "description": "Output-only The time this state was entered. ",
1581 "format": "google-datetime",
1582 "type": "string"
1583 },
1584 "state": {
1585 "description": "Output-only A message containing the operati on state.",
1586 "enum": [
1587 "UNKNOWN",
1588 "PENDING",
1589 "RUNNING",
1590 "DONE"
1591 ],
1592 "enumDescriptions": [
1593 "Unused.",
1594 "The operation has been created.",
1595 "The operation is running.",
1596 "The operation is done; either cancelled or completed."
1597 ],
1598 "type": "string"
1599 },
1600 "details": {
1601 "description": "Output-onlyA message containing any operatio n metadata details.",
1602 "type": "string"
1603 },
1604 "innerState": {
1605 "description": "Output-only A message containing the detaile d operation state.",
1606 "type": "string"
1607 }
1608 },
1609 "type": "object"
1610 },
1611 "YarnApplication": {
1612 "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>.Beta Feature: This report is available for testing purposes only. It may be changed before final release.",
1613 "id": "YarnApplication",
1614 "properties": {
1615 "state": {
1616 "description": "Required The application state.",
1617 "enum": [
1618 "STATE_UNSPECIFIED",
1619 "NEW",
1620 "NEW_SAVING",
1621 "SUBMITTED",
1622 "ACCEPTED",
1623 "RUNNING",
1624 "FINISHED",
1625 "FAILED",
1626 "KILLED"
1627 ],
1628 "enumDescriptions": [
1629 "Status is unspecified.",
1630 "Status is NEW.",
1631 "Status is NEW_SAVING.",
1632 "Status is SUBMITTED.",
1633 "Status is ACCEPTED.",
1634 "Status is RUNNING.",
1635 "Status is FINISHED.",
1636 "Status is FAILED.",
1637 "Status is KILLED."
1638 ],
1639 "type": "string"
1640 },
1641 "name": {
1642 "description": "Required The application name.",
1643 "type": "string"
1644 },
1645 "trackingUrl": {
1646 "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.",
1647 "type": "string"
1648 },
1649 "progress": {
1650 "description": "Required The numerical progress of the appli cation, from 1 to 100.",
1651 "format": "float",
1652 "type": "number"
1653 }
1654 },
1655 "type": "object"
1656 },
1657 "QueryList": {
1658 "description": "A list of queries to run on a cluster.",
1659 "id": "QueryList",
1660 "properties": {
1661 "queries": {
1662 "description": "Required The queries to execute. You do not need to terminate a query with a semicolon. Multiple queries can be specified in one string by separating each with a semicolon. Here is an example of an Cloud Dataproc API snippet that uses a QueryList to specify a HiveJob:\n\"hiveJob\": { \n \"queryList\": {\n \"queries\": [\n \"query1\",\n \"query2\",\n \"query3;query4\",\n ]\n }\n}\n",
1663 "items": {
1664 "type": "string"
1665 },
1666 "type": "array"
1667 }
1668 },
1669 "type": "object"
1670 },
1671 "HadoopJob": {
1672 "description": "A Cloud Dataproc job for running Apache Hadoop MapRe duce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapr educe-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://ha doop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).",
1673 "id": "HadoopJob",
1674 "properties": {
1675 "mainClass": {
1676 "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.",
1677 "type": "string"
1678 },
1679 "archiveUris": {
1680 "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.",
1681 "items": {
1682 "type": "string"
1683 },
1684 "type": "array"
1685 },
1686 "mainJarFileUri": {
1687 "description": "The HCFS URI of the jar file containing the main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metric s-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/ hadoop-mapreduce/hadoop-mapreduce-examples.jar'",
1529 "type": "string" 1688 "type": "string"
1530 }, 1689 },
1531 "jarFileUris": { 1690 "jarFileUris": {
1532 "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.", 1691 "description": "Optional Jar file URIs to add to the CLASSPA THs of the Hadoop driver and tasks.",
1533 "items": { 1692 "items": {
1534 "type": "string" 1693 "type": "string"
1535 }, 1694 },
1536 "type": "array"
1537 },
1538 "scriptVariables": {
1539 "additionalProperties": {
1540 "type": "string"
1541 },
1542 "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
1543 "type": "object"
1544 },
1545 "properties": {
1546 "additionalProperties": {
1547 "type": "string"
1548 },
1549 "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.",
1550 "type": "object"
1551 }
1552 },
1553 "type": "object"
1554 },
1555 "DiagnoseClusterResults": {
1556 "description": "The location of diagnostic output.",
1557 "id": "DiagnoseClusterResults",
1558 "properties": {
1559 "outputUri": {
1560 "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.",
1561 "type": "string"
1562 }
1563 },
1564 "type": "object"
1565 },
1566 "ClusterConfig": {
1567 "description": "The cluster config.",
1568 "id": "ClusterConfig",
1569 "properties": {
1570 "gceClusterConfig": {
1571 "$ref": "GceClusterConfig",
1572 "description": "Required The shared Google Compute Engine co nfig settings for all instances in a cluster."
1573 },
1574 "softwareConfig": {
1575 "$ref": "SoftwareConfig",
1576 "description": "Optional The config settings for software in side the cluster."
1577 },
1578 "masterConfig": {
1579 "$ref": "InstanceGroupConfig",
1580 "description": "Optional The Google Compute Engine config se ttings for the master instance in a cluster."
1581 },
1582 "secondaryWorkerConfig": {
1583 "$ref": "InstanceGroupConfig",
1584 "description": "Optional The Google Compute Engine config se ttings for additional worker instances in a cluster."
1585 },
1586 "initializationActions": {
1587 "description": "Optional Commands to execute on each node af ter config is completed. By default, executables are run on master and all worke r nodes. You can test a node's <code>role</code> metadata to run an executable o n a master or worker node, as shown below using curl (you can also use wget):\nR OLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance /attributes/dataproc-role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n",
1588 "items": {
1589 "$ref": "NodeInitializationAction"
1590 },
1591 "type": "array"
1592 },
1593 "configBucket": {
1594 "description": "Optional A Google Cloud Storage staging buck et used for sharing generated SSH keys and config. If you do not specify a stagi ng bucket, Cloud Dataproc will determine an appropriate Cloud Storage location ( US, ASIA, or EU) for your cluster's staging bucket according to the Google Compu te Engine zone where your cluster is deployed, and then it will create and manag e this project-level, per-location bucket for you.",
1595 "type": "string"
1596 },
1597 "workerConfig": {
1598 "$ref": "InstanceGroupConfig",
1599 "description": "Optional The Google Compute Engine config se ttings for worker instances in a cluster."
1600 }
1601 },
1602 "type": "object"
1603 },
1604 "PySparkJob": {
1605 "description": "A Cloud Dataproc job for running Apache PySpark (htt ps://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
1606 "id": "PySparkJob",
1607 "properties": {
1608 "archiveUris": {
1609 "description": "Optional HCFS URIs of archives to be extract ed in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
1610 "items": {
1611 "type": "string"
1612 },
1613 "type": "array"
1614 },
1615 "jarFileUris": {
1616 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Python driver and tasks.",
1617 "items": {
1618 "type": "string"
1619 },
1620 "type": "array" 1695 "type": "array"
1621 }, 1696 },
1622 "loggingConfig": { 1697 "loggingConfig": {
1623 "$ref": "LoggingConfig", 1698 "$ref": "LoggingConfig",
1624 "description": "Optional The runtime log config for job exec ution." 1699 "description": "Optional The runtime log config for job exec ution."
1625 }, 1700 },
1626 "properties": { 1701 "properties": {
1627 "additionalProperties": { 1702 "additionalProperties": {
1628 "type": "string" 1703 "type": "string"
1629 }, 1704 },
1705 "description": "Optional A mapping of property names to valu es, used to configure Hadoop. Properties that conflict with values set by the Cl oud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/c onf/*-site and classes in user code.",
1706 "type": "object"
1707 },
1708 "args": {
1709 "description": "Optional The arguments to pass to the driver . Do not include arguments, such as -libjars or -Dfoo=bar, that can be set as jo b properties, since a collision may occur that causes an incorrect job submissio n.",
1710 "items": {
1711 "type": "string"
1712 },
1713 "type": "array"
1714 },
1715 "fileUris": {
1716 "description": "Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the working directory of Hadoop drivers and distr ibuted tasks. Useful for naively parallel tasks.",
1717 "items": {
1718 "type": "string"
1719 },
1720 "type": "array"
1721 }
1722 },
1723 "type": "object"
1724 },
1725 "DiagnoseClusterRequest": {
1726 "description": "A request to collect cluster diagnostic information. ",
1727 "id": "DiagnoseClusterRequest",
1728 "properties": {},
1729 "type": "object"
1730 },
1731 "DiskConfig": {
1732 "description": "Specifies the config of disk options for a group of VM instances.",
1733 "id": "DiskConfig",
1734 "properties": {
1735 "bootDiskSizeGb": {
1736 "description": "Optional Size in GB of the boot disk (defaul t is 500GB).",
1737 "format": "int32",
1738 "type": "integer"
1739 },
1740 "numLocalSsds": {
1741 "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 (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) da ta. If one or more SSDs are attached, this runtime bulk data is spread across th em, and the boot disk contains only basic config and installed binaries.",
1742 "format": "int32",
1743 "type": "integer"
1744 }
1745 },
1746 "type": "object"
1747 },
1748 "ClusterOperationMetadata": {
1749 "description": "Metadata describing the operation.",
1750 "id": "ClusterOperationMetadata",
1751 "properties": {
1752 "statusHistory": {
1753 "description": "Output-only The previous operation status.",
1754 "items": {
1755 "$ref": "ClusterOperationStatus"
1756 },
1757 "type": "array"
1758 },
1759 "clusterUuid": {
1760 "description": "Output-only Cluster UUID for the operation." ,
1761 "type": "string"
1762 },
1763 "clusterName": {
1764 "description": "Output-only Name of the cluster for the oper ation.",
1765 "type": "string"
1766 },
1767 "operationType": {
1768 "description": "Output-only The operation type.",
1769 "type": "string"
1770 },
1771 "description": {
1772 "description": "Output-only Short description of operation." ,
1773 "type": "string"
1774 },
1775 "warnings": {
1776 "description": "Output-only Errors encountered during operat ion execution.",
1777 "items": {
1778 "type": "string"
1779 },
1780 "type": "array"
1781 },
1782 "labels": {
1783 "additionalProperties": {
1784 "type": "string"
1785 },
1786 "description": "Output-only Labels associated with the opera tion",
1787 "type": "object"
1788 },
1789 "status": {
1790 "$ref": "ClusterOperationStatus",
1791 "description": "Output-only Current operation status."
1792 }
1793 },
1794 "type": "object"
1795 },
1796 "HiveJob": {
1797 "description": "A Cloud Dataproc job for running Apache Hive (https: //hive.apache.org/) queries on YARN.",
1798 "id": "HiveJob",
1799 "properties": {
1800 "continueOnFailure": {
1801 "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.",
1802 "type": "boolean"
1803 },
1804 "queryList": {
1805 "$ref": "QueryList",
1806 "description": "A list of queries."
1807 },
1808 "queryFileUri": {
1809 "description": "The HCFS URI of the script that contains Hiv e queries.",
1810 "type": "string"
1811 },
1812 "jarFileUris": {
1813 "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.",
1814 "items": {
1815 "type": "string"
1816 },
1817 "type": "array"
1818 },
1819 "scriptVariables": {
1820 "additionalProperties": {
1821 "type": "string"
1822 },
1823 "description": "Optional Mapping of query variable names to values (equivalent to the Hive command: SET name=\"value\";).",
1824 "type": "object"
1825 },
1826 "properties": {
1827 "additionalProperties": {
1828 "type": "string"
1829 },
1830 "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.",
1831 "type": "object"
1832 }
1833 },
1834 "type": "object"
1835 },
1836 "Empty": {
1837 "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 {}.",
1838 "id": "Empty",
1839 "properties": {},
1840 "type": "object"
1841 },
1842 "DiagnoseClusterResults": {
1843 "description": "The location of diagnostic output.",
1844 "id": "DiagnoseClusterResults",
1845 "properties": {
1846 "outputUri": {
1847 "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.",
1848 "type": "string"
1849 }
1850 },
1851 "type": "object"
1852 },
1853 "ClusterConfig": {
1854 "description": "The cluster config.",
1855 "id": "ClusterConfig",
1856 "properties": {
1857 "workerConfig": {
1858 "$ref": "InstanceGroupConfig",
1859 "description": "Optional The Google Compute Engine config se ttings for worker instances in a cluster."
1860 },
1861 "gceClusterConfig": {
1862 "$ref": "GceClusterConfig",
1863 "description": "Required The shared Google Compute Engine co nfig settings for all instances in a cluster."
1864 },
1865 "softwareConfig": {
1866 "$ref": "SoftwareConfig",
1867 "description": "Optional The config settings for software in side the cluster."
1868 },
1869 "masterConfig": {
1870 "$ref": "InstanceGroupConfig",
1871 "description": "Optional The Google Compute Engine config se ttings for the master instance in a cluster."
1872 },
1873 "secondaryWorkerConfig": {
1874 "$ref": "InstanceGroupConfig",
1875 "description": "Optional The Google Compute Engine config se ttings for additional worker instances in a cluster."
1876 },
1877 "initializationActions": {
1878 "description": "Optional Commands to execute on each node af ter config is completed. By default, executables are run on master and all worke r nodes. You can test a node's <code>role</code> metadata to run an executable o n a master or worker node, as shown below using curl (you can also use wget):\nR OLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance /attributes/dataproc-role)\nif [[ \"${ROLE}\" == 'Master' ]]; then\n ... master specific actions ...\nelse\n ... worker specific actions ...\nfi\n",
1879 "items": {
1880 "$ref": "NodeInitializationAction"
1881 },
1882 "type": "array"
1883 },
1884 "configBucket": {
1885 "description": "Optional A Google Cloud Storage staging buck et used for sharing generated SSH keys and config. If you do not specify a stagi ng bucket, Cloud Dataproc will determine an appropriate Cloud Storage location ( US, ASIA, or EU) for your cluster's staging bucket according to the Google Compu te Engine zone where your cluster is deployed, and then it will create and manag e this project-level, per-location bucket for you.",
1886 "type": "string"
1887 }
1888 },
1889 "type": "object"
1890 },
1891 "PySparkJob": {
1892 "description": "A Cloud Dataproc job for running Apache PySpark (htt ps://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
1893 "id": "PySparkJob",
1894 "properties": {
1895 "jarFileUris": {
1896 "description": "Optional HCFS URIs of jar files to add to th e CLASSPATHs of the Python driver and tasks.",
1897 "items": {
1898 "type": "string"
1899 },
1900 "type": "array"
1901 },
1902 "loggingConfig": {
1903 "$ref": "LoggingConfig",
1904 "description": "Optional The runtime log config for job exec ution."
1905 },
1906 "properties": {
1907 "additionalProperties": {
1908 "type": "string"
1909 },
1630 "description": "Optional A mapping of property names to valu es, used to configure PySpark. Properties that conflict with values set by the C loud Dataproc API may be overwritten. Can include properties set in /etc/spark/c onf/spark-defaults.conf and classes in user code.", 1910 "description": "Optional A mapping of property names to valu es, used to configure PySpark. Properties that conflict with values set by the C loud Dataproc API may be overwritten. Can include properties set in /etc/spark/c onf/spark-defaults.conf and classes in user code.",
1631 "type": "object" 1911 "type": "object"
1632 }, 1912 },
1633 "args": { 1913 "args": {
1634 "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.", 1914 "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.",
1635 "items": { 1915 "items": {
1636 "type": "string" 1916 "type": "string"
1637 }, 1917 },
1638 "type": "array" 1918 "type": "array"
1639 }, 1919 },
1640 "fileUris": { 1920 "fileUris": {
1641 "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.", 1921 "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.",
1642 "items": { 1922 "items": {
1643 "type": "string" 1923 "type": "string"
1644 }, 1924 },
1645 "type": "array" 1925 "type": "array"
1646 }, 1926 },
1647 "pythonFileUris": { 1927 "pythonFileUris": {
1648 "description": "Optional HCFS file URIs of Python files to p ass to the PySpark framework. Supported file types: .py, .egg, and .zip.", 1928 "description": "Optional HCFS file URIs of Python files to p ass to the PySpark framework. Supported file types: .py, .egg, and .zip.",
1649 "items": { 1929 "items": {
1650 "type": "string" 1930 "type": "string"
1651 }, 1931 },
1652 "type": "array" 1932 "type": "array"
1653 }, 1933 },
1654 "mainPythonFileUri": { 1934 "mainPythonFileUri": {
1655 "description": "Required The HCFS URI of the main Python fil e to use as the driver. Must be a .py file.", 1935 "description": "Required The HCFS URI of the main Python fil e to use as the driver. Must be a .py file.",
1656 "type": "string" 1936 "type": "string"
1937 },
1938 "archiveUris": {
1939 "description": "Optional HCFS URIs of archives to be extract ed in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.",
1940 "items": {
1941 "type": "string"
1942 },
1943 "type": "array"
1657 } 1944 }
1658 }, 1945 },
1659 "type": "object" 1946 "type": "object"
1660 }, 1947 },
1661 "GceClusterConfig": { 1948 "GceClusterConfig": {
1662 "description": "Common config settings for resources of Google Compu te Engine cluster instances, applicable to all instances in the cluster.", 1949 "description": "Common config settings for resources of Google Compu te Engine cluster instances, applicable to all instances in the cluster.",
1663 "id": "GceClusterConfig", 1950 "id": "GceClusterConfig",
1664 "properties": { 1951 "properties": {
1952 "networkUri": {
1953 "description": "Optional The Google Compute Engine network t o be used for machine communications. Cannot be specified with subnetwork_uri. I f neither network_uri nor subnetwork_uri is specified, the \"default\" network o f the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). Example: https://www.googleapis.com/com pute/v1/projects/[project_id]/regions/global/default.",
1954 "type": "string"
1955 },
1956 "zoneUri": {
1957 "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].",
1958 "type": "string"
1959 },
1960 "metadata": {
1961 "additionalProperties": {
1962 "type": "string"
1963 },
1964 "description": "The Google Compute Engine metadata entries t o add to all instances (see Project and instance metadata (https://cloud.google. com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).",
1965 "type": "object"
1966 },
1665 "internalIpOnly": { 1967 "internalIpOnly": {
1666 "description": "Optional If true, all instances in the clust er will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigne d to each instance. This internal_ip_only restriction can only be enabled for su bnetwork enabled networks, and all off-cluster dependencies must be configured t o be accessible without external IP addresses.", 1968 "description": "Optional If true, all instances in the clust er will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigne d to each instance. This internal_ip_only restriction can only be enabled for su bnetwork enabled networks, and all off-cluster dependencies must be configured t o be accessible without external IP addresses.",
1667 "type": "boolean" 1969 "type": "boolean"
1668 }, 1970 },
1669 "metadata": {
1670 "additionalProperties": {
1671 "type": "string"
1672 },
1673 "description": "The Google Compute Engine metadata entries t o add to all instances (see Project and instance metadata (https://cloud.google. com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)).",
1674 "type": "object"
1675 },
1676 "serviceAccountScopes": { 1971 "serviceAccountScopes": {
1677 "description": "Optional The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of sco pes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.read only\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googlea pis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapi s.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\n https://www.googleapis.com/auth/devstorage.full_control", 1972 "description": "Optional The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of sco pes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.read only\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googlea pis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapi s.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\n https://www.googleapis.com/auth/devstorage.full_control",
1678 "items": { 1973 "items": {
1679 "type": "string" 1974 "type": "string"
1680 }, 1975 },
1681 "type": "array" 1976 "type": "array"
1682 }, 1977 },
1683 "tags": { 1978 "tags": {
1684 "description": "The Google Compute Engine tags to add to all instances (see Tagging instances).", 1979 "description": "The Google Compute Engine tags to add to all instances (see Tagging instances).",
1685 "items": { 1980 "items": {
1686 "type": "string" 1981 "type": "string"
1687 }, 1982 },
1688 "type": "array" 1983 "type": "array"
1689 }, 1984 },
1690 "serviceAccount": { 1985 "serviceAccount": {
1691 "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", 1986 "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",
1692 "type": "string" 1987 "type": "string"
1693 }, 1988 },
1694 "subnetworkUri": { 1989 "subnetworkUri": {
1695 "description": "Optional The Google Compute Engine subnetwor k to be used for machine communications. Cannot be specified with network_uri. E xample: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-e ast1/sub0.", 1990 "description": "Optional The Google Compute Engine subnetwor k to be used for machine communications. Cannot be specified with network_uri. E xample: https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-e ast1/sub0.",
1696 "type": "string" 1991 "type": "string"
1697 }, 1992 }
1698 "networkUri": { 1993 },
1699 "description": "Optional The Google Compute Engine network t o be used for machine communications. Cannot be specified with subnetwork_uri. I f neither network_uri nor subnetwork_uri is specified, the \"default\" network o f the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). Example: https://www.googleapis.com/com pute/v1/projects/[project_id]/regions/global/default.", 1994 "type": "object"
1700 "type": "string"
1701 },
1702 "zoneUri": {
1703 "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].",
1704 "type": "string"
1705 }
1706 },
1707 "type": "object"
1708 },
1709 "AcceleratorConfig": {
1710 "description": "Specifies the type and number of accelerator cards a ttached to the instances of an instance group (see GPUs on Compute Engine).",
1711 "id": "AcceleratorConfig",
1712 "properties": {
1713 "acceleratorTypeUri": {
1714 "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)",
1715 "type": "string"
1716 },
1717 "acceleratorCount": {
1718 "description": "The number of the accelerator cards of this type exposed to this instance.",
1719 "format": "int32",
1720 "type": "integer"
1721 }
1722 },
1723 "type": "object"
1724 },
1725 "ClusterMetrics": {
1726 "description": "Contains cluster daemon metrics, such as HDFS and YA RN stats.Beta Feature: This report is available for testing purposes only. It ma y be changed before final release.",
1727 "id": "ClusterMetrics",
1728 "properties": {
1729 "hdfsMetrics": {
1730 "additionalProperties": {
1731 "format": "int64",
1732 "type": "string"
1733 },
1734 "description": "The HDFS metrics.",
1735 "type": "object"
1736 },
1737 "yarnMetrics": {
1738 "additionalProperties": {
1739 "format": "int64",
1740 "type": "string"
1741 },
1742 "description": "The YARN metrics.",
1743 "type": "object"
1744 }
1745 },
1746 "type": "object"
1747 },
1748 "LoggingConfig": {
1749 "description": "The runtime logging config of the job.",
1750 "id": "LoggingConfig",
1751 "properties": {
1752 "driverLogLevels": {
1753 "additionalProperties": {
1754 "enum": [
1755 "LEVEL_UNSPECIFIED",
1756 "ALL",
1757 "TRACE",
1758 "DEBUG",
1759 "INFO",
1760 "WARN",
1761 "ERROR",
1762 "FATAL",
1763 "OFF"
1764 ],
1765 "type": "string"
1766 },
1767 "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'",
1768 "type": "object"
1769 }
1770 },
1771 "type": "object"
1772 },
1773 "DiagnoseClusterOutputLocation": {
1774 "description": "The location where output from diagnostic command ca n be found.",
1775 "id": "DiagnoseClusterOutputLocation",
1776 "properties": {
1777 "outputUri": {
1778 "description": "Output-only The Google Cloud Storage URI of the diagnostic output. This will be a plain text file with summary of collected diagnostics.",
1779 "type": "string"
1780 }
1781 },
1782 "type": "object"
1783 },
1784 "Operation": {
1785 "description": "This resource represents a long-running operation th at is the result of a network API call.",
1786 "id": "Operation",
1787 "properties": {
1788 "response": {
1789 "additionalProperties": {
1790 "description": "Properties of the object. Contains field @type with type URL.",
1791 "type": "any"
1792 },
1793 "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.",
1794 "type": "object"
1795 },
1796 "name": {
1797 "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.",
1798 "type": "string"
1799 },
1800 "error": {
1801 "$ref": "Status",
1802 "description": "The error result of the operation in case of failure or cancellation."
1803 },
1804 "metadata": {
1805 "additionalProperties": {
1806 "description": "Properties of the object. Contains field @type with type URL.",
1807 "type": "any"
1808 },
1809 "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.",
1810 "type": "object"
1811 },
1812 "done": {
1813 "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.",
1814 "type": "boolean"
1815 }
1816 },
1817 "type": "object"
1818 },
1819 "OperationStatus": {
1820 "description": "The status of the operation.",
1821 "id": "OperationStatus",
1822 "properties": {
1823 "innerState": {
1824 "description": "A message containing the detailed operation state.",
1825 "type": "string"
1826 },
1827 "stateStartTime": {
1828 "description": "The time this state was entered.",
1829 "format": "google-datetime",
1830 "type": "string"
1831 },
1832 "state": {
1833 "description": "A message containing the operation state.",
1834 "enum": [
1835 "UNKNOWN",
1836 "PENDING",
1837 "RUNNING",
1838 "DONE"
1839 ],
1840 "enumDescriptions": [
1841 "Unused.",
1842 "The operation has been created.",
1843 "The operation is running.",
1844 "The operation is done; either cancelled or completed."
1845 ],
1846 "type": "string"
1847 },
1848 "details": {
1849 "description": "A message containing any operation metadata details.",
1850 "type": "string"
1851 }
1852 },
1853 "type": "object"
1854 },
1855 "JobReference": {
1856 "description": "Encapsulates the full scoping used to reference a jo b.",
1857 "id": "JobReference",
1858 "properties": {
1859 "projectId": {
1860 "description": "Required The ID of the Google Cloud Platform project that the job belongs to.",
1861 "type": "string"
1862 },
1863 "jobId": {
1864 "description": "Optional 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.",
1865 "type": "string"
1866 }
1867 },
1868 "type": "object"
1869 },
1870 "SubmitJobRequest": {
1871 "description": "A request to submit a job.",
1872 "id": "SubmitJobRequest",
1873 "properties": {
1874 "job": {
1875 "$ref": "Job",
1876 "description": "Required The job resource."
1877 }
1878 },
1879 "type": "object"
1880 },
1881 "Status": {
1882 "description": "The Status type defines a logical error model that i s suitable for different programming environments, including REST APIs and RPC A PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t o be:\nSimple to use and understand for most users\nFlexible enough to meet unex pected needsOverviewThe Status message contains three pieces of data: error code , error message, and error details. The error code should be an enum value of go ogle.rpc.Code, but it may accept additional error codes if needed. The error mes sage should be a developer-facing English message that helps developers understa nd and resolve the error. If a localized user-facing error message is needed, pu t the localized message in the error details or localize it in the client. The o ptional error details may contain arbitrary information about the error. There i s a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logic al representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and dif ferent wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error code s in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model inclu de:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\n Workflow errors. A typical workflow has multiple steps. Each step may have a Sta tus message for error reporting purpose.\nBatch operations. If a client uses bat ch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If a n API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLoggi ng. If some API errors are stored in logs, the message Status could be used dire ctly after any stripping needed for security/privacy reasons.",
1883 "id": "Status",
1884 "properties": {
1885 "details": {
1886 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
1887 "items": {
1888 "additionalProperties": {
1889 "description": "Properties of the object. Contains f ield @type with type URL.",
1890 "type": "any"
1891 },
1892 "type": "object"
1893 },
1894 "type": "array"
1895 },
1896 "code": {
1897 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1898 "format": "int32",
1899 "type": "integer"
1900 },
1901 "message": {
1902 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
1903 "type": "string"
1904 }
1905 },
1906 "type": "object"
1907 },
1908 "JobScheduling": {
1909 "description": "Job scheduling options.Beta Feature: These options a re available for testing purposes only. They may be changed before final release .",
1910 "id": "JobScheduling",
1911 "properties": {
1912 "maxFailuresPerHour": {
1913 "description": "Optional Maximum number of times per hour a driver may be restarted as a result of driver terminating with non-zero code bef ore job is reported failed.A job may be reported as thrashing if driver exits wi th non-zero code 4 times within 10 minute window.Maximum value is 10.",
1914 "format": "int32",
1915 "type": "integer"
1916 }
1917 },
1918 "type": "object"
1919 },
1920 "InstanceGroupConfig": {
1921 "description": "Optional The config settings for Google Compute Engi ne resources in an instance group, such as a master or worker group.",
1922 "id": "InstanceGroupConfig",
1923 "properties": {
1924 "numInstances": {
1925 "description": "Required The number of VM instances in the i nstance group. For master instance groups, must be set to 1.",
1926 "format": "int32",
1927 "type": "integer"
1928 },
1929 "diskConfig": {
1930 "$ref": "DiskConfig",
1931 "description": "Optional Disk option config settings."
1932 },
1933 "managedGroupConfig": {
1934 "$ref": "ManagedGroupConfig",
1935 "description": "Output-only The config for Google Compute En gine Instance Group Manager that manages this group. This is only used for preem ptible instance groups."
1936 },
1937 "isPreemptible": {
1938 "description": "Optional Specifies that this instance group contains preemptible instances.",
1939 "type": "boolean"
1940 },
1941 "imageUri": {
1942 "description": "Output-only The Google Compute Engine image resource used for cluster instances. Inferred from SoftwareConfig.image_version. ",
1943 "type": "string"
1944 },
1945 "machineTypeUri": {
1946 "description": "Required The Google Compute Engine machine t ype used for cluster instances. Example: https://www.googleapis.com/compute/v1/p rojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2.",
1947 "type": "string"
1948 },
1949 "instanceNames": {
1950 "description": "Optional The list of instance names. Cloud D ataproc derives the names from cluster_name, num_instances, and the instance gro up if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
1951 "items": {
1952 "type": "string"
1953 },
1954 "type": "array"
1955 },
1956 "accelerators": {
1957 "description": "Optional The Google Compute Engine accelerat or configuration for these instances.Beta Feature: This feature is still under d evelopment. It may be changed before final release.",
1958 "items": {
1959 "$ref": "AcceleratorConfig"
1960 },
1961 "type": "array"
1962 }
1963 },
1964 "type": "object"
1965 } 1995 }
1966 }, 1996 },
1967 "servicePath": "", 1997 "servicePath": "",
1968 "title": "Google Cloud Dataproc API", 1998 "title": "Google Cloud Dataproc API",
1969 "version": "v1" 1999 "version": "v1"
1970 } 2000 }
OLDNEW
« no previous file with comments | « discovery/googleapis/content__v2sandbox.json ('k') | discovery/googleapis/deploymentmanager__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698