Skip to content

Commit c2738e5

Browse files
1 parent b52a755 commit c2738e5

File tree

5 files changed

+74
-6
lines changed

5 files changed

+74
-6
lines changed

clients/google-api-services-container/v1beta1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1beta1-rev20250812-2.0.0</version>
25+
<version>v1beta1-rev20250819-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20250812-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20250819-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.container.v1beta1.model;
18+
19+
/**
20+
* Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both
21+
* the blue and green pools.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class AutoscaledRolloutPolicy extends com.google.api.client.json.GenericJson {
33+
34+
@Override
35+
public AutoscaledRolloutPolicy set(String fieldName, Object value) {
36+
return (AutoscaledRolloutPolicy) super.set(fieldName, value);
37+
}
38+
39+
@Override
40+
public AutoscaledRolloutPolicy clone() {
41+
return (AutoscaledRolloutPolicy) super.clone();
42+
}
43+
44+
}

clients/google-api-services-container/v1beta1/2.0.0/com/google/api/services/container/v1beta1/model/BlueGreenSettings.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class BlueGreenSettings extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private AutoscaledRolloutPolicy autoscaledRolloutPolicy;
39+
3340
/**
3441
* Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
3542
* The value may be {@code null}.
@@ -44,6 +51,23 @@ public final class BlueGreenSettings extends com.google.api.client.json.GenericJ
4451
@com.google.api.client.util.Key
4552
private StandardRolloutPolicy standardRolloutPolicy;
4653

54+
/**
55+
* Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
56+
* @return value or {@code null} for none
57+
*/
58+
public AutoscaledRolloutPolicy getAutoscaledRolloutPolicy() {
59+
return autoscaledRolloutPolicy;
60+
}
61+
62+
/**
63+
* Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
64+
* @param autoscaledRolloutPolicy autoscaledRolloutPolicy or {@code null} for none
65+
*/
66+
public BlueGreenSettings setAutoscaledRolloutPolicy(AutoscaledRolloutPolicy autoscaledRolloutPolicy) {
67+
this.autoscaledRolloutPolicy = autoscaledRolloutPolicy;
68+
return this;
69+
}
70+
4771
/**
4872
* Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
4973
* @return value or {@code null} for none

clients/google-api-services-container/v1beta1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-container</artifactId>
11-
<version>v1beta1-rev20250812-2.0.0</version>
12-
<name>Kubernetes Engine API v1beta1-rev20250812-2.0.0</name>
11+
<version>v1beta1-rev20250819-2.0.0</version>
12+
<name>Kubernetes Engine API v1beta1-rev20250819-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-container/v1beta1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-container</artifactId>
25-
<version>v1beta1-rev20250812-2.0.0</version>
25+
<version>v1beta1-rev20250819-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20250812-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20250819-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)