Skip to content

Commit

Permalink
feat(dataproc): update the API
Browse files Browse the repository at this point in the history
#### dataproc:v1

The following keys were added:
- schemas.ConfidentialInstanceConfig.description
- schemas.ConfidentialInstanceConfig.id
- schemas.ConfidentialInstanceConfig.properties.enableConfidentialCompute.description
- schemas.ConfidentialInstanceConfig.properties.enableConfidentialCompute.type
- schemas.ConfidentialInstanceConfig.type
- schemas.GceClusterConfig.properties.confidentialInstanceConfig.$ref
- schemas.GceClusterConfig.properties.confidentialInstanceConfig.description

The following keys were changed:
- schemas.SoftwareConfig.properties.optionalComponents.items.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent f5c0f97 commit 831fb8d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
19 changes: 17 additions & 2 deletions discovery/dataproc-v1.json
Expand Up @@ -2260,7 +2260,7 @@
}
}
},
"revision": "20210322",
"revision": "20210406",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2731,6 +2731,17 @@
},
"type": "object"
},
"ConfidentialInstanceConfig": {
"description": "Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs) NEXT ID: 2",
"id": "ConfidentialInstanceConfig",
"properties": {
"enableConfidentialCompute": {
"description": "Optional. Defines whether the instance should have confidential compute enabled.",
"type": "boolean"
}
},
"type": "object"
},
"DiagnoseClusterRequest": {
"description": "A request to collect cluster diagnostic information.",
"id": "DiagnoseClusterRequest",
Expand Down Expand Up @@ -2833,6 +2844,10 @@
"description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.",
"id": "GceClusterConfig",
"properties": {
"confidentialInstanceConfig": {
"$ref": "ConfidentialInstanceConfig",
"description": "Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs)"
},
"internalIpOnly": {
"description": "Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.",
"type": "boolean"
Expand Down Expand Up @@ -4182,7 +4197,7 @@
"Unspecified component. Specifying this will cause Cluster creation to fail.",
"The Anaconda python distribution. The Anaconda component is not supported in the Dataproc 2.0 image. The 2.0 image is pre-installed with Miniconda.",
"Docker",
"The Druid query engine. (beta)",
"The Druid query engine. (alpha)",
"Flink",
"HBase. (beta)",
"The Hive Web HCatalog (the REST service for accessing HCatalog).",
Expand Down
13 changes: 13 additions & 0 deletions src/apis/dataproc/v1.ts
Expand Up @@ -452,6 +452,15 @@ export namespace dataproc_v1 {
*/
substate?: string | null;
}
/**
* Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs) NEXT ID: 2
*/
export interface Schema$ConfidentialInstanceConfig {
/**
* Optional. Defines whether the instance should have confidential compute enabled.
*/
enableConfidentialCompute?: boolean | null;
}
/**
* A request to collect cluster diagnostic information.
*/
Expand Down Expand Up @@ -533,6 +542,10 @@ export namespace dataproc_v1 {
* Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.
*/
export interface Schema$GceClusterConfig {
/**
* Optional. Confidential Instance Config for clusters using Confidential VMs (https://cloud.google.com/compute/confidential-vm/docs)
*/
confidentialInstanceConfig?: Schema$ConfidentialInstanceConfig;
/**
* Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses.
*/
Expand Down

0 comments on commit 831fb8d

Please sign in to comment.