Skip to content

Commit 16194b3

Browse files
1 parent 4a2ffd6 commit 16194b3

File tree

8 files changed

+367
-27
lines changed

8 files changed

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

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

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

339+
/**
340+
* The desired Linux node config for all auto-provisioned node pools in autopilot clusters and
341+
* node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here.
342+
* The value may be {@code null}.
343+
*/
344+
@com.google.api.client.util.Key
345+
private LinuxNodeConfig desiredNodePoolAutoConfigLinuxNodeConfig;
346+
339347
/**
340348
* The desired network tags that apply to all auto-provisioned node pools in autopilot clusters
341349
* and node auto-provisioning enabled clusters.
@@ -1253,6 +1261,25 @@ public ClusterUpdate setDesiredNodePoolAutoConfigKubeletConfig(NodeKubeletConfig
12531261
return this;
12541262
}
12551263

1264+
/**
1265+
* The desired Linux node config for all auto-provisioned node pools in autopilot clusters and
1266+
* node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here.
1267+
* @return value or {@code null} for none
1268+
*/
1269+
public LinuxNodeConfig getDesiredNodePoolAutoConfigLinuxNodeConfig() {
1270+
return desiredNodePoolAutoConfigLinuxNodeConfig;
1271+
}
1272+
1273+
/**
1274+
* The desired Linux node config for all auto-provisioned node pools in autopilot clusters and
1275+
* node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here.
1276+
* @param desiredNodePoolAutoConfigLinuxNodeConfig desiredNodePoolAutoConfigLinuxNodeConfig or {@code null} for none
1277+
*/
1278+
public ClusterUpdate setDesiredNodePoolAutoConfigLinuxNodeConfig(LinuxNodeConfig desiredNodePoolAutoConfigLinuxNodeConfig) {
1279+
this.desiredNodePoolAutoConfigLinuxNodeConfig = desiredNodePoolAutoConfigLinuxNodeConfig;
1280+
return this;
1281+
}
1282+
12561283
/**
12571284
* The desired network tags that apply to all auto-provisioned node pools in autopilot clusters
12581285
* and node auto-provisioning enabled clusters.

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

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

192+
/**
193+
* Specifies which method should be used for encrypting the Local SSDs attahced to the node.
194+
* The value may be {@code null}.
195+
*/
196+
@com.google.api.client.util.Key
197+
private java.lang.String localSsdEncryptionMode;
198+
192199
/**
193200
* Logging configuration.
194201
* The value may be {@code null}.
@@ -739,6 +746,23 @@ public NodeConfig setLocalSsdCount(java.lang.Integer localSsdCount) {
739746
return this;
740747
}
741748

749+
/**
750+
* Specifies which method should be used for encrypting the Local SSDs attahced to the node.
751+
* @return value or {@code null} for none
752+
*/
753+
public java.lang.String getLocalSsdEncryptionMode() {
754+
return localSsdEncryptionMode;
755+
}
756+
757+
/**
758+
* Specifies which method should be used for encrypting the Local SSDs attahced to the node.
759+
* @param localSsdEncryptionMode localSsdEncryptionMode or {@code null} for none
760+
*/
761+
public NodeConfig setLocalSsdEncryptionMode(java.lang.String localSsdEncryptionMode) {
762+
this.localSsdEncryptionMode = localSsdEncryptionMode;
763+
return this;
764+
}
765+
742766
/**
743767
* Logging configuration.
744768
* @return value or {@code null} for none

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/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/v1/2.0.0/com/google/api/services/container/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)