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

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

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/content__v2sandbox.json ('k') | discovery/googleapis/datastore__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://dataproc.googleapis.com/", 12 "baseUrl": "https://dataproc.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platf orm.", 14 "description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
15 "discoveryVersion": "v1", 15 "discoveryVersion": "v1",
16 "documentationLink": "https://cloud.google.com/dataproc/", 16 "documentationLink": "https://cloud.google.com/dataproc/",
17 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/tFUpSbikiYUx1YQKdRQ2bGGumuA\"", 17 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/UWIx0i13luZLKjW6gmDu2evUqDA\"",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "dataproc:v1", 22 "id": "dataproc:v1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "dataproc", 24 "name": "dataproc",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 "location": "path", 277 "location": "path",
278 "required": true, 278 "required": true,
279 "type": "string" 279 "type": "string"
280 }, 280 },
281 "region": { 281 "region": {
282 "description": "[Required] The Cloud Dataproc region in which to handle the request.", 282 "description": "[Required] The Cloud Dataproc region in which to handle the request.",
283 "location": "path", 283 "location": "path",
284 "required": true, 284 "required": true,
285 "type": "string" 285 "type": "string"
286 }, 286 },
287 "filter": {
288 "description": "[Optional] A filter constraining the clusters to list. Filters are case-sensitive and have the follo wing syntax: field:value [field:value] ... or field = value [AND [field = value] ] ... where **field** is one of `status.state`, `clusterName`, or `labels.[KEY]` , and `[KEY]` is a label key. **value** can be `*` to match all values. `status. state` can be one of the following: `ACTIVE`, `INACTIVE`, `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` contains the `CREATING`, `UPDATING `, and `RUNNING` states. `INACTIVE` contains the `DELETING` and `ERROR` states. `clusterName` is the name of the cluster provided at creation time. Only the log ical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example valid filters are: status.state:ACTIVE cluster Name:mycluster labels.env:staging \\ labels.starred:* and status.state = ACTIVE AND clusterName = mycluster \\ AND labels.env = staging AND labels.starred = *",
289 "location": "query",
290 "type": "string"
291 },
287 "pageSize": { 292 "pageSize": {
288 "description": "The standard List pa ge size.", 293 "description": "[Optional] The stand ard List page size.",
289 "format": "int32", 294 "format": "int32",
290 "location": "query", 295 "location": "query",
291 "type": "integer" 296 "type": "integer"
292 }, 297 },
293 "pageToken": { 298 "pageToken": {
294 "description": "The standard List pa ge token.", 299 "description": "[Optional] The stand ard List page token.",
295 "location": "query", 300 "location": "query",
296 "type": "string" 301 "type": "string"
297 } 302 }
298 }, 303 },
299 "path": "v1/projects/{projectId}/regions/{re gion}/clusters", 304 "path": "v1/projects/{projectId}/regions/{re gion}/clusters",
300 "response": { 305 "response": {
301 "$ref": "ListClustersResponse" 306 "$ref": "ListClustersResponse"
302 }, 307 },
303 "scopes": [ 308 "scopes": [
304 "https://www.googleapis.com/auth/cloud-p latform" 309 "https://www.googleapis.com/auth/cloud-p latform"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 "description": "[Optional] The page token, returned by a previous call, to request the next page of results.", 454 "description": "[Optional] The page token, returned by a previous call, to request the next page of results.",
450 "location": "query", 455 "location": "query",
451 "type": "string" 456 "type": "string"
452 }, 457 },
453 "clusterName": { 458 "clusterName": {
454 "description": "[Optional] If set, t he returned jobs list includes only jobs that were submitted to the named cluste r.", 459 "description": "[Optional] If set, t he returned jobs list includes only jobs that were submitted to the named cluste r.",
455 "location": "query", 460 "location": "query",
456 "type": "string" 461 "type": "string"
457 }, 462 },
458 "jobStateMatcher": { 463 "jobStateMatcher": {
459 "description": "[Optional] Specifies enumerated categories of jobs to list.", 464 "description": "[Optional] Specifies enumerated categories of jobs to list (default = match ALL jobs).",
460 "enum": [ 465 "enum": [
461 "ALL", 466 "ALL",
462 "ACTIVE", 467 "ACTIVE",
463 "NON_ACTIVE" 468 "NON_ACTIVE"
464 ], 469 ],
465 "location": "query", 470 "location": "query",
466 "type": "string" 471 "type": "string"
472 },
473 "filter": {
474 "description": "[Optional] A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax: field:value] ... or [field = value] AND [field [= value]] ... where **f ield** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label key. **value* * can be `*` to match all values. `status.state` can be either `ACTIVE` or `INAC TIVE`. Only the logical `AND` operator is supported; space-separated items are t reated as having an implicit `AND` operator. Example valid filters are: status.s tate:ACTIVE labels.env:staging labels.starred:* and status.state = ACTIVE AND la bels.env = staging AND labels.starred = *",
475 "location": "query",
476 "type": "string"
467 } 477 }
468 }, 478 },
469 "path": "v1/projects/{projectId}/regions/{re gion}/jobs", 479 "path": "v1/projects/{projectId}/regions/{re gion}/jobs",
470 "response": { 480 "response": {
471 "$ref": "ListJobsResponse" 481 "$ref": "ListJobsResponse"
472 }, 482 },
473 "scopes": [ 483 "scopes": [
474 "https://www.googleapis.com/auth/cloud-p latform" 484 "https://www.googleapis.com/auth/cloud-p latform"
475 ] 485 ]
476 }, 486 },
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 "$ref": "Empty" 558 "$ref": "Empty"
549 }, 559 },
550 "scopes": [ 560 "scopes": [
551 "https://www.googleapis.com/auth/cloud-p latform" 561 "https://www.googleapis.com/auth/cloud-p latform"
552 ] 562 ]
553 } 563 }
554 } 564 }
555 }, 565 },
556 "operations": { 566 "operations": {
557 "methods": { 567 "methods": {
558 "get": {
559 "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.",
560 "httpMethod": "GET",
561 "id": "dataproc.projects.regions.operations. get",
562 "parameterOrder": [
563 "name"
564 ],
565 "parameters": {
566 "name": {
567 "description": "The name of the oper ation resource.",
568 "location": "path",
569 "pattern": "^projects/[^/]*/regions/ [^/]*/operations/[^/]*$",
570 "required": true,
571 "type": "string"
572 }
573 },
574 "path": "v1/{+name}",
575 "response": {
576 "$ref": "Operation"
577 },
578 "scopes": [
579 "https://www.googleapis.com/auth/cloud-p latform"
580 ]
581 },
582 "list": { 568 "list": {
583 "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`.", 569 "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`.",
584 "httpMethod": "GET", 570 "httpMethod": "GET",
585 "id": "dataproc.projects.regions.operations. list", 571 "id": "dataproc.projects.regions.operations. list",
586 "parameterOrder": [ 572 "parameterOrder": [
587 "name" 573 "name"
588 ], 574 ],
589 "parameters": { 575 "parameters": {
590 "name": { 576 "name": {
591 "description": "The name of the oper ation collection.", 577 "description": "The name of the oper ation collection.",
592 "location": "path", 578 "location": "path",
593 "pattern": "^projects/[^/]*/regions/ [^/]*/operations$", 579 "pattern": "^projects/[^/]+/regions/ [^/]+/operations$",
594 "required": true, 580 "required": true,
595 "type": "string" 581 "type": "string"
596 }, 582 },
597 "filter": { 583 "filter": {
598 "description": "The standard list fi lter.", 584 "description": "The standard list fi lter.",
599 "location": "query", 585 "location": "query",
600 "type": "string" 586 "type": "string"
601 }, 587 },
602 "pageSize": { 588 "pageSize": {
603 "description": "The standard list pa ge size.", 589 "description": "The standard list pa ge size.",
604 "format": "int32", 590 "format": "int32",
605 "location": "query", 591 "location": "query",
606 "type": "integer" 592 "type": "integer"
607 }, 593 },
608 "pageToken": { 594 "pageToken": {
609 "description": "The standard list pa ge token.", 595 "description": "The standard list pa ge token.",
610 "location": "query", 596 "location": "query",
611 "type": "string" 597 "type": "string"
612 } 598 }
613 }, 599 },
614 "path": "v1/{+name}", 600 "path": "v1/{+name}",
615 "response": { 601 "response": {
616 "$ref": "ListOperationsResponse" 602 "$ref": "ListOperationsResponse"
617 }, 603 },
618 "scopes": [ 604 "scopes": [
619 "https://www.googleapis.com/auth/cloud-p latform" 605 "https://www.googleapis.com/auth/cloud-p latform"
620 ] 606 ]
621 }, 607 },
622 "cancel": { 608 "get": {
623 "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.", 609 "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.",
624 "httpMethod": "POST", 610 "httpMethod": "GET",
625 "id": "dataproc.projects.regions.operations. cancel", 611 "id": "dataproc.projects.regions.operations. get",
626 "parameterOrder": [ 612 "parameterOrder": [
627 "name" 613 "name"
628 ], 614 ],
629 "parameters": { 615 "parameters": {
630 "name": { 616 "name": {
631 "description": "The name of the oper ation resource to be cancelled.", 617 "description": "The name of the oper ation resource.",
632 "location": "path", 618 "location": "path",
633 "pattern": "^projects/[^/]*/regions/ [^/]*/operations/[^/]*$", 619 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$",
634 "required": true, 620 "required": true,
635 "type": "string" 621 "type": "string"
636 } 622 }
637 }, 623 },
638 "path": "v1/{+name}:cancel", 624 "path": "v1/{+name}",
639 "response": { 625 "response": {
640 "$ref": "Empty" 626 "$ref": "Operation"
641 }, 627 },
642 "scopes": [ 628 "scopes": [
643 "https://www.googleapis.com/auth/cloud-p latform" 629 "https://www.googleapis.com/auth/cloud-p latform"
644 ] 630 ]
645 }, 631 },
646 "delete": { 632 "delete": {
647 "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`.", 633 "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`.",
648 "httpMethod": "DELETE", 634 "httpMethod": "DELETE",
649 "id": "dataproc.projects.regions.operations. delete", 635 "id": "dataproc.projects.regions.operations. delete",
650 "parameterOrder": [ 636 "parameterOrder": [
651 "name" 637 "name"
652 ], 638 ],
653 "parameters": { 639 "parameters": {
654 "name": { 640 "name": {
655 "description": "The name of the oper ation resource to be deleted.", 641 "description": "The name of the oper ation resource to be deleted.",
656 "location": "path", 642 "location": "path",
657 "pattern": "^projects/[^/]*/regions/ [^/]*/operations/[^/]*$", 643 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$",
658 "required": true, 644 "required": true,
659 "type": "string" 645 "type": "string"
660 } 646 }
661 }, 647 },
662 "path": "v1/{+name}", 648 "path": "v1/{+name}",
663 "response": { 649 "response": {
664 "$ref": "Empty" 650 "$ref": "Empty"
665 }, 651 },
666 "scopes": [ 652 "scopes": [
667 "https://www.googleapis.com/auth/cloud-p latform" 653 "https://www.googleapis.com/auth/cloud-p latform"
668 ] 654 ]
655 },
656 "cancel": {
657 "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. On successful cancellation, the op eration is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
658 "httpMethod": "POST",
659 "id": "dataproc.projects.regions.operations. cancel",
660 "parameterOrder": [
661 "name"
662 ],
663 "parameters": {
664 "name": {
665 "description": "The name of the oper ation resource to be cancelled.",
666 "location": "path",
667 "pattern": "^projects/[^/]+/regions/ [^/]+/operations/[^/]+$",
668 "required": true,
669 "type": "string"
670 }
671 },
672 "path": "v1/{+name}:cancel",
673 "response": {
674 "$ref": "Empty"
675 },
676 "scopes": [
677 "https://www.googleapis.com/auth/cloud-p latform"
678 ]
669 } 679 }
670 } 680 }
671 } 681 }
672 } 682 }
673 } 683 }
674 } 684 }
675 } 685 }
676 }, 686 },
677 "revision": "20160503", 687 "revision": "20161102",
678 "rootUrl": "https://dataproc.googleapis.com/", 688 "rootUrl": "https://dataproc.googleapis.com/",
679 "schemas": { 689 "schemas": {
680 "Cluster": { 690 "Cluster": {
681 "description": "Describes the identifying information, config, and s tatus of a cluster of Google Compute Engine instances.", 691 "description": "Describes the identifying information, config, and s tatus of a cluster of Google Compute Engine instances.",
682 "id": "Cluster", 692 "id": "Cluster",
683 "properties": { 693 "properties": {
684 "projectId": { 694 "projectId": {
685 "description": "[Required] The Google Cloud Platform project ID that the cluster belongs to.", 695 "description": "[Required] The Google Cloud Platform project ID that the cluster belongs to.",
686 "type": "string" 696 "type": "string"
687 }, 697 },
688 "clusterName": { 698 "clusterName": {
689 "description": "[Required] The cluster name. Cluster names w ithin a project must be unique. Names of deleted clusters can be reused.", 699 "description": "[Required] The cluster name. Cluster names w ithin a project must be unique. Names of deleted clusters can be reused.",
690 "type": "string" 700 "type": "string"
691 }, 701 },
692 "config": { 702 "config": {
693 "$ref": "ClusterConfig", 703 "$ref": "ClusterConfig",
694 "description": "[Required] The cluster config. Note that Clo ud Dataproc may set default values, and values may change when clusters are upda ted." 704 "description": "[Required] The cluster config. Note that Clo ud Dataproc may set default values, and values may change when clusters are upda ted."
695 }, 705 },
706 "labels": {
707 "additionalProperties": {
708 "type": "string"
709 },
710 "description": "[Optional] The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [R FC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, b ut, if present, must contain 1 to 63 characters, and must conform to [RFC 1035]( https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.",
711 "type": "object"
712 },
696 "status": { 713 "status": {
697 "$ref": "ClusterStatus", 714 "$ref": "ClusterStatus",
698 "description": "[Output-only] Cluster status." 715 "description": "[Output-only] Cluster status."
699 }, 716 },
700 "statusHistory": { 717 "statusHistory": {
701 "description": "[Output-only] The previous cluster status.", 718 "description": "[Output-only] The previous cluster status.",
702 "items": { 719 "items": {
703 "$ref": "ClusterStatus" 720 "$ref": "ClusterStatus"
704 }, 721 },
705 "type": "array" 722 "type": "array"
706 }, 723 },
707 "clusterUuid": { 724 "clusterUuid": {
708 "description": "[Output-only] A cluster UUID (Unique Univers al Identifier). Cloud Dataproc generates this value when it creates the cluster. ", 725 "description": "[Output-only] A cluster UUID (Unique Univers al Identifier). Cloud Dataproc generates this value when it creates the cluster. ",
709 "type": "string" 726 "type": "string"
727 },
728 "metrics": {
729 "$ref": "ClusterMetrics",
730 "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."
710 } 731 }
711 }, 732 },
712 "type": "object" 733 "type": "object"
713 }, 734 },
714 "ClusterConfig": { 735 "ClusterConfig": {
715 "description": "The cluster config.", 736 "description": "The cluster config.",
716 "id": "ClusterConfig", 737 "id": "ClusterConfig",
717 "properties": { 738 "properties": {
718 "configBucket": { 739 "configBucket": {
719 "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.", 740 "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.",
(...skipping 13 matching lines...) Expand all
733 }, 754 },
734 "secondaryWorkerConfig": { 755 "secondaryWorkerConfig": {
735 "$ref": "InstanceGroupConfig", 756 "$ref": "InstanceGroupConfig",
736 "description": "[Optional] The Google Compute Engine config settings for additional worker instances in a cluster." 757 "description": "[Optional] The Google Compute Engine config settings for additional worker instances in a cluster."
737 }, 758 },
738 "softwareConfig": { 759 "softwareConfig": {
739 "$ref": "SoftwareConfig", 760 "$ref": "SoftwareConfig",
740 "description": "[Optional] The config settings for software inside the cluster." 761 "description": "[Optional] The config settings for software inside the cluster."
741 }, 762 },
742 "initializationActions": { 763 "initializationActions": {
743 "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", 764 "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 using `curl` (you can also use `wget`): ROLE=$(cu rl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attribu tes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific ac tions ... else ... worker specific actions ... fi",
744 "items": { 765 "items": {
745 "$ref": "NodeInitializationAction" 766 "$ref": "NodeInitializationAction"
746 }, 767 },
747 "type": "array" 768 "type": "array"
748 } 769 }
749 }, 770 },
750 "type": "object" 771 "type": "object"
751 }, 772 },
752 "GceClusterConfig": { 773 "GceClusterConfig": {
753 "description": "Common config settings for resources of Google Compu te Engine cluster instances, applicable to all instances in the cluster.", 774 "description": "Common config settings for resources of Google Compu te Engine cluster instances, applicable to all instances in the cluster.",
754 "id": "GceClusterConfig", 775 "id": "GceClusterConfig",
755 "properties": { 776 "properties": {
756 "zoneUri": { 777 "zoneUri": {
757 "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]`.", 778 "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]`.",
758 "type": "string" 779 "type": "string"
759 }, 780 },
760 "networkUri": { 781 "networkUri": {
761 "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`.", 782 "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\" net work of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see [Using Subnetworks](/compute/docs/subnetworks) for more information). Exam ple: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global /default`.",
762 "type": "string" 783 "type": "string"
763 }, 784 },
764 "subnetworkUri": { 785 "subnetworkUri": {
765 "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`.", 786 "description": "[Optional] The Google Compute Engine subnetw ork to be used for machine communications. Cannot be specified with network_uri. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/u s-east1/sub0`.",
766 "type": "string" 787 "type": "string"
767 }, 788 },
789 "internalIpOnly": {
790 "description": "[Optional] If true, all instances in the clu ster will only have internal IP addresses. By default, clusters are not restrict ed to internal IP addresses, and will have ephemeral external IP addresses assig ned to each instance. This `internal_ip_only` restriction can only be enabled fo r subnetwork enabled networks, and all off-cluster dependencies must be configur ed to be accessible without external IP addresses.",
791 "type": "boolean"
792 },
768 "serviceAccountScopes": { 793 "serviceAccountScopes": {
769 "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", 794 "description": "[Optional] The URIs of service account scope s to be included in Google Compute Engine instances. The following base set of s copes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.r eadonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.go ogleapis.com/auth/logging.write If no scopes are specified, the following defaul ts are also provided: * https://www.googleapis.com/auth/bigquery * https://www.g oogleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtab le.data * https://www.googleapis.com/auth/devstorage.full_control",
770 "items": { 795 "items": {
771 "type": "string" 796 "type": "string"
772 }, 797 },
773 "type": "array" 798 "type": "array"
774 }, 799 },
775 "tags": { 800 "tags": {
776 "description": "The Google Compute Engine tags to add to all instances.", 801 "description": "The Google Compute Engine tags to add to all instances (see [Tagging instances](/compute/docs/label-or-tag-resources#tags)). ",
777 "items": { 802 "items": {
778 "type": "string" 803 "type": "string"
779 }, 804 },
780 "type": "array" 805 "type": "array"
781 }, 806 },
782 "metadata": { 807 "metadata": {
783 "additionalProperties": { 808 "additionalProperties": {
784 "type": "string" 809 "type": "string"
785 }, 810 },
786 "description": "The Google Compute Engine metadata entries t o add to all instances.", 811 "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)).",
787 "type": "object" 812 "type": "object"
788 } 813 }
789 }, 814 },
790 "type": "object" 815 "type": "object"
791 }, 816 },
792 "InstanceGroupConfig": { 817 "InstanceGroupConfig": {
793 "description": "The config settings for Google Compute Engine resour ces in an instance group, such as a master or worker group.", 818 "description": "[Optional] The config settings for Google Compute En gine resources in an instance group, such as a master or worker group.",
794 "id": "InstanceGroupConfig", 819 "id": "InstanceGroupConfig",
795 "properties": { 820 "properties": {
796 "numInstances": { 821 "numInstances": {
797 "description": "The number of VM instances in the instance g roup. For master instance groups, must be set to 1.", 822 "description": "[Required] The number of VM instances in the instance group. For master instance groups, must be set to 1.",
798 "format": "int32", 823 "format": "int32",
799 "type": "integer" 824 "type": "integer"
800 }, 825 },
801 "instanceNames": { 826 "instanceNames": {
802 "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) .", 827 "description": "[Optional] The list of instance names. Cloud Dataproc derives the names from `cluster_name`, `num_instances`, and the instan ce group if not set by user (recommended practice is to let Cloud Dataproc deriv e the name).",
803 "items": { 828 "items": {
804 "type": "string" 829 "type": "string"
805 }, 830 },
806 "type": "array" 831 "type": "array"
807 }, 832 },
808 "imageUri": { 833 "imageUri": {
809 "description": "[Output-only] The Google Compute Engine imag e resource used for cluster instances. Inferred from `SoftwareConfig.image_versi on`.", 834 "description": "[Output-only] The Google Compute Engine imag e resource used for cluster instances. Inferred from `SoftwareConfig.image_versi on`.",
810 "type": "string" 835 "type": "string"
811 }, 836 },
812 "machineTypeUri": { 837 "machineTypeUri": {
813 "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`.", 838 "description": "[Required] The Google Compute Engine machine type used for cluster instances. Example: `https://www.googleapis.com/compute/v 1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2`.",
814 "type": "string" 839 "type": "string"
815 }, 840 },
816 "diskConfig": { 841 "diskConfig": {
817 "$ref": "DiskConfig", 842 "$ref": "DiskConfig",
818 "description": "Disk option config settings." 843 "description": "[Optional] Disk option config settings."
819 }, 844 },
820 "isPreemptible": { 845 "isPreemptible": {
821 "description": "Specifies that this instance group contains Preemptible Instances.", 846 "description": "[Optional] Specifies that this instance grou p contains preemptible instances.",
822 "type": "boolean" 847 "type": "boolean"
823 }, 848 },
824 "managedGroupConfig": { 849 "managedGroupConfig": {
825 "$ref": "ManagedGroupConfig", 850 "$ref": "ManagedGroupConfig",
826 "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." 851 "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."
827 } 852 }
828 }, 853 },
829 "type": "object" 854 "type": "object"
830 }, 855 },
831 "DiskConfig": { 856 "DiskConfig": {
832 "description": "Specifies the config of disk options for a group of VM instances.", 857 "description": "Specifies the config of disk options for a group of VM instances.",
833 "id": "DiskConfig", 858 "id": "DiskConfig",
834 "properties": { 859 "properties": {
835 "bootDiskSizeGb": { 860 "bootDiskSizeGb": {
836 "description": "[Optional] Size in GB of the boot disk (defa ult is 500GB).", 861 "description": "[Optional] Size in GB of the boot disk (defa ult is 500GB).",
837 "format": "int32", 862 "format": "int32",
838 "type": "integer" 863 "type": "integer"
839 }, 864 },
840 "numLocalSsds": { 865 "numLocalSsds": {
841 "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.", 866 "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](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.",
842 "format": "int32", 867 "format": "int32",
843 "type": "integer" 868 "type": "integer"
844 } 869 }
845 }, 870 },
846 "type": "object" 871 "type": "object"
847 }, 872 },
848 "ManagedGroupConfig": { 873 "ManagedGroupConfig": {
849 "description": "Specifies the resources used to actively manage an i nstance group.", 874 "description": "Specifies the resources used to actively manage an i nstance group.",
850 "id": "ManagedGroupConfig", 875 "id": "ManagedGroupConfig",
851 "properties": { 876 "properties": {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 "type": "string" 916 "type": "string"
892 } 917 }
893 }, 918 },
894 "type": "object" 919 "type": "object"
895 }, 920 },
896 "ClusterStatus": { 921 "ClusterStatus": {
897 "description": "The status of a cluster and its instances.", 922 "description": "The status of a cluster and its instances.",
898 "id": "ClusterStatus", 923 "id": "ClusterStatus",
899 "properties": { 924 "properties": {
900 "state": { 925 "state": {
901 "description": "The cluster's state.", 926 "description": "[Output-only] The cluster's state.",
902 "enum": [ 927 "enum": [
903 "UNKNOWN", 928 "UNKNOWN",
904 "CREATING", 929 "CREATING",
905 "RUNNING", 930 "RUNNING",
906 "ERROR", 931 "ERROR",
907 "DELETING", 932 "DELETING",
908 "UPDATING" 933 "UPDATING"
909 ], 934 ],
910 "type": "string" 935 "type": "string"
911 }, 936 },
912 "detail": { 937 "detail": {
913 "description": "Optional details of cluster's state.", 938 "description": "[Output-only] Optional details of cluster's state.",
914 "type": "string" 939 "type": "string"
915 }, 940 },
916 "stateStartTime": { 941 "stateStartTime": {
917 "description": "Time when this state was entered.", 942 "description": "[Output-only] Time when this state was enter ed.",
918 "type": "string" 943 "type": "string"
919 } 944 }
920 }, 945 },
921 "type": "object" 946 "type": "object"
922 }, 947 },
948 "ClusterMetrics": {
949 "description": "Contains cluster daemon metrics, such as HDFS and YA RN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.",
950 "id": "ClusterMetrics",
951 "properties": {
952 "hdfsMetrics": {
953 "additionalProperties": {
954 "format": "int64",
955 "type": "string"
956 },
957 "description": "The HDFS metrics.",
958 "type": "object"
959 },
960 "yarnMetrics": {
961 "additionalProperties": {
962 "format": "int64",
963 "type": "string"
964 },
965 "description": "The YARN metrics.",
966 "type": "object"
967 }
968 },
969 "type": "object"
970 },
923 "Operation": { 971 "Operation": {
924 "description": "This resource represents a long-running operation th at is the result of a network API call.", 972 "description": "This resource represents a long-running operation th at is the result of a network API call.",
925 "id": "Operation", 973 "id": "Operation",
926 "properties": { 974 "properties": {
927 "name": { 975 "name": {
928 "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`." , 976 "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`." ,
929 "type": "string" 977 "type": "string"
930 }, 978 },
931 "metadata": { 979 "metadata": {
932 "additionalProperties": { 980 "additionalProperties": {
933 "description": "Properties of the object. Contains field @ype with type URL.", 981 "description": "Properties of the object. Contains field @type with type URL.",
934 "type": "any" 982 "type": "any"
935 }, 983 },
936 "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.", 984 "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.",
937 "type": "object" 985 "type": "object"
938 }, 986 },
939 "done": { 987 "done": {
940 "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.", 988 "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.",
941 "type": "boolean" 989 "type": "boolean"
942 }, 990 },
943 "error": { 991 "error": {
944 "$ref": "Status", 992 "$ref": "Status",
945 "description": "The error result of the operation in case of failure." 993 "description": "The error result of the operation in case of failure or cancellation."
946 }, 994 },
947 "response": { 995 "response": {
948 "additionalProperties": { 996 "additionalProperties": {
949 "description": "Properties of the object. Contains field @ype with type URL.", 997 "description": "Properties of the object. Contains field @type with type URL.",
950 "type": "any" 998 "type": "any"
951 }, 999 },
952 "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`.", 1000 "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`.",
953 "type": "object" 1001 "type": "object"
954 } 1002 }
955 }, 1003 },
956 "type": "object" 1004 "type": "object"
957 }, 1005 },
958 "Status": { 1006 "Status": {
959 "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.", 1007 "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.",
960 "id": "Status", 1008 "id": "Status",
961 "properties": { 1009 "properties": {
962 "code": { 1010 "code": {
963 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 1011 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
964 "format": "int32", 1012 "format": "int32",
965 "type": "integer" 1013 "type": "integer"
966 }, 1014 },
967 "message": { 1015 "message": {
968 "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.", 1016 "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.",
969 "type": "string" 1017 "type": "string"
970 }, 1018 },
971 "details": { 1019 "details": {
972 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.", 1020 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
973 "items": { 1021 "items": {
974 "additionalProperties": { 1022 "additionalProperties": {
975 "description": "Properties of the object. Contains f ield @ype with type URL.", 1023 "description": "Properties of the object. Contains f ield @type with type URL.",
976 "type": "any" 1024 "type": "any"
977 }, 1025 },
978 "type": "object" 1026 "type": "object"
979 }, 1027 },
980 "type": "array" 1028 "type": "array"
981 } 1029 }
982 }, 1030 },
983 "type": "object" 1031 "type": "object"
984 }, 1032 },
985 "ListClustersResponse": { 1033 "ListClustersResponse": {
986 "description": "The list of all clusters in a project.", 1034 "description": "The list of all clusters in a project.",
987 "id": "ListClustersResponse", 1035 "id": "ListClustersResponse",
988 "properties": { 1036 "properties": {
989 "clusters": { 1037 "clusters": {
990 "description": "[Output-only] The clusters in the project.", 1038 "description": "[Output-only] The clusters in the project.",
991 "items": { 1039 "items": {
992 "$ref": "Cluster" 1040 "$ref": "Cluster"
993 }, 1041 },
994 "type": "array" 1042 "type": "array"
995 }, 1043 },
996 "nextPageToken": { 1044 "nextPageToken": {
997 "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.", 1045 "description": "[Output-only] This token is included in the response if there are more results to fetch. To fetch additional results, provid e this value as the `page_token` in a subsequent ListClustersRequest.",
998 "type": "string" 1046 "type": "string"
999 } 1047 }
1000 }, 1048 },
1001 "type": "object" 1049 "type": "object"
1002 }, 1050 },
1003 "DiagnoseClusterRequest": { 1051 "DiagnoseClusterRequest": {
1004 "description": "A request to collect cluster diagnostic information. ", 1052 "description": "A request to collect cluster diagnostic information. ",
1005 "id": "DiagnoseClusterRequest", 1053 "id": "DiagnoseClusterRequest",
1006 "type": "object" 1054 "type": "object"
1007 }, 1055 },
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 "$ref": "JobStatus", 1104 "$ref": "JobStatus",
1057 "description": "[Output-only] The job status. Additional app lication-specific status information may be contained in the type_job and yarn_a pplications fields." 1105 "description": "[Output-only] The job status. Additional app lication-specific status information may be contained in the type_job and yarn_a pplications fields."
1058 }, 1106 },
1059 "statusHistory": { 1107 "statusHistory": {
1060 "description": "[Output-only] The previous job status.", 1108 "description": "[Output-only] The previous job status.",
1061 "items": { 1109 "items": {
1062 "$ref": "JobStatus" 1110 "$ref": "JobStatus"
1063 }, 1111 },
1064 "type": "array" 1112 "type": "array"
1065 }, 1113 },
1114 "yarnApplications": {
1115 "description": "[Output-only] The collection of YARN applica tions spun up by this job. **Beta** Feature: This report is available for testin g purposes only. It may be changed before final release.",
1116 "items": {
1117 "$ref": "YarnApplication"
1118 },
1119 "type": "array"
1120 },
1066 "driverOutputResourceUri": { 1121 "driverOutputResourceUri": {
1067 "description": "[Output-only] A URI pointing to the location of the stdout of the job's driver program.", 1122 "description": "[Output-only] A URI pointing to the location of the stdout of the job's driver program.",
1068 "type": "string" 1123 "type": "string"
1069 }, 1124 },
1070 "driverControlFilesUri": { 1125 "driverControlFilesUri": {
1071 "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`.", 1126 "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`.",
1072 "type": "string" 1127 "type": "string"
1128 },
1129 "labels": {
1130 "additionalProperties": {
1131 "type": "string"
1132 },
1133 "description": "[Optional] The labels to associate with this job. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1 035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](http s://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a job.",
1134 "type": "object"
1073 } 1135 }
1074 }, 1136 },
1075 "type": "object" 1137 "type": "object"
1076 }, 1138 },
1077 "JobReference": { 1139 "JobReference": {
1078 "description": "Encapsulates the full scoping used to reference a jo b.", 1140 "description": "Encapsulates the full scoping used to reference a jo b.",
1079 "id": "JobReference", 1141 "id": "JobReference",
1080 "properties": { 1142 "properties": {
1081 "projectId": { 1143 "projectId": {
1082 "description": "[Required] The ID of the Google Cloud Platfo rm project that the job belongs to.", 1144 "description": "[Required] The ID of the Google Cloud Platfo rm project that the job belongs to.",
1083 "type": "string" 1145 "type": "string"
1084 }, 1146 },
1085 "jobId": { 1147 "jobId": {
1086 "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.", 1148 "description": "[Optional] 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.",
1087 "type": "string" 1149 "type": "string"
1088 } 1150 }
1089 }, 1151 },
1090 "type": "object" 1152 "type": "object"
1091 }, 1153 },
1092 "JobPlacement": { 1154 "JobPlacement": {
1093 "description": "Cloud Dataproc job config.", 1155 "description": "Cloud Dataproc job config.",
1094 "id": "JobPlacement", 1156 "id": "JobPlacement",
1095 "properties": { 1157 "properties": {
1096 "clusterName": { 1158 "clusterName": {
1097 "description": "[Required] The name of the cluster where the job will be submitted.", 1159 "description": "[Required] The name of the cluster where the job will be submitted.",
1098 "type": "string" 1160 "type": "string"
1099 }, 1161 },
1100 "clusterUuid": { 1162 "clusterUuid": {
1101 "description": "[Output-only] A cluster UUID generated by th e Cloud Dataproc service when the job is submitted.", 1163 "description": "[Output-only] A cluster UUID generated by th e Cloud Dataproc service when the job is submitted.",
1102 "type": "string" 1164 "type": "string"
1103 } 1165 }
1104 }, 1166 },
1105 "type": "object" 1167 "type": "object"
1106 }, 1168 },
1107 "HadoopJob": { 1169 "HadoopJob": {
1108 "description": "A Cloud Dataproc job for running Hadoop MapReduce jo bs on YARN.", 1170 "description": "A Cloud Dataproc job for running [Apache Hadoop MapR educe](https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-map reduce-client-core/MapReduceTutorial.html) jobs on [Apache Hadoop YARN](https:// hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).",
1109 "id": "HadoopJob", 1171 "id": "HadoopJob",
1110 "properties": { 1172 "properties": {
1111 "mainJarFileUri": { 1173 "mainJarFileUri": {
1112 "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'", 1174 "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'",
1113 "type": "string" 1175 "type": "string"
1114 }, 1176 },
1115 "mainClass": { 1177 "mainClass": {
1116 "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`.", 1178 "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`.",
1117 "type": "string" 1179 "type": "string"
1118 }, 1180 },
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 ], 1239 ],
1178 "type": "string" 1240 "type": "string"
1179 }, 1241 },
1180 "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'", 1242 "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'",
1181 "type": "object" 1243 "type": "object"
1182 } 1244 }
1183 }, 1245 },
1184 "type": "object" 1246 "type": "object"
1185 }, 1247 },
1186 "SparkJob": { 1248 "SparkJob": {
1187 "description": "A Cloud Dataproc job for running Spark applications on YARN.", 1249 "description": "A Cloud Dataproc job for running [Apache Spark](http ://spark.apache.org/) applications on YARN.",
1188 "id": "SparkJob", 1250 "id": "SparkJob",
1189 "properties": { 1251 "properties": {
1190 "mainJarFileUri": { 1252 "mainJarFileUri": {
1191 "description": "The HCFS URI of the jar file that contains t he main class.", 1253 "description": "The HCFS URI of the jar file that contains t he main class.",
1192 "type": "string" 1254 "type": "string"
1193 }, 1255 },
1194 "mainClass": { 1256 "mainClass": {
1195 "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`.", 1257 "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`.",
1196 "type": "string" 1258 "type": "string"
1197 }, 1259 },
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 "type": "object" 1293 "type": "object"
1232 }, 1294 },
1233 "loggingConfig": { 1295 "loggingConfig": {
1234 "$ref": "LoggingConfig", 1296 "$ref": "LoggingConfig",
1235 "description": "[Optional] The runtime log config for job ex ecution." 1297 "description": "[Optional] The runtime log config for job ex ecution."
1236 } 1298 }
1237 }, 1299 },
1238 "type": "object" 1300 "type": "object"
1239 }, 1301 },
1240 "PySparkJob": { 1302 "PySparkJob": {
1241 "description": "A Cloud Dataproc job for running PySpark application s on YARN.", 1303 "description": "A Cloud Dataproc job for running [Apache PySpark](ht tps://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
1242 "id": "PySparkJob", 1304 "id": "PySparkJob",
1243 "properties": { 1305 "properties": {
1244 "mainPythonFileUri": { 1306 "mainPythonFileUri": {
1245 "description": "[Required] The HCFS URI of the main Python f ile to use as the driver. Must be a .py file.", 1307 "description": "[Required] The HCFS URI of the main Python f ile to use as the driver. Must be a .py file.",
1246 "type": "string" 1308 "type": "string"
1247 }, 1309 },
1248 "args": { 1310 "args": {
1249 "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.", 1311 "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.",
1250 "items": { 1312 "items": {
1251 "type": "string" 1313 "type": "string"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 "type": "object" 1350 "type": "object"
1289 }, 1351 },
1290 "loggingConfig": { 1352 "loggingConfig": {
1291 "$ref": "LoggingConfig", 1353 "$ref": "LoggingConfig",
1292 "description": "[Optional] The runtime log config for job ex ecution." 1354 "description": "[Optional] The runtime log config for job ex ecution."
1293 } 1355 }
1294 }, 1356 },
1295 "type": "object" 1357 "type": "object"
1296 }, 1358 },
1297 "HiveJob": { 1359 "HiveJob": {
1298 "description": "A Cloud Dataproc job for running Hive queries on YAR N.", 1360 "description": "A Cloud Dataproc job for running [Apache Hive](https ://hive.apache.org/) queries on YARN.",
1299 "id": "HiveJob", 1361 "id": "HiveJob",
1300 "properties": { 1362 "properties": {
1301 "queryFileUri": { 1363 "queryFileUri": {
1302 "description": "The HCFS URI of the script that contains Hiv e queries.", 1364 "description": "The HCFS URI of the script that contains Hiv e queries.",
1303 "type": "string" 1365 "type": "string"
1304 }, 1366 },
1305 "queryList": { 1367 "queryList": {
1306 "$ref": "QueryList", 1368 "$ref": "QueryList",
1307 "description": "A list of queries." 1369 "description": "A list of queries."
1308 }, 1370 },
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 "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\", ] } }", 1404 "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\", ] } }",
1343 "items": { 1405 "items": {
1344 "type": "string" 1406 "type": "string"
1345 }, 1407 },
1346 "type": "array" 1408 "type": "array"
1347 } 1409 }
1348 }, 1410 },
1349 "type": "object" 1411 "type": "object"
1350 }, 1412 },
1351 "PigJob": { 1413 "PigJob": {
1352 "description": "A Cloud Dataproc job for running Pig queries on YARN .", 1414 "description": "A Cloud Dataproc job for running [Apache Pig](https: //pig.apache.org/) queries on YARN.",
1353 "id": "PigJob", 1415 "id": "PigJob",
1354 "properties": { 1416 "properties": {
1355 "queryFileUri": { 1417 "queryFileUri": {
1356 "description": "The HCFS URI of the script that contains the Pig queries.", 1418 "description": "The HCFS URI of the script that contains the Pig queries.",
1357 "type": "string" 1419 "type": "string"
1358 }, 1420 },
1359 "queryList": { 1421 "queryList": {
1360 "$ref": "QueryList", 1422 "$ref": "QueryList",
1361 "description": "A list of queries." 1423 "description": "A list of queries."
1362 }, 1424 },
(...skipping 23 matching lines...) Expand all
1386 "type": "array" 1448 "type": "array"
1387 }, 1449 },
1388 "loggingConfig": { 1450 "loggingConfig": {
1389 "$ref": "LoggingConfig", 1451 "$ref": "LoggingConfig",
1390 "description": "[Optional] The runtime log config for job ex ecution." 1452 "description": "[Optional] The runtime log config for job ex ecution."
1391 } 1453 }
1392 }, 1454 },
1393 "type": "object" 1455 "type": "object"
1394 }, 1456 },
1395 "SparkSqlJob": { 1457 "SparkSqlJob": {
1396 "description": "A Cloud Dataproc job for running Spark SQL queries." , 1458 "description": "A Cloud Dataproc job for running [Apache Spark SQL]( http://spark.apache.org/sql/) queries.",
1397 "id": "SparkSqlJob", 1459 "id": "SparkSqlJob",
1398 "properties": { 1460 "properties": {
1399 "queryFileUri": { 1461 "queryFileUri": {
1400 "description": "The HCFS URI of the script that contains SQL queries.", 1462 "description": "The HCFS URI of the script that contains SQL queries.",
1401 "type": "string" 1463 "type": "string"
1402 }, 1464 },
1403 "queryList": { 1465 "queryList": {
1404 "$ref": "QueryList", 1466 "$ref": "QueryList",
1405 "description": "A list of queries." 1467 "description": "A list of queries."
1406 }, 1468 },
(...skipping 23 matching lines...) Expand all
1430 "description": "[Optional] The runtime log config for job ex ecution." 1492 "description": "[Optional] The runtime log config for job ex ecution."
1431 } 1493 }
1432 }, 1494 },
1433 "type": "object" 1495 "type": "object"
1434 }, 1496 },
1435 "JobStatus": { 1497 "JobStatus": {
1436 "description": "Cloud Dataproc job status.", 1498 "description": "Cloud Dataproc job status.",
1437 "id": "JobStatus", 1499 "id": "JobStatus",
1438 "properties": { 1500 "properties": {
1439 "state": { 1501 "state": {
1440 "description": "[Required] A state message specifying the ov erall job state.", 1502 "description": "[Output-only] A state message specifying the overall job state.",
1441 "enum": [ 1503 "enum": [
1442 "STATE_UNSPECIFIED", 1504 "STATE_UNSPECIFIED",
1443 "PENDING", 1505 "PENDING",
1444 "SETUP_DONE", 1506 "SETUP_DONE",
1445 "RUNNING", 1507 "RUNNING",
1446 "CANCEL_PENDING", 1508 "CANCEL_PENDING",
1447 "CANCEL_STARTED", 1509 "CANCEL_STARTED",
1448 "CANCELLED", 1510 "CANCELLED",
1449 "DONE", 1511 "DONE",
1450 "ERROR" 1512 "ERROR"
1451 ], 1513 ],
1452 "type": "string" 1514 "type": "string"
1453 }, 1515 },
1454 "details": { 1516 "details": {
1455 "description": "[Optional] Job state details, such as an err or description if the state is ERROR.", 1517 "description": "[Output-only] Optional job state details, su ch as an error description if the state is ERROR.",
1456 "type": "string" 1518 "type": "string"
1457 }, 1519 },
1458 "stateStartTime": { 1520 "stateStartTime": {
1459 "description": "[Output-only] The time when this state was e ntered.", 1521 "description": "[Output-only] The time when this state was e ntered.",
1460 "type": "string" 1522 "type": "string"
1461 } 1523 }
1462 }, 1524 },
1463 "type": "object" 1525 "type": "object"
1464 }, 1526 },
1527 "YarnApplication": {
1528 "description": "A YARN application created by a job. Application inf ormation is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationRepor tProto. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.",
1529 "id": "YarnApplication",
1530 "properties": {
1531 "name": {
1532 "description": "[Required] The application name.",
1533 "type": "string"
1534 },
1535 "state": {
1536 "description": "[Required] The application state.",
1537 "enum": [
1538 "STATE_UNSPECIFIED",
1539 "NEW",
1540 "NEW_SAVING",
1541 "SUBMITTED",
1542 "ACCEPTED",
1543 "RUNNING",
1544 "FINISHED",
1545 "FAILED",
1546 "KILLED"
1547 ],
1548 "type": "string"
1549 },
1550 "progress": {
1551 "description": "[Required] The numerical progress of the app lication, from 1 to 100.",
1552 "format": "float",
1553 "type": "number"
1554 },
1555 "trackingUrl": {
1556 "description": "[Optional] The HTTP URL of the ApplicationMa ster, HistoryServer, or TimelineServer that provides application-specific inform ation. The URL uses the internal hostname, and requires a proxy server for resol ution and, possibly, access.",
1557 "type": "string"
1558 }
1559 },
1560 "type": "object"
1561 },
1465 "ListJobsResponse": { 1562 "ListJobsResponse": {
1466 "description": "A list of jobs in a project.", 1563 "description": "A list of jobs in a project.",
1467 "id": "ListJobsResponse", 1564 "id": "ListJobsResponse",
1468 "properties": { 1565 "properties": {
1469 "jobs": { 1566 "jobs": {
1470 "description": "[Output-only] Jobs list.", 1567 "description": "[Output-only] Jobs list.",
1471 "items": { 1568 "items": {
1472 "$ref": "Job" 1569 "$ref": "Job"
1473 }, 1570 },
1474 "type": "array" 1571 "type": "array"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1506 "type": "string" 1603 "type": "string"
1507 } 1604 }
1508 }, 1605 },
1509 "type": "object" 1606 "type": "object"
1510 }, 1607 },
1511 "DiagnoseClusterResults": { 1608 "DiagnoseClusterResults": {
1512 "description": "The location of diagnostic output.", 1609 "description": "The location of diagnostic output.",
1513 "id": "DiagnoseClusterResults", 1610 "id": "DiagnoseClusterResults",
1514 "properties": { 1611 "properties": {
1515 "outputUri": { 1612 "outputUri": {
1516 "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.", 1613 "description": "[Output-only] The Google Cloud Storage URI o f the diagnostic output. The output report is a plain text file with a summary o f collected diagnostics.",
1517 "type": "string" 1614 "type": "string"
1518 } 1615 }
1519 }, 1616 },
1520 "type": "object" 1617 "type": "object"
1521 }, 1618 },
1522 "ClusterOperationMetadata": { 1619 "ClusterOperationMetadata": {
1523 "description": "Metadata describing the operation.", 1620 "description": "Metadata describing the operation.",
1524 "id": "ClusterOperationMetadata", 1621 "id": "ClusterOperationMetadata",
1525 "properties": { 1622 "properties": {
1526 "clusterName": { 1623 "clusterName": {
1527 "description": "Name of the cluster for the operation.", 1624 "description": "[Output-only] Name of the cluster for the op eration.",
1528 "type": "string" 1625 "type": "string"
1529 }, 1626 },
1530 "clusterUuid": { 1627 "clusterUuid": {
1531 "description": "Cluster UUId for the operation.", 1628 "description": "[Output-only] Cluster UUID for the operation .",
1532 "type": "string" 1629 "type": "string"
1533 }, 1630 },
1534 "status": { 1631 "status": {
1535 "$ref": "ClusterOperationStatus", 1632 "$ref": "ClusterOperationStatus",
1536 "description": "[Output-only] Current operation status." 1633 "description": "[Output-only] Current operation status."
1537 }, 1634 },
1538 "statusHistory": { 1635 "statusHistory": {
1539 "description": "[Output-only] The previous operation status. ", 1636 "description": "[Output-only] The previous operation status. ",
1540 "items": { 1637 "items": {
1541 "$ref": "ClusterOperationStatus" 1638 "$ref": "ClusterOperationStatus"
1542 }, 1639 },
1543 "type": "array" 1640 "type": "array"
1544 }, 1641 },
1545 "operationType": { 1642 "operationType": {
1546 "description": "[Output-only] The operation type.", 1643 "description": "[Output-only] The operation type.",
1547 "type": "string" 1644 "type": "string"
1548 }, 1645 },
1549 "description": { 1646 "description": {
1550 "description": "[Output-only] Short description of operation .", 1647 "description": "[Output-only] Short description of operation .",
1551 "type": "string" 1648 "type": "string"
1649 },
1650 "labels": {
1651 "additionalProperties": {
1652 "type": "string"
1653 },
1654 "description": "[Output-only] labels associated with the ope ration",
1655 "type": "object"
1552 } 1656 }
1553 }, 1657 },
1554 "type": "object" 1658 "type": "object"
1555 }, 1659 },
1556 "ClusterOperationStatus": { 1660 "ClusterOperationStatus": {
1557 "description": "The status of the operation.", 1661 "description": "The status of the operation.",
1558 "id": "ClusterOperationStatus", 1662 "id": "ClusterOperationStatus",
1559 "properties": { 1663 "properties": {
1560 "state": { 1664 "state": {
1561 "description": "A message containing the operation state.", 1665 "description": "[Output-only] A message containing the opera tion state.",
1562 "enum": [ 1666 "enum": [
1563 "UNKNOWN", 1667 "UNKNOWN",
1564 "PENDING", 1668 "PENDING",
1565 "RUNNING", 1669 "RUNNING",
1566 "DONE" 1670 "DONE"
1567 ], 1671 ],
1568 "type": "string" 1672 "type": "string"
1569 }, 1673 },
1570 "innerState": { 1674 "innerState": {
1571 "description": "A message containing the detailed operation state.", 1675 "description": "[Output-only] A message containing the detai led operation state.",
1572 "type": "string" 1676 "type": "string"
1573 }, 1677 },
1574 "details": { 1678 "details": {
1575 "description": "A message containing any operation metadata details.", 1679 "description": "[Output-only]A message containing any operat ion metadata details.",
1576 "type": "string" 1680 "type": "string"
1577 }, 1681 },
1578 "stateStartTime": { 1682 "stateStartTime": {
1579 "description": "The time this state was entered.", 1683 "description": "[Output-only] The time this state was entere d.",
1580 "type": "string" 1684 "type": "string"
1581 } 1685 }
1582 }, 1686 },
1583 "type": "object" 1687 "type": "object"
1584 }, 1688 },
1585 "DiagnoseClusterOutputLocation": { 1689 "DiagnoseClusterOutputLocation": {
1586 "description": "The location where output from diagnostic command ca n be found.", 1690 "description": "The location where output from diagnostic command ca n be found.",
1587 "id": "DiagnoseClusterOutputLocation", 1691 "id": "DiagnoseClusterOutputLocation",
1588 "properties": { 1692 "properties": {
1589 "outputUri": { 1693 "outputUri": {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 "type": "string" 1788 "type": "string"
1685 } 1789 }
1686 }, 1790 },
1687 "type": "object" 1791 "type": "object"
1688 } 1792 }
1689 }, 1793 },
1690 "servicePath": "", 1794 "servicePath": "",
1691 "title": "Google Cloud Dataproc API", 1795 "title": "Google Cloud Dataproc API",
1692 "version": "v1" 1796 "version": "v1"
1693 } 1797 }
OLDNEW
« no previous file with comments | « discovery/googleapis/content__v2sandbox.json ('k') | discovery/googleapis/datastore__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698