Skip to content

Commit 6b705c9

Browse files
1 parent 956dac1 commit 6b705c9

24 files changed

+1278
-78
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-rev20240912-2.0.0</version>
25+
<version>v1-rev20240923-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-rev20240912-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20240923-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: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
9797
@com.google.api.client.util.Key
9898
private ConfidentialNodes confidentialNodes;
9999

100+
/**
101+
* Configuration for all cluster's control plane endpoints.
102+
* The value may be {@code null}.
103+
*/
104+
@com.google.api.client.util.Key
105+
private ControlPlaneEndpointsConfig controlPlaneEndpointsConfig;
106+
100107
/**
101108
* Configuration for the fine-grained cost management feature.
102109
* The value may be {@code null}.
@@ -352,7 +359,8 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
352359
private MasterAuth masterAuth;
353360

354361
/**
355-
* The configuration options for master authorized networks feature.
362+
* The configuration options for master authorized networks feature. Deprecated: Use
363+
* ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead.
356364
* The value may be {@code null}.
357365
*/
358366
@com.google.api.client.util.Key
@@ -795,6 +803,23 @@ public Cluster setConfidentialNodes(ConfidentialNodes confidentialNodes) {
795803
return this;
796804
}
797805

806+
/**
807+
* Configuration for all cluster's control plane endpoints.
808+
* @return value or {@code null} for none
809+
*/
810+
public ControlPlaneEndpointsConfig getControlPlaneEndpointsConfig() {
811+
return controlPlaneEndpointsConfig;
812+
}
813+
814+
/**
815+
* Configuration for all cluster's control plane endpoints.
816+
* @param controlPlaneEndpointsConfig controlPlaneEndpointsConfig or {@code null} for none
817+
*/
818+
public Cluster setControlPlaneEndpointsConfig(ControlPlaneEndpointsConfig controlPlaneEndpointsConfig) {
819+
this.controlPlaneEndpointsConfig = controlPlaneEndpointsConfig;
820+
return this;
821+
}
822+
798823
/**
799824
* Configuration for the fine-grained cost management feature.
800825
* @return value or {@code null} for none
@@ -1394,15 +1419,17 @@ public Cluster setMasterAuth(MasterAuth masterAuth) {
13941419
}
13951420

13961421
/**
1397-
* The configuration options for master authorized networks feature.
1422+
* The configuration options for master authorized networks feature. Deprecated: Use
1423+
* ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead.
13981424
* @return value or {@code null} for none
13991425
*/
14001426
public MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() {
14011427
return masterAuthorizedNetworksConfig;
14021428
}
14031429

14041430
/**
1405-
* The configuration options for master authorized networks feature.
1431+
* The configuration options for master authorized networks feature. Deprecated: Use
1432+
* ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead.
14061433
* @param masterAuthorizedNetworksConfig masterAuthorizedNetworksConfig or {@code null} for none
14071434
*/
14081435
public Cluster setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig) {

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

Lines changed: 75 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
8888
@com.google.api.client.util.Key
8989
private ContainerdConfig desiredContainerdConfig;
9090

91+
/**
92+
* Control plane endpoints configuration.
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private ControlPlaneEndpointsConfig desiredControlPlaneEndpointsConfig;
97+
9198
/**
9299
* The desired configuration for the fine-grained cost management feature.
93100
* The value may be {@code null}.
@@ -109,6 +116,14 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
109116
@com.google.api.client.util.Key
110117
private java.lang.String desiredDatapathProvider;
111118

119+
/**
120+
* Override the default setting of whether future created nodes have private IP addresses only,
121+
* namely NetworkConfig.default_enable_private_nodes
122+
* The value may be {@code null}.
123+
*/
124+
@com.google.api.client.util.Key
125+
private java.lang.Boolean desiredDefaultEnablePrivateNodes;
126+
112127
/**
113128
* The desired status of whether to disable default sNAT for this cluster.
114129
* The value may be {@code null}.
@@ -145,7 +160,10 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
145160
private java.lang.Boolean desiredEnableMultiNetworking;
146161

147162
/**
148-
* Enable/Disable private endpoint for the cluster's master.
163+
* Enable/Disable private endpoint for the cluster's master. Deprecated: Use
164+
* desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note
165+
* that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then
166+
* enable_public_endpoint will be true.
149167
* The value may be {@code null}.
150168
*/
151169
@com.google.api.client.util.Key
@@ -245,7 +263,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
245263
private java.lang.String desiredLoggingService;
246264

247265
/**
248-
* The desired configuration options for master authorized networks feature.
266+
* The desired configuration options for master authorized networks feature. Deprecated: Use
267+
* desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
249268
* The value may be {@code null}.
250269
*/
251270
@com.google.api.client.util.Key
@@ -380,7 +399,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
380399
/**
381400
* The desired private cluster configuration. master_global_access_config is the only field that
382401
* can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for
383-
* modifying other fields within PrivateClusterConfig.
402+
* modifying other fields within PrivateClusterConfig. Deprecated: Use
403+
* desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
384404
* The value may be {@code null}.
385405
*/
386406
@com.google.api.client.util.Key
@@ -634,6 +654,23 @@ public ClusterUpdate setDesiredContainerdConfig(ContainerdConfig desiredContaine
634654
return this;
635655
}
636656

657+
/**
658+
* Control plane endpoints configuration.
659+
* @return value or {@code null} for none
660+
*/
661+
public ControlPlaneEndpointsConfig getDesiredControlPlaneEndpointsConfig() {
662+
return desiredControlPlaneEndpointsConfig;
663+
}
664+
665+
/**
666+
* Control plane endpoints configuration.
667+
* @param desiredControlPlaneEndpointsConfig desiredControlPlaneEndpointsConfig or {@code null} for none
668+
*/
669+
public ClusterUpdate setDesiredControlPlaneEndpointsConfig(ControlPlaneEndpointsConfig desiredControlPlaneEndpointsConfig) {
670+
this.desiredControlPlaneEndpointsConfig = desiredControlPlaneEndpointsConfig;
671+
return this;
672+
}
673+
637674
/**
638675
* The desired configuration for the fine-grained cost management feature.
639676
* @return value or {@code null} for none
@@ -685,6 +722,25 @@ public ClusterUpdate setDesiredDatapathProvider(java.lang.String desiredDatapath
685722
return this;
686723
}
687724

725+
/**
726+
* Override the default setting of whether future created nodes have private IP addresses only,
727+
* namely NetworkConfig.default_enable_private_nodes
728+
* @return value or {@code null} for none
729+
*/
730+
public java.lang.Boolean getDesiredDefaultEnablePrivateNodes() {
731+
return desiredDefaultEnablePrivateNodes;
732+
}
733+
734+
/**
735+
* Override the default setting of whether future created nodes have private IP addresses only,
736+
* namely NetworkConfig.default_enable_private_nodes
737+
* @param desiredDefaultEnablePrivateNodes desiredDefaultEnablePrivateNodes or {@code null} for none
738+
*/
739+
public ClusterUpdate setDesiredDefaultEnablePrivateNodes(java.lang.Boolean desiredDefaultEnablePrivateNodes) {
740+
this.desiredDefaultEnablePrivateNodes = desiredDefaultEnablePrivateNodes;
741+
return this;
742+
}
743+
688744
/**
689745
* The desired status of whether to disable default sNAT for this cluster.
690746
* @return value or {@code null} for none
@@ -771,15 +827,21 @@ public ClusterUpdate setDesiredEnableMultiNetworking(java.lang.Boolean desiredEn
771827
}
772828

773829
/**
774-
* Enable/Disable private endpoint for the cluster's master.
830+
* Enable/Disable private endpoint for the cluster's master. Deprecated: Use
831+
* desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note
832+
* that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then
833+
* enable_public_endpoint will be true.
775834
* @return value or {@code null} for none
776835
*/
777836
public java.lang.Boolean getDesiredEnablePrivateEndpoint() {
778837
return desiredEnablePrivateEndpoint;
779838
}
780839

781840
/**
782-
* Enable/Disable private endpoint for the cluster's master.
841+
* Enable/Disable private endpoint for the cluster's master. Deprecated: Use
842+
* desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note
843+
* that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then
844+
* enable_public_endpoint will be true.
783845
* @param desiredEnablePrivateEndpoint desiredEnablePrivateEndpoint or {@code null} for none
784846
*/
785847
public ClusterUpdate setDesiredEnablePrivateEndpoint(java.lang.Boolean desiredEnablePrivateEndpoint) {
@@ -1010,15 +1072,17 @@ public ClusterUpdate setDesiredLoggingService(java.lang.String desiredLoggingSer
10101072
}
10111073

10121074
/**
1013-
* The desired configuration options for master authorized networks feature.
1075+
* The desired configuration options for master authorized networks feature. Deprecated: Use
1076+
* desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
10141077
* @return value or {@code null} for none
10151078
*/
10161079
public MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() {
10171080
return desiredMasterAuthorizedNetworksConfig;
10181081
}
10191082

10201083
/**
1021-
* The desired configuration options for master authorized networks feature.
1084+
* The desired configuration options for master authorized networks feature. Deprecated: Use
1085+
* desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
10221086
* @param desiredMasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig or {@code null} for none
10231087
*/
10241088
public ClusterUpdate setDesiredMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig) {
@@ -1326,7 +1390,8 @@ public ClusterUpdate setDesiredParentProductConfig(ParentProductConfig desiredPa
13261390
/**
13271391
* The desired private cluster configuration. master_global_access_config is the only field that
13281392
* can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for
1329-
* modifying other fields within PrivateClusterConfig.
1393+
* modifying other fields within PrivateClusterConfig. Deprecated: Use
1394+
* desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
13301395
* @return value or {@code null} for none
13311396
*/
13321397
public PrivateClusterConfig getDesiredPrivateClusterConfig() {
@@ -1336,7 +1401,8 @@ public PrivateClusterConfig getDesiredPrivateClusterConfig() {
13361401
/**
13371402
* The desired private cluster configuration. master_global_access_config is the only field that
13381403
* can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for
1339-
* modifying other fields within PrivateClusterConfig.
1404+
* modifying other fields within PrivateClusterConfig. Deprecated: Use
1405+
* desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead.
13401406
* @param desiredPrivateClusterConfig desiredPrivateClusterConfig or {@code null} for none
13411407
*/
13421408
public ClusterUpdate setDesiredPrivateClusterConfig(PrivateClusterConfig desiredPrivateClusterConfig) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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+
* Configuration for all of the cluster's control plane endpoints.
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 ControlPlaneEndpointsConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* DNS endpoint configuration.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private DNSEndpointConfig dnsEndpointConfig;
39+
40+
/**
41+
* IP endpoints configuration.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private IPEndpointsConfig ipEndpointsConfig;
46+
47+
/**
48+
* DNS endpoint configuration.
49+
* @return value or {@code null} for none
50+
*/
51+
public DNSEndpointConfig getDnsEndpointConfig() {
52+
return dnsEndpointConfig;
53+
}
54+
55+
/**
56+
* DNS endpoint configuration.
57+
* @param dnsEndpointConfig dnsEndpointConfig or {@code null} for none
58+
*/
59+
public ControlPlaneEndpointsConfig setDnsEndpointConfig(DNSEndpointConfig dnsEndpointConfig) {
60+
this.dnsEndpointConfig = dnsEndpointConfig;
61+
return this;
62+
}
63+
64+
/**
65+
* IP endpoints configuration.
66+
* @return value or {@code null} for none
67+
*/
68+
public IPEndpointsConfig getIpEndpointsConfig() {
69+
return ipEndpointsConfig;
70+
}
71+
72+
/**
73+
* IP endpoints configuration.
74+
* @param ipEndpointsConfig ipEndpointsConfig or {@code null} for none
75+
*/
76+
public ControlPlaneEndpointsConfig setIpEndpointsConfig(IPEndpointsConfig ipEndpointsConfig) {
77+
this.ipEndpointsConfig = ipEndpointsConfig;
78+
return this;
79+
}
80+
81+
@Override
82+
public ControlPlaneEndpointsConfig set(String fieldName, Object value) {
83+
return (ControlPlaneEndpointsConfig) super.set(fieldName, value);
84+
}
85+
86+
@Override
87+
public ControlPlaneEndpointsConfig clone() {
88+
return (ControlPlaneEndpointsConfig) super.clone();
89+
}
90+
91+
}

0 commit comments

Comments
 (0)