Skip to content

Commit 74681b7

Browse files
1 parent af122dc commit 74681b7

10 files changed

Lines changed: 384 additions & 6 deletions

File tree

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
517517
@com.google.api.client.util.Key
518518
private NodeConfig nodeConfig;
519519

520+
/**
521+
* Optional. Configuration for Node Creation Mode.
522+
* The value may be {@code null}.
523+
*/
524+
@com.google.api.client.util.Key
525+
private NodeCreationConfig nodeCreationConfig;
526+
520527
/**
521528
* Output only. The size of the address space on each node for hosting containers. This is
522529
* provisioned from within the `container_ipv4_cidr` range. This field will only be set when
@@ -1956,6 +1963,23 @@ public Cluster setNodeConfig(NodeConfig nodeConfig) {
19561963
return this;
19571964
}
19581965

1966+
/**
1967+
* Optional. Configuration for Node Creation Mode.
1968+
* @return value or {@code null} for none
1969+
*/
1970+
public NodeCreationConfig getNodeCreationConfig() {
1971+
return nodeCreationConfig;
1972+
}
1973+
1974+
/**
1975+
* Optional. Configuration for Node Creation Mode.
1976+
* @param nodeCreationConfig nodeCreationConfig or {@code null} for none
1977+
*/
1978+
public Cluster setNodeCreationConfig(NodeCreationConfig nodeCreationConfig) {
1979+
this.nodeCreationConfig = nodeCreationConfig;
1980+
return this;
1981+
}
1982+
19591983
/**
19601984
* Output only. The size of the address space on each node for hosting containers. This is
19611985
* provisioned from within the `container_ipv4_cidr` range. This field will only be set when

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
410410
@com.google.api.client.util.Key
411411
private NetworkTierConfig desiredNetworkTierConfig;
412412

413+
/**
414+
* Optional. The desired NodeCreationConfig for the cluster.
415+
* The value may be {@code null}.
416+
*/
417+
@com.google.api.client.util.Key
418+
private NodeCreationConfig desiredNodeCreationConfig;
419+
413420
/**
414421
* The desired node kubelet config for the cluster.
415422
* The value may be {@code null}.
@@ -1631,6 +1638,23 @@ public ClusterUpdate setDesiredNetworkTierConfig(NetworkTierConfig desiredNetwor
16311638
return this;
16321639
}
16331640

1641+
/**
1642+
* Optional. The desired NodeCreationConfig for the cluster.
1643+
* @return value or {@code null} for none
1644+
*/
1645+
public NodeCreationConfig getDesiredNodeCreationConfig() {
1646+
return desiredNodeCreationConfig;
1647+
}
1648+
1649+
/**
1650+
* Optional. The desired NodeCreationConfig for the cluster.
1651+
* @param desiredNodeCreationConfig desiredNodeCreationConfig or {@code null} for none
1652+
*/
1653+
public ClusterUpdate setDesiredNodeCreationConfig(NodeCreationConfig desiredNodeCreationConfig) {
1654+
this.desiredNodeCreationConfig = desiredNodeCreationConfig;
1655+
return this;
1656+
}
1657+
16341658
/**
16351659
* The desired node kubelet config for the cluster.
16361660
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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+
* Defines the maintenance exclusion for the node pool.
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 ExclusionUntilEndOfSupport extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Indicates whether the exclusion is enabled.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean enabled;
39+
40+
/**
41+
* Output only. The end time of the maintenance exclusion. It is output only. It is the cluster
42+
* control plane version's end of support time, or end of extended support time when the cluster
43+
* is on extended support channel.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private String endTime;
48+
49+
/**
50+
* Output only. The start time of the maintenance exclusion. It is output only. It is the
51+
* exclusion creation time.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private String startTime;
56+
57+
/**
58+
* Optional. Indicates whether the exclusion is enabled.
59+
* @return value or {@code null} for none
60+
*/
61+
public java.lang.Boolean getEnabled() {
62+
return enabled;
63+
}
64+
65+
/**
66+
* Optional. Indicates whether the exclusion is enabled.
67+
* @param enabled enabled or {@code null} for none
68+
*/
69+
public ExclusionUntilEndOfSupport setEnabled(java.lang.Boolean enabled) {
70+
this.enabled = enabled;
71+
return this;
72+
}
73+
74+
/**
75+
* Output only. The end time of the maintenance exclusion. It is output only. It is the cluster
76+
* control plane version's end of support time, or end of extended support time when the cluster
77+
* is on extended support channel.
78+
* @return value or {@code null} for none
79+
*/
80+
public String getEndTime() {
81+
return endTime;
82+
}
83+
84+
/**
85+
* Output only. The end time of the maintenance exclusion. It is output only. It is the cluster
86+
* control plane version's end of support time, or end of extended support time when the cluster
87+
* is on extended support channel.
88+
* @param endTime endTime or {@code null} for none
89+
*/
90+
public ExclusionUntilEndOfSupport setEndTime(String endTime) {
91+
this.endTime = endTime;
92+
return this;
93+
}
94+
95+
/**
96+
* Output only. The start time of the maintenance exclusion. It is output only. It is the
97+
* exclusion creation time.
98+
* @return value or {@code null} for none
99+
*/
100+
public String getStartTime() {
101+
return startTime;
102+
}
103+
104+
/**
105+
* Output only. The start time of the maintenance exclusion. It is output only. It is the
106+
* exclusion creation time.
107+
* @param startTime startTime or {@code null} for none
108+
*/
109+
public ExclusionUntilEndOfSupport setStartTime(String startTime) {
110+
this.startTime = startTime;
111+
return this;
112+
}
113+
114+
@Override
115+
public ExclusionUntilEndOfSupport set(String fieldName, Object value) {
116+
return (ExclusionUntilEndOfSupport) super.set(fieldName, value);
117+
}
118+
119+
@Override
120+
public ExclusionUntilEndOfSupport clone() {
121+
return (ExclusionUntilEndOfSupport) super.clone();
122+
}
123+
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* NodeCreationConfig defines the settings of node creation mode.
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 NodeCreationConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The mode of node creation.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nodeCreationMode;
39+
40+
/**
41+
* The mode of node creation.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getNodeCreationMode() {
45+
return nodeCreationMode;
46+
}
47+
48+
/**
49+
* The mode of node creation.
50+
* @param nodeCreationMode nodeCreationMode or {@code null} for none
51+
*/
52+
public NodeCreationConfig setNodeCreationMode(java.lang.String nodeCreationMode) {
53+
this.nodeCreationMode = nodeCreationMode;
54+
return this;
55+
}
56+
57+
@Override
58+
public NodeCreationConfig set(String fieldName, Object value) {
59+
return (NodeCreationConfig) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public NodeCreationConfig clone() {
64+
return (NodeCreationConfig) super.clone();
65+
}
66+
67+
}

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

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

33+
/**
34+
* The duration of the grace termination period for node drain.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String graceTerminationDuration;
39+
40+
/**
41+
* The duration of the PDB timeout period for node drain.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private String pdbTimeoutDuration;
46+
3347
/**
3448
* Whether to respect PDB during node pool deletion.
3549
* The value may be {@code null}.
3650
*/
3751
@com.google.api.client.util.Key
3852
private java.lang.Boolean respectPdbDuringNodePoolDeletion;
3953

54+
/**
55+
* The duration of the grace termination period for node drain.
56+
* @return value or {@code null} for none
57+
*/
58+
public String getGraceTerminationDuration() {
59+
return graceTerminationDuration;
60+
}
61+
62+
/**
63+
* The duration of the grace termination period for node drain.
64+
* @param graceTerminationDuration graceTerminationDuration or {@code null} for none
65+
*/
66+
public NodeDrainConfig setGraceTerminationDuration(String graceTerminationDuration) {
67+
this.graceTerminationDuration = graceTerminationDuration;
68+
return this;
69+
}
70+
71+
/**
72+
* The duration of the PDB timeout period for node drain.
73+
* @return value or {@code null} for none
74+
*/
75+
public String getPdbTimeoutDuration() {
76+
return pdbTimeoutDuration;
77+
}
78+
79+
/**
80+
* The duration of the PDB timeout period for node drain.
81+
* @param pdbTimeoutDuration pdbTimeoutDuration or {@code null} for none
82+
*/
83+
public NodeDrainConfig setPdbTimeoutDuration(String pdbTimeoutDuration) {
84+
this.pdbTimeoutDuration = pdbTimeoutDuration;
85+
return this;
86+
}
87+
4088
/**
4189
* Whether to respect PDB during node pool deletion.
4290
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ public final class NodePool extends com.google.api.client.json.GenericJson {
111111
@com.google.api.client.util.Key
112112
private java.util.List<java.lang.String> locations;
113113

114+
/**
115+
* Optional. Specifies the maintenance policy for the node pool.
116+
* The value may be {@code null}.
117+
*/
118+
@com.google.api.client.util.Key
119+
private NodePoolMaintenancePolicy maintenancePolicy;
120+
114121
/**
115122
* NodeManagement configuration for this NodePool.
116123
* The value may be {@code null}.
@@ -395,6 +402,23 @@ public NodePool setLocations(java.util.List<java.lang.String> locations) {
395402
return this;
396403
}
397404

405+
/**
406+
* Optional. Specifies the maintenance policy for the node pool.
407+
* @return value or {@code null} for none
408+
*/
409+
public NodePoolMaintenancePolicy getMaintenancePolicy() {
410+
return maintenancePolicy;
411+
}
412+
413+
/**
414+
* Optional. Specifies the maintenance policy for the node pool.
415+
* @param maintenancePolicy maintenancePolicy or {@code null} for none
416+
*/
417+
public NodePool setMaintenancePolicy(NodePoolMaintenancePolicy maintenancePolicy) {
418+
this.maintenancePolicy = maintenancePolicy;
419+
return this;
420+
}
421+
398422
/**
399423
* NodeManagement configuration for this NodePool.
400424
* @return value or {@code null} for none

0 commit comments

Comments
 (0)