Skip to content

Commit 1b4419c

Browse files
yoshi-automationfeywind
authored andcommitted
feat(dataproc)!: update the API
BREAKING CHANGE: This release has breaking changes. #### dataproc:v1 The following keys were deleted: - schemas.UsageMetrics.properties.milliSlotSeconds.description - schemas.UsageMetrics.properties.milliSlotSeconds.format - schemas.UsageMetrics.properties.milliSlotSeconds.type - schemas.UsageSnapshot.properties.milliSlot.description - schemas.UsageSnapshot.properties.milliSlot.format - schemas.UsageSnapshot.properties.milliSlot.type The following keys were added: - schemas.RepairClusterRequest.properties.dataprocSuperUser.description - schemas.RepairClusterRequest.properties.dataprocSuperUser.type
1 parent 4ea48f1 commit 1b4419c

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

discovery/dataproc-v1.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5012,7 +5012,7 @@
50125012
}
50135013
}
50145014
},
5015-
"revision": "20250930",
5015+
"revision": "20251001",
50165016
"rootUrl": "https://dataproc.googleapis.com/",
50175017
"schemas": {
50185018
"AcceleratorConfig": {
@@ -9619,6 +9619,10 @@
96199619
"description": "Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.",
96209620
"type": "string"
96219621
},
9622+
"dataprocSuperUser": {
9623+
"description": "Optional. Whether the request is submitted by Dataproc super user. If true, IAM will check 'dataproc.clusters.repair' permission instead of 'dataproc.clusters.update' permission. This is to give Dataproc superuser the ability to repair clusters without granting the overly broad update permission.",
9624+
"type": "boolean"
9625+
},
96229626
"gracefulDecommissionTimeout": {
96239627
"description": "Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping—Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image versions 1.2+.",
96249628
"format": "google-duration",
@@ -12600,11 +12604,6 @@
1260012604
"format": "int64",
1260112605
"type": "string"
1260212606
},
12603-
"milliSlotSeconds": {
12604-
"description": "Optional. Slot usage in (milliSlot x seconds).",
12605-
"format": "int64",
12606-
"type": "string"
12607-
},
1260812607
"shuffleStorageGbSeconds": {
1260912608
"description": "Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).",
1261012609
"format": "int64",
@@ -12641,11 +12640,6 @@
1264112640
"format": "int64",
1264212641
"type": "string"
1264312642
},
12644-
"milliSlot": {
12645-
"description": "Optional. Milli (one-thousandth) Slot usage of the workload.",
12646-
"format": "int64",
12647-
"type": "string"
12648-
},
1264912643
"shuffleStorageGb": {
1265012644
"description": "Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))",
1265112645
"format": "int64",

src/apis/dataproc/v1.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2877,6 +2877,10 @@ export namespace dataproc_v1 {
28772877
* Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
28782878
*/
28792879
clusterUuid?: string | null;
2880+
/**
2881+
* Optional. Whether the request is submitted by Dataproc super user. If true, IAM will check 'dataproc.clusters.repair' permission instead of 'dataproc.clusters.update' permission. This is to give Dataproc superuser the ability to repair clusters without granting the overly broad update permission.
2882+
*/
2883+
dataprocSuperUser?: boolean | null;
28802884
/**
28812885
* Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping—Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image versions 1.2+.
28822886
*/
@@ -4412,10 +4416,6 @@ export namespace dataproc_v1 {
44124416
* Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).
44134417
*/
44144418
milliDcuSeconds?: string | null;
4415-
/**
4416-
* Optional. Slot usage in (milliSlot x seconds).
4417-
*/
4418-
milliSlotSeconds?: string | null;
44194419
/**
44204420
* Optional. Shuffle storage usage in (GB x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).
44214421
*/
@@ -4445,10 +4445,6 @@ export namespace dataproc_v1 {
44454445
* Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).
44464446
*/
44474447
milliDcuPremium?: string | null;
4448-
/**
4449-
* Optional. Milli (one-thousandth) Slot usage of the workload.
4450-
*/
4451-
milliSlot?: string | null;
44524448
/**
44534449
* Optional. Shuffle Storage in gigabytes (GB). (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing))
44544450
*/
@@ -20485,6 +20481,7 @@ export namespace dataproc_v1 {
2048520481
* // {
2048620482
* // "cluster": {},
2048720483
* // "clusterUuid": "my_clusterUuid",
20484+
* // "dataprocSuperUser": false,
2048820485
* // "gracefulDecommissionTimeout": "my_gracefulDecommissionTimeout",
2048920486
* // "nodePools": [],
2049020487
* // "parentOperationId": "my_parentOperationId",

0 commit comments

Comments
 (0)