Skip to content

Commit d0eeff6

Browse files
1 parent 43dee9f commit d0eeff6

File tree

14 files changed

+191
-39
lines changed

14 files changed

+191
-39
lines changed

clients/google-api-services-container/v1/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>v1-rev20250812-2.0.0</version>
25+
<version>v1-rev20250923-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:v1-rev20250812-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20250923-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/AddonsConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public final class AddonsConfig extends com.google.api.client.json.GenericJson {
3939
private CloudRunConfig cloudRunConfig;
4040

4141
/**
42-
* Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP
43-
* services through the Kubernetes API
42+
* Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google
43+
* Cloud services through the Kubernetes API.
4444
* The value may be {@code null}.
4545
*/
4646
@com.google.api.client.util.Key
@@ -61,7 +61,7 @@ public final class AddonsConfig extends com.google.api.client.json.GenericJson {
6161
private GcePersistentDiskCsiDriverConfig gcePersistentDiskCsiDriverConfig;
6262

6363
/**
64-
* Configuration for the GCP Filestore CSI driver.
64+
* Configuration for the Filestore CSI driver.
6565
* The value may be {@code null}.
6666
*/
6767
@com.google.api.client.util.Key
@@ -170,17 +170,17 @@ public AddonsConfig setCloudRunConfig(CloudRunConfig cloudRunConfig) {
170170
}
171171

172172
/**
173-
* Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP
174-
* services through the Kubernetes API
173+
* Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google
174+
* Cloud services through the Kubernetes API.
175175
* @return value or {@code null} for none
176176
*/
177177
public ConfigConnectorConfig getConfigConnectorConfig() {
178178
return configConnectorConfig;
179179
}
180180

181181
/**
182-
* Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP
183-
* services through the Kubernetes API
182+
* Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google
183+
* Cloud services through the Kubernetes API.
184184
* @param configConnectorConfig configConnectorConfig or {@code null} for none
185185
*/
186186
public AddonsConfig setConfigConnectorConfig(ConfigConnectorConfig configConnectorConfig) {
@@ -223,15 +223,15 @@ public AddonsConfig setGcePersistentDiskCsiDriverConfig(GcePersistentDiskCsiDriv
223223
}
224224

225225
/**
226-
* Configuration for the GCP Filestore CSI driver.
226+
* Configuration for the Filestore CSI driver.
227227
* @return value or {@code null} for none
228228
*/
229229
public GcpFilestoreCsiDriverConfig getGcpFilestoreCsiDriverConfig() {
230230
return gcpFilestoreCsiDriverConfig;
231231
}
232232

233233
/**
234-
* Configuration for the GCP Filestore CSI driver.
234+
* Configuration for the Filestore CSI driver.
235235
* @param gcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig or {@code null} for none
236236
*/
237237
public AddonsConfig setGcpFilestoreCsiDriverConfig(GcpFilestoreCsiDriverConfig gcpFilestoreCsiDriverConfig) {
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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.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+
/**
35+
* Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3
36+
* days. The value can be set between 0 and 7 days, inclusive.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private String waitForDrainDuration;
41+
42+
/**
43+
* Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3
44+
* days. The value can be set between 0 and 7 days, inclusive.
45+
* @return value or {@code null} for none
46+
*/
47+
public String getWaitForDrainDuration() {
48+
return waitForDrainDuration;
49+
}
50+
51+
/**
52+
* Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3
53+
* days. The value can be set between 0 and 7 days, inclusive.
54+
* @param waitForDrainDuration waitForDrainDuration or {@code null} for none
55+
*/
56+
public AutoscaledRolloutPolicy setWaitForDrainDuration(String waitForDrainDuration) {
57+
this.waitForDrainDuration = waitForDrainDuration;
58+
return this;
59+
}
60+
61+
@Override
62+
public AutoscaledRolloutPolicy set(String fieldName, Object value) {
63+
return (AutoscaledRolloutPolicy) super.set(fieldName, value);
64+
}
65+
66+
@Override
67+
public AutoscaledRolloutPolicy clone() {
68+
return (AutoscaledRolloutPolicy) super.clone();
69+
}
70+
71+
}

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/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/v1/2.0.0/com/google/api/services/container/model/Cluster.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
217217
private java.lang.String endpoint;
218218

219219
/**
220-
* GKE Enterprise Configuration.
220+
* GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an
221+
* Enterprise tier.
221222
* The value may be {@code null}.
222223
*/
223224
@com.google.api.client.util.Key
@@ -661,7 +662,7 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
661662
private VerticalPodAutoscaling verticalPodAutoscaling;
662663

663664
/**
664-
* Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
665+
* Configuration for the use of Kubernetes Service Accounts in IAM policies.
665666
* The value may be {@code null}.
666667
*/
667668
@com.google.api.client.util.Key
@@ -1121,15 +1122,17 @@ public Cluster setEndpoint(java.lang.String endpoint) {
11211122
}
11221123

11231124
/**
1124-
* GKE Enterprise Configuration.
1125+
* GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an
1126+
* Enterprise tier.
11251127
* @return value or {@code null} for none
11261128
*/
11271129
public EnterpriseConfig getEnterpriseConfig() {
11281130
return enterpriseConfig;
11291131
}
11301132

11311133
/**
1132-
* GKE Enterprise Configuration.
1134+
* GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an
1135+
* Enterprise tier.
11331136
* @param enterpriseConfig enterpriseConfig or {@code null} for none
11341137
*/
11351138
public Cluster setEnterpriseConfig(EnterpriseConfig enterpriseConfig) {
@@ -2168,15 +2171,15 @@ public Cluster setVerticalPodAutoscaling(VerticalPodAutoscaling verticalPodAutos
21682171
}
21692172

21702173
/**
2171-
* Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
2174+
* Configuration for the use of Kubernetes Service Accounts in IAM policies.
21722175
* @return value or {@code null} for none
21732176
*/
21742177
public WorkloadIdentityConfig getWorkloadIdentityConfig() {
21752178
return workloadIdentityConfig;
21762179
}
21772180

21782181
/**
2179-
* Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
2182+
* Configuration for the use of Kubernetes Service Accounts in IAM policies.
21802183
* @param workloadIdentityConfig workloadIdentityConfig or {@code null} for none
21812184
*/
21822185
public Cluster setWorkloadIdentityConfig(WorkloadIdentityConfig workloadIdentityConfig) {

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/ClusterUpdate.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
198198
private java.lang.Boolean desiredEnablePrivateEndpoint;
199199

200200
/**
201-
* The desired enterprise configuration for the cluster.
201+
* The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are
202+
* now available without an Enterprise tier.
202203
* The value may be {@code null}.
203204
*/
204205
@com.google.api.client.util.Key
@@ -990,15 +991,17 @@ public ClusterUpdate setDesiredEnablePrivateEndpoint(java.lang.Boolean desiredEn
990991
}
991992

992993
/**
993-
* The desired enterprise configuration for the cluster.
994+
* The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are
995+
* now available without an Enterprise tier.
994996
* @return value or {@code null} for none
995997
*/
996998
public DesiredEnterpriseConfig getDesiredEnterpriseConfig() {
997999
return desiredEnterpriseConfig;
9981000
}
9991001

10001002
/**
1001-
* The desired enterprise configuration for the cluster.
1003+
* The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are
1004+
* now available without an Enterprise tier.
10021005
* @param desiredEnterpriseConfig desiredEnterpriseConfig or {@code null} for none
10031006
*/
10041007
public ClusterUpdate setDesiredEnterpriseConfig(DesiredEnterpriseConfig desiredEnterpriseConfig) {

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/DNSEndpointConfig.java

Lines changed: 54 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,27 @@
3131
public final class DNSEndpointConfig extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may
35-
* still use the endpoint even if this is false.
34+
* Controls whether user traffic is allowed over this endpoint. Note that Google-managed services
35+
* may still use the endpoint even if this is false.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private java.lang.Boolean allowExternalTraffic;
4040

41+
/**
42+
* Controls whether the k8s certs auth is allowed via DNS.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.Boolean enableK8sCertsViaDns;
47+
48+
/**
49+
* Controls whether the k8s token auth is allowed via DNS.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Boolean enableK8sTokensViaDns;
54+
4155
/**
4256
* Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible
4357
* from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may
@@ -48,24 +62,58 @@ public final class DNSEndpointConfig extends com.google.api.client.json.GenericJ
4862
private java.lang.String endpoint;
4963

5064
/**
51-
* Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may
52-
* still use the endpoint even if this is false.
65+
* Controls whether user traffic is allowed over this endpoint. Note that Google-managed services
66+
* may still use the endpoint even if this is false.
5367
* @return value or {@code null} for none
5468
*/
5569
public java.lang.Boolean getAllowExternalTraffic() {
5670
return allowExternalTraffic;
5771
}
5872

5973
/**
60-
* Controls whether user traffic is allowed over this endpoint. Note that GCP-managed services may
61-
* still use the endpoint even if this is false.
74+
* Controls whether user traffic is allowed over this endpoint. Note that Google-managed services
75+
* may still use the endpoint even if this is false.
6276
* @param allowExternalTraffic allowExternalTraffic or {@code null} for none
6377
*/
6478
public DNSEndpointConfig setAllowExternalTraffic(java.lang.Boolean allowExternalTraffic) {
6579
this.allowExternalTraffic = allowExternalTraffic;
6680
return this;
6781
}
6882

83+
/**
84+
* Controls whether the k8s certs auth is allowed via DNS.
85+
* @return value or {@code null} for none
86+
*/
87+
public java.lang.Boolean getEnableK8sCertsViaDns() {
88+
return enableK8sCertsViaDns;
89+
}
90+
91+
/**
92+
* Controls whether the k8s certs auth is allowed via DNS.
93+
* @param enableK8sCertsViaDns enableK8sCertsViaDns or {@code null} for none
94+
*/
95+
public DNSEndpointConfig setEnableK8sCertsViaDns(java.lang.Boolean enableK8sCertsViaDns) {
96+
this.enableK8sCertsViaDns = enableK8sCertsViaDns;
97+
return this;
98+
}
99+
100+
/**
101+
* Controls whether the k8s token auth is allowed via DNS.
102+
* @return value or {@code null} for none
103+
*/
104+
public java.lang.Boolean getEnableK8sTokensViaDns() {
105+
return enableK8sTokensViaDns;
106+
}
107+
108+
/**
109+
* Controls whether the k8s token auth is allowed via DNS.
110+
* @param enableK8sTokensViaDns enableK8sTokensViaDns or {@code null} for none
111+
*/
112+
public DNSEndpointConfig setEnableK8sTokensViaDns(java.lang.Boolean enableK8sTokensViaDns) {
113+
this.enableK8sTokensViaDns = enableK8sTokensViaDns;
114+
return this;
115+
}
116+
69117
/**
70118
* Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible
71119
* from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/DesiredEnterpriseConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.container.model;
1818

1919
/**
20-
* DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
20+
* DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. Deprecated: GKE
21+
* Enterprise features are now available without an Enterprise tier.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/EnterpriseConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.container.model;
1818

1919
/**
20-
* EnterpriseConfig is the cluster enterprise configuration.
20+
* EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE Enterprise features are
21+
* now available without an Enterprise tier.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation

0 commit comments

Comments
 (0)