Skip to content

Commit 1192c44

Browse files
1 parent f3d8523 commit 1192c44

10 files changed

Lines changed: 384 additions & 6 deletions

File tree

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

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

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

488+
/**
489+
* Optional. Configuration for Node Creation Mode.
490+
* The value may be {@code null}.
491+
*/
492+
@com.google.api.client.util.Key
493+
private NodeCreationConfig nodeCreationConfig;
494+
488495
/**
489496
* Output only. The size of the address space on each node for hosting containers. This is
490497
* provisioned from within the `container_ipv4_cidr` range. This field will only be set when
@@ -1786,6 +1793,23 @@ public Cluster setNodeConfig(NodeConfig nodeConfig) {
17861793
return this;
17871794
}
17881795

1796+
/**
1797+
* Optional. Configuration for Node Creation Mode.
1798+
* @return value or {@code null} for none
1799+
*/
1800+
public NodeCreationConfig getNodeCreationConfig() {
1801+
return nodeCreationConfig;
1802+
}
1803+
1804+
/**
1805+
* Optional. Configuration for Node Creation Mode.
1806+
* @param nodeCreationConfig nodeCreationConfig or {@code null} for none
1807+
*/
1808+
public Cluster setNodeCreationConfig(NodeCreationConfig nodeCreationConfig) {
1809+
this.nodeCreationConfig = nodeCreationConfig;
1810+
return this;
1811+
}
1812+
17891813
/**
17901814
* Output only. The size of the address space on each node for hosting containers. This is
17911815
* provisioned from within the `container_ipv4_cidr` range. This field will only be set when

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

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

390+
/**
391+
* Optional. The desired NodeCreationConfig for the cluster.
392+
* The value may be {@code null}.
393+
*/
394+
@com.google.api.client.util.Key
395+
private NodeCreationConfig desiredNodeCreationConfig;
396+
390397
/**
391398
* The desired node kubelet config for the cluster.
392399
* The value may be {@code null}.
@@ -1486,6 +1493,23 @@ public ClusterUpdate setDesiredNetworkTierConfig(NetworkTierConfig desiredNetwor
14861493
return this;
14871494
}
14881495

1496+
/**
1497+
* Optional. The desired NodeCreationConfig for the cluster.
1498+
* @return value or {@code null} for none
1499+
*/
1500+
public NodeCreationConfig getDesiredNodeCreationConfig() {
1501+
return desiredNodeCreationConfig;
1502+
}
1503+
1504+
/**
1505+
* Optional. The desired NodeCreationConfig for the cluster.
1506+
* @param desiredNodeCreationConfig desiredNodeCreationConfig or {@code null} for none
1507+
*/
1508+
public ClusterUpdate setDesiredNodeCreationConfig(NodeCreationConfig desiredNodeCreationConfig) {
1509+
this.desiredNodeCreationConfig = desiredNodeCreationConfig;
1510+
return this;
1511+
}
1512+
14891513
/**
14901514
* The desired node kubelet config for the cluster.
14911515
* @return value or {@code null} for none
Lines changed: 124 additions & 0 deletions
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.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+
}
Lines changed: 67 additions & 0 deletions
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.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/v1/2.0.0/com/google/api/services/container/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/v1/2.0.0/com/google/api/services/container/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)