From ed3f0016c539d7af0706696543b01c8ba891681a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 1 Nov 2022 07:09:38 +0000 Subject: [PATCH] feat(dataproc): update the api #### 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) --- ...ataproc_v1.projects.locations.batches.html | 12 ++ .../documents/dataproc.v1.json | 162 ++++++++++-------- 2 files changed, 104 insertions(+), 70 deletions(-) diff --git a/docs/dyn/dataproc_v1.projects.locations.batches.html b/docs/dyn/dataproc_v1.projects.locations.batches.html index 6991bb3e190..0ed889ce019 100644 --- a/docs/dyn/dataproc_v1.projects.locations.batches.html +++ b/docs/dyn/dataproc_v1.projects.locations.batches.html @@ -159,6 +159,10 @@

Method Details

"version": "A String", # Optional. Version of the batch runtime. }, "runtimeInfo": { # Runtime information about workload execution. # Output only. Runtime information about batch execution. + "approximateUsage": { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes. + "milliDcuSeconds": "A String", # Optional. DCU usage in milliDCU*seconds. + "shuffleStorageGbSeconds": "A String", # Optional. Shuffle storage usage in GB*Seconds + }, "diagnosticOutputUri": "A String", # Output only. A URI pointing to the location of the diagnostics tarball. "endpoints": { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs. "a_key": "A String", @@ -330,6 +334,10 @@

Method Details

"version": "A String", # Optional. Version of the batch runtime. }, "runtimeInfo": { # Runtime information about workload execution. # Output only. Runtime information about batch execution. + "approximateUsage": { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes. + "milliDcuSeconds": "A String", # Optional. DCU usage in milliDCU*seconds. + "shuffleStorageGbSeconds": "A String", # Optional. Shuffle storage usage in GB*Seconds + }, "diagnosticOutputUri": "A String", # Output only. A URI pointing to the location of the diagnostics tarball. "endpoints": { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs. "a_key": "A String", @@ -457,6 +465,10 @@

Method Details

"version": "A String", # Optional. Version of the batch runtime. }, "runtimeInfo": { # Runtime information about workload execution. # Output only. Runtime information about batch execution. + "approximateUsage": { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes. + "milliDcuSeconds": "A String", # Optional. DCU usage in milliDCU*seconds. + "shuffleStorageGbSeconds": "A String", # Optional. Shuffle storage usage in GB*Seconds + }, "diagnosticOutputUri": "A String", # Output only. A URI pointing to the location of the diagnostics tarball. "endpoints": { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs. "a_key": "A String", diff --git a/googleapiclient/discovery_cache/documents/dataproc.v1.json b/googleapiclient/discovery_cache/documents/dataproc.v1.json index 8f879c5bab6..e01e4b37900 100644 --- a/googleapiclient/discovery_cache/documents/dataproc.v1.json +++ b/googleapiclient/discovery_cache/documents/dataproc.v1.json @@ -2564,7 +2564,7 @@ } } }, - "revision": "20221017", + "revision": "20221025", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -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", @@ -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", @@ -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, @@ -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",