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

Unified Diff: discovery/googleapis_beta/dataproc__v1beta1.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis_beta/dataflow__v1b3.json ('k') | discovery/googleapis_beta/datastore__v1beta3.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis_beta/dataproc__v1beta1.json
diff --git a/discovery/googleapis_beta/dataproc__v1beta1.json b/discovery/googleapis_beta/dataproc__v1beta1.json
index b6ac91dd79c3d1ad0ef195f05f2f41886da2711c..057925617016e423d9290286aa01160ac49d4844 100644
--- a/discovery/googleapis_beta/dataproc__v1beta1.json
+++ b/discovery/googleapis_beta/dataproc__v1beta1.json
@@ -11,10 +11,10 @@
"basePath": "",
"baseUrl": "https://dataproc.googleapis.com/",
"batchPath": "batch",
- "description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
+ "description": "An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/dataproc/",
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/xUykUeDoZBMkhqViXbAjUkEVLQw\"",
+ "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/cZQ-6vqHhMM0YELMHYWsiSzNXAM\"",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
@@ -247,6 +247,11 @@
"required": true,
"type": "string"
},
+ "filter": {
+ "description": "[Optional] A filter constraining which clusters to list. Valid filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 = val2 OR labels.k3 = val3)",
+ "location": "query",
+ "type": "string"
+ },
"pageSize": {
"description": "The standard List page size.",
"format": "int32",
@@ -399,6 +404,11 @@
],
"location": "query",
"type": "string"
+ },
+ "filter": {
+ "description": "[Optional] A filter constraining which jobs to list. Valid filters contain job state and label terms such as: labels.key1 = val1 AND (labels.k2 = val2 OR labels.k3 = val3)",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1beta1/projects/{projectId}/jobs",
@@ -489,7 +499,7 @@
"name": {
"description": "The name of the operation resource.",
"location": "path",
- "pattern": "^operations/.*$",
+ "pattern": "^operations/.+$",
"required": true,
"type": "string"
}
@@ -553,7 +563,7 @@
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
- "pattern": "^operations/.*$",
+ "pattern": "^operations/.+$",
"required": true,
"type": "string"
}
@@ -580,7 +590,7 @@
"name": {
"description": "The name of the operation resource to be deleted.",
"location": "path",
- "pattern": "^operations/.*$",
+ "pattern": "^operations/.+$",
"required": true,
"type": "string"
}
@@ -596,7 +606,7 @@
}
}
},
- "revision": "20160503",
+ "revision": "20161102",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"Cluster": {
@@ -615,6 +625,13 @@
"$ref": "ClusterConfiguration",
"description": "[Required] The cluster configuration. Note that Cloud Dataproc may set default values, and values may change when clusters are updated."
},
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "[Optional] The labels to associate with this cluster. Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given cluster.",
+ "type": "object"
+ },
"status": {
"$ref": "ClusterStatus",
"description": "[Output-only] Cluster status."
@@ -629,6 +646,10 @@
"clusterUuid": {
"description": "[Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.",
"type": "string"
+ },
+ "metrics": {
+ "$ref": "ClusterMetrics",
+ "description": "Contains cluster daemon metrics such as HDFS and YARN stats."
}
},
"type": "object"
@@ -687,6 +708,10 @@
"description": "The Google Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/sub0`.",
"type": "string"
},
+ "internalIpOnly": {
+ "description": "If true, all instances in the cluser will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.",
+ "type": "boolean"
+ },
"serviceAccountScopes": {
"description": "The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included: - https://www.googleapis.com/auth/cloud.useraccounts.readonly - https://www.googleapis.com/auth/devstorage.read_write - https://www.googleapis.com/auth/logging.write If no scopes are specfied, the following defaults are also provided: - https://www.googleapis.com/auth/bigquery - https://www.googleapis.com/auth/bigtable.admin.table - https://www.googleapis.com/auth/bigtable.data - https://www.googleapis.com/auth/devstorage.full_control",
"items": {
@@ -842,6 +867,29 @@
},
"type": "object"
},
+ "ClusterMetrics": {
+ "description": "Contains cluster daemon metrics, such as HDFS and YARN stats.",
+ "id": "ClusterMetrics",
+ "properties": {
+ "hdfsMetrics": {
+ "additionalProperties": {
+ "format": "int64",
+ "type": "string"
+ },
+ "description": "The HDFS metrics.",
+ "type": "object"
+ },
+ "yarnMetrics": {
+ "additionalProperties": {
+ "format": "int64",
+ "type": "string"
+ },
+ "description": "The YARN metrics.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
@@ -852,7 +900,7 @@
},
"metadata": {
"additionalProperties": {
- "description": "Properties of the object. Contains field @ype with type URL.",
+ "description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "Service-specific metadata associated with the 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.",
@@ -864,11 +912,11 @@
},
"error": {
"$ref": "Status",
- "description": "The error result of the operation in case of failure."
+ "description": "The error result of the operation in case of failure or cancellation."
},
"response": {
"additionalProperties": {
- "description": "Properties of the object. Contains field @ype with type URL.",
+ "description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
@@ -894,7 +942,7 @@
"description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.",
"items": {
"additionalProperties": {
- "description": "Properties of the object. Contains field @ype with type URL.",
+ "description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
@@ -1011,6 +1059,13 @@
"interactive": {
"description": "[Optional] If set to `true`, the driver's stdin will be kept open and `driver_input_uri` will be set to provide a path at which additional input can be sent to the driver.",
"type": "boolean"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "[Optional] The labels to associate with this job. Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62} Label values must be between 1 and 63 characters long, and must conform to the following regular expression: [\\p{Ll}\\p{Lo}\\p{N}_-]{0,63} No more than 64 labels can be associated with a given job.",
+ "type": "object"
}
},
"type": "object"
@@ -1494,7 +1549,7 @@
"id": "DiagnoseClusterResults",
"properties": {
"outputUri": {
- "description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. This is a plain text file with a summary of collected diagnostics.",
+ "description": "[Output-only] The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.",
"type": "string"
}
},
@@ -1505,11 +1560,11 @@
"id": "ClusterOperationMetadata",
"properties": {
"clusterName": {
- "description": "Name of the cluster for the operation.",
+ "description": "[Output-only] Name of the cluster for the operation.",
"type": "string"
},
"clusterUuid": {
- "description": "Cluster UUId for the operation.",
+ "description": "[Output-only] Cluster UUID for the operation.",
"type": "string"
},
"status": {
@@ -1530,6 +1585,13 @@
"description": {
"description": "[Output-only] Short description of operation.",
"type": "string"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "[Output-only] labels associated with the operation",
+ "type": "object"
}
},
"type": "object"
@@ -1539,7 +1601,7 @@
"id": "ClusterOperationStatus",
"properties": {
"state": {
- "description": "A message containing the operation state.",
+ "description": "[Output-only] A message containing the operation state.",
"enum": [
"UNKNOWN",
"PENDING",
@@ -1549,15 +1611,15 @@
"type": "string"
},
"innerState": {
- "description": "A message containing the detailed operation state.",
+ "description": "[Output-only] A message containing the detailed operation state.",
"type": "string"
},
"details": {
- "description": "A message containing any operation metadata details.",
+ "description": "[Output-only]A message containing any operation metadata details.",
"type": "string"
},
"stateStartTime": {
- "description": "The time this state was entered.",
+ "description": "[Output-only] The time this state was entered.",
"type": "string"
}
},
« no previous file with comments | « discovery/googleapis_beta/dataflow__v1b3.json ('k') | discovery/googleapis_beta/datastore__v1beta3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698