Skip to content

Commit

Permalink
fix(dataproc): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 29, 2025
1 parent 4a48413 commit 1ce09d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions discovery/dataproc-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4978,7 +4978,7 @@
}
}
},
"revision": "20240928",
"revision": "20250111",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -6075,7 +6075,8 @@
"STOPPING",
"STOPPED",
"STARTING",
"REPAIRING"
"REPAIRING",
"SCHEDULED"
],
"enumDescriptions": [
"The cluster state is unknown.",
Expand All @@ -6088,7 +6089,8 @@
"The cluster is being stopped. It cannot be used.",
"The cluster is currently stopped. It is not ready for use.",
"The cluster is being started. It is not ready for use.",
"The cluster is being repaired. It is not ready for use."
"The cluster is being repaired. It is not ready for use.",
"Cluster creation is currently waiting for resources to be available. Once all resources are available, it will transition to CREATING and then RUNNING."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -6305,12 +6307,12 @@
"id": "DiskConfig",
"properties": {
"bootDiskProvisionedIops": {
"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.",
"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.",
"format": "int64",
"type": "string"
},
"bootDiskProvisionedThroughput": {
"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.",
"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.",
"format": "int64",
"type": "string"
},
Expand Down Expand Up @@ -9032,7 +9034,7 @@
"type": "object"
},
"PySparkJob": {
"description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.",
"description": "A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.",
"id": "PySparkJob",
"properties": {
"archiveUris": {
Expand Down
6 changes: 3 additions & 3 deletions src/apis/dataproc/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -937,11 +937,11 @@ export namespace dataproc_v1 {
*/
export interface Schema$DiskConfig {
/**
* 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.
* 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.
*/
bootDiskProvisionedIops?: string | null;
/**
* 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.
* 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.
*/
bootDiskProvisionedThroughput?: string | null;
/**
Expand Down Expand Up @@ -2606,7 +2606,7 @@ export namespace dataproc_v1 {
pythonFileUris?: string[] | null;
}
/**
* A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/0.9.0/python-programming-guide.html) applications on YARN.
* A Dataproc job for running Apache PySpark (https://spark.apache.org/docs/latest/api/python/index.html#pyspark-overview) applications on YARN.
*/
export interface Schema$PySparkJob {
/**
Expand Down

0 comments on commit 1ce09d0

Please sign in to comment.