Skip to content

Commit 6dfb328

Browse files
1 parent 23187ca commit 6dfb328

File tree

8 files changed

+367
-27
lines changed

8 files changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,14 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
359359
@com.google.api.client.util.Key
360360
private NodeKubeletConfig desiredNodePoolAutoConfigKubeletConfig;
361361

362+
/**
363+
* The desired Linux node config for all auto-provisioned node pools in autopilot clusters and
364+
* node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here.
365+
* The value may be {@code null}.
366+
*/
367+
@com.google.api.client.util.Key
368+
private LinuxNodeConfig desiredNodePoolAutoConfigLinuxNodeConfig;
369+
362370
/**
363371
* The desired network tags that apply to all auto-provisioned node pools in autopilot clusters
364372
* and node auto-provisioning enabled clusters.
@@ -1382,6 +1390,25 @@ public ClusterUpdate setDesiredNodePoolAutoConfigKubeletConfig(NodeKubeletConfig
13821390
return this;
13831391
}
13841392

1393+
/**
1394+
* The desired Linux node config for all auto-provisioned node pools in autopilot clusters and
1395+
* node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here.
1396+
* @return value or {@code null} for none
1397+
*/
1398+
public LinuxNodeConfig getDesiredNodePoolAutoConfigLinuxNodeConfig() {
1399+
return desiredNodePoolAutoConfigLinuxNodeConfig;
1400+
}
1401+
1402+
/**
1403+
* The desired Linux node config for all auto-provisioned node pools in autopilot clusters and
1404+
* node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here.
1405+
* @param desiredNodePoolAutoConfigLinuxNodeConfig desiredNodePoolAutoConfigLinuxNodeConfig or {@code null} for none
1406+
*/
1407+
public ClusterUpdate setDesiredNodePoolAutoConfigLinuxNodeConfig(LinuxNodeConfig desiredNodePoolAutoConfigLinuxNodeConfig) {
1408+
this.desiredNodePoolAutoConfigLinuxNodeConfig = desiredNodePoolAutoConfigLinuxNodeConfig;
1409+
return this;
1410+
}
1411+
13851412
/**
13861413
* The desired network tags that apply to all auto-provisioned node pools in autopilot clusters
13871414
* and node auto-provisioning enabled clusters.

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,13 @@ public final class NodeConfig extends com.google.api.client.json.GenericJson {
206206
@com.google.api.client.util.Key
207207
private java.lang.Integer localSsdCount;
208208

209+
/**
210+
* Specifies which method should be used for encrypting the Local SSDs attahced to the node.
211+
* The value may be {@code null}.
212+
*/
213+
@com.google.api.client.util.Key
214+
private java.lang.String localSsdEncryptionMode;
215+
209216
/**
210217
* Logging configuration.
211218
* The value may be {@code null}.
@@ -796,6 +803,23 @@ public NodeConfig setLocalSsdCount(java.lang.Integer localSsdCount) {
796803
return this;
797804
}
798805

806+
/**
807+
* Specifies which method should be used for encrypting the Local SSDs attahced to the node.
808+
* @return value or {@code null} for none
809+
*/
810+
public java.lang.String getLocalSsdEncryptionMode() {
811+
return localSsdEncryptionMode;
812+
}
813+
814+
/**
815+
* Specifies which method should be used for encrypting the Local SSDs attahced to the node.
816+
* @param localSsdEncryptionMode localSsdEncryptionMode or {@code null} for none
817+
*/
818+
public NodeConfig setLocalSsdEncryptionMode(java.lang.String localSsdEncryptionMode) {
819+
this.localSsdEncryptionMode = localSsdEncryptionMode;
820+
return this;
821+
}
822+
799823
/**
800824
* Logging configuration.
801825
* @return value or {@code null} for none

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

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

34+
/**
35+
* Output only. Configuration options for Linux nodes.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private LinuxNodeConfig linuxNodeConfig;
40+
3441
/**
3542
* The list of instance tags applied to all nodes. Tags are used to identify valid sources or
3643
* targets for network firewalls and are specified by the client during cluster creation. Each tag
@@ -56,6 +63,23 @@ public final class NodePoolAutoConfig extends com.google.api.client.json.Generic
5663
@com.google.api.client.util.Key
5764
private ResourceManagerTags resourceManagerTags;
5865

66+
/**
67+
* Output only. Configuration options for Linux nodes.
68+
* @return value or {@code null} for none
69+
*/
70+
public LinuxNodeConfig getLinuxNodeConfig() {
71+
return linuxNodeConfig;
72+
}
73+
74+
/**
75+
* Output only. Configuration options for Linux nodes.
76+
* @param linuxNodeConfig linuxNodeConfig or {@code null} for none
77+
*/
78+
public NodePoolAutoConfig setLinuxNodeConfig(LinuxNodeConfig linuxNodeConfig) {
79+
this.linuxNodeConfig = linuxNodeConfig;
80+
return this;
81+
}
82+
5983
/**
6084
* The list of instance tags applied to all nodes. Tags are used to identify valid sources or
6185
* targets for network firewalls and are specified by the client during cluster creation. Each tag

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

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,32 +53,33 @@ public final class NodePoolAutoscaling extends com.google.api.client.json.Generi
5353
private java.lang.String locationPolicy;
5454

5555
/**
56-
* Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has
56+
* Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has
5757
* to be enough quota to scale up the cluster.
5858
* The value may be {@code null}.
5959
*/
6060
@com.google.api.client.util.Key
6161
private java.lang.Integer maxNodeCount;
6262

6363
/**
64-
* Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
64+
* Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0
65+
* and less than or equal to max_node_count.
6566
* The value may be {@code null}.
6667
*/
6768
@com.google.api.client.util.Key
6869
private java.lang.Integer minNodeCount;
6970

7071
/**
71-
* Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has
72-
* to be enough quota to scale up the cluster. The total_*_node_count fields are mutually
73-
* exclusive with the *_node_count fields.
72+
* Maximum number of nodes in the node pool. Must be greater than or equal to
73+
* total_min_node_count. There has to be enough quota to scale up the cluster. The
74+
* total_*_node_count fields are mutually exclusive with the *_node_count fields.
7475
* The value may be {@code null}.
7576
*/
7677
@com.google.api.client.util.Key
7778
private java.lang.Integer totalMaxNodeCount;
7879

7980
/**
80-
* Minimum number of nodes in the node pool. Must be greater than 1 less than
81-
* total_max_node_count. The total_*_node_count fields are mutually exclusive with the
81+
* Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or
82+
* equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the
8283
* *_node_count fields.
8384
* The value may be {@code null}.
8485
*/
@@ -137,7 +138,7 @@ public NodePoolAutoscaling setLocationPolicy(java.lang.String locationPolicy) {
137138
}
138139

139140
/**
140-
* Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has
141+
* Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has
141142
* to be enough quota to scale up the cluster.
142143
* @return value or {@code null} for none
143144
*/
@@ -146,7 +147,7 @@ public java.lang.Integer getMaxNodeCount() {
146147
}
147148

148149
/**
149-
* Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has
150+
* Maximum number of nodes for one location in the node pool. Must be >= min_node_count. There has
150151
* to be enough quota to scale up the cluster.
151152
* @param maxNodeCount maxNodeCount or {@code null} for none
152153
*/
@@ -156,15 +157,17 @@ public NodePoolAutoscaling setMaxNodeCount(java.lang.Integer maxNodeCount) {
156157
}
157158

158159
/**
159-
* Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
160+
* Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0
161+
* and less than or equal to max_node_count.
160162
* @return value or {@code null} for none
161163
*/
162164
public java.lang.Integer getMinNodeCount() {
163165
return minNodeCount;
164166
}
165167

166168
/**
167-
* Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.
169+
* Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0
170+
* and less than or equal to max_node_count.
168171
* @param minNodeCount minNodeCount or {@code null} for none
169172
*/
170173
public NodePoolAutoscaling setMinNodeCount(java.lang.Integer minNodeCount) {
@@ -173,19 +176,19 @@ public NodePoolAutoscaling setMinNodeCount(java.lang.Integer minNodeCount) {
173176
}
174177

175178
/**
176-
* Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has
177-
* to be enough quota to scale up the cluster. The total_*_node_count fields are mutually
178-
* exclusive with the *_node_count fields.
179+
* Maximum number of nodes in the node pool. Must be greater than or equal to
180+
* total_min_node_count. There has to be enough quota to scale up the cluster. The
181+
* total_*_node_count fields are mutually exclusive with the *_node_count fields.
179182
* @return value or {@code null} for none
180183
*/
181184
public java.lang.Integer getTotalMaxNodeCount() {
182185
return totalMaxNodeCount;
183186
}
184187

185188
/**
186-
* Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has
187-
* to be enough quota to scale up the cluster. The total_*_node_count fields are mutually
188-
* exclusive with the *_node_count fields.
189+
* Maximum number of nodes in the node pool. Must be greater than or equal to
190+
* total_min_node_count. There has to be enough quota to scale up the cluster. The
191+
* total_*_node_count fields are mutually exclusive with the *_node_count fields.
189192
* @param totalMaxNodeCount totalMaxNodeCount or {@code null} for none
190193
*/
191194
public NodePoolAutoscaling setTotalMaxNodeCount(java.lang.Integer totalMaxNodeCount) {
@@ -194,8 +197,8 @@ public NodePoolAutoscaling setTotalMaxNodeCount(java.lang.Integer totalMaxNodeCo
194197
}
195198

196199
/**
197-
* Minimum number of nodes in the node pool. Must be greater than 1 less than
198-
* total_max_node_count. The total_*_node_count fields are mutually exclusive with the
200+
* Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or
201+
* equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the
199202
* *_node_count fields.
200203
* @return value or {@code null} for none
201204
*/
@@ -204,8 +207,8 @@ public java.lang.Integer getTotalMinNodeCount() {
204207
}
205208

206209
/**
207-
* Minimum number of nodes in the node pool. Must be greater than 1 less than
208-
* total_max_node_count. The total_*_node_count fields are mutually exclusive with the
210+
* Minimum number of nodes in the node pool. Must be greater than or equal to 0 and less than or
211+
* equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the
209212
* *_node_count fields.
210213
* @param totalMinNodeCount totalMinNodeCount or {@code null} for none
211214
*/

0 commit comments

Comments
 (0)