Skip to content

Commit 1ce09d0

Browse files
yoshi-automationsofisl
authored andcommitted
fix(dataproc): update the API
#### dataproc:v1 The following keys were changed: - schemas.ClusterStatus.properties.state.enum - schemas.ClusterStatus.properties.state.enumDescriptions - schemas.DiskConfig.properties.bootDiskProvisionedIops.description - schemas.DiskConfig.properties.bootDiskProvisionedThroughput.description - schemas.PySparkJob.description
1 parent 4a48413 commit 1ce09d0

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

‎discovery/dataproc-v1.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4978,7 +4978,7 @@
49784978
}
49794979
}
49804980
},
4981-
"revision": "20240928",
4981+
"revision": "20250111",
49824982
"rootUrl": "https://dataproc.googleapis.com/",
49834983
"schemas": {
49844984
"AcceleratorConfig": {
@@ -6075,7 +6075,8 @@
60756075
"STOPPING",
60766076
"STOPPED",
60776077
"STARTING",
6078-
"REPAIRING"
6078+
"REPAIRING",
6079+
"SCHEDULED"
60796080
],
60806081
"enumDescriptions": [
60816082
"The cluster state is unknown.",
@@ -6088,7 +6089,8 @@
60886089
"The cluster is being stopped. It cannot be used.",
60896090
"The cluster is currently stopped. It is not ready for use.",
60906091
"The cluster is being started. It is not ready for use.",
6091-
"The cluster is being repaired. It is not ready for use."
6092+
"The cluster is being repaired. It is not ready for use.",
6093+
"Cluster creation is currently waiting for resources to be available. Once all resources are available, it will transition to CREATING and then RUNNING."
60926094
],
60936095
"readOnly": true,
60946096
"type": "string"
@@ -6305,12 +6307,12 @@
63056307
"id": "DiskConfig",
63066308
"properties": {
63076309
"bootDiskProvisionedIops": {
6308-
"description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.",
6310+
"description": "Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. This field is supported only if boot_disk_type is hyperdisk-balanced.",
63096311
"format": "int64",
63106312
"type": "string"
63116313
},
63126314
"bootDiskProvisionedThroughput": {
6313-
"description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.",
6315+
"description": "Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot_disk_type is hyperdisk-balanced.",
63146316
"format": "int64",
63156317
"type": "string"
63166318
},
@@ -9032,7 +9034,7 @@
90329034
"type": "object"
90339035
},
90349036
"PySparkJob": {
9035-
"description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
9037+
"description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.",
90369038
"id": "PySparkJob",
90379039
"properties": {
90389040
"archiveUris": {

‎src/apis/dataproc/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -937,11 +937,11 @@ export namespace dataproc_v1 {
937937
*/
938938
export interface Schema$DiskConfig {
939939
/**
940-
* Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
940+
* Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. This field is supported only if boot_disk_type is hyperdisk-balanced.
941941
*/
942942
bootDiskProvisionedIops?: string | null;
943943
/**
944-
* Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
944+
* Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. This field is supported only if boot_disk_type is hyperdisk-balanced.
945945
*/
946946
bootDiskProvisionedThroughput?: string | null;
947947
/**
@@ -2606,7 +2606,7 @@ export namespace dataproc_v1 {
26062606
pythonFileUris?: string[] | null;
26072607
}
26082608
/**
2609-
* A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.
2609+
* A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.
26102610
*/
26112611
export interface Schema$PySparkJob {
26122612
/**

0 commit comments

Comments
 (0)