From bb206546ed2779a4d4077d982f1d909ceb27a50f Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Fri, 21 Aug 2026 17:42:04 -0700 Subject: [PATCH] chore: regenerate gkehub client --- .../v1alpha/2.0.0/README.md | 4 +- .../model/PerStageSoakDurationOverrides.java | 72 ++++++++++ .../gkehub/v1alpha/model/Rollout.java | 81 +++++++++++ .../model/UpgradeRolloutSequenceRequest.java | 126 ++++++++++++++++++ .../v1alpha/2.0.0/pom.xml | 4 +- .../v1alpha/README.md | 4 +- 6 files changed, 285 insertions(+), 6 deletions(-) create mode 100644 clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/PerStageSoakDurationOverrides.java diff --git a/clients/google-api-services-gkehub/v1alpha/2.0.0/README.md b/clients/google-api-services-gkehub/v1alpha/2.0.0/README.md index f26d746bd09..c70f1e26359 100644 --- a/clients/google-api-services-gkehub/v1alpha/2.0.0/README.md +++ b/clients/google-api-services-gkehub/v1alpha/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v1alpha-rev20260731-2.0.0 + v1alpha-rev20260817-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v1alpha-rev20260731-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v1alpha-rev20260817-2.0.0' } ``` diff --git a/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/PerStageSoakDurationOverrides.java b/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/PerStageSoakDurationOverrides.java new file mode 100644 index 00000000000..623aa85e69b --- /dev/null +++ b/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/PerStageSoakDurationOverrides.java @@ -0,0 +1,72 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.gkehub.v1alpha.model; + +/** + * Configuration for per-stage soak duration overrides. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the GKE Hub API. For a detailed explanation see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class PerStageSoakDurationOverrides extends com.google.api.client.json.GenericJson { + + /** + * Required. A mapping of stage numbers to their respective desired soak durations. Key is the + * stage number, value is the desired soak duration. Stages omitted from the map will receive the + * standard soak duration configured on the sequence for that stage. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map stageOverrides; + + /** + * Required. A mapping of stage numbers to their respective desired soak durations. Key is the + * stage number, value is the desired soak duration. Stages omitted from the map will receive the + * standard soak duration configured on the sequence for that stage. + * @return value or {@code null} for none + */ + public java.util.Map getStageOverrides() { + return stageOverrides; + } + + /** + * Required. A mapping of stage numbers to their respective desired soak durations. Key is the + * stage number, value is the desired soak duration. Stages omitted from the map will receive the + * standard soak duration configured on the sequence for that stage. + * @param stageOverrides stageOverrides or {@code null} for none + */ + public PerStageSoakDurationOverrides setStageOverrides(java.util.Map stageOverrides) { + this.stageOverrides = stageOverrides; + return this; + } + + @Override + public PerStageSoakDurationOverrides set(String fieldName, Object value) { + return (PerStageSoakDurationOverrides) super.set(fieldName, value); + } + + @Override + public PerStageSoakDurationOverrides clone() { + return (PerStageSoakDurationOverrides) super.clone(); + } + +} diff --git a/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/Rollout.java b/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/Rollout.java index 75a040f0ba3..54b4da9bf99 100644 --- a/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/Rollout.java +++ b/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/Rollout.java @@ -64,6 +64,21 @@ public final class Rollout extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String etag; + /** + * Optional. If set to true, the rollout will ignore the disruption budgets of the clusters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean ignoreClusterDisruptionBudgets; + + /** + * Optional. If set to true, the rollout will ignore any maintenance policies (Maintenance Windows + * and Maintenance Exclusions) set on the clusters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean ignoreMaintenancePolicies; + /** * Output only. The intent of the rollout. * The value may be {@code null}. @@ -104,6 +119,15 @@ public final class Rollout extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String rolloutSequence; + /** + * Optional. Overrides the soak durations for specific stages of the rollout. Key is the stage + * number, value is the desired soak duration. Stages omitted from the map will receive the + * standard soak duration configured on the sequence for that stage. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.Map stageSoakDurationOverrides; + /** * Output only. The stages of the Rollout. * The value may be {@code null}. @@ -247,6 +271,42 @@ public Rollout setEtag(java.lang.String etag) { return this; } + /** + * Optional. If set to true, the rollout will ignore the disruption budgets of the clusters. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIgnoreClusterDisruptionBudgets() { + return ignoreClusterDisruptionBudgets; + } + + /** + * Optional. If set to true, the rollout will ignore the disruption budgets of the clusters. + * @param ignoreClusterDisruptionBudgets ignoreClusterDisruptionBudgets or {@code null} for none + */ + public Rollout setIgnoreClusterDisruptionBudgets(java.lang.Boolean ignoreClusterDisruptionBudgets) { + this.ignoreClusterDisruptionBudgets = ignoreClusterDisruptionBudgets; + return this; + } + + /** + * Optional. If set to true, the rollout will ignore any maintenance policies (Maintenance Windows + * and Maintenance Exclusions) set on the clusters. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIgnoreMaintenancePolicies() { + return ignoreMaintenancePolicies; + } + + /** + * Optional. If set to true, the rollout will ignore any maintenance policies (Maintenance Windows + * and Maintenance Exclusions) set on the clusters. + * @param ignoreMaintenancePolicies ignoreMaintenancePolicies or {@code null} for none + */ + public Rollout setIgnoreMaintenancePolicies(java.lang.Boolean ignoreMaintenancePolicies) { + this.ignoreMaintenancePolicies = ignoreMaintenancePolicies; + return this; + } + /** * Output only. The intent of the rollout. * @return value or {@code null} for none @@ -342,6 +402,27 @@ public Rollout setRolloutSequence(java.lang.String rolloutSequence) { return this; } + /** + * Optional. Overrides the soak durations for specific stages of the rollout. Key is the stage + * number, value is the desired soak duration. Stages omitted from the map will receive the + * standard soak duration configured on the sequence for that stage. + * @return value or {@code null} for none + */ + public java.util.Map getStageSoakDurationOverrides() { + return stageSoakDurationOverrides; + } + + /** + * Optional. Overrides the soak durations for specific stages of the rollout. Key is the stage + * number, value is the desired soak duration. Stages omitted from the map will receive the + * standard soak duration configured on the sequence for that stage. + * @param stageSoakDurationOverrides stageSoakDurationOverrides or {@code null} for none + */ + public Rollout setStageSoakDurationOverrides(java.util.Map stageSoakDurationOverrides) { + this.stageSoakDurationOverrides = stageSoakDurationOverrides; + return this; + } + /** * Output only. The stages of the Rollout. * @return value or {@code null} for none diff --git a/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/UpgradeRolloutSequenceRequest.java b/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/UpgradeRolloutSequenceRequest.java index 1cae0ccefca..477a7d6e1a8 100644 --- a/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/UpgradeRolloutSequenceRequest.java +++ b/clients/google-api-services-gkehub/v1alpha/2.0.0/com/google/api/services/gkehub/v1alpha/model/UpgradeRolloutSequenceRequest.java @@ -37,6 +37,43 @@ public final class UpgradeRolloutSequenceRequest extends com.google.api.client.j @com.google.api.client.util.Key private java.lang.Boolean force; + /** + * Optional. If set to true, the rollout will ignore the disruption budgets of the clusters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean ignoreClusterDisruptionBudgets; + + /** + * Optional. If set to true, the rollout will ignore any maintenance policies (Maintenance Windows + * and Maintenance Exclusions) set on the clusters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean ignoreMaintenancePolicies; + + /** + * Optional. If set to true, the rollout will only upgrade clusters that match the minor version + * of the `version` field, but are on an earlier patch version. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean patchOnly; + + /** + * Optional. Overrides the soak duration for all stages of the rollout. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String soakDurationOverrideAllStages; + + /** + * Optional. Overrides the soak durations for specific stages of the rollout. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private PerStageSoakDurationOverrides soakDurationOverridePerStage; + /** * Required. The type of upgrade. * The value may be {@code null}. @@ -78,6 +115,95 @@ public UpgradeRolloutSequenceRequest setForce(java.lang.Boolean force) { return this; } + /** + * Optional. If set to true, the rollout will ignore the disruption budgets of the clusters. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIgnoreClusterDisruptionBudgets() { + return ignoreClusterDisruptionBudgets; + } + + /** + * Optional. If set to true, the rollout will ignore the disruption budgets of the clusters. + * @param ignoreClusterDisruptionBudgets ignoreClusterDisruptionBudgets or {@code null} for none + */ + public UpgradeRolloutSequenceRequest setIgnoreClusterDisruptionBudgets(java.lang.Boolean ignoreClusterDisruptionBudgets) { + this.ignoreClusterDisruptionBudgets = ignoreClusterDisruptionBudgets; + return this; + } + + /** + * Optional. If set to true, the rollout will ignore any maintenance policies (Maintenance Windows + * and Maintenance Exclusions) set on the clusters. + * @return value or {@code null} for none + */ + public java.lang.Boolean getIgnoreMaintenancePolicies() { + return ignoreMaintenancePolicies; + } + + /** + * Optional. If set to true, the rollout will ignore any maintenance policies (Maintenance Windows + * and Maintenance Exclusions) set on the clusters. + * @param ignoreMaintenancePolicies ignoreMaintenancePolicies or {@code null} for none + */ + public UpgradeRolloutSequenceRequest setIgnoreMaintenancePolicies(java.lang.Boolean ignoreMaintenancePolicies) { + this.ignoreMaintenancePolicies = ignoreMaintenancePolicies; + return this; + } + + /** + * Optional. If set to true, the rollout will only upgrade clusters that match the minor version + * of the `version` field, but are on an earlier patch version. + * @return value or {@code null} for none + */ + public java.lang.Boolean getPatchOnly() { + return patchOnly; + } + + /** + * Optional. If set to true, the rollout will only upgrade clusters that match the minor version + * of the `version` field, but are on an earlier patch version. + * @param patchOnly patchOnly or {@code null} for none + */ + public UpgradeRolloutSequenceRequest setPatchOnly(java.lang.Boolean patchOnly) { + this.patchOnly = patchOnly; + return this; + } + + /** + * Optional. Overrides the soak duration for all stages of the rollout. + * @return value or {@code null} for none + */ + public String getSoakDurationOverrideAllStages() { + return soakDurationOverrideAllStages; + } + + /** + * Optional. Overrides the soak duration for all stages of the rollout. + * @param soakDurationOverrideAllStages soakDurationOverrideAllStages or {@code null} for none + */ + public UpgradeRolloutSequenceRequest setSoakDurationOverrideAllStages(String soakDurationOverrideAllStages) { + this.soakDurationOverrideAllStages = soakDurationOverrideAllStages; + return this; + } + + /** + * Optional. Overrides the soak durations for specific stages of the rollout. + * @return value or {@code null} for none + */ + public PerStageSoakDurationOverrides getSoakDurationOverridePerStage() { + return soakDurationOverridePerStage; + } + + /** + * Optional. Overrides the soak durations for specific stages of the rollout. + * @param soakDurationOverridePerStage soakDurationOverridePerStage or {@code null} for none + */ + public UpgradeRolloutSequenceRequest setSoakDurationOverridePerStage(PerStageSoakDurationOverrides soakDurationOverridePerStage) { + this.soakDurationOverridePerStage = soakDurationOverridePerStage; + return this; + } + /** * Required. The type of upgrade. * @return value or {@code null} for none diff --git a/clients/google-api-services-gkehub/v1alpha/2.0.0/pom.xml b/clients/google-api-services-gkehub/v1alpha/2.0.0/pom.xml index eaa4076d713..439253705e9 100644 --- a/clients/google-api-services-gkehub/v1alpha/2.0.0/pom.xml +++ b/clients/google-api-services-gkehub/v1alpha/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-gkehub - v1alpha-rev20260731-2.0.0 - GKE Hub API v1alpha-rev20260731-2.0.0 + v1alpha-rev20260817-2.0.0 + GKE Hub API v1alpha-rev20260817-2.0.0 jar 2011 diff --git a/clients/google-api-services-gkehub/v1alpha/README.md b/clients/google-api-services-gkehub/v1alpha/README.md index f26d746bd09..c70f1e26359 100644 --- a/clients/google-api-services-gkehub/v1alpha/README.md +++ b/clients/google-api-services-gkehub/v1alpha/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-gkehub - v1alpha-rev20260731-2.0.0 + v1alpha-rev20260817-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-gkehub:v1alpha-rev20260731-2.0.0' + implementation 'com.google.apis:google-api-services-gkehub:v1alpha-rev20260817-2.0.0' } ```