OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://dataproc.googleapis.com/", | 12 "baseUrl": "https://dataproc.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platf
orm.", | 14 "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platf
orm.", |
15 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://cloud.google.com/dataproc/", | 16 "documentationLink": "https://cloud.google.com/dataproc/", |
17 "icons": { | 17 "icons": { |
18 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 18 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
19 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 19 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
20 }, | 20 }, |
21 "id": "dataproc: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 "oauth_token": { | 27 "access_token": { |
28 "description": "OAuth 2.0 token for the current user.", | 28 "description": "OAuth access token.", |
29 "location": "query", | 29 "location": "query", |
30 "type": "string" | 30 "type": "string" |
31 }, | 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 }, |
32 "bearer_token": { | 48 "bearer_token": { |
33 "description": "OAuth bearer token.", | 49 "description": "OAuth bearer token.", |
34 "location": "query", | 50 "location": "query", |
35 "type": "string" | 51 "type": "string" |
36 }, | 52 }, |
| 53 "oauth_token": { |
| 54 "description": "OAuth 2.0 token for the current user.", |
| 55 "location": "query", |
| 56 "type": "string" |
| 57 }, |
37 "upload_protocol": { | 58 "upload_protocol": { |
38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
39 "location": "query", | 60 "location": "query", |
40 "type": "string" | 61 "type": "string" |
41 }, | 62 }, |
42 "prettyPrint": { | 63 "prettyPrint": { |
43 "default": "true", | 64 "default": "true", |
44 "description": "Returns response with indentations and line breaks."
, | 65 "description": "Returns response with indentations and line breaks."
, |
45 "location": "query", | 66 "location": "query", |
46 "type": "boolean" | 67 "type": "boolean" |
47 }, | 68 }, |
48 "fields": { | 69 "fields": { |
49 "description": "Selector specifying which fields to include in a par
tial response.", | 70 "description": "Selector specifying which fields to include in a par
tial response.", |
50 "location": "query", | 71 "location": "query", |
51 "type": "string" | 72 "type": "string" |
52 }, | 73 }, |
53 "uploadType": { | 74 "uploadType": { |
54 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 75 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
55 "location": "query", | 76 "location": "query", |
56 "type": "string" | 77 "type": "string" |
57 }, | 78 }, |
58 "callback": { | |
59 "description": "JSONP", | |
60 "location": "query", | |
61 "type": "string" | |
62 }, | |
63 "$.xgafv": { | 79 "$.xgafv": { |
64 "description": "V1 error format.", | 80 "description": "V1 error format.", |
65 "enum": [ | 81 "enum": [ |
66 "1", | 82 "1", |
67 "2" | 83 "2" |
68 ], | 84 ], |
69 "enumDescriptions": [ | 85 "enumDescriptions": [ |
70 "v1 error format", | 86 "v1 error format", |
71 "v2 error format" | 87 "v2 error format" |
72 ], | 88 ], |
73 "location": "query", | 89 "location": "query", |
74 "type": "string" | 90 "type": "string" |
75 }, | 91 }, |
| 92 "callback": { |
| 93 "description": "JSONP", |
| 94 "location": "query", |
| 95 "type": "string" |
| 96 }, |
76 "alt": { | 97 "alt": { |
77 "default": "json", | 98 "default": "json", |
78 "description": "Data format for response.", | 99 "description": "Data format for response.", |
79 "enum": [ | 100 "enum": [ |
80 "json", | 101 "json", |
81 "media", | 102 "media", |
82 "proto" | 103 "proto" |
83 ], | 104 ], |
84 "enumDescriptions": [ | 105 "enumDescriptions": [ |
85 "Responses with Content-Type of application/json", | 106 "Responses with Content-Type of application/json", |
86 "Media download with context-dependent Content-Type", | 107 "Media download with context-dependent Content-Type", |
87 "Responses with Content-Type of application/x-protobuf" | 108 "Responses with Content-Type of application/x-protobuf" |
88 ], | 109 ], |
89 "location": "query", | 110 "location": "query", |
90 "type": "string" | 111 "type": "string" |
91 }, | |
92 "key": { | |
93 "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.", | |
94 "location": "query", | |
95 "type": "string" | |
96 }, | |
97 "access_token": { | |
98 "description": "OAuth access token.", | |
99 "location": "query", | |
100 "type": "string" | |
101 }, | |
102 "quotaUser": { | |
103 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
104 "location": "query", | |
105 "type": "string" | |
106 }, | |
107 "pp": { | |
108 "default": "true", | |
109 "description": "Pretty-print response.", | |
110 "location": "query", | |
111 "type": "boolean" | |
112 } | 112 } |
113 }, | 113 }, |
114 "protocol": "rest", | 114 "protocol": "rest", |
115 "resources": { | 115 "resources": { |
116 "projects": { | 116 "projects": { |
117 "resources": { | 117 "resources": { |
118 "regions": { | 118 "regions": { |
119 "resources": { | 119 "resources": { |
120 "operations": { | 120 "operations": { |
121 "methods": { | 121 "methods": { |
| 122 "delete": { |
| 123 "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.", |
| 124 "httpMethod": "DELETE", |
| 125 "id": "dataproc.projects.regions.operations.
delete", |
| 126 "parameterOrder": [ |
| 127 "name" |
| 128 ], |
| 129 "parameters": { |
| 130 "name": { |
| 131 "description": "The name of the oper
ation resource to be deleted.", |
| 132 "location": "path", |
| 133 "pattern": "^projects/[^/]+/regions/
[^/]+/operations/[^/]+$", |
| 134 "required": true, |
| 135 "type": "string" |
| 136 } |
| 137 }, |
| 138 "path": "v1/{+name}", |
| 139 "response": { |
| 140 "$ref": "Empty" |
| 141 }, |
| 142 "scopes": [ |
| 143 "https://www.googleapis.com/auth/cloud-p
latform" |
| 144 ] |
| 145 }, |
122 "get": { | 146 "get": { |
123 "description": "Gets the latest state of a l
ong-running operation. Clients can use this method to poll the operation result
at intervals as recommended by the API service.", | 147 "description": "Gets the latest state of a l
ong-running operation. Clients can use this method to poll the operation result
at intervals as recommended by the API service.", |
124 "httpMethod": "GET", | 148 "httpMethod": "GET", |
125 "id": "dataproc.projects.regions.operations.
get", | 149 "id": "dataproc.projects.regions.operations.
get", |
126 "parameterOrder": [ | 150 "parameterOrder": [ |
127 "name" | 151 "name" |
128 ], | 152 ], |
129 "parameters": { | 153 "parameters": { |
130 "name": { | 154 "name": { |
131 "description": "The name of the oper
ation resource.", | 155 "description": "The name of the oper
ation resource.", |
(...skipping 12 matching lines...) Expand all Loading... |
144 ] | 168 ] |
145 }, | 169 }, |
146 "list": { | 170 "list": { |
147 "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 allows API services to override
the binding to use different resource name schemes, such as users/*/operations.
To override the binding, API services can add a binding such as \"/v1/{name=user
s/*}/operations\" to their service configuration. For backwards compatibility, t
he default name includes the operations collection id, however overriding users
must ensure the name binding is the parent resource, without the operations coll
ection id.", | 171 "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 allows API services to override
the binding to use different resource name schemes, such as users/*/operations.
To override the binding, API services can add a binding such as \"/v1/{name=user
s/*}/operations\" to their service configuration. For backwards compatibility, t
he default name includes the operations collection id, however overriding users
must ensure the name binding is the parent resource, without the operations coll
ection id.", |
148 "httpMethod": "GET", | 172 "httpMethod": "GET", |
149 "id": "dataproc.projects.regions.operations.
list", | 173 "id": "dataproc.projects.regions.operations.
list", |
150 "parameterOrder": [ | 174 "parameterOrder": [ |
151 "name" | 175 "name" |
152 ], | 176 ], |
153 "parameters": { | 177 "parameters": { |
154 "filter": { | |
155 "description": "The standard list fi
lter.", | |
156 "location": "query", | |
157 "type": "string" | |
158 }, | |
159 "pageToken": { | 178 "pageToken": { |
160 "description": "The standard list pa
ge token.", | 179 "description": "The standard list pa
ge token.", |
161 "location": "query", | 180 "location": "query", |
162 "type": "string" | 181 "type": "string" |
163 }, | 182 }, |
164 "name": { | 183 "name": { |
165 "description": "The name of the oper
ation's parent resource.", | 184 "description": "The name of the oper
ation's parent resource.", |
166 "location": "path", | 185 "location": "path", |
167 "pattern": "^projects/[^/]+/regions/
[^/]+/operations$", | 186 "pattern": "^projects/[^/]+/regions/
[^/]+/operations$", |
168 "required": true, | 187 "required": true, |
169 "type": "string" | 188 "type": "string" |
170 }, | 189 }, |
171 "pageSize": { | 190 "pageSize": { |
172 "description": "The standard list pa
ge size.", | 191 "description": "The standard list pa
ge size.", |
173 "format": "int32", | 192 "format": "int32", |
174 "location": "query", | 193 "location": "query", |
175 "type": "integer" | 194 "type": "integer" |
| 195 }, |
| 196 "filter": { |
| 197 "description": "The standard list fi
lter.", |
| 198 "location": "query", |
| 199 "type": "string" |
176 } | 200 } |
177 }, | 201 }, |
178 "path": "v1/{+name}", | 202 "path": "v1/{+name}", |
179 "response": { | 203 "response": { |
180 "$ref": "ListOperationsResponse" | 204 "$ref": "ListOperationsResponse" |
181 }, | 205 }, |
182 "scopes": [ | 206 "scopes": [ |
183 "https://www.googleapis.com/auth/cloud-p
latform" | 207 "https://www.googleapis.com/auth/cloud-p
latform" |
184 ] | 208 ] |
185 }, | 209 }, |
(...skipping 13 matching lines...) Expand all Loading... |
199 "type": "string" | 223 "type": "string" |
200 } | 224 } |
201 }, | 225 }, |
202 "path": "v1/{+name}:cancel", | 226 "path": "v1/{+name}:cancel", |
203 "response": { | 227 "response": { |
204 "$ref": "Empty" | 228 "$ref": "Empty" |
205 }, | 229 }, |
206 "scopes": [ | 230 "scopes": [ |
207 "https://www.googleapis.com/auth/cloud-p
latform" | 231 "https://www.googleapis.com/auth/cloud-p
latform" |
208 ] | 232 ] |
209 }, | |
210 "delete": { | |
211 "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.", | |
212 "httpMethod": "DELETE", | |
213 "id": "dataproc.projects.regions.operations.
delete", | |
214 "parameterOrder": [ | |
215 "name" | |
216 ], | |
217 "parameters": { | |
218 "name": { | |
219 "description": "The name of the oper
ation resource to be deleted.", | |
220 "location": "path", | |
221 "pattern": "^projects/[^/]+/regions/
[^/]+/operations/[^/]+$", | |
222 "required": true, | |
223 "type": "string" | |
224 } | |
225 }, | |
226 "path": "v1/{+name}", | |
227 "response": { | |
228 "$ref": "Empty" | |
229 }, | |
230 "scopes": [ | |
231 "https://www.googleapis.com/auth/cloud-p
latform" | |
232 ] | |
233 } | 233 } |
234 } | 234 } |
235 }, | 235 }, |
236 "jobs": { | 236 "jobs": { |
237 "methods": { | 237 "methods": { |
238 "list": { | 238 "get": { |
239 "description": "Lists regions/{region}/jobs
in a project.", | 239 "description": "Gets the resource representa
tion for a job in a project.", |
240 "httpMethod": "GET", | 240 "httpMethod": "GET", |
241 "id": "dataproc.projects.regions.jobs.list", | 241 "id": "dataproc.projects.regions.jobs.get", |
242 "parameterOrder": [ | |
243 "projectId", | |
244 "region" | |
245 ], | |
246 "parameters": { | |
247 "projectId": { | |
248 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", | |
249 "location": "path", | |
250 "required": true, | |
251 "type": "string" | |
252 }, | |
253 "filter": { | |
254 "description": "Optional. A filter c
onstraining the jobs to list. Filters are case-sensitive and have the following
syntax: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.stat
e can be either ACTIVE or INACTIVE. Only the logical AND operator is supported;
space-separated items are treated as having an implicit AND operator.Example fil
ter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *", | |
255 "location": "query", | |
256 "type": "string" | |
257 }, | |
258 "jobStateMatcher": { | |
259 "description": "Optional. Specifies
enumerated categories of jobs to list (default = match ALL jobs).", | |
260 "enum": [ | |
261 "ALL", | |
262 "ACTIVE", | |
263 "NON_ACTIVE" | |
264 ], | |
265 "location": "query", | |
266 "type": "string" | |
267 }, | |
268 "pageToken": { | |
269 "description": "Optional. The page t
oken, returned by a previous call, to request the next page of results.", | |
270 "location": "query", | |
271 "type": "string" | |
272 }, | |
273 "pageSize": { | |
274 "description": "Optional. The number
of results to return in each response.", | |
275 "format": "int32", | |
276 "location": "query", | |
277 "type": "integer" | |
278 }, | |
279 "region": { | |
280 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | |
281 "location": "path", | |
282 "required": true, | |
283 "type": "string" | |
284 }, | |
285 "clusterName": { | |
286 "description": "Optional. If set, th
e returned jobs list includes only jobs that were submitted to the named cluster
.", | |
287 "location": "query", | |
288 "type": "string" | |
289 } | |
290 }, | |
291 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs", | |
292 "response": { | |
293 "$ref": "ListJobsResponse" | |
294 }, | |
295 "scopes": [ | |
296 "https://www.googleapis.com/auth/cloud-p
latform" | |
297 ] | |
298 }, | |
299 "cancel": { | |
300 "description": "Starts a job cancellation re
quest. To access the job resource after cancellation, call regions/{region}/jobs
.list or regions/{region}/jobs.get.", | |
301 "httpMethod": "POST", | |
302 "id": "dataproc.projects.regions.jobs.cancel
", | |
303 "parameterOrder": [ | 242 "parameterOrder": [ |
304 "projectId", | 243 "projectId", |
305 "region", | 244 "region", |
306 "jobId" | 245 "jobId" |
307 ], | 246 ], |
308 "parameters": { | 247 "parameters": { |
309 "region": { | |
310 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | |
311 "location": "path", | |
312 "required": true, | |
313 "type": "string" | |
314 }, | |
315 "jobId": { | 248 "jobId": { |
316 "description": "Required. The job ID
.", | 249 "description": "Required. The job ID
.", |
317 "location": "path", | 250 "location": "path", |
318 "required": true, | 251 "required": true, |
319 "type": "string" | 252 "type": "string" |
320 }, | 253 }, |
321 "projectId": { | 254 "projectId": { |
322 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", | 255 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", |
323 "location": "path", | 256 "location": "path", |
324 "required": true, | 257 "required": true, |
325 "type": "string" | 258 "type": "string" |
| 259 }, |
| 260 "region": { |
| 261 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
| 262 "location": "path", |
| 263 "required": true, |
| 264 "type": "string" |
326 } | 265 } |
327 }, | 266 }, |
328 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}:cancel", | 267 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}", |
329 "request": { | |
330 "$ref": "CancelJobRequest" | |
331 }, | |
332 "response": { | 268 "response": { |
333 "$ref": "Job" | 269 "$ref": "Job" |
334 }, | 270 }, |
335 "scopes": [ | 271 "scopes": [ |
336 "https://www.googleapis.com/auth/cloud-p
latform" | 272 "https://www.googleapis.com/auth/cloud-p
latform" |
337 ] | 273 ] |
338 }, | 274 }, |
339 "patch": { | 275 "patch": { |
340 "description": "Updates a job in a project."
, | 276 "description": "Updates a job in a project."
, |
341 "httpMethod": "PATCH", | 277 "httpMethod": "PATCH", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 "request": { | 311 "request": { |
376 "$ref": "Job" | 312 "$ref": "Job" |
377 }, | 313 }, |
378 "response": { | 314 "response": { |
379 "$ref": "Job" | 315 "$ref": "Job" |
380 }, | 316 }, |
381 "scopes": [ | 317 "scopes": [ |
382 "https://www.googleapis.com/auth/cloud-p
latform" | 318 "https://www.googleapis.com/auth/cloud-p
latform" |
383 ] | 319 ] |
384 }, | 320 }, |
385 "get": { | |
386 "description": "Gets the resource representa
tion for a job in a project.", | |
387 "httpMethod": "GET", | |
388 "id": "dataproc.projects.regions.jobs.get", | |
389 "parameterOrder": [ | |
390 "projectId", | |
391 "region", | |
392 "jobId" | |
393 ], | |
394 "parameters": { | |
395 "jobId": { | |
396 "description": "Required. The job ID
.", | |
397 "location": "path", | |
398 "required": true, | |
399 "type": "string" | |
400 }, | |
401 "projectId": { | |
402 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", | |
403 "location": "path", | |
404 "required": true, | |
405 "type": "string" | |
406 }, | |
407 "region": { | |
408 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | |
409 "location": "path", | |
410 "required": true, | |
411 "type": "string" | |
412 } | |
413 }, | |
414 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}", | |
415 "response": { | |
416 "$ref": "Job" | |
417 }, | |
418 "scopes": [ | |
419 "https://www.googleapis.com/auth/cloud-p
latform" | |
420 ] | |
421 }, | |
422 "submit": { | 321 "submit": { |
423 "description": "Submits a job to a cluster."
, | 322 "description": "Submits a job to a cluster."
, |
424 "httpMethod": "POST", | 323 "httpMethod": "POST", |
425 "id": "dataproc.projects.regions.jobs.submit
", | 324 "id": "dataproc.projects.regions.jobs.submit
", |
426 "parameterOrder": [ | 325 "parameterOrder": [ |
427 "projectId", | 326 "projectId", |
428 "region" | 327 "region" |
429 ], | 328 ], |
430 "parameters": { | 329 "parameters": { |
431 "projectId": { | 330 "projectId": { |
(...skipping 23 matching lines...) Expand all Loading... |
455 "delete": { | 354 "delete": { |
456 "description": "Deletes the job from the pro
ject. If the job is active, the delete fails, and the response returns FAILED_PR
ECONDITION.", | 355 "description": "Deletes the job from the pro
ject. If the job is active, the delete fails, and the response returns FAILED_PR
ECONDITION.", |
457 "httpMethod": "DELETE", | 356 "httpMethod": "DELETE", |
458 "id": "dataproc.projects.regions.jobs.delete
", | 357 "id": "dataproc.projects.regions.jobs.delete
", |
459 "parameterOrder": [ | 358 "parameterOrder": [ |
460 "projectId", | 359 "projectId", |
461 "region", | 360 "region", |
462 "jobId" | 361 "jobId" |
463 ], | 362 ], |
464 "parameters": { | 363 "parameters": { |
465 "region": { | |
466 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | |
467 "location": "path", | |
468 "required": true, | |
469 "type": "string" | |
470 }, | |
471 "jobId": { | 364 "jobId": { |
472 "description": "Required. The job ID
.", | 365 "description": "Required. The job ID
.", |
473 "location": "path", | 366 "location": "path", |
474 "required": true, | 367 "required": true, |
475 "type": "string" | 368 "type": "string" |
476 }, | 369 }, |
477 "projectId": { | 370 "projectId": { |
478 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", | 371 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", |
479 "location": "path", | 372 "location": "path", |
480 "required": true, | 373 "required": true, |
481 "type": "string" | 374 "type": "string" |
| 375 }, |
| 376 "region": { |
| 377 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
| 378 "location": "path", |
| 379 "required": true, |
| 380 "type": "string" |
482 } | 381 } |
483 }, | 382 }, |
484 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}", | 383 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}", |
485 "response": { | 384 "response": { |
486 "$ref": "Empty" | 385 "$ref": "Empty" |
487 }, | 386 }, |
488 "scopes": [ | 387 "scopes": [ |
489 "https://www.googleapis.com/auth/cloud-p
latform" | 388 "https://www.googleapis.com/auth/cloud-p
latform" |
490 ] | 389 ] |
491 } | 390 }, |
492 } | 391 "list": { |
493 }, | 392 "description": "Lists regions/{region}/jobs
in a project.", |
494 "clusters": { | 393 "httpMethod": "GET", |
495 "methods": { | 394 "id": "dataproc.projects.regions.jobs.list", |
496 "patch": { | |
497 "description": "Updates a cluster in a proje
ct.", | |
498 "httpMethod": "PATCH", | |
499 "id": "dataproc.projects.regions.clusters.pa
tch", | |
500 "parameterOrder": [ | 395 "parameterOrder": [ |
501 "projectId", | 396 "projectId", |
502 "region", | 397 "region" |
503 "clusterName" | |
504 ], | 398 ], |
505 "parameters": { | 399 "parameters": { |
506 "projectId": { | 400 "pageToken": { |
507 "description": "Required. The ID of
the Google Cloud Platform project the cluster belongs to.", | 401 "description": "Optional. The page t
oken, returned by a previous call, to request the next page of results.", |
508 "location": "path", | |
509 "required": true, | |
510 "type": "string" | |
511 }, | |
512 "updateMask": { | |
513 "description": "Required. Specifies
the path, relative to Cluster, of the field to update. For example, to change th
e number of workers in a cluster to 5, the update_mask parameter would be specif
ied as config.worker_config.num_instances, and the PATCH request body would spec
ify the new value, as follows:\n{\n \"config\":{\n \"workerConfig\":{\n
\"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preem
ptible workers in a cluster to 5, the update_mask parameter would be config.seco
ndary_worker_config.num_instances, and the PATCH request body would be set as fo
llows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances
\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, only the following fi
elds can be updated:<table> <tbody> <tr> <td><strong>Mask</strong></td> <td>
<strong>Purpose</strong></td> </tr> <tr> <td><strong><em>labels</em></strong>
</td> <td>Update labels</td> </tr> <tr> <td><strong><em>config.worker_config
.num_instances</em></strong></td> <td>Resize primary worker group</td> </tr>
<tr> <td><strong><em>config.secondary_worker_config.num_instances</em></strong>
</td> <td>Resize secondary worker group</td> </tr> </tbody> </table>", | |
514 "format": "google-fieldmask", | |
515 "location": "query", | 402 "location": "query", |
516 "type": "string" | 403 "type": "string" |
517 }, | 404 }, |
| 405 "pageSize": { |
| 406 "description": "Optional. The number
of results to return in each response.", |
| 407 "format": "int32", |
| 408 "location": "query", |
| 409 "type": "integer" |
| 410 }, |
518 "region": { | 411 "region": { |
519 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | 412 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
520 "location": "path", | 413 "location": "path", |
521 "required": true, | 414 "required": true, |
522 "type": "string" | 415 "type": "string" |
523 }, | 416 }, |
524 "clusterName": { | 417 "clusterName": { |
525 "description": "Required. The cluste
r name.", | 418 "description": "Optional. If set, th
e returned jobs list includes only jobs that were submitted to the named cluster
.", |
| 419 "location": "query", |
| 420 "type": "string" |
| 421 }, |
| 422 "projectId": { |
| 423 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", |
526 "location": "path", | 424 "location": "path", |
527 "required": true, | 425 "required": true, |
528 "type": "string" | 426 "type": "string" |
| 427 }, |
| 428 "filter": { |
| 429 "description": "Optional. A filter c
onstraining the jobs to list. Filters are case-sensitive and have the following
syntax: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.stat
e can be either ACTIVE or INACTIVE. Only the logical AND operator is supported;
space-separated items are treated as having an implicit AND operator.Example fil
ter:status.state = ACTIVE AND labels.env = staging AND labels.starred = *", |
| 430 "location": "query", |
| 431 "type": "string" |
| 432 }, |
| 433 "jobStateMatcher": { |
| 434 "description": "Optional. Specifies
enumerated categories of jobs to list (default = match ALL jobs).", |
| 435 "enum": [ |
| 436 "ALL", |
| 437 "ACTIVE", |
| 438 "NON_ACTIVE" |
| 439 ], |
| 440 "location": "query", |
| 441 "type": "string" |
529 } | 442 } |
530 }, | 443 }, |
531 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", | 444 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs", |
532 "request": { | |
533 "$ref": "Cluster" | |
534 }, | |
535 "response": { | 445 "response": { |
536 "$ref": "Operation" | 446 "$ref": "ListJobsResponse" |
537 }, | 447 }, |
538 "scopes": [ | 448 "scopes": [ |
539 "https://www.googleapis.com/auth/cloud-p
latform" | 449 "https://www.googleapis.com/auth/cloud-p
latform" |
540 ] | 450 ] |
541 }, | 451 }, |
542 "get": { | 452 "cancel": { |
543 "description": "Gets the resource representa
tion for a cluster in a project.", | 453 "description": "Starts a job cancellation re
quest. To access the job resource after cancellation, call regions/{region}/jobs
.list or regions/{region}/jobs.get.", |
544 "httpMethod": "GET", | 454 "httpMethod": "POST", |
545 "id": "dataproc.projects.regions.clusters.ge
t", | 455 "id": "dataproc.projects.regions.jobs.cancel
", |
546 "parameterOrder": [ | 456 "parameterOrder": [ |
547 "projectId", | 457 "projectId", |
548 "region", | 458 "region", |
549 "clusterName" | 459 "jobId" |
550 ], | 460 ], |
551 "parameters": { | 461 "parameters": { |
552 "region": { | 462 "region": { |
553 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | 463 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
554 "location": "path", | 464 "location": "path", |
555 "required": true, | 465 "required": true, |
556 "type": "string" | 466 "type": "string" |
557 }, | 467 }, |
558 "clusterName": { | 468 "jobId": { |
559 "description": "Required. The cluste
r name.", | 469 "description": "Required. The job ID
.", |
560 "location": "path", | 470 "location": "path", |
561 "required": true, | 471 "required": true, |
562 "type": "string" | 472 "type": "string" |
563 }, | 473 }, |
564 "projectId": { | 474 "projectId": { |
565 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", | 475 "description": "Required. The ID of
the Google Cloud Platform project that the job belongs to.", |
566 "location": "path", | 476 "location": "path", |
567 "required": true, | 477 "required": true, |
568 "type": "string" | 478 "type": "string" |
569 } | 479 } |
570 }, | 480 }, |
571 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", | 481 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}:cancel", |
| 482 "request": { |
| 483 "$ref": "CancelJobRequest" |
| 484 }, |
572 "response": { | 485 "response": { |
573 "$ref": "Cluster" | 486 "$ref": "Job" |
574 }, | 487 }, |
575 "scopes": [ | 488 "scopes": [ |
576 "https://www.googleapis.com/auth/cloud-p
latform" | 489 "https://www.googleapis.com/auth/cloud-p
latform" |
577 ] | 490 ] |
578 }, | 491 } |
579 "diagnose": { | 492 } |
580 "description": "Gets cluster diagnostic info
rmation. After the operation completes, the Operation.response field contains Di
agnoseClusterOutputLocation.", | 493 }, |
581 "httpMethod": "POST", | 494 "clusters": { |
582 "id": "dataproc.projects.regions.clusters.di
agnose", | 495 "methods": { |
| 496 "delete": { |
| 497 "description": "Deletes a cluster in a proje
ct.", |
| 498 "httpMethod": "DELETE", |
| 499 "id": "dataproc.projects.regions.clusters.de
lete", |
583 "parameterOrder": [ | 500 "parameterOrder": [ |
584 "projectId", | 501 "projectId", |
585 "region", | 502 "region", |
586 "clusterName" | 503 "clusterName" |
587 ], | 504 ], |
588 "parameters": { | 505 "parameters": { |
589 "projectId": { | |
590 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", | |
591 "location": "path", | |
592 "required": true, | |
593 "type": "string" | |
594 }, | |
595 "region": { | 506 "region": { |
596 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | 507 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
597 "location": "path", | 508 "location": "path", |
598 "required": true, | 509 "required": true, |
599 "type": "string" | 510 "type": "string" |
600 }, | 511 }, |
601 "clusterName": { | 512 "clusterName": { |
602 "description": "Required. The cluste
r name.", | 513 "description": "Required. The cluste
r name.", |
603 "location": "path", | 514 "location": "path", |
604 "required": true, | 515 "required": true, |
605 "type": "string" | 516 "type": "string" |
| 517 }, |
| 518 "projectId": { |
| 519 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 520 "location": "path", |
| 521 "required": true, |
| 522 "type": "string" |
606 } | 523 } |
607 }, | 524 }, |
608 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}:diagnose", | 525 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", |
609 "request": { | |
610 "$ref": "DiagnoseClusterRequest" | |
611 }, | |
612 "response": { | 526 "response": { |
613 "$ref": "Operation" | 527 "$ref": "Operation" |
614 }, | 528 }, |
615 "scopes": [ | 529 "scopes": [ |
616 "https://www.googleapis.com/auth/cloud-p
latform" | 530 "https://www.googleapis.com/auth/cloud-p
latform" |
617 ] | 531 ] |
618 }, | 532 }, |
619 "delete": { | 533 "diagnose": { |
620 "description": "Deletes a cluster in a proje
ct.", | 534 "description": "Gets cluster diagnostic info
rmation. After the operation completes, the Operation.response field contains Di
agnoseClusterOutputLocation.", |
621 "httpMethod": "DELETE", | 535 "httpMethod": "POST", |
622 "id": "dataproc.projects.regions.clusters.de
lete", | 536 "id": "dataproc.projects.regions.clusters.di
agnose", |
623 "parameterOrder": [ | 537 "parameterOrder": [ |
624 "projectId", | 538 "projectId", |
625 "region", | 539 "region", |
626 "clusterName" | 540 "clusterName" |
627 ], | 541 ], |
628 "parameters": { | 542 "parameters": { |
629 "projectId": { | |
630 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", | |
631 "location": "path", | |
632 "required": true, | |
633 "type": "string" | |
634 }, | |
635 "region": { | 543 "region": { |
636 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | 544 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
637 "location": "path", | 545 "location": "path", |
638 "required": true, | 546 "required": true, |
639 "type": "string" | 547 "type": "string" |
640 }, | 548 }, |
641 "clusterName": { | 549 "clusterName": { |
642 "description": "Required. The cluste
r name.", | 550 "description": "Required. The cluste
r name.", |
643 "location": "path", | 551 "location": "path", |
644 "required": true, | 552 "required": true, |
645 "type": "string" | 553 "type": "string" |
| 554 }, |
| 555 "projectId": { |
| 556 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 557 "location": "path", |
| 558 "required": true, |
| 559 "type": "string" |
646 } | 560 } |
647 }, | 561 }, |
648 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", | 562 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}:diagnose", |
| 563 "request": { |
| 564 "$ref": "DiagnoseClusterRequest" |
| 565 }, |
649 "response": { | 566 "response": { |
650 "$ref": "Operation" | 567 "$ref": "Operation" |
651 }, | 568 }, |
652 "scopes": [ | 569 "scopes": [ |
653 "https://www.googleapis.com/auth/cloud-p
latform" | 570 "https://www.googleapis.com/auth/cloud-p
latform" |
654 ] | 571 ] |
655 }, | 572 }, |
656 "list": { | 573 "list": { |
657 "description": "Lists all regions/{region}/c
lusters in a project.", | 574 "description": "Lists all regions/{region}/c
lusters in a project.", |
658 "httpMethod": "GET", | 575 "httpMethod": "GET", |
659 "id": "dataproc.projects.regions.clusters.li
st", | 576 "id": "dataproc.projects.regions.clusters.li
st", |
660 "parameterOrder": [ | 577 "parameterOrder": [ |
661 "projectId", | 578 "projectId", |
662 "region" | 579 "region" |
663 ], | 580 ], |
664 "parameters": { | 581 "parameters": { |
665 "pageSize": { | |
666 "description": "Optional. The standa
rd List page size.", | |
667 "format": "int32", | |
668 "location": "query", | |
669 "type": "integer" | |
670 }, | |
671 "projectId": { | |
672 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", | |
673 "location": "path", | |
674 "required": true, | |
675 "type": "string" | |
676 }, | |
677 "filter": { | 582 "filter": { |
678 "description": "Optional. A filter c
onstraining the clusters to list. Filters are case-sensitive and have the follow
ing 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 matc
h all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATI
NG, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATIN
G, and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterN
ame is the name of the cluster provided at creation time. Only the logical AND o
perator is supported; space-separated items are treated as having an implicit AN
D operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND
labels.env = staging AND labels.starred = *", | 583 "description": "Optional. A filter c
onstraining the clusters to list. Filters are case-sensitive and have the follow
ing 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 matc
h all values. status.state can be one of the following: ACTIVE, INACTIVE, CREATI
NG, RUNNING, ERROR, DELETING, or UPDATING. ACTIVE contains the CREATING, UPDATIN
G, and RUNNING states. INACTIVE contains the DELETING and ERROR states. clusterN
ame is the name of the cluster provided at creation time. Only the logical AND o
perator is supported; space-separated items are treated as having an implicit AN
D operator.Example filter:status.state = ACTIVE AND clusterName = mycluster AND
labels.env = staging AND labels.starred = *", |
679 "location": "query", | 584 "location": "query", |
680 "type": "string" | 585 "type": "string" |
681 }, | 586 }, |
682 "region": { | 587 "region": { |
683 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | 588 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
684 "location": "path", | 589 "location": "path", |
685 "required": true, | 590 "required": true, |
686 "type": "string" | 591 "type": "string" |
687 }, | 592 }, |
688 "pageToken": { | 593 "pageToken": { |
689 "description": "Optional. The standa
rd List page token.", | 594 "description": "Optional. The standa
rd List page token.", |
690 "location": "query", | 595 "location": "query", |
691 "type": "string" | 596 "type": "string" |
| 597 }, |
| 598 "pageSize": { |
| 599 "description": "Optional. The standa
rd List page size.", |
| 600 "format": "int32", |
| 601 "location": "query", |
| 602 "type": "integer" |
| 603 }, |
| 604 "projectId": { |
| 605 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 606 "location": "path", |
| 607 "required": true, |
| 608 "type": "string" |
692 } | 609 } |
693 }, | 610 }, |
694 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters", | 611 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters", |
695 "response": { | 612 "response": { |
696 "$ref": "ListClustersResponse" | 613 "$ref": "ListClustersResponse" |
697 }, | 614 }, |
698 "scopes": [ | 615 "scopes": [ |
699 "https://www.googleapis.com/auth/cloud-p
latform" | 616 "https://www.googleapis.com/auth/cloud-p
latform" |
700 ] | 617 ] |
701 }, | 618 }, |
702 "create": { | 619 "create": { |
703 "description": "Creates a cluster in a proje
ct.", | 620 "description": "Creates a cluster in a proje
ct.", |
704 "httpMethod": "POST", | 621 "httpMethod": "POST", |
705 "id": "dataproc.projects.regions.clusters.cr
eate", | 622 "id": "dataproc.projects.regions.clusters.cr
eate", |
706 "parameterOrder": [ | 623 "parameterOrder": [ |
707 "projectId", | 624 "projectId", |
708 "region" | 625 "region" |
709 ], | 626 ], |
710 "parameters": { | 627 "parameters": { |
711 "region": { | 628 "projectId": { |
712 "description": "Required. The Cloud
Dataproc region in which to handle the request.", | 629 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", |
713 "location": "path", | 630 "location": "path", |
714 "required": true, | 631 "required": true, |
715 "type": "string" | 632 "type": "string" |
716 }, | 633 }, |
717 "projectId": { | 634 "region": { |
718 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", | 635 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
719 "location": "path", | 636 "location": "path", |
720 "required": true, | 637 "required": true, |
721 "type": "string" | 638 "type": "string" |
722 } | 639 } |
723 }, | 640 }, |
724 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters", | 641 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters", |
725 "request": { | 642 "request": { |
726 "$ref": "Cluster" | 643 "$ref": "Cluster" |
727 }, | 644 }, |
| 645 "response": { |
| 646 "$ref": "Operation" |
| 647 }, |
| 648 "scopes": [ |
| 649 "https://www.googleapis.com/auth/cloud-p
latform" |
| 650 ] |
| 651 }, |
| 652 "patch": { |
| 653 "description": "Updates a cluster in a proje
ct.", |
| 654 "httpMethod": "PATCH", |
| 655 "id": "dataproc.projects.regions.clusters.pa
tch", |
| 656 "parameterOrder": [ |
| 657 "projectId", |
| 658 "region", |
| 659 "clusterName" |
| 660 ], |
| 661 "parameters": { |
| 662 "clusterName": { |
| 663 "description": "Required. The cluste
r name.", |
| 664 "location": "path", |
| 665 "required": true, |
| 666 "type": "string" |
| 667 }, |
| 668 "projectId": { |
| 669 "description": "Required. The ID of
the Google Cloud Platform project the cluster belongs to.", |
| 670 "location": "path", |
| 671 "required": true, |
| 672 "type": "string" |
| 673 }, |
| 674 "updateMask": { |
| 675 "description": "Required. Specifies
the path, relative to Cluster, of the field to update. For example, to change th
e number of workers in a cluster to 5, the update_mask parameter would be specif
ied as config.worker_config.num_instances, and the PATCH request body would spec
ify the new value, as follows:\n{\n \"config\":{\n \"workerConfig\":{\n
\"numInstances\":\"5\"\n }\n }\n}\nSimilarly, to change the number of preem
ptible workers in a cluster to 5, the update_mask parameter would be config.seco
ndary_worker_config.num_instances, and the PATCH request body would be set as fo
llows:\n{\n \"config\":{\n \"secondaryWorkerConfig\":{\n \"numInstances
\":\"5\"\n }\n }\n}\n<strong>Note:</strong> Currently, only the following fi
elds can be updated:<table> <tbody> <tr> <td><strong>Mask</strong></td> <td>
<strong>Purpose</strong></td> </tr> <tr> <td><strong><em>labels</em></strong>
</td> <td>Update labels</td> </tr> <tr> <td><strong><em>config.worker_config
.num_instances</em></strong></td> <td>Resize primary worker group</td> </tr>
<tr> <td><strong><em>config.secondary_worker_config.num_instances</em></strong>
</td> <td>Resize secondary worker group</td> </tr> </tbody> </table>", |
| 676 "format": "google-fieldmask", |
| 677 "location": "query", |
| 678 "type": "string" |
| 679 }, |
| 680 "region": { |
| 681 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
| 682 "location": "path", |
| 683 "required": true, |
| 684 "type": "string" |
| 685 } |
| 686 }, |
| 687 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", |
| 688 "request": { |
| 689 "$ref": "Cluster" |
| 690 }, |
728 "response": { | 691 "response": { |
729 "$ref": "Operation" | 692 "$ref": "Operation" |
730 }, | 693 }, |
731 "scopes": [ | 694 "scopes": [ |
732 "https://www.googleapis.com/auth/cloud-p
latform" | 695 "https://www.googleapis.com/auth/cloud-p
latform" |
733 ] | 696 ] |
| 697 }, |
| 698 "get": { |
| 699 "description": "Gets the resource representa
tion for a cluster in a project.", |
| 700 "httpMethod": "GET", |
| 701 "id": "dataproc.projects.regions.clusters.ge
t", |
| 702 "parameterOrder": [ |
| 703 "projectId", |
| 704 "region", |
| 705 "clusterName" |
| 706 ], |
| 707 "parameters": { |
| 708 "clusterName": { |
| 709 "description": "Required. The cluste
r name.", |
| 710 "location": "path", |
| 711 "required": true, |
| 712 "type": "string" |
| 713 }, |
| 714 "projectId": { |
| 715 "description": "Required. The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 716 "location": "path", |
| 717 "required": true, |
| 718 "type": "string" |
| 719 }, |
| 720 "region": { |
| 721 "description": "Required. The Cloud
Dataproc region in which to handle the request.", |
| 722 "location": "path", |
| 723 "required": true, |
| 724 "type": "string" |
| 725 } |
| 726 }, |
| 727 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", |
| 728 "response": { |
| 729 "$ref": "Cluster" |
| 730 }, |
| 731 "scopes": [ |
| 732 "https://www.googleapis.com/auth/cloud-p
latform" |
| 733 ] |
734 } | 734 } |
735 } | 735 } |
736 } | 736 } |
737 } | 737 } |
738 } | 738 } |
739 } | 739 } |
740 } | 740 } |
741 }, | 741 }, |
742 "revision": "20170816", | 742 "revision": "20170822", |
743 "rootUrl": "https://dataproc.googleapis.com/", | 743 "rootUrl": "https://dataproc.googleapis.com/", |
744 "schemas": { | 744 "schemas": { |
745 "DiagnoseClusterRequest": { | |
746 "description": "A request to collect cluster diagnostic information.
", | |
747 "id": "DiagnoseClusterRequest", | |
748 "properties": {}, | |
749 "type": "object" | |
750 }, | |
751 "DiskConfig": { | |
752 "description": "Specifies the config of disk options for a group of
VM instances.", | |
753 "id": "DiskConfig", | |
754 "properties": { | |
755 "numLocalSsds": { | |
756 "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 runt
ime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) d
ata. If one or more SSDs are attached, this runtime bulk data is spread across t
hem, and the boot disk contains only basic config and installed binaries.", | |
757 "format": "int32", | |
758 "type": "integer" | |
759 }, | |
760 "bootDiskSizeGb": { | |
761 "description": "Optional. Size in GB of the boot disk (defau
lt is 500GB).", | |
762 "format": "int32", | |
763 "type": "integer" | |
764 } | |
765 }, | |
766 "type": "object" | |
767 }, | |
768 "ClusterOperationMetadata": { | 745 "ClusterOperationMetadata": { |
769 "description": "Metadata describing the operation.", | 746 "description": "Metadata describing the operation.", |
770 "id": "ClusterOperationMetadata", | 747 "id": "ClusterOperationMetadata", |
771 "properties": { | 748 "properties": { |
772 "description": { | 749 "description": { |
773 "description": "Output-only. Short description of operation.
", | 750 "description": "Output-only. Short description of operation.
", |
774 "type": "string" | 751 "type": "string" |
775 }, | 752 }, |
776 "warnings": { | 753 "warnings": { |
777 "description": "Output-only. Errors encountered during opera
tion execution.", | 754 "description": "Output-only. Errors encountered during opera
tion execution.", |
(...skipping 13 matching lines...) Expand all Loading... |
791 "$ref": "ClusterOperationStatus", | 768 "$ref": "ClusterOperationStatus", |
792 "description": "Output-only. Current operation status." | 769 "description": "Output-only. Current operation status." |
793 }, | 770 }, |
794 "statusHistory": { | 771 "statusHistory": { |
795 "description": "Output-only. The previous operation status."
, | 772 "description": "Output-only. The previous operation status."
, |
796 "items": { | 773 "items": { |
797 "$ref": "ClusterOperationStatus" | 774 "$ref": "ClusterOperationStatus" |
798 }, | 775 }, |
799 "type": "array" | 776 "type": "array" |
800 }, | 777 }, |
| 778 "clusterUuid": { |
| 779 "description": "Output-only. Cluster UUID for the operation.
", |
| 780 "type": "string" |
| 781 }, |
801 "clusterName": { | 782 "clusterName": { |
802 "description": "Output-only. Name of the cluster for the ope
ration.", | 783 "description": "Output-only. Name of the cluster for the ope
ration.", |
803 "type": "string" | 784 "type": "string" |
804 }, | 785 }, |
805 "clusterUuid": { | |
806 "description": "Output-only. Cluster UUID for the operation.
", | |
807 "type": "string" | |
808 }, | |
809 "operationType": { | 786 "operationType": { |
810 "description": "Output-only. The operation type.", | 787 "description": "Output-only. The operation type.", |
811 "type": "string" | 788 "type": "string" |
812 } | 789 } |
813 }, | 790 }, |
814 "type": "object" | 791 "type": "object" |
815 }, | 792 }, |
816 "Empty": { | 793 "Empty": { |
817 "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 {}.", | 794 "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 {}.", |
818 "id": "Empty", | 795 "id": "Empty", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 "$ref": "InstanceGroupConfig", | 882 "$ref": "InstanceGroupConfig", |
906 "description": "Optional. The Google Compute Engine config s
ettings for additional worker instances in a cluster." | 883 "description": "Optional. The Google Compute Engine config s
ettings for additional worker instances in a cluster." |
907 } | 884 } |
908 }, | 885 }, |
909 "type": "object" | 886 "type": "object" |
910 }, | 887 }, |
911 "PySparkJob": { | 888 "PySparkJob": { |
912 "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.", | 889 "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.", |
913 "id": "PySparkJob", | 890 "id": "PySparkJob", |
914 "properties": { | 891 "properties": { |
| 892 "jarFileUris": { |
| 893 "description": "Optional. HCFS URIs of jar files to add to t
he CLASSPATHs of the Python driver and tasks.", |
| 894 "items": { |
| 895 "type": "string" |
| 896 }, |
| 897 "type": "array" |
| 898 }, |
| 899 "loggingConfig": { |
| 900 "$ref": "LoggingConfig", |
| 901 "description": "Optional. The runtime log config for job exe
cution." |
| 902 }, |
| 903 "properties": { |
| 904 "additionalProperties": { |
| 905 "type": "string" |
| 906 }, |
| 907 "description": "Optional. A mapping of property names to val
ues, used to configure PySpark. Properties that conflict with values set by the
Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/
conf/spark-defaults.conf and classes in user code.", |
| 908 "type": "object" |
| 909 }, |
915 "args": { | 910 "args": { |
916 "description": "Optional. The arguments to pass to the drive
r. Do not include arguments, such as --conf, that can be set as job properties,
since a collision may occur that causes an incorrect job submission.", | 911 "description": "Optional. The arguments to pass to the drive
r. Do not include arguments, such as --conf, that can be set as job properties,
since a collision may occur that causes an incorrect job submission.", |
917 "items": { | 912 "items": { |
918 "type": "string" | 913 "type": "string" |
919 }, | 914 }, |
920 "type": "array" | 915 "type": "array" |
921 }, | 916 }, |
922 "fileUris": { | 917 "fileUris": { |
923 "description": "Optional. HCFS URIs of files to be copied to
the working directory of Python drivers and distributed tasks. Useful for naive
ly parallel tasks.", | 918 "description": "Optional. HCFS URIs of files to be copied to
the working directory of Python drivers and distributed tasks. Useful for naive
ly parallel tasks.", |
924 "items": { | 919 "items": { |
(...skipping 11 matching lines...) Expand all Loading... |
936 "mainPythonFileUri": { | 931 "mainPythonFileUri": { |
937 "description": "Required. The HCFS URI of the main Python fi
le to use as the driver. Must be a .py file.", | 932 "description": "Required. The HCFS URI of the main Python fi
le to use as the driver. Must be a .py file.", |
938 "type": "string" | 933 "type": "string" |
939 }, | 934 }, |
940 "archiveUris": { | 935 "archiveUris": { |
941 "description": "Optional. HCFS URIs of archives to be extrac
ted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", | 936 "description": "Optional. HCFS URIs of archives to be extrac
ted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", |
942 "items": { | 937 "items": { |
943 "type": "string" | 938 "type": "string" |
944 }, | 939 }, |
945 "type": "array" | 940 "type": "array" |
946 }, | |
947 "jarFileUris": { | |
948 "description": "Optional. HCFS URIs of jar files to add to t
he CLASSPATHs of the Python driver and tasks.", | |
949 "items": { | |
950 "type": "string" | |
951 }, | |
952 "type": "array" | |
953 }, | |
954 "loggingConfig": { | |
955 "$ref": "LoggingConfig", | |
956 "description": "Optional. The runtime log config for job exe
cution." | |
957 }, | |
958 "properties": { | |
959 "additionalProperties": { | |
960 "type": "string" | |
961 }, | |
962 "description": "Optional. A mapping of property names to val
ues, used to configure PySpark. Properties that conflict with values set by the
Cloud Dataproc API may be overwritten. Can include properties set in /etc/spark/
conf/spark-defaults.conf and classes in user code.", | |
963 "type": "object" | |
964 } | 941 } |
965 }, | 942 }, |
966 "type": "object" | 943 "type": "object" |
967 }, | 944 }, |
968 "GceClusterConfig": { | 945 "GceClusterConfig": { |
969 "description": "Common config settings for resources of Google Compu
te Engine cluster instances, applicable to all instances in the cluster.", | 946 "description": "Common config settings for resources of Google Compu
te Engine cluster instances, applicable to all instances in the cluster.", |
970 "id": "GceClusterConfig", | 947 "id": "GceClusterConfig", |
971 "properties": { | 948 "properties": { |
| 949 "zoneUri": { |
| 950 "description": "Optional. The zone where the Google Compute
Engine cluster will be located. On a create request, it is required in the \"glo
bal\" region. If omitted in a non-global Cloud Dataproc region, the service will
pick a zone in the corresponding Compute Engine region. On a get request, zone
will always be present.A full URL, partial URI, or short name are valid. Example
s:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]\npr
ojects/[project_id]/zones/[zone]\nus-central1-f", |
| 951 "type": "string" |
| 952 }, |
972 "metadata": { | 953 "metadata": { |
973 "additionalProperties": { | 954 "additionalProperties": { |
974 "type": "string" | 955 "type": "string" |
975 }, | 956 }, |
976 "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)).", | 957 "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)).", |
977 "type": "object" | 958 "type": "object" |
978 }, | 959 }, |
979 "internalIpOnly": { | 960 "internalIpOnly": { |
980 "description": "Optional. If true, all instances in the clus
ter will only have internal IP addresses. By default, clusters are not restricte
d to internal IP addresses, and will have ephemeral external IP addresses assign
ed to each instance. This internal_ip_only restriction can only be enabled for s
ubnetwork enabled networks, and all off-cluster dependencies must be configured
to be accessible without external IP addresses.", | 961 "description": "Optional. If true, all instances in the clus
ter will only have internal IP addresses. By default, clusters are not restricte
d to internal IP addresses, and will have ephemeral external IP addresses assign
ed to each instance. This internal_ip_only restriction can only be enabled for s
ubnetwork enabled networks, and all off-cluster dependencies must be configured
to be accessible without external IP addresses.", |
981 "type": "boolean" | 962 "type": "boolean" |
(...skipping 16 matching lines...) Expand all Loading... |
998 "description": "Optional. The service account of the instanc
es. Defaults to the default Google Compute Engine service account. Custom servic
e accounts need permissions equivalent to the folloing IAM roles:\nroles/logging
.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/
access/service-accounts#custom_service_accounts for more information). Example:
[account_id]@[project_id].iam.gserviceaccount.com", | 979 "description": "Optional. The service account of the instanc
es. Defaults to the default Google Compute Engine service account. Custom servic
e accounts need permissions equivalent to the folloing IAM roles:\nroles/logging
.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/
access/service-accounts#custom_service_accounts for more information). Example:
[account_id]@[project_id].iam.gserviceaccount.com", |
999 "type": "string" | 980 "type": "string" |
1000 }, | 981 }, |
1001 "subnetworkUri": { | 982 "subnetworkUri": { |
1002 "description": "Optional. The Google Compute Engine subnetwo
rk to be used for machine communications. Cannot be specified with network_uri.A
full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleap
is.com/compute/v1/projects/[project_id]/regions/us-east1/sub0\nprojects/[project
_id]/regions/us-east1/sub0\nsub0", | 983 "description": "Optional. The Google Compute Engine subnetwo
rk to be used for machine communications. Cannot be specified with network_uri.A
full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleap
is.com/compute/v1/projects/[project_id]/regions/us-east1/sub0\nprojects/[project
_id]/regions/us-east1/sub0\nsub0", |
1003 "type": "string" | 984 "type": "string" |
1004 }, | 985 }, |
1005 "networkUri": { | 986 "networkUri": { |
1006 "description": "Optional. The Google Compute Engine network
to be used for machine communications. Cannot be specified with subnetwork_uri.
If neither network_uri nor subnetwork_uri is specified, the \"default\" network
of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see
Using Subnetworks for more information).A full URL, partial URI, or short name
are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id
]/regions/global/default\nprojects/[project_id]/regions/global/default\ndefault"
, | 987 "description": "Optional. The Google Compute Engine network
to be used for machine communications. Cannot be specified with subnetwork_uri.
If neither network_uri nor subnetwork_uri is specified, the \"default\" network
of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see
Using Subnetworks for more information).A full URL, partial URI, or short name
are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id
]/regions/global/default\nprojects/[project_id]/regions/global/default\ndefault"
, |
1007 "type": "string" | 988 "type": "string" |
| 989 } |
| 990 }, |
| 991 "type": "object" |
| 992 }, |
| 993 "AcceleratorConfig": { |
| 994 "description": "Specifies the type and number of accelerator cards a
ttached to the instances of an instance group (see GPUs on Compute Engine).", |
| 995 "id": "AcceleratorConfig", |
| 996 "properties": { |
| 997 "acceleratorCount": { |
| 998 "description": "The number of the accelerator cards of this
type exposed to this instance.", |
| 999 "format": "int32", |
| 1000 "type": "integer" |
1008 }, | 1001 }, |
1009 "zoneUri": { | 1002 "acceleratorTypeUri": { |
1010 "description": "Optional. The zone where the Google Compute
Engine cluster will be located. On a create request, it is required in the \"glo
bal\" region. If omitted in a non-global Cloud Dataproc region, the service will
pick a zone in the corresponding Compute Engine region. On a get request, zone
will always be present.A full URL, partial URI, or short name are valid. Example
s:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]\npr
ojects/[project_id]/zones/[zone]\nus-central1-f", | 1003 "description": "Full URL, partial URI, or short name of the
accelerator type resource to expose to this instance. See Google Compute Engine
AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)Examples * https
://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/accele
ratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/accelerator
Types/nvidia-tesla-k80 * nvidia-tesla-k80", |
1011 "type": "string" | 1004 "type": "string" |
1012 } | 1005 } |
1013 }, | 1006 }, |
1014 "type": "object" | 1007 "type": "object" |
1015 }, | 1008 }, |
1016 "ClusterMetrics": { | 1009 "ClusterMetrics": { |
1017 "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.", | 1010 "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.", |
1018 "id": "ClusterMetrics", | 1011 "id": "ClusterMetrics", |
1019 "properties": { | 1012 "properties": { |
| 1013 "yarnMetrics": { |
| 1014 "additionalProperties": { |
| 1015 "format": "int64", |
| 1016 "type": "string" |
| 1017 }, |
| 1018 "description": "The YARN metrics.", |
| 1019 "type": "object" |
| 1020 }, |
1020 "hdfsMetrics": { | 1021 "hdfsMetrics": { |
1021 "additionalProperties": { | 1022 "additionalProperties": { |
1022 "format": "int64", | 1023 "format": "int64", |
1023 "type": "string" | 1024 "type": "string" |
1024 }, | 1025 }, |
1025 "description": "The HDFS metrics.", | 1026 "description": "The HDFS metrics.", |
1026 "type": "object" | 1027 "type": "object" |
1027 }, | |
1028 "yarnMetrics": { | |
1029 "additionalProperties": { | |
1030 "format": "int64", | |
1031 "type": "string" | |
1032 }, | |
1033 "description": "The YARN metrics.", | |
1034 "type": "object" | |
1035 } | |
1036 }, | |
1037 "type": "object" | |
1038 }, | |
1039 "AcceleratorConfig": { | |
1040 "description": "Specifies the type and number of accelerator cards a
ttached to the instances of an instance group (see GPUs on Compute Engine).", | |
1041 "id": "AcceleratorConfig", | |
1042 "properties": { | |
1043 "acceleratorTypeUri": { | |
1044 "description": "Full URL, partial URI, or short name of the
accelerator type resource to expose to this instance. See Google Compute Engine
AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)Examples * https
://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/accele
ratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/accelerator
Types/nvidia-tesla-k80 * nvidia-tesla-k80", | |
1045 "type": "string" | |
1046 }, | |
1047 "acceleratorCount": { | |
1048 "description": "The number of the accelerator cards of this
type exposed to this instance.", | |
1049 "format": "int32", | |
1050 "type": "integer" | |
1051 } | 1028 } |
1052 }, | 1029 }, |
1053 "type": "object" | 1030 "type": "object" |
1054 }, | 1031 }, |
1055 "LoggingConfig": { | 1032 "LoggingConfig": { |
1056 "description": "The runtime logging config of the job.", | 1033 "description": "The runtime logging config of the job.", |
1057 "id": "LoggingConfig", | 1034 "id": "LoggingConfig", |
1058 "properties": { | 1035 "properties": { |
1059 "driverLogLevels": { | 1036 "driverLogLevels": { |
1060 "additionalProperties": { | 1037 "additionalProperties": { |
(...skipping 13 matching lines...) Expand all Loading... |
1074 "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'", | 1051 "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'", |
1075 "type": "object" | 1052 "type": "object" |
1076 } | 1053 } |
1077 }, | 1054 }, |
1078 "type": "object" | 1055 "type": "object" |
1079 }, | 1056 }, |
1080 "Operation": { | 1057 "Operation": { |
1081 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | 1058 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
1082 "id": "Operation", | 1059 "id": "Operation", |
1083 "properties": { | 1060 "properties": { |
| 1061 "name": { |
| 1062 "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.", |
| 1063 "type": "string" |
| 1064 }, |
1084 "error": { | 1065 "error": { |
1085 "$ref": "Status", | 1066 "$ref": "Status", |
1086 "description": "The error result of the operation in case of
failure or cancellation." | 1067 "description": "The error result of the operation in case of
failure or cancellation." |
1087 }, | 1068 }, |
1088 "metadata": { | 1069 "metadata": { |
1089 "additionalProperties": { | 1070 "additionalProperties": { |
1090 "description": "Properties of the object. Contains field
@type with type URL.", | 1071 "description": "Properties of the object. Contains field
@type with type URL.", |
1091 "type": "any" | 1072 "type": "any" |
1092 }, | 1073 }, |
1093 "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.", | 1074 "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.", |
1094 "type": "object" | 1075 "type": "object" |
1095 }, | 1076 }, |
1096 "done": { | 1077 "done": { |
1097 "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.", | 1078 "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.", |
1098 "type": "boolean" | 1079 "type": "boolean" |
1099 }, | 1080 }, |
1100 "response": { | 1081 "response": { |
1101 "additionalProperties": { | 1082 "additionalProperties": { |
1102 "description": "Properties of the object. Contains field
@type with type URL.", | 1083 "description": "Properties of the object. Contains field
@type with type URL.", |
1103 "type": "any" | 1084 "type": "any" |
1104 }, | 1085 }, |
1105 "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.", | 1086 "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.", |
1106 "type": "object" | 1087 "type": "object" |
1107 }, | |
1108 "name": { | |
1109 "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.", | |
1110 "type": "string" | |
1111 } | 1088 } |
1112 }, | 1089 }, |
1113 "type": "object" | 1090 "type": "object" |
1114 }, | 1091 }, |
1115 "JobReference": { | 1092 "JobReference": { |
1116 "description": "Encapsulates the full scoping used to reference a jo
b.", | 1093 "description": "Encapsulates the full scoping used to reference a jo
b.", |
1117 "id": "JobReference", | 1094 "id": "JobReference", |
1118 "properties": { | 1095 "properties": { |
1119 "jobId": { | 1096 "jobId": { |
1120 "description": "Optional. The job ID, which must be unique w
ithin the project. The job ID is generated by the server upon job submission or
provided by the user as a means to perform retries without creating duplicate jo
bs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
or hyphens (-). The maximum length is 100 characters.", | 1097 "description": "Optional. The job ID, which must be unique w
ithin the project. The job ID is generated by the server upon job submission or
provided by the user as a means to perform retries without creating duplicate jo
bs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_),
or hyphens (-). The maximum length is 100 characters.", |
(...skipping 14 matching lines...) Expand all Loading... |
1135 "$ref": "Job", | 1112 "$ref": "Job", |
1136 "description": "Required. The job resource." | 1113 "description": "Required. The job resource." |
1137 } | 1114 } |
1138 }, | 1115 }, |
1139 "type": "object" | 1116 "type": "object" |
1140 }, | 1117 }, |
1141 "Status": { | 1118 "Status": { |
1142 "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 that can be u
sed for common error conditions.Language mappingThe Status message is the logica
l representation of the error model, but it is not necessarily the actual wire f
ormat. When the Status message is exposed in different client libraries and diff
erent 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 codes
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 includ
e:\nPartial errors. If a service needs to return partial errors to the client, i
t may embed the Status in the normal response to indicate the partial errors.\nW
orkflow errors. A typical workflow has multiple steps. Each step may have a Stat
us message for error reporting.\nBatch operations. If a client uses batch reques
t and batch response, the Status message should be used directly inside batch re
sponse, one for each error sub-response.\nAsynchronous operations. If an API cal
l embeds asynchronous operation results in its response, the status of those ope
rations should be represented directly using the Status message.\nLogging. If so
me API errors are stored in logs, the message Status could be used directly afte
r any stripping needed for security/privacy reasons.", | 1119 "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 that can be u
sed for common error conditions.Language mappingThe Status message is the logica
l representation of the error model, but it is not necessarily the actual wire f
ormat. When the Status message is exposed in different client libraries and diff
erent 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 codes
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 includ
e:\nPartial errors. If a service needs to return partial errors to the client, i
t may embed the Status in the normal response to indicate the partial errors.\nW
orkflow errors. A typical workflow has multiple steps. Each step may have a Stat
us message for error reporting.\nBatch operations. If a client uses batch reques
t and batch response, the Status message should be used directly inside batch re
sponse, one for each error sub-response.\nAsynchronous operations. If an API cal
l embeds asynchronous operation results in its response, the status of those ope
rations should be represented directly using the Status message.\nLogging. If so
me API errors are stored in logs, the message Status could be used directly afte
r any stripping needed for security/privacy reasons.", |
1143 "id": "Status", | 1120 "id": "Status", |
1144 "properties": { | 1121 "properties": { |
| 1122 "code": { |
| 1123 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1124 "format": "int32", |
| 1125 "type": "integer" |
| 1126 }, |
| 1127 "message": { |
| 1128 "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.", |
| 1129 "type": "string" |
| 1130 }, |
1145 "details": { | 1131 "details": { |
1146 "description": "A list of messages that carry the error deta
ils. There is a common set of message types for APIs to use.", | 1132 "description": "A list of messages that carry the error deta
ils. There is a common set of message types for APIs to use.", |
1147 "items": { | 1133 "items": { |
1148 "additionalProperties": { | 1134 "additionalProperties": { |
1149 "description": "Properties of the object. Contains f
ield @type with type URL.", | 1135 "description": "Properties of the object. Contains f
ield @type with type URL.", |
1150 "type": "any" | 1136 "type": "any" |
1151 }, | 1137 }, |
1152 "type": "object" | 1138 "type": "object" |
1153 }, | 1139 }, |
1154 "type": "array" | 1140 "type": "array" |
1155 }, | |
1156 "code": { | |
1157 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
1158 "format": "int32", | |
1159 "type": "integer" | |
1160 }, | |
1161 "message": { | |
1162 "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.", | |
1163 "type": "string" | |
1164 } | 1141 } |
1165 }, | 1142 }, |
1166 "type": "object" | 1143 "type": "object" |
1167 }, | |
1168 "JobScheduling": { | |
1169 "description": "Job scheduling options.Beta Feature: These options a
re available for testing purposes only. They may be changed before final release
.", | |
1170 "id": "JobScheduling", | |
1171 "properties": { | |
1172 "maxFailuresPerHour": { | |
1173 "description": "Optional. Maximum number of times per hour a
driver may be restarted as a result of driver terminating with non-zero code be
fore job is reported failed.A job may be reported as thrashing if driver exits w
ith non-zero code 4 times within 10 minute window.Maximum value is 10.", | |
1174 "format": "int32", | |
1175 "type": "integer" | |
1176 } | |
1177 }, | |
1178 "type": "object" | |
1179 }, | 1144 }, |
1180 "InstanceGroupConfig": { | 1145 "InstanceGroupConfig": { |
1181 "description": "Optional. The config settings for Google Compute Eng
ine resources in an instance group, such as a master or worker group.", | 1146 "description": "Optional. The config settings for Google Compute Eng
ine resources in an instance group, such as a master or worker group.", |
1182 "id": "InstanceGroupConfig", | 1147 "id": "InstanceGroupConfig", |
1183 "properties": { | 1148 "properties": { |
1184 "diskConfig": { | 1149 "machineTypeUri": { |
1185 "$ref": "DiskConfig", | 1150 "description": "Optional. The Google Compute Engine machine
type used for cluster instances.A full URL, partial URI, or short name are valid
. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/u
s-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/mac
hineTypes/n1-standard-2\nn1-standard-2", |
1186 "description": "Optional. Disk option config settings." | 1151 "type": "string" |
| 1152 }, |
| 1153 "imageUri": { |
| 1154 "description": "Output-only. The Google Compute Engine image
resource used for cluster instances. Inferred from SoftwareConfig.image_version
.", |
| 1155 "type": "string" |
1187 }, | 1156 }, |
1188 "managedGroupConfig": { | 1157 "managedGroupConfig": { |
1189 "$ref": "ManagedGroupConfig", | 1158 "$ref": "ManagedGroupConfig", |
1190 "description": "Output-only. The config for Google Compute E
ngine Instance Group Manager that manages this group. This is only used for pree
mptible instance groups." | 1159 "description": "Output-only. The config for Google Compute E
ngine Instance Group Manager that manages this group. This is only used for pree
mptible instance groups." |
1191 }, | 1160 }, |
1192 "isPreemptible": { | 1161 "isPreemptible": { |
1193 "description": "Optional. Specifies that this instance group
contains preemptible instances.", | 1162 "description": "Optional. Specifies that this instance group
contains preemptible instances.", |
1194 "type": "boolean" | 1163 "type": "boolean" |
1195 }, | 1164 }, |
1196 "imageUri": { | |
1197 "description": "Output-only. The Google Compute Engine image
resource used for cluster instances. Inferred from SoftwareConfig.image_version
.", | |
1198 "type": "string" | |
1199 }, | |
1200 "machineTypeUri": { | |
1201 "description": "Optional. The Google Compute Engine machine
type used for cluster instances.A full URL, partial URI, or short name are valid
. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/u
s-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/mac
hineTypes/n1-standard-2\nn1-standard-2", | |
1202 "type": "string" | |
1203 }, | |
1204 "instanceNames": { | 1165 "instanceNames": { |
1205 "description": "Optional. The list of instance names. Cloud
Dataproc derives the names from cluster_name, num_instances, and the instance gr
oup if not set by user (recommended practice is to let Cloud Dataproc derive the
name).", | 1166 "description": "Optional. The list of instance names. Cloud
Dataproc derives the names from cluster_name, num_instances, and the instance gr
oup if not set by user (recommended practice is to let Cloud Dataproc derive the
name).", |
1206 "items": { | 1167 "items": { |
1207 "type": "string" | 1168 "type": "string" |
1208 }, | 1169 }, |
1209 "type": "array" | 1170 "type": "array" |
1210 }, | 1171 }, |
1211 "accelerators": { | 1172 "accelerators": { |
1212 "description": "Optional. The Google Compute Engine accelera
tor configuration for these instances.Beta Feature: This feature is still under
development. It may be changed before final release.", | 1173 "description": "Optional. The Google Compute Engine accelera
tor configuration for these instances.Beta Feature: This feature is still under
development. It may be changed before final release.", |
1213 "items": { | 1174 "items": { |
1214 "$ref": "AcceleratorConfig" | 1175 "$ref": "AcceleratorConfig" |
1215 }, | 1176 }, |
1216 "type": "array" | 1177 "type": "array" |
1217 }, | 1178 }, |
1218 "numInstances": { | 1179 "numInstances": { |
1219 "description": "Optional. The number of VM instances in the
instance group. For master instance groups, must be set to 1.", | 1180 "description": "Optional. The number of VM instances in the
instance group. For master instance groups, must be set to 1.", |
1220 "format": "int32", | 1181 "format": "int32", |
1221 "type": "integer" | 1182 "type": "integer" |
| 1183 }, |
| 1184 "diskConfig": { |
| 1185 "$ref": "DiskConfig", |
| 1186 "description": "Optional. Disk option config settings." |
| 1187 } |
| 1188 }, |
| 1189 "type": "object" |
| 1190 }, |
| 1191 "JobScheduling": { |
| 1192 "description": "Job scheduling options.Beta Feature: These options a
re available for testing purposes only. They may be changed before final release
.", |
| 1193 "id": "JobScheduling", |
| 1194 "properties": { |
| 1195 "maxFailuresPerHour": { |
| 1196 "description": "Optional. Maximum number of times per hour a
driver may be restarted as a result of driver terminating with non-zero code be
fore job is reported failed.A job may be reported as thrashing if driver exits w
ith non-zero code 4 times within 10 minute window.Maximum value is 10.", |
| 1197 "format": "int32", |
| 1198 "type": "integer" |
1222 } | 1199 } |
1223 }, | 1200 }, |
1224 "type": "object" | 1201 "type": "object" |
1225 }, | 1202 }, |
1226 "ListJobsResponse": { | 1203 "ListJobsResponse": { |
1227 "description": "A list of jobs in a project.", | 1204 "description": "A list of jobs in a project.", |
1228 "id": "ListJobsResponse", | 1205 "id": "ListJobsResponse", |
1229 "properties": { | 1206 "properties": { |
1230 "jobs": { | 1207 "jobs": { |
1231 "description": "Output-only. Jobs list.", | 1208 "description": "Output-only. Jobs list.", |
(...skipping 28 matching lines...) Expand all Loading... |
1260 "CancelJobRequest": { | 1237 "CancelJobRequest": { |
1261 "description": "A request to cancel a job.", | 1238 "description": "A request to cancel a job.", |
1262 "id": "CancelJobRequest", | 1239 "id": "CancelJobRequest", |
1263 "properties": {}, | 1240 "properties": {}, |
1264 "type": "object" | 1241 "type": "object" |
1265 }, | 1242 }, |
1266 "SparkSqlJob": { | 1243 "SparkSqlJob": { |
1267 "description": "A Cloud Dataproc job for running Apache Spark SQL (h
ttp://spark.apache.org/sql/) queries.", | 1244 "description": "A Cloud Dataproc job for running Apache Spark SQL (h
ttp://spark.apache.org/sql/) queries.", |
1268 "id": "SparkSqlJob", | 1245 "id": "SparkSqlJob", |
1269 "properties": { | 1246 "properties": { |
| 1247 "queryList": { |
| 1248 "$ref": "QueryList", |
| 1249 "description": "A list of queries." |
| 1250 }, |
| 1251 "queryFileUri": { |
| 1252 "description": "The HCFS URI of the script that contains SQL
queries.", |
| 1253 "type": "string" |
| 1254 }, |
1270 "scriptVariables": { | 1255 "scriptVariables": { |
1271 "additionalProperties": { | 1256 "additionalProperties": { |
1272 "type": "string" | 1257 "type": "string" |
1273 }, | 1258 }, |
1274 "description": "Optional. Mapping of query variable names to
values (equivalent to the Spark SQL command: SET name=\"value\";).", | 1259 "description": "Optional. Mapping of query variable names to
values (equivalent to the Spark SQL command: SET name=\"value\";).", |
1275 "type": "object" | 1260 "type": "object" |
1276 }, | 1261 }, |
1277 "jarFileUris": { | 1262 "jarFileUris": { |
1278 "description": "Optional. HCFS URIs of jar files to be added
to the Spark CLASSPATH.", | 1263 "description": "Optional. HCFS URIs of jar files to be added
to the Spark CLASSPATH.", |
1279 "items": { | 1264 "items": { |
1280 "type": "string" | 1265 "type": "string" |
1281 }, | 1266 }, |
1282 "type": "array" | 1267 "type": "array" |
1283 }, | 1268 }, |
1284 "loggingConfig": { | 1269 "loggingConfig": { |
1285 "$ref": "LoggingConfig", | 1270 "$ref": "LoggingConfig", |
1286 "description": "Optional. The runtime log config for job exe
cution." | 1271 "description": "Optional. The runtime log config for job exe
cution." |
1287 }, | 1272 }, |
1288 "properties": { | 1273 "properties": { |
1289 "additionalProperties": { | 1274 "additionalProperties": { |
1290 "type": "string" | 1275 "type": "string" |
1291 }, | 1276 }, |
1292 "description": "Optional. A mapping of property names to val
ues, used to configure Spark SQL's SparkConf. Properties that conflict with valu
es set by the Cloud Dataproc API may be overwritten.", | 1277 "description": "Optional. A mapping of property names to val
ues, used to configure Spark SQL's SparkConf. Properties that conflict with valu
es set by the Cloud Dataproc API may be overwritten.", |
1293 "type": "object" | 1278 "type": "object" |
1294 }, | |
1295 "queryFileUri": { | |
1296 "description": "The HCFS URI of the script that contains SQL
queries.", | |
1297 "type": "string" | |
1298 }, | |
1299 "queryList": { | |
1300 "$ref": "QueryList", | |
1301 "description": "A list of queries." | |
1302 } | 1279 } |
1303 }, | 1280 }, |
1304 "type": "object" | 1281 "type": "object" |
1305 }, | 1282 }, |
1306 "Cluster": { | 1283 "Cluster": { |
1307 "description": "Describes the identifying information, config, and s
tatus of a cluster of Google Compute Engine instances.", | 1284 "description": "Describes the identifying information, config, and s
tatus of a cluster of Google Compute Engine instances.", |
1308 "id": "Cluster", | 1285 "id": "Cluster", |
1309 "properties": { | 1286 "properties": { |
| 1287 "clusterUuid": { |
| 1288 "description": "Output-only. A cluster UUID (Unique Universa
l Identifier). Cloud Dataproc generates this value when it creates the cluster."
, |
| 1289 "type": "string" |
| 1290 }, |
| 1291 "clusterName": { |
| 1292 "description": "Required. The cluster name. Cluster names wi
thin a project must be unique. Names of deleted clusters can be reused.", |
| 1293 "type": "string" |
| 1294 }, |
1310 "projectId": { | 1295 "projectId": { |
1311 "description": "Required. The Google Cloud Platform project
ID that the cluster belongs to.", | 1296 "description": "Required. The Google Cloud Platform project
ID that the cluster belongs to.", |
1312 "type": "string" | 1297 "type": "string" |
1313 }, | 1298 }, |
1314 "labels": { | 1299 "labels": { |
1315 "additionalProperties": { | 1300 "additionalProperties": { |
1316 "type": "string" | 1301 "type": "string" |
1317 }, | 1302 }, |
1318 "description": "Optional. The labels to associate with this
cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 103
5 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if pre
sent, 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 clus
ter.", | 1303 "description": "Optional. The labels to associate with this
cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 103
5 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if pre
sent, 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 clus
ter.", |
1319 "type": "object" | 1304 "type": "object" |
1320 }, | 1305 }, |
1321 "metrics": { | 1306 "metrics": { |
1322 "$ref": "ClusterMetrics", | 1307 "$ref": "ClusterMetrics", |
1323 "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." | 1308 "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." |
1324 }, | 1309 }, |
1325 "status": { | 1310 "status": { |
1326 "$ref": "ClusterStatus", | 1311 "$ref": "ClusterStatus", |
1327 "description": "Output-only. Cluster status." | 1312 "description": "Output-only. Cluster status." |
1328 }, | 1313 }, |
1329 "statusHistory": { | 1314 "statusHistory": { |
1330 "description": "Output-only. The previous cluster status.", | 1315 "description": "Output-only. The previous cluster status.", |
1331 "items": { | 1316 "items": { |
1332 "$ref": "ClusterStatus" | 1317 "$ref": "ClusterStatus" |
1333 }, | 1318 }, |
1334 "type": "array" | 1319 "type": "array" |
1335 }, | 1320 }, |
1336 "config": { | 1321 "config": { |
1337 "$ref": "ClusterConfig", | 1322 "$ref": "ClusterConfig", |
1338 "description": "Required. The cluster config. Note that Clou
d Dataproc may set default values, and values may change when clusters are updat
ed." | 1323 "description": "Required. The cluster config. Note that Clou
d Dataproc may set default values, and values may change when clusters are updat
ed." |
1339 }, | |
1340 "clusterUuid": { | |
1341 "description": "Output-only. A cluster UUID (Unique Universa
l Identifier). Cloud Dataproc generates this value when it creates the cluster."
, | |
1342 "type": "string" | |
1343 }, | |
1344 "clusterName": { | |
1345 "description": "Required. The cluster name. Cluster names wi
thin a project must be unique. Names of deleted clusters can be reused.", | |
1346 "type": "string" | |
1347 } | 1324 } |
1348 }, | 1325 }, |
1349 "type": "object" | 1326 "type": "object" |
1350 }, | 1327 }, |
1351 "ListOperationsResponse": { | 1328 "ListOperationsResponse": { |
1352 "description": "The response message for Operations.ListOperations."
, | 1329 "description": "The response message for Operations.ListOperations."
, |
1353 "id": "ListOperationsResponse", | 1330 "id": "ListOperationsResponse", |
1354 "properties": { | 1331 "properties": { |
| 1332 "nextPageToken": { |
| 1333 "description": "The standard List next-page token.", |
| 1334 "type": "string" |
| 1335 }, |
1355 "operations": { | 1336 "operations": { |
1356 "description": "A list of operations that matches the specif
ied filter in the request.", | 1337 "description": "A list of operations that matches the specif
ied filter in the request.", |
1357 "items": { | 1338 "items": { |
1358 "$ref": "Operation" | 1339 "$ref": "Operation" |
1359 }, | 1340 }, |
1360 "type": "array" | 1341 "type": "array" |
1361 }, | |
1362 "nextPageToken": { | |
1363 "description": "The standard List next-page token.", | |
1364 "type": "string" | |
1365 } | 1342 } |
1366 }, | 1343 }, |
1367 "type": "object" | 1344 "type": "object" |
1368 }, | 1345 }, |
1369 "SoftwareConfig": { | 1346 "SoftwareConfig": { |
1370 "description": "Specifies the selection and config of software insid
e the cluster.", | 1347 "description": "Specifies the selection and config of software insid
e the cluster.", |
1371 "id": "SoftwareConfig", | 1348 "id": "SoftwareConfig", |
1372 "properties": { | 1349 "properties": { |
1373 "imageVersion": { | 1350 "imageVersion": { |
1374 "description": "Optional. The version of software inside the
cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified,
it defaults to the latest version (see Cloud Dataproc Versioning).", | 1351 "description": "Optional. The version of software inside the
cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified,
it defaults to the latest version (see Cloud Dataproc Versioning).", |
1375 "type": "string" | 1352 "type": "string" |
1376 }, | 1353 }, |
1377 "properties": { | 1354 "properties": { |
1378 "additionalProperties": { | 1355 "additionalProperties": { |
1379 "type": "string" | 1356 "type": "string" |
1380 }, | 1357 }, |
1381 "description": "Optional. The properties to set on daemon co
nfig files.Property keys are specified in prefix:property format, such as core:f
s.defaultFS. The following are supported prefixes and their mappings:\ncapacity-
scheduler: capacity-scheduler.xml\ncore: core-site.xml\ndistcp: distcp-default.x
ml\nhdfs: hdfs-site.xml\nhive: hive-site.xml\nmapred: mapred-site.xml\npig: pig.
properties\nspark: spark-defaults.conf\nyarn: yarn-site.xml", | 1358 "description": "Optional. The properties to set on daemon co
nfig files.Property keys are specified in prefix:property format, such as core:f
s.defaultFS. The following are supported prefixes and their mappings:\ncapacity-
scheduler: capacity-scheduler.xml\ncore: core-site.xml\ndistcp: distcp-default.x
ml\nhdfs: hdfs-site.xml\nhive: hive-site.xml\nmapred: mapred-site.xml\npig: pig.
properties\nspark: spark-defaults.conf\nyarn: yarn-site.xmlFor more information,
see Cluster properties.", |
1382 "type": "object" | 1359 "type": "object" |
1383 } | 1360 } |
1384 }, | 1361 }, |
1385 "type": "object" | 1362 "type": "object" |
1386 }, | 1363 }, |
1387 "JobPlacement": { | 1364 "JobPlacement": { |
1388 "description": "Cloud Dataproc job config.", | 1365 "description": "Cloud Dataproc job config.", |
1389 "id": "JobPlacement", | 1366 "id": "JobPlacement", |
1390 "properties": { | 1367 "properties": { |
1391 "clusterUuid": { | 1368 "clusterUuid": { |
(...skipping 16 matching lines...) Expand all Loading... |
1408 "type": "boolean" | 1385 "type": "boolean" |
1409 }, | 1386 }, |
1410 "queryList": { | 1387 "queryList": { |
1411 "$ref": "QueryList", | 1388 "$ref": "QueryList", |
1412 "description": "A list of queries." | 1389 "description": "A list of queries." |
1413 }, | 1390 }, |
1414 "queryFileUri": { | 1391 "queryFileUri": { |
1415 "description": "The HCFS URI of the script that contains the
Pig queries.", | 1392 "description": "The HCFS URI of the script that contains the
Pig queries.", |
1416 "type": "string" | 1393 "type": "string" |
1417 }, | 1394 }, |
1418 "scriptVariables": { | |
1419 "additionalProperties": { | |
1420 "type": "string" | |
1421 }, | |
1422 "description": "Optional. Mapping of query variable names to
values (equivalent to the Pig command: name=[value]).", | |
1423 "type": "object" | |
1424 }, | |
1425 "jarFileUris": { | 1395 "jarFileUris": { |
1426 "description": "Optional. HCFS URIs of jar files to add to t
he CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig
UDFs.", | 1396 "description": "Optional. HCFS URIs of jar files to add to t
he CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig
UDFs.", |
1427 "items": { | 1397 "items": { |
1428 "type": "string" | 1398 "type": "string" |
1429 }, | 1399 }, |
1430 "type": "array" | 1400 "type": "array" |
1431 }, | 1401 }, |
| 1402 "scriptVariables": { |
| 1403 "additionalProperties": { |
| 1404 "type": "string" |
| 1405 }, |
| 1406 "description": "Optional. Mapping of query variable names to
values (equivalent to the Pig command: name=[value]).", |
| 1407 "type": "object" |
| 1408 }, |
1432 "loggingConfig": { | 1409 "loggingConfig": { |
1433 "$ref": "LoggingConfig", | 1410 "$ref": "LoggingConfig", |
1434 "description": "Optional. The runtime log config for job exe
cution." | 1411 "description": "Optional. The runtime log config for job exe
cution." |
1435 }, | 1412 }, |
1436 "properties": { | 1413 "properties": { |
1437 "additionalProperties": { | 1414 "additionalProperties": { |
1438 "type": "string" | 1415 "type": "string" |
1439 }, | 1416 }, |
1440 "description": "Optional. A mapping of property names to val
ues, used to configure Pig. Properties that conflict with values set by the Clou
d Dataproc API may be overwritten. Can include properties set in /etc/hadoop/con
f/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", | 1417 "description": "Optional. A mapping of property names to val
ues, used to configure Pig. Properties that conflict with values set by the Clou
d Dataproc API may be overwritten. Can include properties set in /etc/hadoop/con
f/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", |
1441 "type": "object" | 1418 "type": "object" |
1442 } | 1419 } |
1443 }, | 1420 }, |
1444 "type": "object" | 1421 "type": "object" |
1445 }, | 1422 }, |
1446 "ClusterStatus": { | 1423 "ClusterStatus": { |
1447 "description": "The status of a cluster and its instances.", | 1424 "description": "The status of a cluster and its instances.", |
1448 "id": "ClusterStatus", | 1425 "id": "ClusterStatus", |
1449 "properties": { | 1426 "properties": { |
1450 "substate": { | |
1451 "description": "Output-only. Additional state information th
at includes status reported by the agent.", | |
1452 "enum": [ | |
1453 "UNSPECIFIED", | |
1454 "UNHEALTHY", | |
1455 "STALE_STATUS" | |
1456 ], | |
1457 "enumDescriptions": [ | |
1458 "", | |
1459 "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.", | |
1460 "The agent-reported status is out of date (may occur if
Cloud Dataproc loses communication with Agent).Applies to RUNNING state." | |
1461 ], | |
1462 "type": "string" | |
1463 }, | |
1464 "stateStartTime": { | |
1465 "description": "Output-only. Time when this state was entere
d.", | |
1466 "format": "google-datetime", | |
1467 "type": "string" | |
1468 }, | |
1469 "detail": { | 1427 "detail": { |
1470 "description": "Output-only. Optional details of cluster's s
tate.", | 1428 "description": "Output-only. Optional details of cluster's s
tate.", |
1471 "type": "string" | 1429 "type": "string" |
1472 }, | 1430 }, |
1473 "state": { | 1431 "state": { |
1474 "description": "Output-only. The cluster's state.", | 1432 "description": "Output-only. The cluster's state.", |
1475 "enum": [ | 1433 "enum": [ |
1476 "UNKNOWN", | 1434 "UNKNOWN", |
1477 "CREATING", | 1435 "CREATING", |
1478 "RUNNING", | 1436 "RUNNING", |
1479 "ERROR", | 1437 "ERROR", |
1480 "DELETING", | 1438 "DELETING", |
1481 "UPDATING" | 1439 "UPDATING" |
1482 ], | 1440 ], |
1483 "enumDescriptions": [ | 1441 "enumDescriptions": [ |
1484 "The cluster state is unknown.", | 1442 "The cluster state is unknown.", |
1485 "The cluster is being created and set up. It is not read
y for use.", | 1443 "The cluster is being created and set up. It is not read
y for use.", |
1486 "The cluster is currently running and healthy. It is rea
dy for use.", | 1444 "The cluster is currently running and healthy. It is rea
dy for use.", |
1487 "The cluster encountered an error. It is not ready for u
se.", | 1445 "The cluster encountered an error. It is not ready for u
se.", |
1488 "The cluster is being deleted. It cannot be used.", | 1446 "The cluster is being deleted. It cannot be used.", |
1489 "The cluster is being updated. It continues to accept an
d process jobs." | 1447 "The cluster is being updated. It continues to accept an
d process jobs." |
1490 ], | 1448 ], |
1491 "type": "string" | 1449 "type": "string" |
| 1450 }, |
| 1451 "substate": { |
| 1452 "description": "Output-only. Additional state information th
at includes status reported by the agent.", |
| 1453 "enum": [ |
| 1454 "UNSPECIFIED", |
| 1455 "UNHEALTHY", |
| 1456 "STALE_STATUS" |
| 1457 ], |
| 1458 "enumDescriptions": [ |
| 1459 "", |
| 1460 "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.", |
| 1461 "The agent-reported status is out of date (may occur if
Cloud Dataproc loses communication with Agent).Applies to RUNNING state." |
| 1462 ], |
| 1463 "type": "string" |
| 1464 }, |
| 1465 "stateStartTime": { |
| 1466 "description": "Output-only. Time when this state was entere
d.", |
| 1467 "format": "google-datetime", |
| 1468 "type": "string" |
1492 } | 1469 } |
1493 }, | 1470 }, |
1494 "type": "object" | 1471 "type": "object" |
1495 }, | 1472 }, |
1496 "ListClustersResponse": { | 1473 "ListClustersResponse": { |
1497 "description": "The list of all clusters in a project.", | 1474 "description": "The list of all clusters in a project.", |
1498 "id": "ListClustersResponse", | 1475 "id": "ListClustersResponse", |
1499 "properties": { | 1476 "properties": { |
1500 "nextPageToken": { | 1477 "nextPageToken": { |
1501 "description": "Output-only. This token is included in the r
esponse if there are more results to fetch. To fetch additional results, provide
this value as the page_token in a subsequent ListClustersRequest.", | 1478 "description": "Output-only. This token is included in the r
esponse if there are more results to fetch. To fetch additional results, provide
this value as the page_token in a subsequent ListClustersRequest.", |
1502 "type": "string" | 1479 "type": "string" |
1503 }, | 1480 }, |
1504 "clusters": { | 1481 "clusters": { |
1505 "description": "Output-only. The clusters in the project.", | 1482 "description": "Output-only. The clusters in the project.", |
1506 "items": { | 1483 "items": { |
1507 "$ref": "Cluster" | 1484 "$ref": "Cluster" |
1508 }, | 1485 }, |
1509 "type": "array" | 1486 "type": "array" |
1510 } | 1487 } |
1511 }, | 1488 }, |
1512 "type": "object" | 1489 "type": "object" |
1513 }, | |
1514 "SparkJob": { | |
1515 "description": "A Cloud Dataproc job for running Apache Spark (http:
//spark.apache.org/) applications on YARN.", | |
1516 "id": "SparkJob", | |
1517 "properties": { | |
1518 "args": { | |
1519 "description": "Optional. The arguments to pass to the drive
r. Do not include arguments, such as --conf, that can be set as job properties,
since a collision may occur that causes an incorrect job submission.", | |
1520 "items": { | |
1521 "type": "string" | |
1522 }, | |
1523 "type": "array" | |
1524 }, | |
1525 "fileUris": { | |
1526 "description": "Optional. HCFS URIs of files to be copied to
the working directory of Spark drivers and distributed tasks. Useful for naivel
y parallel tasks.", | |
1527 "items": { | |
1528 "type": "string" | |
1529 }, | |
1530 "type": "array" | |
1531 }, | |
1532 "mainClass": { | |
1533 "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.", | |
1534 "type": "string" | |
1535 }, | |
1536 "archiveUris": { | |
1537 "description": "Optional. HCFS URIs of archives to be extrac
ted in the working directory of Spark drivers and tasks. Supported file types: .
jar, .tar, .tar.gz, .tgz, and .zip.", | |
1538 "items": { | |
1539 "type": "string" | |
1540 }, | |
1541 "type": "array" | |
1542 }, | |
1543 "mainJarFileUri": { | |
1544 "description": "The HCFS URI of the jar file that contains t
he main class.", | |
1545 "type": "string" | |
1546 }, | |
1547 "jarFileUris": { | |
1548 "description": "Optional. HCFS URIs of jar files to add to t
he CLASSPATHs of the Spark driver and tasks.", | |
1549 "items": { | |
1550 "type": "string" | |
1551 }, | |
1552 "type": "array" | |
1553 }, | |
1554 "loggingConfig": { | |
1555 "$ref": "LoggingConfig", | |
1556 "description": "Optional. The runtime log config for job exe
cution." | |
1557 }, | |
1558 "properties": { | |
1559 "additionalProperties": { | |
1560 "type": "string" | |
1561 }, | |
1562 "description": "Optional. A mapping of property names to val
ues, used to configure Spark. Properties that conflict with values set by the Cl
oud Dataproc API may be overwritten. Can include properties set in /etc/spark/co
nf/spark-defaults.conf and classes in user code.", | |
1563 "type": "object" | |
1564 } | |
1565 }, | |
1566 "type": "object" | |
1567 }, | 1490 }, |
1568 "Job": { | 1491 "Job": { |
1569 "description": "A Cloud Dataproc job resource.", | 1492 "description": "A Cloud Dataproc job resource.", |
1570 "id": "Job", | 1493 "id": "Job", |
1571 "properties": { | 1494 "properties": { |
1572 "scheduling": { | 1495 "scheduling": { |
1573 "$ref": "JobScheduling", | 1496 "$ref": "JobScheduling", |
1574 "description": "Optional. Job scheduling configuration." | 1497 "description": "Optional. Job scheduling configuration." |
1575 }, | 1498 }, |
1576 "pigJob": { | 1499 "pigJob": { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1619 "description": "Job is a Pyspark job." | 1542 "description": "Job is a Pyspark job." |
1620 }, | 1543 }, |
1621 "reference": { | 1544 "reference": { |
1622 "$ref": "JobReference", | 1545 "$ref": "JobReference", |
1623 "description": "Optional. The fully qualified reference to t
he 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>." | 1546 "description": "Optional. The fully qualified reference to t
he 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>." |
1624 }, | 1547 }, |
1625 "hadoopJob": { | 1548 "hadoopJob": { |
1626 "$ref": "HadoopJob", | 1549 "$ref": "HadoopJob", |
1627 "description": "Job is a Hadoop job." | 1550 "description": "Job is a Hadoop job." |
1628 }, | 1551 }, |
| 1552 "placement": { |
| 1553 "$ref": "JobPlacement", |
| 1554 "description": "Required. Job information, including how, wh
en, and where to run the job." |
| 1555 }, |
1629 "status": { | 1556 "status": { |
1630 "$ref": "JobStatus", | 1557 "$ref": "JobStatus", |
1631 "description": "Output-only. The job status. Additional appl
ication-specific status information may be contained in the <code>type_job</code
> and <code>yarn_applications</code> fields." | 1558 "description": "Output-only. The job status. Additional appl
ication-specific status information may be contained in the <code>type_job</code
> and <code>yarn_applications</code> fields." |
1632 }, | 1559 }, |
1633 "placement": { | |
1634 "$ref": "JobPlacement", | |
1635 "description": "Required. Job information, including how, wh
en, and where to run the job." | |
1636 }, | |
1637 "driverControlFilesUri": { | 1560 "driverControlFilesUri": { |
1638 "description": "Output-only. If present, the location of mis
cellaneous 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_
uri.", | 1561 "description": "Output-only. If present, the location of mis
cellaneous 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_
uri.", |
1639 "type": "string" | 1562 "type": "string" |
1640 } | 1563 } |
1641 }, | 1564 }, |
1642 "type": "object" | 1565 "type": "object" |
1643 }, | 1566 }, |
| 1567 "SparkJob": { |
| 1568 "description": "A Cloud Dataproc job for running Apache Spark (http:
//spark.apache.org/) applications on YARN.", |
| 1569 "id": "SparkJob", |
| 1570 "properties": { |
| 1571 "mainJarFileUri": { |
| 1572 "description": "The HCFS URI of the jar file that contains t
he main class.", |
| 1573 "type": "string" |
| 1574 }, |
| 1575 "jarFileUris": { |
| 1576 "description": "Optional. HCFS URIs of jar files to add to t
he CLASSPATHs of the Spark driver and tasks.", |
| 1577 "items": { |
| 1578 "type": "string" |
| 1579 }, |
| 1580 "type": "array" |
| 1581 }, |
| 1582 "loggingConfig": { |
| 1583 "$ref": "LoggingConfig", |
| 1584 "description": "Optional. The runtime log config for job exe
cution." |
| 1585 }, |
| 1586 "properties": { |
| 1587 "additionalProperties": { |
| 1588 "type": "string" |
| 1589 }, |
| 1590 "description": "Optional. A mapping of property names to val
ues, used to configure Spark. Properties that conflict with values set by the Cl
oud Dataproc API may be overwritten. Can include properties set in /etc/spark/co
nf/spark-defaults.conf and classes in user code.", |
| 1591 "type": "object" |
| 1592 }, |
| 1593 "args": { |
| 1594 "description": "Optional. The arguments to pass to the drive
r. Do not include arguments, such as --conf, that can be set as job properties,
since a collision may occur that causes an incorrect job submission.", |
| 1595 "items": { |
| 1596 "type": "string" |
| 1597 }, |
| 1598 "type": "array" |
| 1599 }, |
| 1600 "fileUris": { |
| 1601 "description": "Optional. HCFS URIs of files to be copied to
the working directory of Spark drivers and distributed tasks. Useful for naivel
y parallel tasks.", |
| 1602 "items": { |
| 1603 "type": "string" |
| 1604 }, |
| 1605 "type": "array" |
| 1606 }, |
| 1607 "mainClass": { |
| 1608 "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.", |
| 1609 "type": "string" |
| 1610 }, |
| 1611 "archiveUris": { |
| 1612 "description": "Optional. HCFS URIs of archives to be extrac
ted in the working directory of Spark drivers and tasks. Supported file types: .
jar, .tar, .tar.gz, .tgz, and .zip.", |
| 1613 "items": { |
| 1614 "type": "string" |
| 1615 }, |
| 1616 "type": "array" |
| 1617 } |
| 1618 }, |
| 1619 "type": "object" |
| 1620 }, |
1644 "JobStatus": { | 1621 "JobStatus": { |
1645 "description": "Cloud Dataproc job status.", | 1622 "description": "Cloud Dataproc job status.", |
1646 "id": "JobStatus", | 1623 "id": "JobStatus", |
1647 "properties": { | 1624 "properties": { |
| 1625 "substate": { |
| 1626 "description": "Output-only. Additional state information, w
hich includes status reported by the agent.", |
| 1627 "enum": [ |
| 1628 "UNSPECIFIED", |
| 1629 "SUBMITTED", |
| 1630 "QUEUED", |
| 1631 "STALE_STATUS" |
| 1632 ], |
| 1633 "enumDescriptions": [ |
| 1634 "", |
| 1635 "The Job is submitted to the agent.Applies to RUNNING st
ate.", |
| 1636 "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.", |
| 1637 "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." |
| 1638 ], |
| 1639 "type": "string" |
| 1640 }, |
| 1641 "stateStartTime": { |
| 1642 "description": "Output-only. The time when this state was en
tered.", |
| 1643 "format": "google-datetime", |
| 1644 "type": "string" |
| 1645 }, |
1648 "details": { | 1646 "details": { |
1649 "description": "Output-only. Optional job state details, suc
h as an error description if the state is <code>ERROR</code>.", | 1647 "description": "Output-only. Optional job state details, suc
h as an error description if the state is <code>ERROR</code>.", |
1650 "type": "string" | 1648 "type": "string" |
1651 }, | 1649 }, |
1652 "state": { | 1650 "state": { |
1653 "description": "Output-only. A state message specifying the
overall job state.", | 1651 "description": "Output-only. A state message specifying the
overall job state.", |
1654 "enum": [ | 1652 "enum": [ |
1655 "STATE_UNSPECIFIED", | 1653 "STATE_UNSPECIFIED", |
1656 "PENDING", | 1654 "PENDING", |
1657 "SETUP_DONE", | 1655 "SETUP_DONE", |
(...skipping 11 matching lines...) Expand all Loading... |
1669 "Job has been received by the service and completed init
ial setup; it will soon be submitted to the cluster.", | 1667 "Job has been received by the service and completed init
ial setup; it will soon be submitted to the cluster.", |
1670 "The job is running on the cluster.", | 1668 "The job is running on the cluster.", |
1671 "A CancelJob request has been received, but is pending."
, | 1669 "A CancelJob request has been received, but is pending."
, |
1672 "Transient in-flight resources have been canceled, and t
he request to cancel the running job has been issued to the cluster.", | 1670 "Transient in-flight resources have been canceled, and t
he request to cancel the running job has been issued to the cluster.", |
1673 "The job cancellation was successful.", | 1671 "The job cancellation was successful.", |
1674 "The job has completed successfully.", | 1672 "The job has completed successfully.", |
1675 "The job has completed, but encountered an error.", | 1673 "The job has completed, but encountered an error.", |
1676 "Job attempt has failed. The detail field contains failu
re details for this attempt.Applies to restartable jobs only." | 1674 "Job attempt has failed. The detail field contains failu
re details for this attempt.Applies to restartable jobs only." |
1677 ], | 1675 ], |
1678 "type": "string" | 1676 "type": "string" |
1679 }, | |
1680 "substate": { | |
1681 "description": "Output-only. Additional state information, w
hich includes status reported by the agent.", | |
1682 "enum": [ | |
1683 "UNSPECIFIED", | |
1684 "SUBMITTED", | |
1685 "QUEUED", | |
1686 "STALE_STATUS" | |
1687 ], | |
1688 "enumDescriptions": [ | |
1689 "", | |
1690 "The Job is submitted to the agent.Applies to RUNNING st
ate.", | |
1691 "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.", | |
1692 "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." | |
1693 ], | |
1694 "type": "string" | |
1695 }, | |
1696 "stateStartTime": { | |
1697 "description": "Output-only. The time when this state was en
tered.", | |
1698 "format": "google-datetime", | |
1699 "type": "string" | |
1700 } | 1677 } |
1701 }, | 1678 }, |
1702 "type": "object" | 1679 "type": "object" |
1703 }, | 1680 }, |
1704 "ManagedGroupConfig": { | 1681 "ManagedGroupConfig": { |
1705 "description": "Specifies the resources used to actively manage an i
nstance group.", | 1682 "description": "Specifies the resources used to actively manage an i
nstance group.", |
1706 "id": "ManagedGroupConfig", | 1683 "id": "ManagedGroupConfig", |
1707 "properties": { | 1684 "properties": { |
1708 "instanceGroupManagerName": { | 1685 "instanceGroupManagerName": { |
1709 "description": "Output-only. The name of the Instance Group
Manager for this group.", | 1686 "description": "Output-only. The name of the Instance Group
Manager for this group.", |
1710 "type": "string" | 1687 "type": "string" |
1711 }, | 1688 }, |
1712 "instanceTemplateName": { | 1689 "instanceTemplateName": { |
1713 "description": "Output-only. The name of the Instance Templa
te used for the Managed Instance Group.", | 1690 "description": "Output-only. The name of the Instance Templa
te used for the Managed Instance Group.", |
1714 "type": "string" | 1691 "type": "string" |
1715 } | 1692 } |
1716 }, | 1693 }, |
1717 "type": "object" | 1694 "type": "object" |
1718 }, | 1695 }, |
1719 "ClusterOperationStatus": { | 1696 "ClusterOperationStatus": { |
1720 "description": "The status of the operation.", | 1697 "description": "The status of the operation.", |
1721 "id": "ClusterOperationStatus", | 1698 "id": "ClusterOperationStatus", |
1722 "properties": { | 1699 "properties": { |
| 1700 "innerState": { |
| 1701 "description": "Output-only. A message containing the detail
ed operation state.", |
| 1702 "type": "string" |
| 1703 }, |
| 1704 "stateStartTime": { |
| 1705 "description": "Output-only. The time this state was entered
.", |
| 1706 "format": "google-datetime", |
| 1707 "type": "string" |
| 1708 }, |
1723 "details": { | 1709 "details": { |
1724 "description": "Output-only.A message containing any operati
on metadata details.", | 1710 "description": "Output-only.A message containing any operati
on metadata details.", |
1725 "type": "string" | 1711 "type": "string" |
1726 }, | 1712 }, |
1727 "state": { | 1713 "state": { |
1728 "description": "Output-only. A message containing the operat
ion state.", | 1714 "description": "Output-only. A message containing the operat
ion state.", |
1729 "enum": [ | 1715 "enum": [ |
1730 "UNKNOWN", | 1716 "UNKNOWN", |
1731 "PENDING", | 1717 "PENDING", |
1732 "RUNNING", | 1718 "RUNNING", |
1733 "DONE" | 1719 "DONE" |
1734 ], | 1720 ], |
1735 "enumDescriptions": [ | 1721 "enumDescriptions": [ |
1736 "Unused.", | 1722 "Unused.", |
1737 "The operation has been created.", | 1723 "The operation has been created.", |
1738 "The operation is running.", | 1724 "The operation is running.", |
1739 "The operation is done; either cancelled or completed." | 1725 "The operation is done; either cancelled or completed." |
1740 ], | 1726 ], |
1741 "type": "string" | 1727 "type": "string" |
1742 }, | 1728 } |
1743 "innerState": { | 1729 }, |
1744 "description": "Output-only. A message containing the detail
ed operation state.", | 1730 "type": "object" |
| 1731 }, |
| 1732 "YarnApplication": { |
| 1733 "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.", |
| 1734 "id": "YarnApplication", |
| 1735 "properties": { |
| 1736 "name": { |
| 1737 "description": "Required. The application name.", |
1745 "type": "string" | 1738 "type": "string" |
1746 }, | 1739 }, |
1747 "stateStartTime": { | 1740 "trackingUrl": { |
1748 "description": "Output-only. The time this state was entered
.", | 1741 "description": "Optional. The HTTP URL of the ApplicationMas
ter, HistoryServer, or TimelineServer that provides application-specific informa
tion. The URL uses the internal hostname, and requires a proxy server for resolu
tion and, possibly, access.", |
1749 "format": "google-datetime", | |
1750 "type": "string" | 1742 "type": "string" |
| 1743 }, |
| 1744 "progress": { |
| 1745 "description": "Required. The numerical progress of the appl
ication, from 1 to 100.", |
| 1746 "format": "float", |
| 1747 "type": "number" |
| 1748 }, |
| 1749 "state": { |
| 1750 "description": "Required. The application state.", |
| 1751 "enum": [ |
| 1752 "STATE_UNSPECIFIED", |
| 1753 "NEW", |
| 1754 "NEW_SAVING", |
| 1755 "SUBMITTED", |
| 1756 "ACCEPTED", |
| 1757 "RUNNING", |
| 1758 "FINISHED", |
| 1759 "FAILED", |
| 1760 "KILLED" |
| 1761 ], |
| 1762 "enumDescriptions": [ |
| 1763 "Status is unspecified.", |
| 1764 "Status is NEW.", |
| 1765 "Status is NEW_SAVING.", |
| 1766 "Status is SUBMITTED.", |
| 1767 "Status is ACCEPTED.", |
| 1768 "Status is RUNNING.", |
| 1769 "Status is FINISHED.", |
| 1770 "Status is FAILED.", |
| 1771 "Status is KILLED." |
| 1772 ], |
| 1773 "type": "string" |
| 1774 } |
| 1775 }, |
| 1776 "type": "object" |
| 1777 }, |
| 1778 "QueryList": { |
| 1779 "description": "A list of queries to run on a cluster.", |
| 1780 "id": "QueryList", |
| 1781 "properties": { |
| 1782 "queries": { |
| 1783 "description": "Required. The queries to execute. You do not
need to terminate a query with a semicolon. Multiple queries can be specified i
n 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", |
| 1784 "items": { |
| 1785 "type": "string" |
| 1786 }, |
| 1787 "type": "array" |
1751 } | 1788 } |
1752 }, | 1789 }, |
1753 "type": "object" | 1790 "type": "object" |
1754 }, | 1791 }, |
1755 "HadoopJob": { | 1792 "HadoopJob": { |
1756 "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).", | 1793 "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).", |
1757 "id": "HadoopJob", | 1794 "id": "HadoopJob", |
1758 "properties": { | 1795 "properties": { |
1759 "jarFileUris": { | 1796 "jarFileUris": { |
1760 "description": "Optional. Jar file URIs to add to the CLASSP
ATHs of the Hadoop driver and tasks.", | 1797 "description": "Optional. Jar file URIs to add to the CLASSP
ATHs of the Hadoop driver and tasks.", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1799 }, | 1836 }, |
1800 "type": "array" | 1837 "type": "array" |
1801 }, | 1838 }, |
1802 "mainJarFileUri": { | 1839 "mainJarFileUri": { |
1803 "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'", | 1840 "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'", |
1804 "type": "string" | 1841 "type": "string" |
1805 } | 1842 } |
1806 }, | 1843 }, |
1807 "type": "object" | 1844 "type": "object" |
1808 }, | 1845 }, |
1809 "QueryList": { | 1846 "DiagnoseClusterRequest": { |
1810 "description": "A list of queries to run on a cluster.", | 1847 "description": "A request to collect cluster diagnostic information.
", |
1811 "id": "QueryList", | 1848 "id": "DiagnoseClusterRequest", |
| 1849 "properties": {}, |
| 1850 "type": "object" |
| 1851 }, |
| 1852 "DiskConfig": { |
| 1853 "description": "Specifies the config of disk options for a group of
VM instances.", |
| 1854 "id": "DiskConfig", |
1812 "properties": { | 1855 "properties": { |
1813 "queries": { | 1856 "numLocalSsds": { |
1814 "description": "Required. The queries to execute. You do not
need to terminate a query with a semicolon. Multiple queries can be specified i
n 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", | 1857 "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 runt
ime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) d
ata. If one or more SSDs are attached, this runtime bulk data is spread across t
hem, and the boot disk contains only basic config and installed binaries.", |
1815 "items": { | 1858 "format": "int32", |
1816 "type": "string" | 1859 "type": "integer" |
1817 }, | 1860 }, |
1818 "type": "array" | 1861 "bootDiskSizeGb": { |
| 1862 "description": "Optional. Size in GB of the boot disk (defau
lt is 500GB).", |
| 1863 "format": "int32", |
| 1864 "type": "integer" |
1819 } | 1865 } |
1820 }, | 1866 }, |
1821 "type": "object" | 1867 "type": "object" |
1822 }, | |
1823 "YarnApplication": { | |
1824 "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.", | |
1825 "id": "YarnApplication", | |
1826 "properties": { | |
1827 "state": { | |
1828 "description": "Required. The application state.", | |
1829 "enum": [ | |
1830 "STATE_UNSPECIFIED", | |
1831 "NEW", | |
1832 "NEW_SAVING", | |
1833 "SUBMITTED", | |
1834 "ACCEPTED", | |
1835 "RUNNING", | |
1836 "FINISHED", | |
1837 "FAILED", | |
1838 "KILLED" | |
1839 ], | |
1840 "enumDescriptions": [ | |
1841 "Status is unspecified.", | |
1842 "Status is NEW.", | |
1843 "Status is NEW_SAVING.", | |
1844 "Status is SUBMITTED.", | |
1845 "Status is ACCEPTED.", | |
1846 "Status is RUNNING.", | |
1847 "Status is FINISHED.", | |
1848 "Status is FAILED.", | |
1849 "Status is KILLED." | |
1850 ], | |
1851 "type": "string" | |
1852 }, | |
1853 "name": { | |
1854 "description": "Required. The application name.", | |
1855 "type": "string" | |
1856 }, | |
1857 "trackingUrl": { | |
1858 "description": "Optional. The HTTP URL of the ApplicationMas
ter, HistoryServer, or TimelineServer that provides application-specific informa
tion. The URL uses the internal hostname, and requires a proxy server for resolu
tion and, possibly, access.", | |
1859 "type": "string" | |
1860 }, | |
1861 "progress": { | |
1862 "description": "Required. The numerical progress of the appl
ication, from 1 to 100.", | |
1863 "format": "float", | |
1864 "type": "number" | |
1865 } | |
1866 }, | |
1867 "type": "object" | |
1868 } | 1868 } |
1869 }, | 1869 }, |
1870 "servicePath": "", | 1870 "servicePath": "", |
1871 "title": "Google Cloud Dataproc API", | 1871 "title": "Google Cloud Dataproc API", |
1872 "version": "v1" | 1872 "version": "v1" |
1873 } | 1873 } |
OLD | NEW |