Skip to content

Commit

Permalink
feat(dataproc): update the api
Browse files Browse the repository at this point in the history
#### dataproc:v1

The following keys were deleted:
- schemas.GceNodePoolOperationMetadata (Total Keys: 18)

The following keys were added:
- schemas.NodeGroupOperationMetadata (Total Keys: 18)
- schemas.RuntimeInfo.properties.approximateUsage (Total Keys: 2)
- schemas.UsageMetrics (Total Keys: 6)
  • Loading branch information
yoshi-automation committed Nov 1, 2022
1 parent 89c2a7d commit ed3f001
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 70 deletions.
12 changes: 12 additions & 0 deletions docs/dyn/dataproc_v1.projects.locations.batches.html
Expand Up @@ -159,6 +159,10 @@ <h3>Method Details</h3>
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
},
&quot;runtimeInfo&quot;: { # Runtime information about workload execution. # Output only. Runtime information about batch execution.
&quot;approximateUsage&quot;: { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes.
&quot;milliDcuSeconds&quot;: &quot;A String&quot;, # Optional. DCU usage in milliDCU*seconds.
&quot;shuffleStorageGbSeconds&quot;: &quot;A String&quot;, # Optional. Shuffle storage usage in GB*Seconds
},
&quot;diagnosticOutputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the diagnostics tarball.
&quot;endpoints&quot;: { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -330,6 +334,10 @@ <h3>Method Details</h3>
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
},
&quot;runtimeInfo&quot;: { # Runtime information about workload execution. # Output only. Runtime information about batch execution.
&quot;approximateUsage&quot;: { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes.
&quot;milliDcuSeconds&quot;: &quot;A String&quot;, # Optional. DCU usage in milliDCU*seconds.
&quot;shuffleStorageGbSeconds&quot;: &quot;A String&quot;, # Optional. Shuffle storage usage in GB*Seconds
},
&quot;diagnosticOutputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the diagnostics tarball.
&quot;endpoints&quot;: { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down Expand Up @@ -457,6 +465,10 @@ <h3>Method Details</h3>
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
},
&quot;runtimeInfo&quot;: { # Runtime information about workload execution. # Output only. Runtime information about batch execution.
&quot;approximateUsage&quot;: { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes.
&quot;milliDcuSeconds&quot;: &quot;A String&quot;, # Optional. DCU usage in milliDCU*seconds.
&quot;shuffleStorageGbSeconds&quot;: &quot;A String&quot;, # Optional. Shuffle storage usage in GB*Seconds
},
&quot;diagnosticOutputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the diagnostics tarball.
&quot;endpoints&quot;: { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
162 changes: 92 additions & 70 deletions googleapiclient/discovery_cache/documents/dataproc.v1.json
Expand Up @@ -2564,7 +2564,7 @@
}
}
},
"revision": "20221017",
"revision": "20221025",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3504,75 +3504,6 @@
},
"type": "object"
},
"GceNodePoolOperationMetadata": {
"description": "Metadata describing the Compute Engine node pool operation.",
"id": "GceNodePoolOperationMetadata",
"properties": {
"clusterUuid": {
"description": "Output only. Cluster UUID associated with the Compute Engine node pool operation.",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Output only. Short description of operation.",
"readOnly": true,
"type": "string"
},
"gceNodePoolId": {
"description": "Output only. Compute Engine node pool ID for the operation.",
"readOnly": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Output only. Labels associated with the operation",
"readOnly": true,
"type": "object"
},
"operationType": {
"description": "The operation type.",
"enum": [
"GCE_NODE_POOL_OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"UPDATE",
"DELETE",
"RESIZE"
],
"enumDescriptions": [
"Compute Engine node pool operation type is unknown.",
"Create Compute Engine node pool operation type.",
"Update Compute Engine node pool operation type.",
"Delete Compute Engine node pool operation type.",
"Resize Compute Engine node pool operation type."
],
"type": "string"
},
"status": {
"$ref": "ClusterOperationStatus",
"description": "Output only. Current operation status.",
"readOnly": true
},
"statusHistory": {
"description": "Output only. The previous operation status.",
"items": {
"$ref": "ClusterOperationStatus"
},
"readOnly": true,
"type": "array"
},
"warnings": {
"description": "Output only. Errors encountered during operation execution.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"GetIamPolicyRequest": {
"description": "Request message for GetIamPolicy method.",
"id": "GetIamPolicyRequest",
Expand Down Expand Up @@ -4669,6 +4600,75 @@
},
"type": "object"
},
"NodeGroupOperationMetadata": {
"description": "Metadata describing the node group operation.",
"id": "NodeGroupOperationMetadata",
"properties": {
"clusterUuid": {
"description": "Output only. Cluster UUID associated with the node group operation.",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Output only. Short description of operation.",
"readOnly": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Output only. Labels associated with the operation.",
"readOnly": true,
"type": "object"
},
"nodeGroupId": {
"description": "Output only. Node group ID for the operation.",
"readOnly": true,
"type": "string"
},
"operationType": {
"description": "The operation type.",
"enum": [
"NODE_GROUP_OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"UPDATE",
"DELETE",
"RESIZE"
],
"enumDescriptions": [
"Node group operation type is unknown.",
"Create node group operation type.",
"Update node group operation type.",
"Delete node group operation type.",
"Resize node group operation type."
],
"type": "string"
},
"status": {
"$ref": "ClusterOperationStatus",
"description": "Output only. Current operation status.",
"readOnly": true
},
"statusHistory": {
"description": "Output only. The previous operation status.",
"items": {
"$ref": "ClusterOperationStatus"
},
"readOnly": true,
"type": "array"
},
"warnings": {
"description": "Output only. Errors encountered during operation execution.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
},
"NodeInitializationAction": {
"description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
"id": "NodeInitializationAction",
Expand Down Expand Up @@ -5176,6 +5176,11 @@
"description": "Runtime information about workload execution.",
"id": "RuntimeInfo",
"properties": {
"approximateUsage": {
"$ref": "UsageMetrics",
"description": "Output only. Approximate workload resource usage calculated after workload finishes.",
"readOnly": true
},
"diagnosticOutputUri": {
"description": "Output only. A URI pointing to the location of the diagnostics tarball.",
"readOnly": true,
Expand Down Expand Up @@ -5844,6 +5849,23 @@
},
"type": "object"
},
"UsageMetrics": {
"description": "Usage metrics represent total resources consumed by a workload.",
"id": "UsageMetrics",
"properties": {
"milliDcuSeconds": {
"description": "Optional. DCU usage in milliDCU*seconds.",
"format": "int64",
"type": "string"
},
"shuffleStorageGbSeconds": {
"description": "Optional. Shuffle storage usage in GB*Seconds",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"ValueValidation": {
"description": "Validation based on a list of allowed values.",
"id": "ValueValidation",
Expand Down

0 comments on commit ed3f001

Please sign in to comment.