Skip to content

Commit 007f4aa

Browse files
1 parent 07b2361 commit 007f4aa

File tree

7 files changed

+338
-6
lines changed

7 files changed

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

607+
/**
608+
* The Custom keys configuration for the cluster.
609+
* The value may be {@code null}.
610+
*/
611+
@com.google.api.client.util.Key
612+
private UserManagedKeysConfig userManagedKeysConfig;
613+
607614
/**
608615
* Cluster-level Vertical Pod Autoscaling configuration.
609616
* The value may be {@code null}.
@@ -1985,6 +1992,23 @@ public Cluster setTpuIpv4CidrBlock(java.lang.String tpuIpv4CidrBlock) {
19851992
return this;
19861993
}
19871994

1995+
/**
1996+
* The Custom keys configuration for the cluster.
1997+
* @return value or {@code null} for none
1998+
*/
1999+
public UserManagedKeysConfig getUserManagedKeysConfig() {
2000+
return userManagedKeysConfig;
2001+
}
2002+
2003+
/**
2004+
* The Custom keys configuration for the cluster.
2005+
* @param userManagedKeysConfig userManagedKeysConfig or {@code null} for none
2006+
*/
2007+
public Cluster setUserManagedKeysConfig(UserManagedKeysConfig userManagedKeysConfig) {
2008+
this.userManagedKeysConfig = userManagedKeysConfig;
2009+
return this;
2010+
}
2011+
19882012
/**
19892013
* Cluster-level Vertical Pod Autoscaling configuration.
19902014
* @return value or {@code null} for none

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
@@ -489,6 +489,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
489489
@com.google.api.client.util.Key
490490
private AdditionalPodRangesConfig removedAdditionalPodRangesConfig;
491491

492+
/**
493+
* The Custom keys configuration for the cluster.
494+
* The value may be {@code null}.
495+
*/
496+
@com.google.api.client.util.Key
497+
private UserManagedKeysConfig userManagedKeysConfig;
498+
492499
/**
493500
* The additional pod ranges to be added to the cluster. These pod ranges can be used by node
494501
* pools to allocate pod IPs.
@@ -1585,6 +1592,23 @@ public ClusterUpdate setRemovedAdditionalPodRangesConfig(AdditionalPodRangesConf
15851592
return this;
15861593
}
15871594

1595+
/**
1596+
* The Custom keys configuration for the cluster.
1597+
* @return value or {@code null} for none
1598+
*/
1599+
public UserManagedKeysConfig getUserManagedKeysConfig() {
1600+
return userManagedKeysConfig;
1601+
}
1602+
1603+
/**
1604+
* The Custom keys configuration for the cluster.
1605+
* @param userManagedKeysConfig userManagedKeysConfig or {@code null} for none
1606+
*/
1607+
public ClusterUpdate setUserManagedKeysConfig(UserManagedKeysConfig userManagedKeysConfig) {
1608+
this.userManagedKeysConfig = userManagedKeysConfig;
1609+
return this;
1610+
}
1611+
15881612
@Override
15891613
public ClusterUpdate set(String fieldName, Object value) {
15901614
return (ClusterUpdate) super.set(fieldName, value);

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/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}.
@@ -502,6 +511,27 @@ public NodeConfig setDiskType(java.lang.String diskType) {
502511
return this;
503512
}
504513

514+
/**
515+
* Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is
516+
* determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based
517+
* on the cluster creation version.
518+
* @return value or {@code null} for none
519+
*/
520+
public java.lang.String getEffectiveCgroupMode() {
521+
return effectiveCgroupMode;
522+
}
523+
524+
/**
525+
* Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is
526+
* determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based
527+
* on the cluster creation version.
528+
* @param effectiveCgroupMode effectiveCgroupMode or {@code null} for none
529+
*/
530+
public NodeConfig setEffectiveCgroupMode(java.lang.String effectiveCgroupMode) {
531+
this.effectiveCgroupMode = effectiveCgroupMode;
532+
return this;
533+
}
534+
505535
/**
506536
* Optional. Reserved for future use.
507537
* @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.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)