Skip to content

Commit d34d931

Browse files
chore: regenerate container client
1 parent ebb6aa7 commit d34d931

24 files changed

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

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Container extends com.google.api.client.googleapis.services.json.Ab
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -12954,8 +12954,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
1295412954
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
1295512955
* <li>Android: {@code newCompatibleTransport} from
1295612956
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
12957-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
12958-
* </li>
12957+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
1295912958
* </ul>
1296012959
* @param jsonFactory JSON factory, which may be:
1296112960
* <ul>

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
9191
private java.lang.String clusterIpv4Cidr;
9292

9393
/**
94+
* Optional. Deprecated: Compliance Posture is no longer supported. For more details, see
95+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
9496
* Enable/Disable Compliance Posture features for the cluster.
9597
* The value may be {@code null}.
9698
*/
@@ -588,7 +590,7 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
588590
private SecretManagerConfig secretManagerConfig;
589591

590592
/**
591-
* Enable/Disable Security Posture API features for the cluster.
593+
* Optional. Enable/Disable Security Posture API features for the cluster.
592594
* The value may be {@code null}.
593595
*/
594596
@com.google.api.client.util.Key
@@ -826,6 +828,8 @@ public Cluster setClusterIpv4Cidr(java.lang.String clusterIpv4Cidr) {
826828
}
827829

828830
/**
831+
* Optional. Deprecated: Compliance Posture is no longer supported. For more details, see
832+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
829833
* Enable/Disable Compliance Posture features for the cluster.
830834
* @return value or {@code null} for none
831835
*/
@@ -834,6 +838,8 @@ public CompliancePostureConfig getCompliancePostureConfig() {
834838
}
835839

836840
/**
841+
* Optional. Deprecated: Compliance Posture is no longer supported. For more details, see
842+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
837843
* Enable/Disable Compliance Posture features for the cluster.
838844
* @param compliancePostureConfig compliancePostureConfig or {@code null} for none
839845
*/
@@ -2000,15 +2006,15 @@ public Cluster setSecretManagerConfig(SecretManagerConfig secretManagerConfig) {
20002006
}
20012007

20022008
/**
2003-
* Enable/Disable Security Posture API features for the cluster.
2009+
* Optional. Enable/Disable Security Posture API features for the cluster.
20042010
* @return value or {@code null} for none
20052011
*/
20062012
public SecurityPostureConfig getSecurityPostureConfig() {
20072013
return securityPostureConfig;
20082014
}
20092015

20102016
/**
2011-
* Enable/Disable Security Posture API features for the cluster.
2017+
* Optional. Enable/Disable Security Posture API features for the cluster.
20122018
* @param securityPostureConfig securityPostureConfig or {@code null} for none
20132019
*/
20142020
public Cluster setSecurityPostureConfig(SecurityPostureConfig securityPostureConfig) {

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
9696
private ClusterAutoscaling desiredClusterAutoscaling;
9797

9898
/**
99+
* Deprecated: Compliance Posture is no longer supported. For more details, see
100+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
99101
* Enable/Disable Compliance Posture features for the cluster.
100102
* The value may be {@code null}.
101103
*/
@@ -759,6 +761,8 @@ public ClusterUpdate setDesiredClusterAutoscaling(ClusterAutoscaling desiredClus
759761
}
760762

761763
/**
764+
* Deprecated: Compliance Posture is no longer supported. For more details, see
765+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
762766
* Enable/Disable Compliance Posture features for the cluster.
763767
* @return value or {@code null} for none
764768
*/
@@ -767,6 +771,8 @@ public CompliancePostureConfig getDesiredCompliancePostureConfig() {
767771
}
768772

769773
/**
774+
* Deprecated: Compliance Posture is no longer supported. For more details, see
775+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
770776
* Enable/Disable Compliance Posture features for the cluster.
771777
* @param desiredCompliancePostureConfig desiredCompliancePostureConfig or {@code null} for none
772778
*/

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

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

1919
/**
20+
* Deprecated: Compliance Posture is no longer supported. For more details, see
21+
* https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation.
2022
* CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance
2123
* Posture.
2224
*
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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+
* Contains config to modify node-level parameters for container restart behavior.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class CrashLoopBackOffConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum
35+
* 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.
36+
* The string must be a sequence of decimal numbers, each with optional fraction and a unit
37+
* suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See
38+
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-
39+
* restart-delay for more details.
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.String maxContainerRestartPeriod;
44+
45+
/**
46+
* Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum
47+
* 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.
48+
* The string must be a sequence of decimal numbers, each with optional fraction and a unit
49+
* suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See
50+
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-
51+
* restart-delay for more details.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.String getMaxContainerRestartPeriod() {
55+
return maxContainerRestartPeriod;
56+
}
57+
58+
/**
59+
* Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum
60+
* 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum.
61+
* The string must be a sequence of decimal numbers, each with optional fraction and a unit
62+
* suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See
63+
* https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-
64+
* restart-delay for more details.
65+
* @param maxContainerRestartPeriod maxContainerRestartPeriod or {@code null} for none
66+
*/
67+
public CrashLoopBackOffConfig setMaxContainerRestartPeriod(java.lang.String maxContainerRestartPeriod) {
68+
this.maxContainerRestartPeriod = maxContainerRestartPeriod;
69+
return this;
70+
}
71+
72+
@Override
73+
public CrashLoopBackOffConfig set(String fieldName, Object value) {
74+
return (CrashLoopBackOffConfig) super.set(fieldName, value);
75+
}
76+
77+
@Override
78+
public CrashLoopBackOffConfig clone() {
79+
return (CrashLoopBackOffConfig) super.clone();
80+
}
81+
82+
}
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
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+
* DisruptionBudget defines the upgrade disruption budget for the cluster control plane.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class DisruptionBudget extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The last time a disruption was performed on the control plane.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String lastDisruptionTime;
39+
40+
/**
41+
* Output only. The last time a minor version upgrade was performed on the control plane.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private String lastMinorVersionDisruptionTime;
46+
47+
/**
48+
* Optional. The minimum duration between two minor version upgrades of the control plane.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private String minorVersionDisruptionInterval;
53+
54+
/**
55+
* Optional. The minimum duration between two patch version upgrades of the control plane.
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private String patchVersionDisruptionInterval;
60+
61+
/**
62+
* Output only. The last time a disruption was performed on the control plane.
63+
* @return value or {@code null} for none
64+
*/
65+
public String getLastDisruptionTime() {
66+
return lastDisruptionTime;
67+
}
68+
69+
/**
70+
* Output only. The last time a disruption was performed on the control plane.
71+
* @param lastDisruptionTime lastDisruptionTime or {@code null} for none
72+
*/
73+
public DisruptionBudget setLastDisruptionTime(String lastDisruptionTime) {
74+
this.lastDisruptionTime = lastDisruptionTime;
75+
return this;
76+
}
77+
78+
/**
79+
* Output only. The last time a minor version upgrade was performed on the control plane.
80+
* @return value or {@code null} for none
81+
*/
82+
public String getLastMinorVersionDisruptionTime() {
83+
return lastMinorVersionDisruptionTime;
84+
}
85+
86+
/**
87+
* Output only. The last time a minor version upgrade was performed on the control plane.
88+
* @param lastMinorVersionDisruptionTime lastMinorVersionDisruptionTime or {@code null} for none
89+
*/
90+
public DisruptionBudget setLastMinorVersionDisruptionTime(String lastMinorVersionDisruptionTime) {
91+
this.lastMinorVersionDisruptionTime = lastMinorVersionDisruptionTime;
92+
return this;
93+
}
94+
95+
/**
96+
* Optional. The minimum duration between two minor version upgrades of the control plane.
97+
* @return value or {@code null} for none
98+
*/
99+
public String getMinorVersionDisruptionInterval() {
100+
return minorVersionDisruptionInterval;
101+
}
102+
103+
/**
104+
* Optional. The minimum duration between two minor version upgrades of the control plane.
105+
* @param minorVersionDisruptionInterval minorVersionDisruptionInterval or {@code null} for none
106+
*/
107+
public DisruptionBudget setMinorVersionDisruptionInterval(String minorVersionDisruptionInterval) {
108+
this.minorVersionDisruptionInterval = minorVersionDisruptionInterval;
109+
return this;
110+
}
111+
112+
/**
113+
* Optional. The minimum duration between two patch version upgrades of the control plane.
114+
* @return value or {@code null} for none
115+
*/
116+
public String getPatchVersionDisruptionInterval() {
117+
return patchVersionDisruptionInterval;
118+
}
119+
120+
/**
121+
* Optional. The minimum duration between two patch version upgrades of the control plane.
122+
* @param patchVersionDisruptionInterval patchVersionDisruptionInterval or {@code null} for none
123+
*/
124+
public DisruptionBudget setPatchVersionDisruptionInterval(String patchVersionDisruptionInterval) {
125+
this.patchVersionDisruptionInterval = patchVersionDisruptionInterval;
126+
return this;
127+
}
128+
129+
@Override
130+
public DisruptionBudget set(String fieldName, Object value) {
131+
return (DisruptionBudget) super.set(fieldName, value);
132+
}
133+
134+
@Override
135+
public DisruptionBudget clone() {
136+
return (DisruptionBudget) super.clone();
137+
}
138+
139+
}

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/model/MaintenancePolicy.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 MaintenancePolicy extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* Optional. The upgrade disruption budget for the cluster control plane.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private DisruptionBudget disruptionBudget;
39+
3340
/**
3441
* A hash identifying the version of this policy, so that updates to fields of the policy won't
3542
* accidentally undo intermediate changes (and so that users of the API unaware of some fields
@@ -47,6 +54,23 @@ public final class MaintenancePolicy extends com.google.api.client.json.GenericJ
4754
@com.google.api.client.util.Key
4855
private MaintenanceWindow window;
4956

57+
/**
58+
* Optional. The upgrade disruption budget for the cluster control plane.
59+
* @return value or {@code null} for none
60+
*/
61+
public DisruptionBudget getDisruptionBudget() {
62+
return disruptionBudget;
63+
}
64+
65+
/**
66+
* Optional. The upgrade disruption budget for the cluster control plane.
67+
* @param disruptionBudget disruptionBudget or {@code null} for none
68+
*/
69+
public MaintenancePolicy setDisruptionBudget(DisruptionBudget disruptionBudget) {
70+
this.disruptionBudget = disruptionBudget;
71+
return this;
72+
}
73+
5074
/**
5175
* A hash identifying the version of this policy, so that updates to fields of the policy won't
5276
* accidentally undo intermediate changes (and so that users of the API unaware of some fields

0 commit comments

Comments
 (0)