Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ed3f001

Browse files
committedNov 1, 2022
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)
1 parent 89c2a7d commit ed3f001

File tree

2 files changed

+104
-70
lines changed

2 files changed

+104
-70
lines changed
 

‎docs/dyn/dataproc_v1.projects.locations.batches.html

+12
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ <h3>Method Details</h3>
159159
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
160160
},
161161
&quot;runtimeInfo&quot;: { # Runtime information about workload execution. # Output only. Runtime information about batch execution.
162+
&quot;approximateUsage&quot;: { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes.
163+
&quot;milliDcuSeconds&quot;: &quot;A String&quot;, # Optional. DCU usage in milliDCU*seconds.
164+
&quot;shuffleStorageGbSeconds&quot;: &quot;A String&quot;, # Optional. Shuffle storage usage in GB*Seconds
165+
},
162166
&quot;diagnosticOutputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the diagnostics tarball.
163167
&quot;endpoints&quot;: { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.
164168
&quot;a_key&quot;: &quot;A String&quot;,
@@ -330,6 +334,10 @@ <h3>Method Details</h3>
330334
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
331335
},
332336
&quot;runtimeInfo&quot;: { # Runtime information about workload execution. # Output only. Runtime information about batch execution.
337+
&quot;approximateUsage&quot;: { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes.
338+
&quot;milliDcuSeconds&quot;: &quot;A String&quot;, # Optional. DCU usage in milliDCU*seconds.
339+
&quot;shuffleStorageGbSeconds&quot;: &quot;A String&quot;, # Optional. Shuffle storage usage in GB*Seconds
340+
},
333341
&quot;diagnosticOutputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the diagnostics tarball.
334342
&quot;endpoints&quot;: { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.
335343
&quot;a_key&quot;: &quot;A String&quot;,
@@ -457,6 +465,10 @@ <h3>Method Details</h3>
457465
&quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
458466
},
459467
&quot;runtimeInfo&quot;: { # Runtime information about workload execution. # Output only. Runtime information about batch execution.
468+
&quot;approximateUsage&quot;: { # Usage metrics represent total resources consumed by a workload. # Output only. Approximate workload resource usage calculated after workload finishes.
469+
&quot;milliDcuSeconds&quot;: &quot;A String&quot;, # Optional. DCU usage in milliDCU*seconds.
470+
&quot;shuffleStorageGbSeconds&quot;: &quot;A String&quot;, # Optional. Shuffle storage usage in GB*Seconds
471+
},
460472
&quot;diagnosticOutputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the diagnostics tarball.
461473
&quot;endpoints&quot;: { # Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs.
462474
&quot;a_key&quot;: &quot;A String&quot;,

‎googleapiclient/discovery_cache/documents/dataproc.v1.json

+92-70
Original file line numberDiff line numberDiff line change
@@ -2564,7 +2564,7 @@
25642564
}
25652565
}
25662566
},
2567-
"revision": "20221017",
2567+
"revision": "20221025",
25682568
"rootUrl": "https://dataproc.googleapis.com/",
25692569
"schemas": {
25702570
"AcceleratorConfig": {
@@ -3504,75 +3504,6 @@
35043504
},
35053505
"type": "object"
35063506
},
3507-
"GceNodePoolOperationMetadata": {
3508-
"description": "Metadata describing the Compute Engine node pool operation.",
3509-
"id": "GceNodePoolOperationMetadata",
3510-
"properties": {
3511-
"clusterUuid": {
3512-
"description": "Output only. Cluster UUID associated with the Compute Engine node pool operation.",
3513-
"readOnly": true,
3514-
"type": "string"
3515-
},
3516-
"description": {
3517-
"description": "Output only. Short description of operation.",
3518-
"readOnly": true,
3519-
"type": "string"
3520-
},
3521-
"gceNodePoolId": {
3522-
"description": "Output only. Compute Engine node pool ID for the operation.",
3523-
"readOnly": true,
3524-
"type": "string"
3525-
},
3526-
"labels": {
3527-
"additionalProperties": {
3528-
"type": "string"
3529-
},
3530-
"description": "Output only. Labels associated with the operation",
3531-
"readOnly": true,
3532-
"type": "object"
3533-
},
3534-
"operationType": {
3535-
"description": "The operation type.",
3536-
"enum": [
3537-
"GCE_NODE_POOL_OPERATION_TYPE_UNSPECIFIED",
3538-
"CREATE",
3539-
"UPDATE",
3540-
"DELETE",
3541-
"RESIZE"
3542-
],
3543-
"enumDescriptions": [
3544-
"Compute Engine node pool operation type is unknown.",
3545-
"Create Compute Engine node pool operation type.",
3546-
"Update Compute Engine node pool operation type.",
3547-
"Delete Compute Engine node pool operation type.",
3548-
"Resize Compute Engine node pool operation type."
3549-
],
3550-
"type": "string"
3551-
},
3552-
"status": {
3553-
"$ref": "ClusterOperationStatus",
3554-
"description": "Output only. Current operation status.",
3555-
"readOnly": true
3556-
},
3557-
"statusHistory": {
3558-
"description": "Output only. The previous operation status.",
3559-
"items": {
3560-
"$ref": "ClusterOperationStatus"
3561-
},
3562-
"readOnly": true,
3563-
"type": "array"
3564-
},
3565-
"warnings": {
3566-
"description": "Output only. Errors encountered during operation execution.",
3567-
"items": {
3568-
"type": "string"
3569-
},
3570-
"readOnly": true,
3571-
"type": "array"
3572-
}
3573-
},
3574-
"type": "object"
3575-
},
35763507
"GetIamPolicyRequest": {
35773508
"description": "Request message for GetIamPolicy method.",
35783509
"id": "GetIamPolicyRequest",
@@ -4669,6 +4600,75 @@
46694600
},
46704601
"type": "object"
46714602
},
4603+
"NodeGroupOperationMetadata": {
4604+
"description": "Metadata describing the node group operation.",
4605+
"id": "NodeGroupOperationMetadata",
4606+
"properties": {
4607+
"clusterUuid": {
4608+
"description": "Output only. Cluster UUID associated with the node group operation.",
4609+
"readOnly": true,
4610+
"type": "string"
4611+
},
4612+
"description": {
4613+
"description": "Output only. Short description of operation.",
4614+
"readOnly": true,
4615+
"type": "string"
4616+
},
4617+
"labels": {
4618+
"additionalProperties": {
4619+
"type": "string"
4620+
},
4621+
"description": "Output only. Labels associated with the operation.",
4622+
"readOnly": true,
4623+
"type": "object"
4624+
},
4625+
"nodeGroupId": {
4626+
"description": "Output only. Node group ID for the operation.",
4627+
"readOnly": true,
4628+
"type": "string"
4629+
},
4630+
"operationType": {
4631+
"description": "The operation type.",
4632+
"enum": [
4633+
"NODE_GROUP_OPERATION_TYPE_UNSPECIFIED",
4634+
"CREATE",
4635+
"UPDATE",
4636+
"DELETE",
4637+
"RESIZE"
4638+
],
4639+
"enumDescriptions": [
4640+
"Node group operation type is unknown.",
4641+
"Create node group operation type.",
4642+
"Update node group operation type.",
4643+
"Delete node group operation type.",
4644+
"Resize node group operation type."
4645+
],
4646+
"type": "string"
4647+
},
4648+
"status": {
4649+
"$ref": "ClusterOperationStatus",
4650+
"description": "Output only. Current operation status.",
4651+
"readOnly": true
4652+
},
4653+
"statusHistory": {
4654+
"description": "Output only. The previous operation status.",
4655+
"items": {
4656+
"$ref": "ClusterOperationStatus"
4657+
},
4658+
"readOnly": true,
4659+
"type": "array"
4660+
},
4661+
"warnings": {
4662+
"description": "Output only. Errors encountered during operation execution.",
4663+
"items": {
4664+
"type": "string"
4665+
},
4666+
"readOnly": true,
4667+
"type": "array"
4668+
}
4669+
},
4670+
"type": "object"
4671+
},
46724672
"NodeInitializationAction": {
46734673
"description": "Specifies an executable to run on a fully configured node and a timeout period for executable completion.",
46744674
"id": "NodeInitializationAction",
@@ -5176,6 +5176,11 @@
51765176
"description": "Runtime information about workload execution.",
51775177
"id": "RuntimeInfo",
51785178
"properties": {
5179+
"approximateUsage": {
5180+
"$ref": "UsageMetrics",
5181+
"description": "Output only. Approximate workload resource usage calculated after workload finishes.",
5182+
"readOnly": true
5183+
},
51795184
"diagnosticOutputUri": {
51805185
"description": "Output only. A URI pointing to the location of the diagnostics tarball.",
51815186
"readOnly": true,
@@ -5844,6 +5849,23 @@
58445849
},
58455850
"type": "object"
58465851
},
5852+
"UsageMetrics": {
5853+
"description": "Usage metrics represent total resources consumed by a workload.",
5854+
"id": "UsageMetrics",
5855+
"properties": {
5856+
"milliDcuSeconds": {
5857+
"description": "Optional. DCU usage in milliDCU*seconds.",
5858+
"format": "int64",
5859+
"type": "string"
5860+
},
5861+
"shuffleStorageGbSeconds": {
5862+
"description": "Optional. Shuffle storage usage in GB*Seconds",
5863+
"format": "int64",
5864+
"type": "string"
5865+
}
5866+
},
5867+
"type": "object"
5868+
},
58475869
"ValueValidation": {
58485870
"description": "Validation based on a list of allowed values.",
58495871
"id": "ValueValidation",

0 commit comments

Comments
 (0)
Please sign in to comment.