| 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 "https://www.googleapis.com/auth/logging.admin": { | 8 "https://www.googleapis.com/auth/logging.admin": { |
| 9 "description": "Administrate log data for your projects" | 9 "description": "Administrate log data for your projects" |
| 10 }, | 10 }, |
| 11 "https://www.googleapis.com/auth/logging.read": { | 11 "https://www.googleapis.com/auth/logging.read": { |
| 12 "description": "View log data for your projects" | 12 "description": "View log data for your projects" |
| 13 }, | 13 }, |
| 14 "https://www.googleapis.com/auth/logging.write": { | 14 "https://www.googleapis.com/auth/logging.write": { |
| 15 "description": "Submit log data for your projects" | 15 "description": "Submit log data for your projects" |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 } | 18 } |
| 19 }, | 19 }, |
| 20 "basePath": "", | 20 "basePath": "", |
| 21 "baseUrl": "https://dataproc.googleapis.com/", | 21 "baseUrl": "https://dataproc.googleapis.com/", |
| 22 "batchPath": "batch", | 22 "batchPath": "batch", |
| 23 "description": "An API for managing Hadoop-based clusters and jobs on Google
Cloud Platform.", | 23 "description": "An API for managing Hadoop-based clusters and jobs on Google
Cloud Platform.", |
| 24 "discoveryVersion": "v1", | 24 "discoveryVersion": "v1", |
| 25 "documentationLink": "https://cloud.google.com/dataproc/", | 25 "documentationLink": "https://cloud.google.com/dataproc/", |
| 26 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/SwbI7Wkwq3WInAaOPvGsFVm-5Tw\"", | 26 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/SJDnrP-zMdgKOtIcX7eybyyfJxs\"", |
| 27 "icons": { | 27 "icons": { |
| 28 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 28 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 29 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 29 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 30 }, | 30 }, |
| 31 "id": "dataproc:v1", | 31 "id": "dataproc:v1", |
| 32 "kind": "discovery#restDescription", | 32 "kind": "discovery#restDescription", |
| 33 "name": "dataproc", | 33 "name": "dataproc", |
| 34 "ownerDomain": "google.com", | 34 "ownerDomain": "google.com", |
| 35 "ownerName": "Google", | 35 "ownerName": "Google", |
| 36 "parameters": { | 36 "parameters": { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 "multipart": true, | 133 "multipart": true, |
| 134 "path": "/upload/v1/media/{+resourceName}" | 134 "path": "/upload/v1/media/{+resourceName}" |
| 135 } | 135 } |
| 136 } | 136 } |
| 137 }, | 137 }, |
| 138 "parameterOrder": [ | 138 "parameterOrder": [ |
| 139 "resourceName" | 139 "resourceName" |
| 140 ], | 140 ], |
| 141 "parameters": { | 141 "parameters": { |
| 142 "resourceName": { | 142 "resourceName": { |
| 143 "description": "Name of the media that is being down
loaded. See [][ByteStream.ReadRequest.resource_name].", | 143 "description": "Name of the media that is being down
loaded. See ByteStream.ReadRequest.resource_name.", |
| 144 "location": "path", | 144 "location": "path", |
| 145 "pattern": "^.*$", | 145 "pattern": "^.*$", |
| 146 "required": true, | 146 "required": true, |
| 147 "type": "string" | 147 "type": "string" |
| 148 } | 148 } |
| 149 }, | 149 }, |
| 150 "path": "v1/media/{+resourceName}", | 150 "path": "v1/media/{+resourceName}", |
| 151 "request": { | 151 "request": { |
| 152 "$ref": "Media" | 152 "$ref": "Media" |
| 153 }, | 153 }, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 164 }, | 164 }, |
| 165 "download": { | 165 "download": { |
| 166 "description": "Method for media download. Download is suppo
rted on the URI `/v1/media/{+name}?alt=media`.", | 166 "description": "Method for media download. Download is suppo
rted on the URI `/v1/media/{+name}?alt=media`.", |
| 167 "httpMethod": "GET", | 167 "httpMethod": "GET", |
| 168 "id": "dataproc.media.download", | 168 "id": "dataproc.media.download", |
| 169 "parameterOrder": [ | 169 "parameterOrder": [ |
| 170 "resourceName" | 170 "resourceName" |
| 171 ], | 171 ], |
| 172 "parameters": { | 172 "parameters": { |
| 173 "resourceName": { | 173 "resourceName": { |
| 174 "description": "Name of the media that is being down
loaded. See [][ByteStream.ReadRequest.resource_name].", | 174 "description": "Name of the media that is being down
loaded. See ByteStream.ReadRequest.resource_name.", |
| 175 "location": "path", | 175 "location": "path", |
| 176 "pattern": "^.*$", | 176 "pattern": "^.*$", |
| 177 "required": true, | 177 "required": true, |
| 178 "type": "string" | 178 "type": "string" |
| 179 } | 179 } |
| 180 }, | 180 }, |
| 181 "path": "v1/media/{+resourceName}", | 181 "path": "v1/media/{+resourceName}", |
| 182 "response": { | 182 "response": { |
| 183 "$ref": "Media" | 183 "$ref": "Media" |
| 184 }, | 184 }, |
| 185 "scopes": [ | 185 "scopes": [ |
| 186 "https://www.googleapis.com/auth/cloud-platform", | 186 "https://www.googleapis.com/auth/cloud-platform", |
| 187 "https://www.googleapis.com/auth/logging.admin", | 187 "https://www.googleapis.com/auth/logging.admin", |
| 188 "https://www.googleapis.com/auth/logging.read", | 188 "https://www.googleapis.com/auth/logging.read", |
| 189 "https://www.googleapis.com/auth/logging.write" | 189 "https://www.googleapis.com/auth/logging.write" |
| 190 ], | 190 ], |
| 191 "supportsMediaDownload": true | 191 "supportsMediaDownload": true |
| 192 } | 192 } |
| 193 } | 193 } |
| 194 }, |
| 195 "projects": { |
| 196 "resources": { |
| 197 "regions": { |
| 198 "resources": { |
| 199 "clusters": { |
| 200 "methods": { |
| 201 "create": { |
| 202 "description": "Creates a cluster in a proje
ct.", |
| 203 "httpMethod": "POST", |
| 204 "id": "dataproc.projects.regions.clusters.cr
eate", |
| 205 "parameterOrder": [ |
| 206 "projectId", |
| 207 "region" |
| 208 ], |
| 209 "parameters": { |
| 210 "projectId": { |
| 211 "description": "[Required] The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 212 "location": "path", |
| 213 "required": true, |
| 214 "type": "string" |
| 215 }, |
| 216 "region": { |
| 217 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 218 "location": "path", |
| 219 "required": true, |
| 220 "type": "string" |
| 221 } |
| 222 }, |
| 223 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters", |
| 224 "request": { |
| 225 "$ref": "Cluster" |
| 226 }, |
| 227 "response": { |
| 228 "$ref": "Operation" |
| 229 }, |
| 230 "scopes": [ |
| 231 "https://www.googleapis.com/auth/cloud-p
latform" |
| 232 ] |
| 233 }, |
| 234 "patch": { |
| 235 "description": "Updates a cluster in a proje
ct.", |
| 236 "httpMethod": "PATCH", |
| 237 "id": "dataproc.projects.regions.clusters.pa
tch", |
| 238 "parameterOrder": [ |
| 239 "projectId", |
| 240 "region", |
| 241 "clusterName" |
| 242 ], |
| 243 "parameters": { |
| 244 "projectId": { |
| 245 "description": "[Required] The ID of
the Google Cloud Platform project the cluster belongs to.", |
| 246 "location": "path", |
| 247 "required": true, |
| 248 "type": "string" |
| 249 }, |
| 250 "region": { |
| 251 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 252 "location": "path", |
| 253 "required": true, |
| 254 "type": "string" |
| 255 }, |
| 256 "clusterName": { |
| 257 "description": "[Required] The clust
er name.", |
| 258 "location": "path", |
| 259 "required": true, |
| 260 "type": "string" |
| 261 }, |
| 262 "updateMask": { |
| 263 "description": "[Required] Specifies
the path, relative to Cluster, of the field to update. For example, to change t
he number of workers in a cluster to 5, the update_mask parameter would be speci
fied as config.worker_config.num_instances, and the `PATCH` request body would s
pecify the new value, as follows: { \"config\":{ \"workerConfig\":{ \"numInstanc
es\":\"5\" } } } Note: Currently, config.worker_config.num_instances is the only
field that can be updated.", |
| 264 "location": "query", |
| 265 "type": "string" |
| 266 } |
| 267 }, |
| 268 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", |
| 269 "request": { |
| 270 "$ref": "Cluster" |
| 271 }, |
| 272 "response": { |
| 273 "$ref": "Operation" |
| 274 }, |
| 275 "scopes": [ |
| 276 "https://www.googleapis.com/auth/cloud-p
latform" |
| 277 ] |
| 278 }, |
| 279 "delete": { |
| 280 "description": "Deletes a cluster in a proje
ct.", |
| 281 "httpMethod": "DELETE", |
| 282 "id": "dataproc.projects.regions.clusters.de
lete", |
| 283 "parameterOrder": [ |
| 284 "projectId", |
| 285 "region", |
| 286 "clusterName" |
| 287 ], |
| 288 "parameters": { |
| 289 "projectId": { |
| 290 "description": "[Required] The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 291 "location": "path", |
| 292 "required": true, |
| 293 "type": "string" |
| 294 }, |
| 295 "region": { |
| 296 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 297 "location": "path", |
| 298 "required": true, |
| 299 "type": "string" |
| 300 }, |
| 301 "clusterName": { |
| 302 "description": "[Required] The clust
er name.", |
| 303 "location": "path", |
| 304 "required": true, |
| 305 "type": "string" |
| 306 } |
| 307 }, |
| 308 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", |
| 309 "response": { |
| 310 "$ref": "Operation" |
| 311 }, |
| 312 "scopes": [ |
| 313 "https://www.googleapis.com/auth/cloud-p
latform" |
| 314 ] |
| 315 }, |
| 316 "get": { |
| 317 "description": "Gets the resource representa
tion for a cluster in a project.", |
| 318 "httpMethod": "GET", |
| 319 "id": "dataproc.projects.regions.clusters.ge
t", |
| 320 "parameterOrder": [ |
| 321 "projectId", |
| 322 "region", |
| 323 "clusterName" |
| 324 ], |
| 325 "parameters": { |
| 326 "projectId": { |
| 327 "description": "[Required] The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 328 "location": "path", |
| 329 "required": true, |
| 330 "type": "string" |
| 331 }, |
| 332 "region": { |
| 333 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 334 "location": "path", |
| 335 "required": true, |
| 336 "type": "string" |
| 337 }, |
| 338 "clusterName": { |
| 339 "description": "[Required] The clust
er name.", |
| 340 "location": "path", |
| 341 "required": true, |
| 342 "type": "string" |
| 343 } |
| 344 }, |
| 345 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}", |
| 346 "response": { |
| 347 "$ref": "Cluster" |
| 348 }, |
| 349 "scopes": [ |
| 350 "https://www.googleapis.com/auth/cloud-p
latform" |
| 351 ] |
| 352 }, |
| 353 "list": { |
| 354 "description": "Lists all regions/{region}/c
lusters in a project.", |
| 355 "httpMethod": "GET", |
| 356 "id": "dataproc.projects.regions.clusters.li
st", |
| 357 "parameterOrder": [ |
| 358 "projectId", |
| 359 "region" |
| 360 ], |
| 361 "parameters": { |
| 362 "projectId": { |
| 363 "description": "[Required] The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 364 "location": "path", |
| 365 "required": true, |
| 366 "type": "string" |
| 367 }, |
| 368 "region": { |
| 369 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 370 "location": "path", |
| 371 "required": true, |
| 372 "type": "string" |
| 373 }, |
| 374 "pageSize": { |
| 375 "description": "The standard List pa
ge size.", |
| 376 "format": "int32", |
| 377 "location": "query", |
| 378 "type": "integer" |
| 379 }, |
| 380 "pageToken": { |
| 381 "description": "The standard List pa
ge token.", |
| 382 "location": "query", |
| 383 "type": "string" |
| 384 } |
| 385 }, |
| 386 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters", |
| 387 "response": { |
| 388 "$ref": "ListClustersResponse" |
| 389 }, |
| 390 "scopes": [ |
| 391 "https://www.googleapis.com/auth/cloud-p
latform" |
| 392 ] |
| 393 }, |
| 394 "diagnose": { |
| 395 "description": "Gets cluster diagnostic info
rmation. After the operation completes, the Operation.response field contains `D
iagnoseClusterOutputLocation`.", |
| 396 "httpMethod": "POST", |
| 397 "id": "dataproc.projects.regions.clusters.di
agnose", |
| 398 "parameterOrder": [ |
| 399 "projectId", |
| 400 "region", |
| 401 "clusterName" |
| 402 ], |
| 403 "parameters": { |
| 404 "projectId": { |
| 405 "description": "[Required] The ID of
the Google Cloud Platform project that the cluster belongs to.", |
| 406 "location": "path", |
| 407 "required": true, |
| 408 "type": "string" |
| 409 }, |
| 410 "region": { |
| 411 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 412 "location": "path", |
| 413 "required": true, |
| 414 "type": "string" |
| 415 }, |
| 416 "clusterName": { |
| 417 "description": "[Required] The clust
er name.", |
| 418 "location": "path", |
| 419 "required": true, |
| 420 "type": "string" |
| 421 } |
| 422 }, |
| 423 "path": "v1/projects/{projectId}/regions/{re
gion}/clusters/{clusterName}:diagnose", |
| 424 "request": { |
| 425 "$ref": "DiagnoseClusterRequest" |
| 426 }, |
| 427 "response": { |
| 428 "$ref": "Operation" |
| 429 }, |
| 430 "scopes": [ |
| 431 "https://www.googleapis.com/auth/cloud-p
latform" |
| 432 ] |
| 433 } |
| 434 } |
| 435 }, |
| 436 "jobs": { |
| 437 "methods": { |
| 438 "submit": { |
| 439 "description": "Submits a job to a cluster."
, |
| 440 "httpMethod": "POST", |
| 441 "id": "dataproc.projects.regions.jobs.submit
", |
| 442 "parameterOrder": [ |
| 443 "projectId", |
| 444 "region" |
| 445 ], |
| 446 "parameters": { |
| 447 "projectId": { |
| 448 "description": "[Required] The ID of
the Google Cloud Platform project that the job belongs to.", |
| 449 "location": "path", |
| 450 "required": true, |
| 451 "type": "string" |
| 452 }, |
| 453 "region": { |
| 454 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 455 "location": "path", |
| 456 "required": true, |
| 457 "type": "string" |
| 458 } |
| 459 }, |
| 460 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs:submit", |
| 461 "request": { |
| 462 "$ref": "SubmitJobRequest" |
| 463 }, |
| 464 "response": { |
| 465 "$ref": "Job" |
| 466 }, |
| 467 "scopes": [ |
| 468 "https://www.googleapis.com/auth/cloud-p
latform" |
| 469 ] |
| 470 }, |
| 471 "get": { |
| 472 "description": "Gets the resource representa
tion for a job in a project.", |
| 473 "httpMethod": "GET", |
| 474 "id": "dataproc.projects.regions.jobs.get", |
| 475 "parameterOrder": [ |
| 476 "projectId", |
| 477 "region", |
| 478 "jobId" |
| 479 ], |
| 480 "parameters": { |
| 481 "projectId": { |
| 482 "description": "[Required] The ID of
the Google Cloud Platform project that the job belongs to.", |
| 483 "location": "path", |
| 484 "required": true, |
| 485 "type": "string" |
| 486 }, |
| 487 "region": { |
| 488 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 489 "location": "path", |
| 490 "required": true, |
| 491 "type": "string" |
| 492 }, |
| 493 "jobId": { |
| 494 "description": "[Required] The job I
D.", |
| 495 "location": "path", |
| 496 "required": true, |
| 497 "type": "string" |
| 498 } |
| 499 }, |
| 500 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}", |
| 501 "response": { |
| 502 "$ref": "Job" |
| 503 }, |
| 504 "scopes": [ |
| 505 "https://www.googleapis.com/auth/cloud-p
latform" |
| 506 ] |
| 507 }, |
| 508 "list": { |
| 509 "description": "Lists regions/{region}/jobs
in a project.", |
| 510 "httpMethod": "GET", |
| 511 "id": "dataproc.projects.regions.jobs.list", |
| 512 "parameterOrder": [ |
| 513 "projectId", |
| 514 "region" |
| 515 ], |
| 516 "parameters": { |
| 517 "projectId": { |
| 518 "description": "[Required] The ID of
the Google Cloud Platform project that the job belongs to.", |
| 519 "location": "path", |
| 520 "required": true, |
| 521 "type": "string" |
| 522 }, |
| 523 "region": { |
| 524 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 525 "location": "path", |
| 526 "required": true, |
| 527 "type": "string" |
| 528 }, |
| 529 "pageSize": { |
| 530 "description": "[Optional] The numbe
r of results to return in each response.", |
| 531 "format": "int32", |
| 532 "location": "query", |
| 533 "type": "integer" |
| 534 }, |
| 535 "pageToken": { |
| 536 "description": "[Optional] The page
token, returned by a previous call, to request the next page of results.", |
| 537 "location": "query", |
| 538 "type": "string" |
| 539 }, |
| 540 "clusterName": { |
| 541 "description": "[Optional] If set, t
he returned jobs list includes only jobs that were submitted to the named cluste
r.", |
| 542 "location": "query", |
| 543 "type": "string" |
| 544 }, |
| 545 "jobStateMatcher": { |
| 546 "description": "[Optional] Specifies
enumerated categories of jobs to list.", |
| 547 "enum": [ |
| 548 "ALL", |
| 549 "ACTIVE", |
| 550 "NON_ACTIVE" |
| 551 ], |
| 552 "location": "query", |
| 553 "type": "string" |
| 554 } |
| 555 }, |
| 556 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs", |
| 557 "response": { |
| 558 "$ref": "ListJobsResponse" |
| 559 }, |
| 560 "scopes": [ |
| 561 "https://www.googleapis.com/auth/cloud-p
latform" |
| 562 ] |
| 563 }, |
| 564 "cancel": { |
| 565 "description": "Starts a job cancellation re
quest. To access the job resource after cancellation, call [regions/{region}/job
s.list](/dataproc/reference/rest/v1/projects.regions.jobs/list) or [regions/{reg
ion}/jobs.get](/dataproc/reference/rest/v1/projects.regions.jobs/get).", |
| 566 "httpMethod": "POST", |
| 567 "id": "dataproc.projects.regions.jobs.cancel
", |
| 568 "parameterOrder": [ |
| 569 "projectId", |
| 570 "region", |
| 571 "jobId" |
| 572 ], |
| 573 "parameters": { |
| 574 "projectId": { |
| 575 "description": "[Required] The ID of
the Google Cloud Platform project that the job belongs to.", |
| 576 "location": "path", |
| 577 "required": true, |
| 578 "type": "string" |
| 579 }, |
| 580 "region": { |
| 581 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 582 "location": "path", |
| 583 "required": true, |
| 584 "type": "string" |
| 585 }, |
| 586 "jobId": { |
| 587 "description": "[Required] The job I
D.", |
| 588 "location": "path", |
| 589 "required": true, |
| 590 "type": "string" |
| 591 } |
| 592 }, |
| 593 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}:cancel", |
| 594 "request": { |
| 595 "$ref": "CancelJobRequest" |
| 596 }, |
| 597 "response": { |
| 598 "$ref": "Job" |
| 599 }, |
| 600 "scopes": [ |
| 601 "https://www.googleapis.com/auth/cloud-p
latform" |
| 602 ] |
| 603 }, |
| 604 "delete": { |
| 605 "description": "Deletes the job from the pro
ject. If the job is active, the delete fails, and the response returns `FAILED_P
RECONDITION`.", |
| 606 "httpMethod": "DELETE", |
| 607 "id": "dataproc.projects.regions.jobs.delete
", |
| 608 "parameterOrder": [ |
| 609 "projectId", |
| 610 "region", |
| 611 "jobId" |
| 612 ], |
| 613 "parameters": { |
| 614 "projectId": { |
| 615 "description": "[Required] The ID of
the Google Cloud Platform project that the job belongs to.", |
| 616 "location": "path", |
| 617 "required": true, |
| 618 "type": "string" |
| 619 }, |
| 620 "region": { |
| 621 "description": "[Required] The Cloud
Dataproc region in which to handle the request.", |
| 622 "location": "path", |
| 623 "required": true, |
| 624 "type": "string" |
| 625 }, |
| 626 "jobId": { |
| 627 "description": "[Required] The job I
D.", |
| 628 "location": "path", |
| 629 "required": true, |
| 630 "type": "string" |
| 631 } |
| 632 }, |
| 633 "path": "v1/projects/{projectId}/regions/{re
gion}/jobs/{jobId}", |
| 634 "response": { |
| 635 "$ref": "Empty" |
| 636 }, |
| 637 "scopes": [ |
| 638 "https://www.googleapis.com/auth/cloud-p
latform" |
| 639 ] |
| 640 } |
| 641 } |
| 642 }, |
| 643 "operations": { |
| 644 "methods": { |
| 645 "get": { |
| 646 "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.", |
| 647 "httpMethod": "GET", |
| 648 "id": "dataproc.projects.regions.operations.
get", |
| 649 "parameterOrder": [ |
| 650 "name" |
| 651 ], |
| 652 "parameters": { |
| 653 "name": { |
| 654 "description": "The name of the oper
ation resource.", |
| 655 "location": "path", |
| 656 "pattern": "^projects/[^/]*/regions/
[^/]*/operations/[^/]*$", |
| 657 "required": true, |
| 658 "type": "string" |
| 659 } |
| 660 }, |
| 661 "path": "v1/{+name}", |
| 662 "response": { |
| 663 "$ref": "Operation" |
| 664 }, |
| 665 "scopes": [ |
| 666 "https://www.googleapis.com/auth/cloud-p
latform" |
| 667 ] |
| 668 }, |
| 669 "list": { |
| 670 "description": "Lists operations that match
the specified filter in the request. If the server doesn't support this method,
it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services t
o override the binding to use different resource name schemes, such as `users/*/
operations`.", |
| 671 "httpMethod": "GET", |
| 672 "id": "dataproc.projects.regions.operations.
list", |
| 673 "parameterOrder": [ |
| 674 "name" |
| 675 ], |
| 676 "parameters": { |
| 677 "name": { |
| 678 "description": "The name of the oper
ation collection.", |
| 679 "location": "path", |
| 680 "pattern": "^projects/[^/]*/regions/
[^/]*/operations$", |
| 681 "required": true, |
| 682 "type": "string" |
| 683 }, |
| 684 "filter": { |
| 685 "description": "The standard list fi
lter.", |
| 686 "location": "query", |
| 687 "type": "string" |
| 688 }, |
| 689 "pageSize": { |
| 690 "description": "The standard list pa
ge size.", |
| 691 "format": "int32", |
| 692 "location": "query", |
| 693 "type": "integer" |
| 694 }, |
| 695 "pageToken": { |
| 696 "description": "The standard list pa
ge token.", |
| 697 "location": "query", |
| 698 "type": "string" |
| 699 } |
| 700 }, |
| 701 "path": "v1/{+name}", |
| 702 "response": { |
| 703 "$ref": "ListOperationsResponse" |
| 704 }, |
| 705 "scopes": [ |
| 706 "https://www.googleapis.com/auth/cloud-p
latform" |
| 707 ] |
| 708 }, |
| 709 "cancel": { |
| 710 "description": "Starts asynchronous cancella
tion on a long-running operation. The server makes a best effort to cancel the o
peration, but success is not guaranteed. If the server doesn't support this meth
od, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOp
eration or other methods to check whether the cancellation succeeded or whether
the operation completed despite cancellation.", |
| 711 "httpMethod": "POST", |
| 712 "id": "dataproc.projects.regions.operations.
cancel", |
| 713 "parameterOrder": [ |
| 714 "name" |
| 715 ], |
| 716 "parameters": { |
| 717 "name": { |
| 718 "description": "The name of the oper
ation resource to be cancelled.", |
| 719 "location": "path", |
| 720 "pattern": "^projects/[^/]*/regions/
[^/]*/operations/[^/]*$", |
| 721 "required": true, |
| 722 "type": "string" |
| 723 } |
| 724 }, |
| 725 "path": "v1/{+name}:cancel", |
| 726 "response": { |
| 727 "$ref": "Empty" |
| 728 }, |
| 729 "scopes": [ |
| 730 "https://www.googleapis.com/auth/cloud-p
latform" |
| 731 ] |
| 732 }, |
| 733 "delete": { |
| 734 "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`.", |
| 735 "httpMethod": "DELETE", |
| 736 "id": "dataproc.projects.regions.operations.
delete", |
| 737 "parameterOrder": [ |
| 738 "name" |
| 739 ], |
| 740 "parameters": { |
| 741 "name": { |
| 742 "description": "The name of the oper
ation resource to be deleted.", |
| 743 "location": "path", |
| 744 "pattern": "^projects/[^/]*/regions/
[^/]*/operations/[^/]*$", |
| 745 "required": true, |
| 746 "type": "string" |
| 747 } |
| 748 }, |
| 749 "path": "v1/{+name}", |
| 750 "response": { |
| 751 "$ref": "Empty" |
| 752 }, |
| 753 "scopes": [ |
| 754 "https://www.googleapis.com/auth/cloud-p
latform" |
| 755 ] |
| 756 } |
| 757 } |
| 758 } |
| 759 } |
| 760 } |
| 761 } |
| 194 } | 762 } |
| 195 }, | 763 }, |
| 196 "revision": "20151209", | 764 "revision": "20160219", |
| 197 "rootUrl": "https://dataproc.googleapis.com/", | 765 "rootUrl": "https://dataproc.googleapis.com/", |
| 198 "schemas": { | 766 "schemas": { |
| 199 "Media": { | 767 "Media": { |
| 200 "description": "Media resource.", | 768 "description": "Media resource.", |
| 201 "id": "Media", | 769 "id": "Media", |
| 202 "properties": { | 770 "properties": { |
| 203 "resourceName": { | 771 "resourceName": { |
| 204 "description": "Name of the media resource.", | 772 "description": "Name of the media resource.", |
| 205 "type": "string" | 773 "type": "string" |
| 206 } | 774 } |
| 207 }, | 775 }, |
| 208 "type": "object" | 776 "type": "object" |
| 209 }, | 777 }, |
| 778 "Cluster": { |
| 779 "description": "Describes the identifying information, config, and s
tatus of a cluster of Google Compute Engine instances.", |
| 780 "id": "Cluster", |
| 781 "properties": { |
| 782 "projectId": { |
| 783 "description": "[Required] The Google Cloud Platform project
ID that the cluster belongs to.", |
| 784 "type": "string" |
| 785 }, |
| 786 "clusterName": { |
| 787 "description": "[Required] The cluster name. Cluster names w
ithin a project must be unique. Names of deleted clusters can be reused.", |
| 788 "type": "string" |
| 789 }, |
| 790 "config": { |
| 791 "$ref": "ClusterConfig", |
| 792 "description": "[Required] The cluster config. Note that Clo
ud Dataproc may set default values, and values may change when clusters are upda
ted." |
| 793 }, |
| 794 "status": { |
| 795 "$ref": "ClusterStatus", |
| 796 "description": "[Output-only] Cluster status." |
| 797 }, |
| 798 "statusHistory": { |
| 799 "description": "[Output-only] The previous cluster status.", |
| 800 "items": { |
| 801 "$ref": "ClusterStatus" |
| 802 }, |
| 803 "type": "array" |
| 804 }, |
| 805 "clusterUuid": { |
| 806 "description": "[Output-only] A cluster UUID (Unique Univers
al Identifier). Cloud Dataproc generates this value when it creates the cluster.
", |
| 807 "type": "string" |
| 808 } |
| 809 }, |
| 810 "type": "object" |
| 811 }, |
| 812 "ClusterConfig": { |
| 813 "description": "The cluster config.", |
| 814 "id": "ClusterConfig", |
| 815 "properties": { |
| 816 "configBucket": { |
| 817 "description": "[Optional] A Google Cloud Storage staging bu
cket used for sharing generated SSH keys and config. If you do not specify a sta
ging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location
(US, ASIA, or EU) for your cluster's staging bucket according to the Google Com
pute Engine zone where your cluster is deployed, and then it will create and man
age this project-level, per-location bucket for you.", |
| 818 "type": "string" |
| 819 }, |
| 820 "gceClusterConfig": { |
| 821 "$ref": "GceClusterConfig", |
| 822 "description": "[Optional] The shared Google Compute Engine
config settings for all instances in a cluster." |
| 823 }, |
| 824 "masterConfig": { |
| 825 "$ref": "InstanceGroupConfig", |
| 826 "description": "[Optional] The Google Compute Engine config
settings for the master instance in a cluster." |
| 827 }, |
| 828 "workerConfig": { |
| 829 "$ref": "InstanceGroupConfig", |
| 830 "description": "[Optional] The Google Compute Engine config
settings for worker instances in a cluster." |
| 831 }, |
| 832 "secondaryWorkerConfig": { |
| 833 "$ref": "InstanceGroupConfig", |
| 834 "description": "[Optional] The Google Compute Engine config
settings for additional worker instances in a cluster." |
| 835 }, |
| 836 "softwareConfig": { |
| 837 "$ref": "SoftwareConfig", |
| 838 "description": "[Optional] The config settings for software
inside the cluster." |
| 839 }, |
| 840 "initializationActions": { |
| 841 "description": "[Optional] Commands to execute on each node
after config is completed. By default, executables are run on master and all wor
ker nodes. You can test a node's role metadata to run an executable on a master
or worker node, as shown below: ROLE=$(/usr/share/google/get_metadata_value attr
ibutes/role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions
... else ... worker specific actions ... fi", |
| 842 "items": { |
| 843 "$ref": "NodeInitializationAction" |
| 844 }, |
| 845 "type": "array" |
| 846 } |
| 847 }, |
| 848 "type": "object" |
| 849 }, |
| 850 "GceClusterConfig": { |
| 851 "description": "Common config settings for resources of Google Compu
te Engine cluster instances, applicable to all instances in the cluster.", |
| 852 "id": "GceClusterConfig", |
| 853 "properties": { |
| 854 "zoneUri": { |
| 855 "description": "[Required] The zone where the Google Compute
Engine cluster will be located. Example: `https://www.googleapis.com/compute/v1
/projects/[project_id]/zones/[zone]`.", |
| 856 "type": "string" |
| 857 }, |
| 858 "networkUri": { |
| 859 "description": "The Google Compute Engine network to be used
for machine communications. Cannot be specified with subnetwork_uri. If neither
network_uri nor subnetwork_uri is specified, the \"default\" network of the pro
ject is used, if it exists. Cannot be a \"Custom Subnet Network\" (see https://c
loud.google.com/compute/docs/subnetworks for more information). Example: `https:
//www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default`.", |
| 860 "type": "string" |
| 861 }, |
| 862 "subnetworkUri": { |
| 863 "description": "The Google Compute Engine subnetwork to be u
sed for machine communications. Cannot be specified with network_uri. Example: `
https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub
0`.", |
| 864 "type": "string" |
| 865 }, |
| 866 "serviceAccountScopes": { |
| 867 "description": "The URIs of service account scopes to be inc
luded in Google Compute Engine instances. The following base set of scopes is al
ways included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * h
ttps://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.co
m/auth/logging.write If no scopes are specfied, the following defaults are also
provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.co
m/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * ht
tps://www.googleapis.com/auth/devstorage.full_control", |
| 868 "items": { |
| 869 "type": "string" |
| 870 }, |
| 871 "type": "array" |
| 872 }, |
| 873 "tags": { |
| 874 "description": "The Google Compute Engine tags to add to all
instances.", |
| 875 "items": { |
| 876 "type": "string" |
| 877 }, |
| 878 "type": "array" |
| 879 }, |
| 880 "metadata": { |
| 881 "additionalProperties": { |
| 882 "type": "string" |
| 883 }, |
| 884 "description": "The Google Compute Engine metadata entries t
o add to all instances.", |
| 885 "type": "object" |
| 886 } |
| 887 }, |
| 888 "type": "object" |
| 889 }, |
| 890 "InstanceGroupConfig": { |
| 891 "description": "The config settings for Google Compute Engine resour
ces in an instance group, such as a master or worker group.", |
| 892 "id": "InstanceGroupConfig", |
| 893 "properties": { |
| 894 "numInstances": { |
| 895 "description": "The number of VM instances in the instance g
roup. For master instance groups, must be set to 1.", |
| 896 "format": "int32", |
| 897 "type": "integer" |
| 898 }, |
| 899 "instanceNames": { |
| 900 "description": "The list of instance names. Cloud Dataproc d
erives the names from `cluster_name`, `num_instances`, and the instance group if
not set by user (recommended practice is to let Cloud Dataproc derive the name)
.", |
| 901 "items": { |
| 902 "type": "string" |
| 903 }, |
| 904 "type": "array" |
| 905 }, |
| 906 "imageUri": { |
| 907 "description": "[Output-only] The Google Compute Engine imag
e resource used for cluster instances. Inferred from `SoftwareConfig.image_versi
on`.", |
| 908 "type": "string" |
| 909 }, |
| 910 "machineTypeUri": { |
| 911 "description": "The Google Compute Engine machine type used
for cluster instances. Example: `https://www.googleapis.com/compute/v1/projects/
[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`.", |
| 912 "type": "string" |
| 913 }, |
| 914 "diskConfig": { |
| 915 "$ref": "DiskConfig", |
| 916 "description": "Disk option config settings." |
| 917 }, |
| 918 "isPreemptible": { |
| 919 "description": "Specifies that this instance group contains
Preemptible Instances.", |
| 920 "type": "boolean" |
| 921 }, |
| 922 "managedGroupConfig": { |
| 923 "$ref": "ManagedGroupConfig", |
| 924 "description": "[Output-only] The config for Google Compute
Engine Instance Group Manager that manages this group. This is only used for pre
emptible instance groups." |
| 925 } |
| 926 }, |
| 927 "type": "object" |
| 928 }, |
| 929 "DiskConfig": { |
| 930 "description": "Specifies the config of disk options for a group of
VM instances.", |
| 931 "id": "DiskConfig", |
| 932 "properties": { |
| 933 "bootDiskSizeGb": { |
| 934 "description": "[Optional] Size in GB of the boot disk (defa
ult is 500GB).", |
| 935 "format": "int32", |
| 936 "type": "integer" |
| 937 }, |
| 938 "numLocalSsds": { |
| 939 "description": "[Optional] Number of attached SSDs, from 0 t
o 4 (default is 0). If SSDs are not attached, the boot disk is used to store run
time logs and HDFS data. If one or more SSDs are attached, this runtime bulk dat
a is spread across them, and the boot disk contains only basic config and instal
led binaries.", |
| 940 "format": "int32", |
| 941 "type": "integer" |
| 942 } |
| 943 }, |
| 944 "type": "object" |
| 945 }, |
| 946 "ManagedGroupConfig": { |
| 947 "description": "Specifies the resources used to actively manage an i
nstance group.", |
| 948 "id": "ManagedGroupConfig", |
| 949 "properties": { |
| 950 "instanceTemplateName": { |
| 951 "description": "[Output-only] The name of the Instance Templ
ate used for the Managed Instance Group.", |
| 952 "type": "string" |
| 953 }, |
| 954 "instanceGroupManagerName": { |
| 955 "description": "[Output-only] The name of the Instance Group
Manager for this group.", |
| 956 "type": "string" |
| 957 } |
| 958 }, |
| 959 "type": "object" |
| 960 }, |
| 961 "SoftwareConfig": { |
| 962 "description": "Specifies the selection and config of software insid
e the cluster.", |
| 963 "id": "SoftwareConfig", |
| 964 "properties": { |
| 965 "imageVersion": { |
| 966 "description": "[Optional] The version of software inside th
e cluster. It must match the regular expression `[0-9]+\\.[0-9]+`. If unspecifie
d, it defaults to the latest version (see [Cloud Dataproc Versioning](/dataproc/
versioning)).", |
| 967 "type": "string" |
| 968 }, |
| 969 "properties": { |
| 970 "additionalProperties": { |
| 971 "type": "string" |
| 972 }, |
| 973 "description": "[Optional] The properties to set on daemon c
onfig files. Property keys are specified in `prefix:property` format, such as `c
ore:fs.defaultFS`. The following are supported prefixes and their mappings: * co
re: `core-site.xml` * hdfs: `hdfs-site.xml` * mapred: `mapred-site.xml` * yarn:
`yarn-site.xml` * hive: `hive-site.xml` * pig: `pig.properties` * spark: `spark-
defaults.conf`", |
| 974 "type": "object" |
| 975 } |
| 976 }, |
| 977 "type": "object" |
| 978 }, |
| 979 "NodeInitializationAction": { |
| 980 "description": "Specifies an executable to run on a fully configured
node and a timeout period for executable completion.", |
| 981 "id": "NodeInitializationAction", |
| 982 "properties": { |
| 983 "executableFile": { |
| 984 "description": "[Required] Google Cloud Storage URI of execu
table file.", |
| 985 "type": "string" |
| 986 }, |
| 987 "executionTimeout": { |
| 988 "description": "[Optional] Amount of time executable has to
complete. Default is 10 minutes. Cluster creation fails with an explanatory erro
r message (the name of the executable that caused the error and the exceeded tim
eout period) if the executable is not completed at end of the timeout period.", |
| 989 "type": "string" |
| 990 } |
| 991 }, |
| 992 "type": "object" |
| 993 }, |
| 994 "ClusterStatus": { |
| 995 "description": "The status of a cluster and its instances.", |
| 996 "id": "ClusterStatus", |
| 997 "properties": { |
| 998 "state": { |
| 999 "description": "The cluster's state.", |
| 1000 "enum": [ |
| 1001 "UNKNOWN", |
| 1002 "CREATING", |
| 1003 "RUNNING", |
| 1004 "ERROR", |
| 1005 "DELETING", |
| 1006 "UPDATING" |
| 1007 ], |
| 1008 "type": "string" |
| 1009 }, |
| 1010 "detail": { |
| 1011 "description": "Optional details of cluster's state.", |
| 1012 "type": "string" |
| 1013 }, |
| 1014 "stateStartTime": { |
| 1015 "description": "Time when this state was entered.", |
| 1016 "type": "string" |
| 1017 } |
| 1018 }, |
| 1019 "type": "object" |
| 1020 }, |
| 1021 "Operation": { |
| 1022 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
| 1023 "id": "Operation", |
| 1024 "properties": { |
| 1025 "name": { |
| 1026 "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`."
, |
| 1027 "type": "string" |
| 1028 }, |
| 1029 "metadata": { |
| 1030 "additionalProperties": { |
| 1031 "description": "Properties of the object. Contains field
@ype with type URL.", |
| 1032 "type": "any" |
| 1033 }, |
| 1034 "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.", |
| 1035 "type": "object" |
| 1036 }, |
| 1037 "done": { |
| 1038 "description": "If the value is `false`, it means the operat
ion is still in progress. If true, the operation is completed, and either `error
` or `response` is available.", |
| 1039 "type": "boolean" |
| 1040 }, |
| 1041 "error": { |
| 1042 "$ref": "Status", |
| 1043 "description": "The error result of the operation in case of
failure." |
| 1044 }, |
| 1045 "response": { |
| 1046 "additionalProperties": { |
| 1047 "description": "Properties of the object. Contains field
@ype with type URL.", |
| 1048 "type": "any" |
| 1049 }, |
| 1050 "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 `G
et`/`Create`/`Update`, the response should be the resource. For other methods, t
he response should have the type `XxxResponse`, where `Xxx` is the original meth
od name. For example, if the original method name is `TakeSnapshot()`, the infer
red response type is `TakeSnapshotResponse`.", |
| 1051 "type": "object" |
| 1052 } |
| 1053 }, |
| 1054 "type": "object" |
| 1055 }, |
| 1056 "Status": { |
| 1057 "description": "The `Status` type defines a logical error model that
is suitable for different programming environments, including REST APIs and RPC
APIs. It is used by [gRPC](https://github.com/grpc). The error model is designe
d to be: - Simple to use and understand for most users - Flexible enough to meet
unexpected needs # Overview The `Status` message contains three pieces of data:
error code, error message, and error details. The error code should be an enum
value of google.rpc.Code, but it may accept additional error codes if needed. Th
e error message should be a developer-facing English message that helps develope
rs *understand* and *resolve* the error. If a localized user-facing error messag
e is needed, put the localized message in the error details or localize it in th
e client. The optional error details may contain arbitrary information about the
error. There is a predefined set of error detail types in the package `google.r
pc` which can be used for common error conditions. # Language mapping The `Statu
s` message is the logical representation of the error model, but it is not neces
sarily the actual wire format. When the `Status` message is exposed in different
client libraries and different wire protocols, it can be mapped differently. Fo
r example, it will likely be mapped to some exceptions in Java, but more likely
mapped to some error codes in C. # Other uses The error model and the `Status` m
essage can be used in a variety of environments, either with or without APIs, to
provide a consistent developer experience across different environments. Exampl
e uses of this error model include: - Partial errors. If a service needs to retu
rn partial errors to the client, it may embed the `Status` in the normal respons
e to indicate the partial errors. - Workflow errors. A typical workflow has mult
iple steps. Each step may have a `Status` message for error reporting purpose. -
Batch operations. If a client uses batch request and batch response, the `Statu
s` message should be used directly inside batch response, one for each error sub
-response. - Asynchronous operations. If an API call embeds asynchronous operati
on results in its response, the status of those operations should be represented
directly using the `Status` message. - Logging. If some API errors are stored i
n logs, the message `Status` could be used directly after any stripping needed f
or security/privacy reasons.", |
| 1058 "id": "Status", |
| 1059 "properties": { |
| 1060 "code": { |
| 1061 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 1062 "format": "int32", |
| 1063 "type": "integer" |
| 1064 }, |
| 1065 "message": { |
| 1066 "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.", |
| 1067 "type": "string" |
| 1068 }, |
| 1069 "details": { |
| 1070 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", |
| 1071 "items": { |
| 1072 "additionalProperties": { |
| 1073 "description": "Properties of the object. Contains f
ield @ype with type URL.", |
| 1074 "type": "any" |
| 1075 }, |
| 1076 "type": "object" |
| 1077 }, |
| 1078 "type": "array" |
| 1079 } |
| 1080 }, |
| 1081 "type": "object" |
| 1082 }, |
| 1083 "ListClustersResponse": { |
| 1084 "description": "The list of all clusters in a project.", |
| 1085 "id": "ListClustersResponse", |
| 1086 "properties": { |
| 1087 "clusters": { |
| 1088 "description": "[Output-only] The clusters in the project.", |
| 1089 "items": { |
| 1090 "$ref": "Cluster" |
| 1091 }, |
| 1092 "type": "array" |
| 1093 }, |
| 1094 "nextPageToken": { |
| 1095 "description": "[Optional] This token is included in the res
ponse if there are more results to fetch. To fetch additional results, provide t
his value as the `page_token` in a subsequent ListClustersRequest.", |
| 1096 "type": "string" |
| 1097 } |
| 1098 }, |
| 1099 "type": "object" |
| 1100 }, |
| 1101 "DiagnoseClusterRequest": { |
| 1102 "description": "A request to collect cluster diagnostic information.
", |
| 1103 "id": "DiagnoseClusterRequest", |
| 1104 "type": "object" |
| 1105 }, |
| 1106 "SubmitJobRequest": { |
| 1107 "description": "A request to submit a job.", |
| 1108 "id": "SubmitJobRequest", |
| 1109 "properties": { |
| 1110 "job": { |
| 1111 "$ref": "Job", |
| 1112 "description": "[Required] The job resource." |
| 1113 } |
| 1114 }, |
| 1115 "type": "object" |
| 1116 }, |
| 1117 "Job": { |
| 1118 "description": "A Cloud Dataproc job resource.", |
| 1119 "id": "Job", |
| 1120 "properties": { |
| 1121 "reference": { |
| 1122 "$ref": "JobReference", |
| 1123 "description": "[Optional] The fully qualified reference to
the job, which can be used to obtain the equivalent REST path of the job resourc
e. If this property is not specified when a job is created, the server generates
a job_id." |
| 1124 }, |
| 1125 "placement": { |
| 1126 "$ref": "JobPlacement", |
| 1127 "description": "[Required] Job information, including how, w
hen, and where to run the job." |
| 1128 }, |
| 1129 "hadoopJob": { |
| 1130 "$ref": "HadoopJob", |
| 1131 "description": "Job is a Hadoop job." |
| 1132 }, |
| 1133 "sparkJob": { |
| 1134 "$ref": "SparkJob", |
| 1135 "description": "Job is a Spark job." |
| 1136 }, |
| 1137 "pysparkJob": { |
| 1138 "$ref": "PySparkJob", |
| 1139 "description": "Job is a Pyspark job." |
| 1140 }, |
| 1141 "hiveJob": { |
| 1142 "$ref": "HiveJob", |
| 1143 "description": "Job is a Hive job." |
| 1144 }, |
| 1145 "pigJob": { |
| 1146 "$ref": "PigJob", |
| 1147 "description": "Job is a Pig job." |
| 1148 }, |
| 1149 "sparkSqlJob": { |
| 1150 "$ref": "SparkSqlJob", |
| 1151 "description": "Job is a SparkSql job." |
| 1152 }, |
| 1153 "status": { |
| 1154 "$ref": "JobStatus", |
| 1155 "description": "[Output-only] The job status. Additional app
lication-specific status information may be contained in the type_job and yarn_a
pplications fields." |
| 1156 }, |
| 1157 "statusHistory": { |
| 1158 "description": "[Output-only] The previous job status.", |
| 1159 "items": { |
| 1160 "$ref": "JobStatus" |
| 1161 }, |
| 1162 "type": "array" |
| 1163 }, |
| 1164 "driverOutputResourceUri": { |
| 1165 "description": "[Output-only] A URI pointing to the location
of the stdout of the job's driver program.", |
| 1166 "type": "string" |
| 1167 }, |
| 1168 "driverControlFilesUri": { |
| 1169 "description": "[Output-only] If present, the location of mi
scellaneous control files which may be used as part of job setup and handling. I
f not present, control files may be placed in the same location as `driver_outpu
t_uri`.", |
| 1170 "type": "string" |
| 1171 } |
| 1172 }, |
| 1173 "type": "object" |
| 1174 }, |
| 1175 "JobReference": { |
| 1176 "description": "Encapsulates the full scoping used to reference a jo
b.", |
| 1177 "id": "JobReference", |
| 1178 "properties": { |
| 1179 "projectId": { |
| 1180 "description": "[Required] The ID of the Google Cloud Platfo
rm project that the job belongs to.", |
| 1181 "type": "string" |
| 1182 }, |
| 1183 "jobId": { |
| 1184 "description": "[Required] The job ID, which must be unique
within 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 j
obs. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_)
, or hyphens (-). The maximum length is 512 characters.", |
| 1185 "type": "string" |
| 1186 } |
| 1187 }, |
| 1188 "type": "object" |
| 1189 }, |
| 1190 "JobPlacement": { |
| 1191 "description": "Cloud Dataproc job config.", |
| 1192 "id": "JobPlacement", |
| 1193 "properties": { |
| 1194 "clusterName": { |
| 1195 "description": "[Required] The name of the cluster where the
job will be submitted.", |
| 1196 "type": "string" |
| 1197 }, |
| 1198 "clusterUuid": { |
| 1199 "description": "[Output-only] A cluster UUID generated by th
e Cloud Dataproc service when the job is submitted.", |
| 1200 "type": "string" |
| 1201 } |
| 1202 }, |
| 1203 "type": "object" |
| 1204 }, |
| 1205 "HadoopJob": { |
| 1206 "description": "A Cloud Dataproc job for running Hadoop MapReduce jo
bs on YARN.", |
| 1207 "id": "HadoopJob", |
| 1208 "properties": { |
| 1209 "mainJarFileUri": { |
| 1210 "description": "The HCFS URI of the jar file containing the
main class. Examples: 'gs://foo-bucket/analytics-binaries/extract-useful-metrics
-mr.jar' 'hdfs:/tmp/test-samples/custom-wordcount.jar' 'file:///home/usr/lib/had
oop-mapreduce/hadoop-mapreduce-examples.jar'", |
| 1211 "type": "string" |
| 1212 }, |
| 1213 "mainClass": { |
| 1214 "description": "The name of the driver's main class. The jar
file containing the class must be in the default CLASSPATH or specified in `jar
_file_uris`.", |
| 1215 "type": "string" |
| 1216 }, |
| 1217 "args": { |
| 1218 "description": "[Optional] The arguments to pass to the driv
er. Do not include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set
as job properties, since a collision may occur that causes an incorrect job sub
mission.", |
| 1219 "items": { |
| 1220 "type": "string" |
| 1221 }, |
| 1222 "type": "array" |
| 1223 }, |
| 1224 "jarFileUris": { |
| 1225 "description": "[Optional] Jar file URIs to add to the CLASS
PATHs of the Hadoop driver and tasks.", |
| 1226 "items": { |
| 1227 "type": "string" |
| 1228 }, |
| 1229 "type": "array" |
| 1230 }, |
| 1231 "fileUris": { |
| 1232 "description": "[Optional] HCFS (Hadoop Compatible Filesyste
m) URIs of files to be copied to the working directory of Hadoop drivers and dis
tributed tasks. Useful for naively parallel tasks.", |
| 1233 "items": { |
| 1234 "type": "string" |
| 1235 }, |
| 1236 "type": "array" |
| 1237 }, |
| 1238 "archiveUris": { |
| 1239 "description": "[Optional] HCFS URIs of archives to be extra
cted in the working directory of Hadoop drivers and tasks. Supported file types:
.jar, .tar, .tar.gz, .tgz, or .zip.", |
| 1240 "items": { |
| 1241 "type": "string" |
| 1242 }, |
| 1243 "type": "array" |
| 1244 }, |
| 1245 "properties": { |
| 1246 "additionalProperties": { |
| 1247 "type": "string" |
| 1248 }, |
| 1249 "description": "[Optional] A mapping of property names to va
lues, used to configure Hadoop. Properties that conflict with values set by the
Cloud Dataproc API may be overwritten. Can include properties set in /etc/hadoop
/conf/*-site and classes in user code.", |
| 1250 "type": "object" |
| 1251 }, |
| 1252 "loggingConfig": { |
| 1253 "$ref": "LoggingConfig", |
| 1254 "description": "[Optional] The runtime log config for job ex
ecution." |
| 1255 } |
| 1256 }, |
| 1257 "type": "object" |
| 1258 }, |
| 1259 "LoggingConfig": { |
| 1260 "description": "The runtime logging config of the job.", |
| 1261 "id": "LoggingConfig", |
| 1262 "properties": { |
| 1263 "driverLogLevels": { |
| 1264 "additionalProperties": { |
| 1265 "enum": [ |
| 1266 "LEVEL_UNSPECIFIED", |
| 1267 "ALL", |
| 1268 "TRACE", |
| 1269 "DEBUG", |
| 1270 "INFO", |
| 1271 "WARN", |
| 1272 "ERROR", |
| 1273 "FATAL", |
| 1274 "OFF" |
| 1275 ], |
| 1276 "type": "string" |
| 1277 }, |
| 1278 "description": "The per-package log levels for the driver. T
his may include \"root\" package name to configure rootLogger. Examples: 'com.go
ogle = FATAL', 'root = INFO', 'org.apache = DEBUG'", |
| 1279 "type": "object" |
| 1280 } |
| 1281 }, |
| 1282 "type": "object" |
| 1283 }, |
| 1284 "SparkJob": { |
| 1285 "description": "A Cloud Dataproc job for running Spark applications
on YARN.", |
| 1286 "id": "SparkJob", |
| 1287 "properties": { |
| 1288 "mainJarFileUri": { |
| 1289 "description": "The HCFS URI of the jar file that contains t
he main class.", |
| 1290 "type": "string" |
| 1291 }, |
| 1292 "mainClass": { |
| 1293 "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 `
jar_file_uris`.", |
| 1294 "type": "string" |
| 1295 }, |
| 1296 "args": { |
| 1297 "description": "[Optional] The arguments to pass to the driv
er. Do not include arguments, such as `--conf`, that can be set as job propertie
s, since a collision may occur that causes an incorrect job submission.", |
| 1298 "items": { |
| 1299 "type": "string" |
| 1300 }, |
| 1301 "type": "array" |
| 1302 }, |
| 1303 "jarFileUris": { |
| 1304 "description": "[Optional] HCFS URIs of jar files to add to
the CLASSPATHs of the Spark driver and tasks.", |
| 1305 "items": { |
| 1306 "type": "string" |
| 1307 }, |
| 1308 "type": "array" |
| 1309 }, |
| 1310 "fileUris": { |
| 1311 "description": "[Optional] HCFS URIs of files to be copied t
o the working directory of Spark drivers and distributed tasks. Useful for naive
ly parallel tasks.", |
| 1312 "items": { |
| 1313 "type": "string" |
| 1314 }, |
| 1315 "type": "array" |
| 1316 }, |
| 1317 "archiveUris": { |
| 1318 "description": "[Optional] HCFS URIs of archives to be extra
cted in the working directory of Spark drivers and tasks. Supported file types:
.jar, .tar, .tar.gz, .tgz, and .zip.", |
| 1319 "items": { |
| 1320 "type": "string" |
| 1321 }, |
| 1322 "type": "array" |
| 1323 }, |
| 1324 "properties": { |
| 1325 "additionalProperties": { |
| 1326 "type": "string" |
| 1327 }, |
| 1328 "description": "[Optional] A mapping of property names to va
lues, used to configure Spark. Properties that conflict with values set by the C
loud Dataproc API may be overwritten. Can include properties set in /etc/spark/c
onf/spark-defaults.conf and classes in user code.", |
| 1329 "type": "object" |
| 1330 }, |
| 1331 "loggingConfig": { |
| 1332 "$ref": "LoggingConfig", |
| 1333 "description": "[Optional] The runtime log config for job ex
ecution." |
| 1334 } |
| 1335 }, |
| 1336 "type": "object" |
| 1337 }, |
| 1338 "PySparkJob": { |
| 1339 "description": "A Cloud Dataproc job for running PySpark application
s on YARN.", |
| 1340 "id": "PySparkJob", |
| 1341 "properties": { |
| 1342 "mainPythonFileUri": { |
| 1343 "description": "[Required] The HCFS URI of the main Python f
ile to use as the driver. Must be a .py file.", |
| 1344 "type": "string" |
| 1345 }, |
| 1346 "args": { |
| 1347 "description": "[Optional] The arguments to pass to the driv
er. Do not include arguments, such as `--conf`, that can be set as job propertie
s, since a collision may occur that causes an incorrect job submission.", |
| 1348 "items": { |
| 1349 "type": "string" |
| 1350 }, |
| 1351 "type": "array" |
| 1352 }, |
| 1353 "pythonFileUris": { |
| 1354 "description": "[Optional] HCFS file URIs of Python files to
pass to the PySpark framework. Supported file types: .py, .egg, and .zip.", |
| 1355 "items": { |
| 1356 "type": "string" |
| 1357 }, |
| 1358 "type": "array" |
| 1359 }, |
| 1360 "jarFileUris": { |
| 1361 "description": "[Optional] HCFS URIs of jar files to add to
the CLASSPATHs of the Python driver and tasks.", |
| 1362 "items": { |
| 1363 "type": "string" |
| 1364 }, |
| 1365 "type": "array" |
| 1366 }, |
| 1367 "fileUris": { |
| 1368 "description": "[Optional] HCFS URIs of files to be copied t
o the working directory of Python drivers and distributed tasks. Useful for naiv
ely parallel tasks.", |
| 1369 "items": { |
| 1370 "type": "string" |
| 1371 }, |
| 1372 "type": "array" |
| 1373 }, |
| 1374 "archiveUris": { |
| 1375 "description": "[Optional] HCFS URIs of archives to be extra
cted in the working directory of .jar, .tar, .tar.gz, .tgz, and .zip.", |
| 1376 "items": { |
| 1377 "type": "string" |
| 1378 }, |
| 1379 "type": "array" |
| 1380 }, |
| 1381 "properties": { |
| 1382 "additionalProperties": { |
| 1383 "type": "string" |
| 1384 }, |
| 1385 "description": "[Optional] A mapping of property names to va
lues, 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.", |
| 1386 "type": "object" |
| 1387 }, |
| 1388 "loggingConfig": { |
| 1389 "$ref": "LoggingConfig", |
| 1390 "description": "[Optional] The runtime log config for job ex
ecution." |
| 1391 } |
| 1392 }, |
| 1393 "type": "object" |
| 1394 }, |
| 1395 "HiveJob": { |
| 1396 "description": "A Cloud Dataproc job for running Hive queries on YAR
N.", |
| 1397 "id": "HiveJob", |
| 1398 "properties": { |
| 1399 "queryFileUri": { |
| 1400 "description": "The HCFS URI of the script that contains Hiv
e queries.", |
| 1401 "type": "string" |
| 1402 }, |
| 1403 "queryList": { |
| 1404 "$ref": "QueryList", |
| 1405 "description": "A list of queries." |
| 1406 }, |
| 1407 "continueOnFailure": { |
| 1408 "description": "[Optional] Whether to continue executing que
ries if a query fails. The default value is `false`. Setting to `true` can be us
eful when executing independent parallel queries.", |
| 1409 "type": "boolean" |
| 1410 }, |
| 1411 "scriptVariables": { |
| 1412 "additionalProperties": { |
| 1413 "type": "string" |
| 1414 }, |
| 1415 "description": "[Optional] Mapping of query variable names t
o values (equivalent to the Hive command: `SET name=\"value\";`).", |
| 1416 "type": "object" |
| 1417 }, |
| 1418 "properties": { |
| 1419 "additionalProperties": { |
| 1420 "type": "string" |
| 1421 }, |
| 1422 "description": "[Optional] A mapping of property names and v
alues, used to configure Hive. Properties that conflict with values set by the C
loud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/
conf/*-site.xml, /etc/hive/conf/hive-site.xml, and classes in user code.", |
| 1423 "type": "object" |
| 1424 }, |
| 1425 "jarFileUris": { |
| 1426 "description": "[Optional] HCFS URIs of jar files to add to
the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hi
ve SerDes and UDFs.", |
| 1427 "items": { |
| 1428 "type": "string" |
| 1429 }, |
| 1430 "type": "array" |
| 1431 } |
| 1432 }, |
| 1433 "type": "object" |
| 1434 }, |
| 1435 "QueryList": { |
| 1436 "description": "A list of queries to run on a cluster.", |
| 1437 "id": "QueryList", |
| 1438 "properties": { |
| 1439 "queries": { |
| 1440 "description": "[Required] The queries to execute. You do no
t need to terminate a query with a semicolon. Multiple queries can be specified
in one string by separating each with a semicolon. Here is an example of an Clou
d Dataproc API snippet that uses a QueryList to specify a HiveJob: \"hiveJob\":
{ \"queryList\": { \"queries\": [ \"query1\", \"query2\", \"query3;query4\", ] }
}", |
| 1441 "items": { |
| 1442 "type": "string" |
| 1443 }, |
| 1444 "type": "array" |
| 1445 } |
| 1446 }, |
| 1447 "type": "object" |
| 1448 }, |
| 1449 "PigJob": { |
| 1450 "description": "A Cloud Dataproc job for running Pig queries on YARN
.", |
| 1451 "id": "PigJob", |
| 1452 "properties": { |
| 1453 "queryFileUri": { |
| 1454 "description": "The HCFS URI of the script that contains the
Pig queries.", |
| 1455 "type": "string" |
| 1456 }, |
| 1457 "queryList": { |
| 1458 "$ref": "QueryList", |
| 1459 "description": "A list of queries." |
| 1460 }, |
| 1461 "continueOnFailure": { |
| 1462 "description": "[Optional] Whether to continue executing que
ries if a query fails. The default value is `false`. Setting to `true` can be us
eful when executing independent parallel queries.", |
| 1463 "type": "boolean" |
| 1464 }, |
| 1465 "scriptVariables": { |
| 1466 "additionalProperties": { |
| 1467 "type": "string" |
| 1468 }, |
| 1469 "description": "[Optional] Mapping of query variable names t
o values (equivalent to the Pig command: `name=[value]`).", |
| 1470 "type": "object" |
| 1471 }, |
| 1472 "properties": { |
| 1473 "additionalProperties": { |
| 1474 "type": "string" |
| 1475 }, |
| 1476 "description": "[Optional] A mapping of property names to va
lues, used to configure Pig. Properties that conflict with values set by the Clo
ud Dataproc API may be overwritten. Can include properties set in /etc/hadoop/co
nf/*-site.xml, /etc/pig/conf/pig.properties, and classes in user code.", |
| 1477 "type": "object" |
| 1478 }, |
| 1479 "jarFileUris": { |
| 1480 "description": "[Optional] HCFS URIs of jar files to add to
the CLASSPATH of the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig
UDFs.", |
| 1481 "items": { |
| 1482 "type": "string" |
| 1483 }, |
| 1484 "type": "array" |
| 1485 }, |
| 1486 "loggingConfig": { |
| 1487 "$ref": "LoggingConfig", |
| 1488 "description": "[Optional] The runtime log config for job ex
ecution." |
| 1489 } |
| 1490 }, |
| 1491 "type": "object" |
| 1492 }, |
| 1493 "SparkSqlJob": { |
| 1494 "description": "A Cloud Dataproc job for running Spark SQL queries."
, |
| 1495 "id": "SparkSqlJob", |
| 1496 "properties": { |
| 1497 "queryFileUri": { |
| 1498 "description": "The HCFS URI of the script that contains SQL
queries.", |
| 1499 "type": "string" |
| 1500 }, |
| 1501 "queryList": { |
| 1502 "$ref": "QueryList", |
| 1503 "description": "A list of queries." |
| 1504 }, |
| 1505 "scriptVariables": { |
| 1506 "additionalProperties": { |
| 1507 "type": "string" |
| 1508 }, |
| 1509 "description": "[Optional] Mapping of query variable names t
o values (equivalent to the Spark SQL command: SET `name=\"value\";`).", |
| 1510 "type": "object" |
| 1511 }, |
| 1512 "properties": { |
| 1513 "additionalProperties": { |
| 1514 "type": "string" |
| 1515 }, |
| 1516 "description": "[Optional] A mapping of property names to va
lues, used to configure Spark SQL's SparkConf. Properties that conflict with val
ues set by the Cloud Dataproc API may be overwritten.", |
| 1517 "type": "object" |
| 1518 }, |
| 1519 "jarFileUris": { |
| 1520 "description": "[Optional] HCFS URIs of jar files to be adde
d to the Spark CLASSPATH.", |
| 1521 "items": { |
| 1522 "type": "string" |
| 1523 }, |
| 1524 "type": "array" |
| 1525 }, |
| 1526 "loggingConfig": { |
| 1527 "$ref": "LoggingConfig", |
| 1528 "description": "[Optional] The runtime log config for job ex
ecution." |
| 1529 } |
| 1530 }, |
| 1531 "type": "object" |
| 1532 }, |
| 1533 "JobStatus": { |
| 1534 "description": "Cloud Dataproc job status.", |
| 1535 "id": "JobStatus", |
| 1536 "properties": { |
| 1537 "state": { |
| 1538 "description": "[Required] A state message specifying the ov
erall job state.", |
| 1539 "enum": [ |
| 1540 "STATE_UNSPECIFIED", |
| 1541 "PENDING", |
| 1542 "SETUP_DONE", |
| 1543 "RUNNING", |
| 1544 "CANCEL_PENDING", |
| 1545 "CANCEL_STARTED", |
| 1546 "CANCELLED", |
| 1547 "DONE", |
| 1548 "ERROR" |
| 1549 ], |
| 1550 "type": "string" |
| 1551 }, |
| 1552 "details": { |
| 1553 "description": "[Optional] Job state details, such as an err
or description if the state is ERROR.", |
| 1554 "type": "string" |
| 1555 }, |
| 1556 "stateStartTime": { |
| 1557 "description": "[Output-only] The time when this state was e
ntered.", |
| 1558 "type": "string" |
| 1559 } |
| 1560 }, |
| 1561 "type": "object" |
| 1562 }, |
| 1563 "ListJobsResponse": { |
| 1564 "description": "A list of jobs in a project.", |
| 1565 "id": "ListJobsResponse", |
| 1566 "properties": { |
| 1567 "jobs": { |
| 1568 "description": "[Output-only] Jobs list.", |
| 1569 "items": { |
| 1570 "$ref": "Job" |
| 1571 }, |
| 1572 "type": "array" |
| 1573 }, |
| 1574 "nextPageToken": { |
| 1575 "description": "[Optional] This token is included in the res
ponse if there are more results to fetch. To fetch additional results, provide t
his value as the `page_token` in a subsequent ListJobsRequest.", |
| 1576 "type": "string" |
| 1577 } |
| 1578 }, |
| 1579 "type": "object" |
| 1580 }, |
| 1581 "CancelJobRequest": { |
| 1582 "description": "A request to cancel a job.", |
| 1583 "id": "CancelJobRequest", |
| 1584 "type": "object" |
| 1585 }, |
| 1586 "Empty": { |
| 1587 "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: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for `Empty` is empty JSON object `{}`.", |
| 1588 "id": "Empty", |
| 1589 "type": "object" |
| 1590 }, |
| 1591 "ListOperationsResponse": { |
| 1592 "description": "The response message for Operations.ListOperations."
, |
| 1593 "id": "ListOperationsResponse", |
| 1594 "properties": { |
| 1595 "operations": { |
| 1596 "description": "A list of operations that matches the specif
ied filter in the request.", |
| 1597 "items": { |
| 1598 "$ref": "Operation" |
| 1599 }, |
| 1600 "type": "array" |
| 1601 }, |
| 1602 "nextPageToken": { |
| 1603 "description": "The standard List next-page token.", |
| 1604 "type": "string" |
| 1605 } |
| 1606 }, |
| 1607 "type": "object" |
| 1608 }, |
| 1609 "DiagnoseClusterResults": { |
| 1610 "description": "The location of diagnostic output.", |
| 1611 "id": "DiagnoseClusterResults", |
| 1612 "properties": { |
| 1613 "outputUri": { |
| 1614 "description": "[Output-only] The Google Cloud Storage URI o
f the diagnostic output. This is a plain text file with a summary of collected d
iagnostics.", |
| 1615 "type": "string" |
| 1616 } |
| 1617 }, |
| 1618 "type": "object" |
| 1619 }, |
| 1620 "ClusterOperationMetadata": { |
| 1621 "description": "Metadata describing the operation.", |
| 1622 "id": "ClusterOperationMetadata", |
| 1623 "properties": { |
| 1624 "clusterName": { |
| 1625 "description": "Name of the cluster for the operation.", |
| 1626 "type": "string" |
| 1627 }, |
| 1628 "clusterUuid": { |
| 1629 "description": "Cluster UUId for the operation.", |
| 1630 "type": "string" |
| 1631 }, |
| 1632 "status": { |
| 1633 "$ref": "ClusterOperationStatus", |
| 1634 "description": "[Output-only] Current operation status." |
| 1635 }, |
| 1636 "statusHistory": { |
| 1637 "description": "[Output-only] The previous operation status.
", |
| 1638 "items": { |
| 1639 "$ref": "ClusterOperationStatus" |
| 1640 }, |
| 1641 "type": "array" |
| 1642 }, |
| 1643 "operationType": { |
| 1644 "description": "[Output-only] The operation type.", |
| 1645 "type": "string" |
| 1646 }, |
| 1647 "description": { |
| 1648 "description": "[Output-only] Short description of operation
.", |
| 1649 "type": "string" |
| 1650 } |
| 1651 }, |
| 1652 "type": "object" |
| 1653 }, |
| 1654 "ClusterOperationStatus": { |
| 1655 "description": "The status of the operation.", |
| 1656 "id": "ClusterOperationStatus", |
| 1657 "properties": { |
| 1658 "state": { |
| 1659 "description": "A message containing the operation state.", |
| 1660 "enum": [ |
| 1661 "UNKNOWN", |
| 1662 "PENDING", |
| 1663 "RUNNING", |
| 1664 "DONE" |
| 1665 ], |
| 1666 "type": "string" |
| 1667 }, |
| 1668 "innerState": { |
| 1669 "description": "A message containing the detailed operation
state.", |
| 1670 "type": "string" |
| 1671 }, |
| 1672 "details": { |
| 1673 "description": "A message containing any operation metadata
details.", |
| 1674 "type": "string" |
| 1675 }, |
| 1676 "stateStartTime": { |
| 1677 "description": "The time this state was entered.", |
| 1678 "type": "string" |
| 1679 } |
| 1680 }, |
| 1681 "type": "object" |
| 1682 }, |
| 210 "DiagnoseClusterOutputLocation": { | 1683 "DiagnoseClusterOutputLocation": { |
| 211 "description": "The location where output from diagnostic command ca
n be found.", | 1684 "description": "The location where output from diagnostic command ca
n be found.", |
| 212 "id": "DiagnoseClusterOutputLocation", | 1685 "id": "DiagnoseClusterOutputLocation", |
| 213 "properties": { | 1686 "properties": { |
| 214 "outputUri": { | 1687 "outputUri": { |
| 215 "description": "[Output-only] The Google Cloud Storage URI o
f the diagnostic output. This will be a plain text file with summary of collecte
d diagnostics.", | 1688 "description": "[Output-only] The Google Cloud Storage URI o
f the diagnostic output. This will be a plain text file with summary of collecte
d diagnostics.", |
| 216 "type": "string" | 1689 "type": "string" |
| 217 } | 1690 } |
| 218 }, | 1691 }, |
| 219 "type": "object" | 1692 "type": "object" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 "status": { | 1736 "status": { |
| 264 "$ref": "OperationStatus", | 1737 "$ref": "OperationStatus", |
| 265 "description": "[Output-only] Current operation status." | 1738 "description": "[Output-only] Current operation status." |
| 266 }, | 1739 }, |
| 267 "statusHistory": { | 1740 "statusHistory": { |
| 268 "description": "[Output-only] Previous operation status.", | 1741 "description": "[Output-only] Previous operation status.", |
| 269 "items": { | 1742 "items": { |
| 270 "$ref": "OperationStatus" | 1743 "$ref": "OperationStatus" |
| 271 }, | 1744 }, |
| 272 "type": "array" | 1745 "type": "array" |
| 1746 }, |
| 1747 "operationType": { |
| 1748 "description": "[Output-only] The operation type.", |
| 1749 "type": "string" |
| 1750 }, |
| 1751 "description": { |
| 1752 "description": "[Output-only] Short description of operation
.", |
| 1753 "type": "string" |
| 273 } | 1754 } |
| 274 }, | 1755 }, |
| 275 "type": "object" | 1756 "type": "object" |
| 276 }, | 1757 }, |
| 277 "OperationStatus": { | 1758 "OperationStatus": { |
| 278 "description": "The status of the operation.", | 1759 "description": "The status of the operation.", |
| 279 "id": "OperationStatus", | 1760 "id": "OperationStatus", |
| 280 "properties": { | 1761 "properties": { |
| 281 "state": { | 1762 "state": { |
| 282 "description": "A message containing the operation state.", | 1763 "description": "A message containing the operation state.", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 301 "type": "string" | 1782 "type": "string" |
| 302 } | 1783 } |
| 303 }, | 1784 }, |
| 304 "type": "object" | 1785 "type": "object" |
| 305 } | 1786 } |
| 306 }, | 1787 }, |
| 307 "servicePath": "", | 1788 "servicePath": "", |
| 308 "title": "Google Cloud Dataproc API", | 1789 "title": "Google Cloud Dataproc API", |
| 309 "version": "v1" | 1790 "version": "v1" |
| 310 } | 1791 } |
| OLD | NEW |