Skip to content

Commit 3a6ab60

Browse files
1 parent a1b4039 commit 3a6ab60

File tree

7 files changed

+338
-6
lines changed

7 files changed

+338
-6
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-rev20240905-2.0.0</version>
25+
<version>v1beta1-rev20240912-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-rev20240905-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20240912-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
@@ -659,6 +659,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
659659
@com.google.api.client.util.Key
660660
private java.lang.String tpuIpv4CidrBlock;
661661

662+
/**
663+
* The Custom keys configuration for the cluster.
664+
* The value may be {@code null}.
665+
*/
666+
@com.google.api.client.util.Key
667+
private UserManagedKeysConfig userManagedKeysConfig;
668+
662669
/**
663670
* Cluster-level Vertical Pod Autoscaling configuration.
664671
* The value may be {@code null}.
@@ -2185,6 +2192,23 @@ public Cluster setTpuIpv4CidrBlock(java.lang.String tpuIpv4CidrBlock) {
21852192
return this;
21862193
}
21872194

2195+
/**
2196+
* The Custom keys configuration for the cluster.
2197+
* @return value or {@code null} for none
2198+
*/
2199+
public UserManagedKeysConfig getUserManagedKeysConfig() {
2200+
return userManagedKeysConfig;
2201+
}
2202+
2203+
/**
2204+
* The Custom keys configuration for the cluster.
2205+
* @param userManagedKeysConfig userManagedKeysConfig or {@code null} for none
2206+
*/
2207+
public Cluster setUserManagedKeysConfig(UserManagedKeysConfig userManagedKeysConfig) {
2208+
this.userManagedKeysConfig = userManagedKeysConfig;
2209+
return this;
2210+
}
2211+
21882212
/**
21892213
* Cluster-level Vertical Pod Autoscaling configuration.
21902214
* @return value or {@code null} for none

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
@@ -556,6 +556,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
556556
@com.google.api.client.util.Key
557557
private AdditionalPodRangesConfig removedAdditionalPodRangesConfig;
558558

559+
/**
560+
* The Custom keys configuration for the cluster.
561+
* The value may be {@code null}.
562+
*/
563+
@com.google.api.client.util.Key
564+
private UserManagedKeysConfig userManagedKeysConfig;
565+
559566
/**
560567
* The additional pod ranges to be added to the cluster. These pod ranges can be used by node
561568
* pools to allocate pod IPs.
@@ -1813,6 +1820,23 @@ public ClusterUpdate setRemovedAdditionalPodRangesConfig(AdditionalPodRangesConf
18131820
return this;
18141821
}
18151822

1823+
/**
1824+
* The Custom keys configuration for the cluster.
1825+
* @return value or {@code null} for none
1826+
*/
1827+
public UserManagedKeysConfig getUserManagedKeysConfig() {
1828+
return userManagedKeysConfig;
1829+
}
1830+
1831+
/**
1832+
* The Custom keys configuration for the cluster.
1833+
* @param userManagedKeysConfig userManagedKeysConfig or {@code null} for none
1834+
*/
1835+
public ClusterUpdate setUserManagedKeysConfig(UserManagedKeysConfig userManagedKeysConfig) {
1836+
this.userManagedKeysConfig = userManagedKeysConfig;
1837+
return this;
1838+
}
1839+
18161840
@Override
18171841
public ClusterUpdate set(String fieldName, Object value) {
18181842
return (ClusterUpdate) super.set(fieldName, value);

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@ public final class NodeConfig extends com.google.api.client.json.GenericJson {
9393
@com.google.api.client.util.Key
9494
private java.lang.String diskType;
9595

96+
/**
97+
* Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is
98+
* determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based
99+
* on the cluster creation version.
100+
* The value may be {@code null}.
101+
*/
102+
@com.google.api.client.util.Key
103+
private java.lang.String effectiveCgroupMode;
104+
96105
/**
97106
* Optional. Reserved for future use.
98107
* The value may be {@code null}.
@@ -519,6 +528,27 @@ public NodeConfig setDiskType(java.lang.String diskType) {
519528
return this;
520529
}
521530

531+
/**
532+
* Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is
533+
* determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based
534+
* on the cluster creation version.
535+
* @return value or {@code null} for none
536+
*/
537+
public java.lang.String getEffectiveCgroupMode() {
538+
return effectiveCgroupMode;
539+
}
540+
541+
/**
542+
* Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is
543+
* determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based
544+
* on the cluster creation version.
545+
* @param effectiveCgroupMode effectiveCgroupMode or {@code null} for none
546+
*/
547+
public NodeConfig setEffectiveCgroupMode(java.lang.String effectiveCgroupMode) {
548+
this.effectiveCgroupMode = effectiveCgroupMode;
549+
return this;
550+
}
551+
522552
/**
523553
* Optional. Reserved for future use.
524554
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
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+
* UserManagedKeysConfig holds the resource address to Keys which are used for signing certs and
21+
* token that are used for communication within cluster.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation
25+
* see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class UserManagedKeysConfig extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* The Certificate Authority Service caPool to use for the aggregation CA in this cluster.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String aggregationCa;
40+
41+
/**
42+
* The Certificate Authority Service caPool to use for the cluster CA in this cluster.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String clusterCa;
47+
48+
/**
49+
* The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String controlPlaneDiskEncryptionKey;
54+
55+
/**
56+
* Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this
57+
* cluster.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String etcdApiCa;
62+
63+
/**
64+
* Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this
65+
* cluster.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String etcdPeerCa;
70+
71+
/**
72+
* Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.
73+
* The value may be {@code null}.
74+
*/
75+
@com.google.api.client.util.Key
76+
private java.lang.String gkeopsEtcdBackupEncryptionKey;
77+
78+
/**
79+
* The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster.
80+
* Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryp
81+
* toKeyVersions/{cryptoKeyVersion}`
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private java.util.List<java.lang.String> serviceAccountSigningKeys;
86+
87+
/**
88+
* The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this
89+
* cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{crypto
90+
* Key}/cryptoKeyVersions/{cryptoKeyVersion}`
91+
* The value may be {@code null}.
92+
*/
93+
@com.google.api.client.util.Key
94+
private java.util.List<java.lang.String> serviceAccountVerificationKeys;
95+
96+
/**
97+
* The Certificate Authority Service caPool to use for the aggregation CA in this cluster.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getAggregationCa() {
101+
return aggregationCa;
102+
}
103+
104+
/**
105+
* The Certificate Authority Service caPool to use for the aggregation CA in this cluster.
106+
* @param aggregationCa aggregationCa or {@code null} for none
107+
*/
108+
public UserManagedKeysConfig setAggregationCa(java.lang.String aggregationCa) {
109+
this.aggregationCa = aggregationCa;
110+
return this;
111+
}
112+
113+
/**
114+
* The Certificate Authority Service caPool to use for the cluster CA in this cluster.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.lang.String getClusterCa() {
118+
return clusterCa;
119+
}
120+
121+
/**
122+
* The Certificate Authority Service caPool to use for the cluster CA in this cluster.
123+
* @param clusterCa clusterCa or {@code null} for none
124+
*/
125+
public UserManagedKeysConfig setClusterCa(java.lang.String clusterCa) {
126+
this.clusterCa = clusterCa;
127+
return this;
128+
}
129+
130+
/**
131+
* The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getControlPlaneDiskEncryptionKey() {
135+
return controlPlaneDiskEncryptionKey;
136+
}
137+
138+
/**
139+
* The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.
140+
* @param controlPlaneDiskEncryptionKey controlPlaneDiskEncryptionKey or {@code null} for none
141+
*/
142+
public UserManagedKeysConfig setControlPlaneDiskEncryptionKey(java.lang.String controlPlaneDiskEncryptionKey) {
143+
this.controlPlaneDiskEncryptionKey = controlPlaneDiskEncryptionKey;
144+
return this;
145+
}
146+
147+
/**
148+
* Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this
149+
* cluster.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.lang.String getEtcdApiCa() {
153+
return etcdApiCa;
154+
}
155+
156+
/**
157+
* Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this
158+
* cluster.
159+
* @param etcdApiCa etcdApiCa or {@code null} for none
160+
*/
161+
public UserManagedKeysConfig setEtcdApiCa(java.lang.String etcdApiCa) {
162+
this.etcdApiCa = etcdApiCa;
163+
return this;
164+
}
165+
166+
/**
167+
* Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this
168+
* cluster.
169+
* @return value or {@code null} for none
170+
*/
171+
public java.lang.String getEtcdPeerCa() {
172+
return etcdPeerCa;
173+
}
174+
175+
/**
176+
* Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this
177+
* cluster.
178+
* @param etcdPeerCa etcdPeerCa or {@code null} for none
179+
*/
180+
public UserManagedKeysConfig setEtcdPeerCa(java.lang.String etcdPeerCa) {
181+
this.etcdPeerCa = etcdPeerCa;
182+
return this;
183+
}
184+
185+
/**
186+
* Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.
187+
* @return value or {@code null} for none
188+
*/
189+
public java.lang.String getGkeopsEtcdBackupEncryptionKey() {
190+
return gkeopsEtcdBackupEncryptionKey;
191+
}
192+
193+
/**
194+
* Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.
195+
* @param gkeopsEtcdBackupEncryptionKey gkeopsEtcdBackupEncryptionKey or {@code null} for none
196+
*/
197+
public UserManagedKeysConfig setGkeopsEtcdBackupEncryptionKey(java.lang.String gkeopsEtcdBackupEncryptionKey) {
198+
this.gkeopsEtcdBackupEncryptionKey = gkeopsEtcdBackupEncryptionKey;
199+
return this;
200+
}
201+
202+
/**
203+
* The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster.
204+
* Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryp
205+
* toKeyVersions/{cryptoKeyVersion}`
206+
* @return value or {@code null} for none
207+
*/
208+
public java.util.List<java.lang.String> getServiceAccountSigningKeys() {
209+
return serviceAccountSigningKeys;
210+
}
211+
212+
/**
213+
* The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster.
214+
* Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryp
215+
* toKeyVersions/{cryptoKeyVersion}`
216+
* @param serviceAccountSigningKeys serviceAccountSigningKeys or {@code null} for none
217+
*/
218+
public UserManagedKeysConfig setServiceAccountSigningKeys(java.util.List<java.lang.String> serviceAccountSigningKeys) {
219+
this.serviceAccountSigningKeys = serviceAccountSigningKeys;
220+
return this;
221+
}
222+
223+
/**
224+
* The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this
225+
* cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{crypto
226+
* Key}/cryptoKeyVersions/{cryptoKeyVersion}`
227+
* @return value or {@code null} for none
228+
*/
229+
public java.util.List<java.lang.String> getServiceAccountVerificationKeys() {
230+
return serviceAccountVerificationKeys;
231+
}
232+
233+
/**
234+
* The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this
235+
* cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{crypto
236+
* Key}/cryptoKeyVersions/{cryptoKeyVersion}`
237+
* @param serviceAccountVerificationKeys serviceAccountVerificationKeys or {@code null} for none
238+
*/
239+
public UserManagedKeysConfig setServiceAccountVerificationKeys(java.util.List<java.lang.String> serviceAccountVerificationKeys) {
240+
this.serviceAccountVerificationKeys = serviceAccountVerificationKeys;
241+
return this;
242+
}
243+
244+
@Override
245+
public UserManagedKeysConfig set(String fieldName, Object value) {
246+
return (UserManagedKeysConfig) super.set(fieldName, value);
247+
}
248+
249+
@Override
250+
public UserManagedKeysConfig clone() {
251+
return (UserManagedKeysConfig) super.clone();
252+
}
253+
254+
}

0 commit comments

Comments
 (0)