Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-gkehub/v1alpha/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-gkehub</artifactId>
<version>v1alpha-rev20260731-2.0.0</version>
<version>v1alpha-rev20260817-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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<String, String> 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<String, String> 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<String, String> 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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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<String, String> stageSoakDurationOverrides;

/**
* Output only. The stages of the Rollout.
* The value may be {@code null}.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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<String, String> 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<String, String> stageSoakDurationOverrides) {
this.stageSoakDurationOverrides = stageSoakDurationOverrides;
return this;
}

/**
* Output only. The stages of the Rollout.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-gkehub/v1alpha/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-gkehub</artifactId>
<version>v1alpha-rev20260731-2.0.0</version>
<name>GKE Hub API v1alpha-rev20260731-2.0.0</name>
<version>v1alpha-rev20260817-2.0.0</version>
<name>GKE Hub API v1alpha-rev20260817-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-gkehub/v1alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-gkehub</artifactId>
<version>v1alpha-rev20260731-2.0.0</version>
<version>v1alpha-rev20260817-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading