@@ -88,6 +88,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
88
88
@ com .google .api .client .util .Key
89
89
private ContainerdConfig desiredContainerdConfig ;
90
90
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
+
91
98
/**
92
99
* The desired configuration for the fine-grained cost management feature.
93
100
* The value may be {@code null}.
@@ -109,6 +116,14 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
109
116
@ com .google .api .client .util .Key
110
117
private java .lang .String desiredDatapathProvider ;
111
118
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
+
112
127
/**
113
128
* The desired status of whether to disable default sNAT for this cluster.
114
129
* The value may be {@code null}.
@@ -145,7 +160,10 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
145
160
private java .lang .Boolean desiredEnableMultiNetworking ;
146
161
147
162
/**
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.
149
167
* The value may be {@code null}.
150
168
*/
151
169
@ com .google .api .client .util .Key
@@ -245,7 +263,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
245
263
private java .lang .String desiredLoggingService ;
246
264
247
265
/**
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.
249
268
* The value may be {@code null}.
250
269
*/
251
270
@ com .google .api .client .util .Key
@@ -380,7 +399,8 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
380
399
/**
381
400
* The desired private cluster configuration. master_global_access_config is the only field that
382
401
* 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.
384
404
* The value may be {@code null}.
385
405
*/
386
406
@ com .google .api .client .util .Key
@@ -634,6 +654,23 @@ public ClusterUpdate setDesiredContainerdConfig(ContainerdConfig desiredContaine
634
654
return this ;
635
655
}
636
656
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
+
637
674
/**
638
675
* The desired configuration for the fine-grained cost management feature.
639
676
* @return value or {@code null} for none
@@ -685,6 +722,25 @@ public ClusterUpdate setDesiredDatapathProvider(java.lang.String desiredDatapath
685
722
return this ;
686
723
}
687
724
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
+
688
744
/**
689
745
* The desired status of whether to disable default sNAT for this cluster.
690
746
* @return value or {@code null} for none
@@ -771,15 +827,21 @@ public ClusterUpdate setDesiredEnableMultiNetworking(java.lang.Boolean desiredEn
771
827
}
772
828
773
829
/**
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.
775
834
* @return value or {@code null} for none
776
835
*/
777
836
public java .lang .Boolean getDesiredEnablePrivateEndpoint () {
778
837
return desiredEnablePrivateEndpoint ;
779
838
}
780
839
781
840
/**
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.
783
845
* @param desiredEnablePrivateEndpoint desiredEnablePrivateEndpoint or {@code null} for none
784
846
*/
785
847
public ClusterUpdate setDesiredEnablePrivateEndpoint (java .lang .Boolean desiredEnablePrivateEndpoint ) {
@@ -1010,15 +1072,17 @@ public ClusterUpdate setDesiredLoggingService(java.lang.String desiredLoggingSer
1010
1072
}
1011
1073
1012
1074
/**
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.
1014
1077
* @return value or {@code null} for none
1015
1078
*/
1016
1079
public MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig () {
1017
1080
return desiredMasterAuthorizedNetworksConfig ;
1018
1081
}
1019
1082
1020
1083
/**
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.
1022
1086
* @param desiredMasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig or {@code null} for none
1023
1087
*/
1024
1088
public ClusterUpdate setDesiredMasterAuthorizedNetworksConfig (MasterAuthorizedNetworksConfig desiredMasterAuthorizedNetworksConfig ) {
@@ -1326,7 +1390,8 @@ public ClusterUpdate setDesiredParentProductConfig(ParentProductConfig desiredPa
1326
1390
/**
1327
1391
* The desired private cluster configuration. master_global_access_config is the only field that
1328
1392
* 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.
1330
1395
* @return value or {@code null} for none
1331
1396
*/
1332
1397
public PrivateClusterConfig getDesiredPrivateClusterConfig () {
@@ -1336,7 +1401,8 @@ public PrivateClusterConfig getDesiredPrivateClusterConfig() {
1336
1401
/**
1337
1402
* The desired private cluster configuration. master_global_access_config is the only field that
1338
1403
* 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.
1340
1406
* @param desiredPrivateClusterConfig desiredPrivateClusterConfig or {@code null} for none
1341
1407
*/
1342
1408
public ClusterUpdate setDesiredPrivateClusterConfig (PrivateClusterConfig desiredPrivateClusterConfig ) {
0 commit comments