Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit c0f4df6

Browse files
fix!: Move yarn_config into a oneof (#580)
* fix!: Remove `temp_bucket` from VirtualClusterConfig, as its value was not used Committer: @Harwayne PiperOrigin-RevId: 440224385 Source-Link: googleapis/googleapis@afc5066 Source-Link: https://github.com/googleapis/googleapis-gen/commit/07cf54aa66638cb92e2db6a6624cb3da9929740a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDdjZjU0YWE2NjYzOGNiOTJlMmRiNmE2NjI0Y2IzZGE5OTI5NzQwYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix!: Move `yarn_config` into a `oneof` Committer: @Harwayne PiperOrigin-RevId: 440226213 Source-Link: googleapis/googleapis@c782e45 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d45c242ee81ffcbbb9eb985318ce897ac0d778af Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDQ1YzI0MmVlODFmZmNiYmI5ZWI5ODUzMThjZTg5N2FjMGQ3NzhhZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 92a5ccd commit c0f4df6

File tree

5 files changed

+40
-59
lines changed

5 files changed

+40
-59
lines changed

protos/google/cloud/dataproc/v1/autoscaling_policies.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,10 @@ message AutoscalingPolicy {
153153

154154
// Basic algorithm for autoscaling.
155155
message BasicAutoscalingAlgorithm {
156-
// Required. YARN autoscaling configuration.
157-
BasicYarnAutoscalingConfig yarn_config = 1 [(google.api.field_behavior) = REQUIRED];
156+
oneof config {
157+
// Required. YARN autoscaling configuration.
158+
BasicYarnAutoscalingConfig yarn_config = 1 [(google.api.field_behavior) = REQUIRED];
159+
}
158160

159161
// Optional. Duration between scaling events. A scaling period starts after
160162
// the update operation from the previous event has completed.

protos/google/cloud/dataproc/v1/clusters.proto

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -303,21 +303,6 @@ message VirtualClusterConfig {
303303
// a Cloud Storage bucket.**
304304
string staging_bucket = 1 [(google.api.field_behavior) = OPTIONAL];
305305

306-
// Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data,
307-
// such as Spark and MapReduce history files.
308-
// If you do not specify a temp bucket,
309-
// Dataproc will determine a Cloud Storage location (US,
310-
// ASIA, or EU) for your cluster's temp bucket according to the
311-
// Compute Engine zone where your cluster is deployed, and then create
312-
// and manage this project-level, per-location bucket. The default bucket has
313-
// a TTL of 90 days, but you can use any TTL (or none) if you specify a
314-
// bucket (see
315-
// [Dataproc staging and temp
316-
// buckets](https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/staging-bucket)).
317-
// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to
318-
// a Cloud Storage bucket.**
319-
string temp_bucket = 2 [(google.api.field_behavior) = OPTIONAL];
320-
321306
oneof infrastructure_config {
322307
// Required. The configuration for running the Dataproc cluster on Kubernetes.
323308
KubernetesClusterConfig kubernetes_cluster_config = 6 [(google.api.field_behavior) = REQUIRED];

protos/protos.d.ts

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.js

Lines changed: 26 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protos/protos.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)