| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 } | 7 } |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 }, | 10 }, |
| 11 "basePath": "", | 11 "basePath": "", |
| 12 "baseUrl": "https://dataproc.googleapis.com/", | 12 "baseUrl": "https://dataproc.googleapis.com/", |
| 13 "batchPath": "batch", | 13 "batchPath": "batch", |
| 14 "description": "An API for managing Hadoop-based clusters and jobs on Google
Cloud Platform.", | 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": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/J2wq1WcZfpjeQfZa1hSleFHi_7g\"", | 17 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/moJSD8ChiA3_GeWvn2rNFBXMhlQ\"", |
| 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:v1beta1", | 22 "id": "dataproc:v1beta1", |
| 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}:diagnose", | 292 "path": "v1beta1/projects/{projectId}/clusters/{clus
terName}:diagnose", |
| 293 "request": { | 293 "request": { |
| 294 "$ref": "DiagnoseClusterRequest" | 294 "$ref": "DiagnoseClusterRequest" |
| 295 }, | 295 }, |
| 296 "response": { | 296 "response": { |
| 297 "$ref": "Operation" | 297 "$ref": "Operation" |
| 298 }, | 298 }, |
| 299 "scopes": [ | 299 "scopes": [ |
| 300 "https://www.googleapis.com/auth/cloud-platform" | 300 "https://www.googleapis.com/auth/cloud-platform" |
| 301 ] | 301 ] |
| 302 }, |
| 303 "setIamPolicy": { |
| 304 "description": "Sets the access control policy on th
e specified resource. Replaces any existing policy.", |
| 305 "httpMethod": "POST", |
| 306 "id": "dataproc.projects.clusters.setIamPolicy", |
| 307 "parameterOrder": [ |
| 308 "resource" |
| 309 ], |
| 310 "parameters": { |
| 311 "resource": { |
| 312 "description": "REQUIRED: The resource for w
hich the policy is being specified. `resource` is usually specified as a path, s
uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s
pecified in this value is resource specific and is specified in the `setIamPolic
y` documentation.", |
| 313 "location": "path", |
| 314 "pattern": "^projects/[^/]*/clusters/[^/]*$"
, |
| 315 "required": true, |
| 316 "type": "string" |
| 317 } |
| 318 }, |
| 319 "path": "v1beta1/{+resource}:setIamPolicy", |
| 320 "request": { |
| 321 "$ref": "SetIamPolicyRequest" |
| 322 }, |
| 323 "response": { |
| 324 "$ref": "Policy" |
| 325 }, |
| 326 "scopes": [ |
| 327 "https://www.googleapis.com/auth/cloud-platform" |
| 328 ] |
| 329 }, |
| 330 "getIamPolicy": { |
| 331 "description": "Gets the access control policy for a
`resource`. Returns an empty policy if the resource exists and does not have a
policy set.", |
| 332 "httpMethod": "GET", |
| 333 "id": "dataproc.projects.clusters.getIamPolicy", |
| 334 "parameterOrder": [ |
| 335 "resource" |
| 336 ], |
| 337 "parameters": { |
| 338 "resource": { |
| 339 "description": "REQUIRED: The resource for w
hich the policy is being requested. `resource` is usually specified as a path, s
uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s
pecified in this value is resource specific and is specified in the `getIamPolic
y` documentation.", |
| 340 "location": "path", |
| 341 "pattern": "^projects/[^/]*/clusters/[^/]*$"
, |
| 342 "required": true, |
| 343 "type": "string" |
| 344 } |
| 345 }, |
| 346 "path": "v1beta1/{+resource}:getIamPolicy", |
| 347 "response": { |
| 348 "$ref": "Policy" |
| 349 }, |
| 350 "scopes": [ |
| 351 "https://www.googleapis.com/auth/cloud-platform" |
| 352 ] |
| 353 }, |
| 354 "testIamPermissions": { |
| 355 "description": "Returns permissions that a caller ha
s on the specified resource.", |
| 356 "httpMethod": "POST", |
| 357 "id": "dataproc.projects.clusters.testIamPermissions
", |
| 358 "parameterOrder": [ |
| 359 "resource" |
| 360 ], |
| 361 "parameters": { |
| 362 "resource": { |
| 363 "description": "REQUIRED: The resource for w
hich the policy detail is being requested. `resource` is usually specified as a
path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the
path specified in this value is resource specific and is specified in the `test
IamPermissions` documentation.", |
| 364 "location": "path", |
| 365 "pattern": "^projects/[^/]*/clusters/[^/]*$"
, |
| 366 "required": true, |
| 367 "type": "string" |
| 368 } |
| 369 }, |
| 370 "path": "v1beta1/{+resource}:testIamPermissions", |
| 371 "request": { |
| 372 "$ref": "TestIamPermissionsRequest" |
| 373 }, |
| 374 "response": { |
| 375 "$ref": "TestIamPermissionsResponse" |
| 376 }, |
| 377 "scopes": [ |
| 378 "https://www.googleapis.com/auth/cloud-platform" |
| 379 ] |
| 302 } | 380 } |
| 303 } | 381 } |
| 304 }, | 382 }, |
| 305 "jobs": { | 383 "jobs": { |
| 306 "methods": { | 384 "methods": { |
| 307 "submit": { | 385 "submit": { |
| 308 "description": "Submits a job to a cluster.", | 386 "description": "Submits a job to a cluster.", |
| 309 "httpMethod": "POST", | 387 "httpMethod": "POST", |
| 310 "id": "dataproc.projects.jobs.submit", | 388 "id": "dataproc.projects.jobs.submit", |
| 311 "parameterOrder": [ | 389 "parameterOrder": [ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 "type": "string" | 542 "type": "string" |
| 465 } | 543 } |
| 466 }, | 544 }, |
| 467 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", | 545 "path": "v1beta1/projects/{projectId}/jobs/{jobId}", |
| 468 "response": { | 546 "response": { |
| 469 "$ref": "Empty" | 547 "$ref": "Empty" |
| 470 }, | 548 }, |
| 471 "scopes": [ | 549 "scopes": [ |
| 472 "https://www.googleapis.com/auth/cloud-platform" | 550 "https://www.googleapis.com/auth/cloud-platform" |
| 473 ] | 551 ] |
| 552 }, |
| 553 "setIamPolicy": { |
| 554 "description": "Sets the access control policy on th
e specified resource. Replaces any existing policy.", |
| 555 "httpMethod": "POST", |
| 556 "id": "dataproc.projects.jobs.setIamPolicy", |
| 557 "parameterOrder": [ |
| 558 "resource" |
| 559 ], |
| 560 "parameters": { |
| 561 "resource": { |
| 562 "description": "REQUIRED: The resource for w
hich the policy is being specified. `resource` is usually specified as a path, s
uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s
pecified in this value is resource specific and is specified in the `setIamPolic
y` documentation.", |
| 563 "location": "path", |
| 564 "pattern": "^projects/[^/]*/jobs/[^/]*$", |
| 565 "required": true, |
| 566 "type": "string" |
| 567 } |
| 568 }, |
| 569 "path": "v1beta1/{+resource}:setIamPolicy", |
| 570 "request": { |
| 571 "$ref": "SetIamPolicyRequest" |
| 572 }, |
| 573 "response": { |
| 574 "$ref": "Policy" |
| 575 }, |
| 576 "scopes": [ |
| 577 "https://www.googleapis.com/auth/cloud-platform" |
| 578 ] |
| 579 }, |
| 580 "getIamPolicy": { |
| 581 "description": "Gets the access control policy for a
`resource`. Returns an empty policy if the resource exists and does not have a
policy set.", |
| 582 "httpMethod": "GET", |
| 583 "id": "dataproc.projects.jobs.getIamPolicy", |
| 584 "parameterOrder": [ |
| 585 "resource" |
| 586 ], |
| 587 "parameters": { |
| 588 "resource": { |
| 589 "description": "REQUIRED: The resource for w
hich the policy is being requested. `resource` is usually specified as a path, s
uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s
pecified in this value is resource specific and is specified in the `getIamPolic
y` documentation.", |
| 590 "location": "path", |
| 591 "pattern": "^projects/[^/]*/jobs/[^/]*$", |
| 592 "required": true, |
| 593 "type": "string" |
| 594 } |
| 595 }, |
| 596 "path": "v1beta1/{+resource}:getIamPolicy", |
| 597 "response": { |
| 598 "$ref": "Policy" |
| 599 }, |
| 600 "scopes": [ |
| 601 "https://www.googleapis.com/auth/cloud-platform" |
| 602 ] |
| 603 }, |
| 604 "testIamPermissions": { |
| 605 "description": "Returns permissions that a caller ha
s on the specified resource.", |
| 606 "httpMethod": "POST", |
| 607 "id": "dataproc.projects.jobs.testIamPermissions", |
| 608 "parameterOrder": [ |
| 609 "resource" |
| 610 ], |
| 611 "parameters": { |
| 612 "resource": { |
| 613 "description": "REQUIRED: The resource for w
hich the policy detail is being requested. `resource` is usually specified as a
path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the
path specified in this value is resource specific and is specified in the `test
IamPermissions` documentation.", |
| 614 "location": "path", |
| 615 "pattern": "^projects/[^/]*/jobs/[^/]*$", |
| 616 "required": true, |
| 617 "type": "string" |
| 618 } |
| 619 }, |
| 620 "path": "v1beta1/{+resource}:testIamPermissions", |
| 621 "request": { |
| 622 "$ref": "TestIamPermissionsRequest" |
| 623 }, |
| 624 "response": { |
| 625 "$ref": "TestIamPermissionsResponse" |
| 626 }, |
| 627 "scopes": [ |
| 628 "https://www.googleapis.com/auth/cloud-platform" |
| 629 ] |
| 474 } | 630 } |
| 475 } | 631 } |
| 476 } | 632 } |
| 477 } | 633 } |
| 478 }, | 634 }, |
| 479 "operations": { | 635 "operations": { |
| 480 "methods": { | 636 "methods": { |
| 481 "get": { | 637 "get": { |
| 482 "description": "Gets the latest state of a long-running oper
ation. Clients can use this method to poll the operation result at intervals as
recommended by the API service.", | 638 "description": "Gets the latest state of a long-running oper
ation. Clients can use this method to poll the operation result at intervals as
recommended by the API service.", |
| 483 "httpMethod": "GET", | 639 "httpMethod": "GET", |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 "response": { | 745 "response": { |
| 590 "$ref": "Empty" | 746 "$ref": "Empty" |
| 591 }, | 747 }, |
| 592 "scopes": [ | 748 "scopes": [ |
| 593 "https://www.googleapis.com/auth/cloud-platform" | 749 "https://www.googleapis.com/auth/cloud-platform" |
| 594 ] | 750 ] |
| 595 } | 751 } |
| 596 } | 752 } |
| 597 } | 753 } |
| 598 }, | 754 }, |
| 599 "revision": "20151209", | 755 "revision": "20160219", |
| 600 "rootUrl": "https://dataproc.googleapis.com/", | 756 "rootUrl": "https://dataproc.googleapis.com/", |
| 601 "schemas": { | 757 "schemas": { |
| 602 "Cluster": { | 758 "Cluster": { |
| 603 "description": "Describes the identifying information, configuration
, and status of a cluster of Google Compute Engine instances.", | 759 "description": "Describes the identifying information, configuration
, and status of a cluster of Google Compute Engine instances.", |
| 604 "id": "Cluster", | 760 "id": "Cluster", |
| 605 "properties": { | 761 "properties": { |
| 606 "projectId": { | 762 "projectId": { |
| 607 "description": "[Required] The Google Cloud Platform project
ID that the cluster belongs to.", | 763 "description": "[Required] The Google Cloud Platform project
ID that the cluster belongs to.", |
| 608 "type": "string" | 764 "type": "string" |
| 609 }, | 765 }, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 "type": "array" | 825 "type": "array" |
| 670 } | 826 } |
| 671 }, | 827 }, |
| 672 "type": "object" | 828 "type": "object" |
| 673 }, | 829 }, |
| 674 "GceClusterConfiguration": { | 830 "GceClusterConfiguration": { |
| 675 "description": "Common configuration settings for resources of Googl
e Compute Engine cluster instances, applicable to all instances in the cluster."
, | 831 "description": "Common configuration settings for resources of Googl
e Compute Engine cluster instances, applicable to all instances in the cluster."
, |
| 676 "id": "GceClusterConfiguration", | 832 "id": "GceClusterConfiguration", |
| 677 "properties": { | 833 "properties": { |
| 678 "zoneUri": { | 834 "zoneUri": { |
| 679 "description": "[Required] The zone where the Google Compute
Engine cluster will be located. Example: `compute.googleapis.com/projects/[proj
ect_id]/zones/us-east1-a`.", | 835 "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]`.", |
| 680 "type": "string" | 836 "type": "string" |
| 681 }, | 837 }, |
| 682 "networkUri": { | 838 "networkUri": { |
| 683 "description": "The Google Compute Engine network to be used
for machine communications. Inbound SSH connections are necessary to complete c
luster configuration. Example: `compute.googleapis.com/projects/[project_id]/zon
es/us-east1-a/default`.", | 839 "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`.", |
| 840 "type": "string" |
| 841 }, |
| 842 "subnetworkUri": { |
| 843 "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`.", |
| 684 "type": "string" | 844 "type": "string" |
| 685 }, | 845 }, |
| 686 "serviceAccountScopes": { | 846 "serviceAccountScopes": { |
| 687 "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", | 847 "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", |
| 688 "items": { | 848 "items": { |
| 689 "type": "string" | 849 "type": "string" |
| 690 }, | 850 }, |
| 691 "type": "array" | 851 "type": "array" |
| 852 }, |
| 853 "tags": { |
| 854 "description": "The Google Compute Engine tags to add to all
instances.", |
| 855 "items": { |
| 856 "type": "string" |
| 857 }, |
| 858 "type": "array" |
| 859 }, |
| 860 "metadata": { |
| 861 "additionalProperties": { |
| 862 "type": "string" |
| 863 }, |
| 864 "description": "The Google Compute Engine metadata entries t
o add to all instances.", |
| 865 "type": "object" |
| 692 } | 866 } |
| 693 }, | 867 }, |
| 694 "type": "object" | 868 "type": "object" |
| 695 }, | 869 }, |
| 696 "InstanceGroupConfiguration": { | 870 "InstanceGroupConfiguration": { |
| 697 "description": "The configuration settings for Google Compute Engine
resources in an instance group, such as a master or worker group.", | 871 "description": "The configuration settings for Google Compute Engine
resources in an instance group, such as a master or worker group.", |
| 698 "id": "InstanceGroupConfiguration", | 872 "id": "InstanceGroupConfiguration", |
| 699 "properties": { | 873 "properties": { |
| 700 "numInstances": { | 874 "numInstances": { |
| 701 "description": "The number of VM instances in the instance g
roup. For master instance groups, must be set to 1.", | 875 "description": "The number of VM instances in the instance g
roup. For master instance groups, must be set to 1.", |
| 702 "format": "int32", | 876 "format": "int32", |
| 703 "type": "integer" | 877 "type": "integer" |
| 704 }, | 878 }, |
| 705 "instanceNames": { | 879 "instanceNames": { |
| 706 "description": "The list of instance names. Dataproc derives
the names from `cluster_name`, `num_instances`, and the instance group if not s
et by user (recommended practice is to let Dataproc derive the name).", | 880 "description": "The list of instance names. Dataproc derives
the names from `cluster_name`, `num_instances`, and the instance group if not s
et by user (recommended practice is to let Dataproc derive the name).", |
| 707 "items": { | 881 "items": { |
| 708 "type": "string" | 882 "type": "string" |
| 709 }, | 883 }, |
| 710 "type": "array" | 884 "type": "array" |
| 711 }, | 885 }, |
| 712 "imageUri": { | 886 "imageUri": { |
| 713 "description": "[Output-only] The Google Compute Engine imag
e resource used for cluster instances. Inferred from `SoftwareConfiguration.imag
e_version`. Example: `compute.googleapis.com/projects/debian-cloud/global/images
/backports-debian-7-wheezy-v20140904`.", | 887 "description": "[Output-only] The Google Compute Engine imag
e resource used for cluster instances. Inferred from `SoftwareConfiguration.imag
e_version`.", |
| 714 "type": "string" | 888 "type": "string" |
| 715 }, | 889 }, |
| 716 "machineTypeUri": { | 890 "machineTypeUri": { |
| 717 "description": "The Google Compute Engine machine type used
for cluster instances. Example: `compute.googleapis.com/projects/[project_id]/zo
nes/us-east1-a/machineTypes/n1-standard-2`.", | 891 "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`.", |
| 718 "type": "string" | 892 "type": "string" |
| 719 }, | 893 }, |
| 720 "diskConfiguration": { | 894 "diskConfiguration": { |
| 721 "$ref": "DiskConfiguration", | 895 "$ref": "DiskConfiguration", |
| 722 "description": "Disk option configuration settings." | 896 "description": "Disk option configuration settings." |
| 723 }, | 897 }, |
| 724 "isPreemptible": { | 898 "isPreemptible": { |
| 725 "description": "Specifies that this instance group contains
Preemptible Instances.", | 899 "description": "Specifies that this instance group contains
Preemptible Instances.", |
| 726 "type": "boolean" | 900 "type": "boolean" |
| 727 }, | 901 }, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 }, | 938 }, |
| 765 "type": "object" | 939 "type": "object" |
| 766 }, | 940 }, |
| 767 "SoftwareConfiguration": { | 941 "SoftwareConfiguration": { |
| 768 "description": "Specifies the selection and configuration of softwar
e inside the cluster.", | 942 "description": "Specifies the selection and configuration of softwar
e inside the cluster.", |
| 769 "id": "SoftwareConfiguration", | 943 "id": "SoftwareConfiguration", |
| 770 "properties": { | 944 "properties": { |
| 771 "imageVersion": { | 945 "imageVersion": { |
| 772 "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)).", | 946 "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)).", |
| 773 "type": "string" | 947 "type": "string" |
| 948 }, |
| 949 "properties": { |
| 950 "additionalProperties": { |
| 951 "type": "string" |
| 952 }, |
| 953 "description": "[Optional] The properties to set on daemon c
onfiguration files. Property keys are specified in \"prefix:property\" format, s
uch as \"core:fs.defaultFS\". The following are supported prefixes and their map
pings: core - 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", |
| 954 "type": "object" |
| 774 } | 955 } |
| 775 }, | 956 }, |
| 776 "type": "object" | 957 "type": "object" |
| 777 }, | 958 }, |
| 778 "NodeInitializationAction": { | 959 "NodeInitializationAction": { |
| 779 "description": "Specifies an executable to run on a fully configured
node and a timeout period for executable completion.", | 960 "description": "Specifies an executable to run on a fully configured
node and a timeout period for executable completion.", |
| 780 "id": "NodeInitializationAction", | 961 "id": "NodeInitializationAction", |
| 781 "properties": { | 962 "properties": { |
| 782 "executableFile": { | 963 "executableFile": { |
| 783 "description": "[Required] Google Cloud Storage URI of execu
table file.", | 964 "description": "[Required] Google Cloud Storage URI of execu
table file.", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 815 "type": "string" | 996 "type": "string" |
| 816 } | 997 } |
| 817 }, | 998 }, |
| 818 "type": "object" | 999 "type": "object" |
| 819 }, | 1000 }, |
| 820 "Operation": { | 1001 "Operation": { |
| 821 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | 1002 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
| 822 "id": "Operation", | 1003 "id": "Operation", |
| 823 "properties": { | 1004 "properties": { |
| 824 "name": { | 1005 "name": { |
| 825 "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 above, the `name` should have the format of `operations/some/unique/n
ame`.", | 1006 "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`."
, |
| 826 "type": "string" | 1007 "type": "string" |
| 827 }, | 1008 }, |
| 828 "metadata": { | 1009 "metadata": { |
| 829 "additionalProperties": { | 1010 "additionalProperties": { |
| 830 "description": "Properties of the object. Contains field
@ype with type URL.", | 1011 "description": "Properties of the object. Contains field
@ype with type URL.", |
| 831 "type": "any" | 1012 "type": "any" |
| 832 }, | 1013 }, |
| 833 "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.", | 1014 "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.", |
| 834 "type": "object" | 1015 "type": "object" |
| 835 }, | 1016 }, |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1457 "type": "string" | 1638 "type": "string" |
| 1458 } | 1639 } |
| 1459 }, | 1640 }, |
| 1460 "type": "object" | 1641 "type": "object" |
| 1461 }, | 1642 }, |
| 1462 "CancelOperationRequest": { | 1643 "CancelOperationRequest": { |
| 1463 "description": "The request message for Operations.CancelOperation."
, | 1644 "description": "The request message for Operations.CancelOperation."
, |
| 1464 "id": "CancelOperationRequest", | 1645 "id": "CancelOperationRequest", |
| 1465 "type": "object" | 1646 "type": "object" |
| 1466 }, | 1647 }, |
| 1648 "SetIamPolicyRequest": { |
| 1649 "description": "Request message for `SetIamPolicy` method.", |
| 1650 "id": "SetIamPolicyRequest", |
| 1651 "properties": { |
| 1652 "policy": { |
| 1653 "$ref": "Policy", |
| 1654 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of the policy is limited to a few 10s of KB. An empt
y policy is a valid policy but certain Cloud Platform services (such as Projects
) might reject them." |
| 1655 } |
| 1656 }, |
| 1657 "type": "object" |
| 1658 }, |
| 1659 "Policy": { |
| 1660 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to specify access control policies for Cloud Platform resources.
A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `member
s` to a `role`, where the members can be user accounts, Google groups, Google do
mains, and service accounts. A `role` is a named list of permissions defined by
IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \
"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \
"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"r
oles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description
of IAM and its features, see the [IAM developer's guide](https://cloud.google.co
m/iam).", |
| 1661 "id": "Policy", |
| 1662 "properties": { |
| 1663 "version": { |
| 1664 "description": "Version of the `Policy`. The default version
is 0.", |
| 1665 "format": "int32", |
| 1666 "type": "integer" |
| 1667 }, |
| 1668 "bindings": { |
| 1669 "description": "Associates a list of `members` to a `role`.
Multiple `bindings` must not be specified for the same `role`. `bindings` with n
o members will result in an error.", |
| 1670 "items": { |
| 1671 "$ref": "Binding" |
| 1672 }, |
| 1673 "type": "array" |
| 1674 }, |
| 1675 "etag": { |
| 1676 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help prevent simultaneous updates of a policy from overwriting
each other. It is strongly suggested that systems make use of the `etag` in the
read-modify-write cycle to perform policy updates in order to avoid race condit
ions: An `etag` is returned in the response to `getIamPolicy`, and systems are e
xpected to put that etag in the request to `setIamPolicy` to ensure that their c
hange will be applied to the same version of the policy. If no `etag` is provide
d in the call to `setIamPolicy`, then the existing policy is overwritten blindly
.", |
| 1677 "format": "byte", |
| 1678 "type": "string" |
| 1679 } |
| 1680 }, |
| 1681 "type": "object" |
| 1682 }, |
| 1683 "Binding": { |
| 1684 "description": "Associates `members` with a `role`.", |
| 1685 "id": "Binding", |
| 1686 "properties": { |
| 1687 "role": { |
| 1688 "description": "Role that is assigned to `members`. For exam
ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", |
| 1689 "type": "string" |
| 1690 }, |
| 1691 "members": { |
| 1692 "description": "Specifies the identities requesting access f
or a Cloud Platform resource. `members` can have the following values: * `allUse
rs`: A special identifier that represents anyone who is on the internet; with or
without a Google account. * `allAuthenticatedUsers`: A special identifier that
represents anyone who is authenticated with a Google account or a service accoun
t. * `user:{emailid}`: An email address that represents a specific Google accoun
t. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{email
id}`: An email address that represents a service account. For example, `my-other
-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that re
presents a Google group. For example, `admins@example.com`. * `domain:{domain}`:
A Google Apps domain name that represents all the users of that domain. For exa
mple, `google.com` or `example.com`.", |
| 1693 "items": { |
| 1694 "type": "string" |
| 1695 }, |
| 1696 "type": "array" |
| 1697 } |
| 1698 }, |
| 1699 "type": "object" |
| 1700 }, |
| 1701 "TestIamPermissionsRequest": { |
| 1702 "description": "Request message for `TestIamPermissions` method.", |
| 1703 "id": "TestIamPermissionsRequest", |
| 1704 "properties": { |
| 1705 "permissions": { |
| 1706 "description": "The set of permissions to check for the `res
ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
For more information see IAM Overview.", |
| 1707 "items": { |
| 1708 "type": "string" |
| 1709 }, |
| 1710 "type": "array" |
| 1711 } |
| 1712 }, |
| 1713 "type": "object" |
| 1714 }, |
| 1715 "TestIamPermissionsResponse": { |
| 1716 "description": "Response message for `TestIamPermissions` method.", |
| 1717 "id": "TestIamPermissionsResponse", |
| 1718 "properties": { |
| 1719 "permissions": { |
| 1720 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is allowed.", |
| 1721 "items": { |
| 1722 "type": "string" |
| 1723 }, |
| 1724 "type": "array" |
| 1725 } |
| 1726 }, |
| 1727 "type": "object" |
| 1728 }, |
| 1729 "DiagnoseClusterResults": { |
| 1730 "description": "The location of diagnostic output.", |
| 1731 "id": "DiagnoseClusterResults", |
| 1732 "properties": { |
| 1733 "outputUri": { |
| 1734 "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.", |
| 1735 "type": "string" |
| 1736 } |
| 1737 }, |
| 1738 "type": "object" |
| 1739 }, |
| 1740 "ClusterOperationMetadata": { |
| 1741 "description": "Metadata describing the operation.", |
| 1742 "id": "ClusterOperationMetadata", |
| 1743 "properties": { |
| 1744 "clusterName": { |
| 1745 "description": "Name of the cluster for the operation.", |
| 1746 "type": "string" |
| 1747 }, |
| 1748 "clusterUuid": { |
| 1749 "description": "Cluster UUId for the operation.", |
| 1750 "type": "string" |
| 1751 }, |
| 1752 "status": { |
| 1753 "$ref": "ClusterOperationStatus", |
| 1754 "description": "[Output-only] Current operation status." |
| 1755 }, |
| 1756 "statusHistory": { |
| 1757 "description": "[Output-only] The previous operation status.
", |
| 1758 "items": { |
| 1759 "$ref": "ClusterOperationStatus" |
| 1760 }, |
| 1761 "type": "array" |
| 1762 }, |
| 1763 "operationType": { |
| 1764 "description": "[Output-only] The operation type.", |
| 1765 "type": "string" |
| 1766 }, |
| 1767 "description": { |
| 1768 "description": "[Output-only] Short description of operation
.", |
| 1769 "type": "string" |
| 1770 } |
| 1771 }, |
| 1772 "type": "object" |
| 1773 }, |
| 1774 "ClusterOperationStatus": { |
| 1775 "description": "The status of the operation.", |
| 1776 "id": "ClusterOperationStatus", |
| 1777 "properties": { |
| 1778 "state": { |
| 1779 "description": "A message containing the operation state.", |
| 1780 "enum": [ |
| 1781 "UNKNOWN", |
| 1782 "PENDING", |
| 1783 "RUNNING", |
| 1784 "DONE" |
| 1785 ], |
| 1786 "type": "string" |
| 1787 }, |
| 1788 "innerState": { |
| 1789 "description": "A message containing the detailed operation
state.", |
| 1790 "type": "string" |
| 1791 }, |
| 1792 "details": { |
| 1793 "description": "A message containing any operation metadata
details.", |
| 1794 "type": "string" |
| 1795 }, |
| 1796 "stateStartTime": { |
| 1797 "description": "The time this state was entered.", |
| 1798 "type": "string" |
| 1799 } |
| 1800 }, |
| 1801 "type": "object" |
| 1802 }, |
| 1467 "DiagnoseClusterOutputLocation": { | 1803 "DiagnoseClusterOutputLocation": { |
| 1468 "description": "The location where output from diagnostic command ca
n be found.", | 1804 "description": "The location where output from diagnostic command ca
n be found.", |
| 1469 "id": "DiagnoseClusterOutputLocation", | 1805 "id": "DiagnoseClusterOutputLocation", |
| 1470 "properties": { | 1806 "properties": { |
| 1471 "outputUri": { | 1807 "outputUri": { |
| 1472 "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.", | 1808 "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.", |
| 1473 "type": "string" | 1809 "type": "string" |
| 1474 } | 1810 } |
| 1475 }, | 1811 }, |
| 1476 "type": "object" | 1812 "type": "object" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 "status": { | 1856 "status": { |
| 1521 "$ref": "OperationStatus", | 1857 "$ref": "OperationStatus", |
| 1522 "description": "[Output-only] Current operation status." | 1858 "description": "[Output-only] Current operation status." |
| 1523 }, | 1859 }, |
| 1524 "statusHistory": { | 1860 "statusHistory": { |
| 1525 "description": "[Output-only] Previous operation status.", | 1861 "description": "[Output-only] Previous operation status.", |
| 1526 "items": { | 1862 "items": { |
| 1527 "$ref": "OperationStatus" | 1863 "$ref": "OperationStatus" |
| 1528 }, | 1864 }, |
| 1529 "type": "array" | 1865 "type": "array" |
| 1866 }, |
| 1867 "operationType": { |
| 1868 "description": "[Output-only] The operation type.", |
| 1869 "type": "string" |
| 1870 }, |
| 1871 "description": { |
| 1872 "description": "[Output-only] Short description of operation
.", |
| 1873 "type": "string" |
| 1530 } | 1874 } |
| 1531 }, | 1875 }, |
| 1532 "type": "object" | 1876 "type": "object" |
| 1533 }, | 1877 }, |
| 1534 "OperationStatus": { | 1878 "OperationStatus": { |
| 1535 "description": "The status of the operation.", | 1879 "description": "The status of the operation.", |
| 1536 "id": "OperationStatus", | 1880 "id": "OperationStatus", |
| 1537 "properties": { | 1881 "properties": { |
| 1538 "state": { | 1882 "state": { |
| 1539 "description": "A message containing the operation state.", | 1883 "description": "A message containing the operation state.", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1558 "type": "string" | 1902 "type": "string" |
| 1559 } | 1903 } |
| 1560 }, | 1904 }, |
| 1561 "type": "object" | 1905 "type": "object" |
| 1562 } | 1906 } |
| 1563 }, | 1907 }, |
| 1564 "servicePath": "", | 1908 "servicePath": "", |
| 1565 "title": "Google Cloud Dataproc API", | 1909 "title": "Google Cloud Dataproc API", |
| 1566 "version": "v1beta1" | 1910 "version": "v1beta1" |
| 1567 } | 1911 } |
| OLD | NEW |