Skip to content

Commit 60c9fa3

Browse files
1 parent a13f1d9 commit 60c9fa3

File tree

12 files changed

+551
-6
lines changed

12 files changed

+551
-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-rev20260209-2.0.0</version>
25+
<version>v1beta1-rev20260310-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-rev20260209-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1beta1-rev20260310-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
@SuppressWarnings("javadoc")
3131
public final class Autopilot extends com.google.api.client.json.GenericJson {
3232

33+
/**
34+
* ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private ClusterPolicyConfig clusterPolicyConfig;
39+
3340
/**
3441
* Output only. ConversionStatus shows conversion status.
3542
* The value may be {@code null}.
@@ -58,6 +65,23 @@ public final class Autopilot extends com.google.api.client.json.GenericJson {
5865
@com.google.api.client.util.Key
5966
private WorkloadPolicyConfig workloadPolicyConfig;
6067

68+
/**
69+
* ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster.
70+
* @return value or {@code null} for none
71+
*/
72+
public ClusterPolicyConfig getClusterPolicyConfig() {
73+
return clusterPolicyConfig;
74+
}
75+
76+
/**
77+
* ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster.
78+
* @param clusterPolicyConfig clusterPolicyConfig or {@code null} for none
79+
*/
80+
public Autopilot setClusterPolicyConfig(ClusterPolicyConfig clusterPolicyConfig) {
81+
this.clusterPolicyConfig = clusterPolicyConfig;
82+
return this;
83+
}
84+
6185
/**
6286
* Output only. ConversionStatus shows conversion status.
6387
* @return value or {@code null} for none

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
391391
@com.google.api.client.util.Key
392392
private MaintenancePolicy maintenancePolicy;
393393

394+
/**
395+
* Configuration for managed machine learning diagnostics.
396+
* The value may be {@code null}.
397+
*/
398+
@com.google.api.client.util.Key
399+
private ManagedMachineLearningDiagnosticsConfig managedMachineLearningDiagnosticsConfig;
400+
394401
/**
395402
* Configuration for Managed OpenTelemetry pipeline.
396403
* The value may be {@code null}.
@@ -646,6 +653,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
646653
@com.google.api.client.util.Key
647654
private java.lang.Boolean satisfiesPzs;
648655

656+
/**
657+
* Optional. Configuration for scheduled upgrades.
658+
* The value may be {@code null}.
659+
*/
660+
@com.google.api.client.util.Key
661+
private ScheduleUpgradeConfig scheduleUpgradeConfig;
662+
649663
/**
650664
* Secret CSI driver configuration.
651665
* The value may be {@code null}.
@@ -1631,6 +1645,23 @@ public Cluster setMaintenancePolicy(MaintenancePolicy maintenancePolicy) {
16311645
return this;
16321646
}
16331647

1648+
/**
1649+
* Configuration for managed machine learning diagnostics.
1650+
* @return value or {@code null} for none
1651+
*/
1652+
public ManagedMachineLearningDiagnosticsConfig getManagedMachineLearningDiagnosticsConfig() {
1653+
return managedMachineLearningDiagnosticsConfig;
1654+
}
1655+
1656+
/**
1657+
* Configuration for managed machine learning diagnostics.
1658+
* @param managedMachineLearningDiagnosticsConfig managedMachineLearningDiagnosticsConfig or {@code null} for none
1659+
*/
1660+
public Cluster setManagedMachineLearningDiagnosticsConfig(ManagedMachineLearningDiagnosticsConfig managedMachineLearningDiagnosticsConfig) {
1661+
this.managedMachineLearningDiagnosticsConfig = managedMachineLearningDiagnosticsConfig;
1662+
return this;
1663+
}
1664+
16341665
/**
16351666
* Configuration for Managed OpenTelemetry pipeline.
16361667
* @return value or {@code null} for none
@@ -2234,6 +2265,23 @@ public Cluster setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
22342265
return this;
22352266
}
22362267

2268+
/**
2269+
* Optional. Configuration for scheduled upgrades.
2270+
* @return value or {@code null} for none
2271+
*/
2272+
public ScheduleUpgradeConfig getScheduleUpgradeConfig() {
2273+
return scheduleUpgradeConfig;
2274+
}
2275+
2276+
/**
2277+
* Optional. Configuration for scheduled upgrades.
2278+
* @param scheduleUpgradeConfig scheduleUpgradeConfig or {@code null} for none
2279+
*/
2280+
public Cluster setScheduleUpgradeConfig(ScheduleUpgradeConfig scheduleUpgradeConfig) {
2281+
this.scheduleUpgradeConfig = scheduleUpgradeConfig;
2282+
return this;
2283+
}
2284+
22372285
/**
22382286
* Secret CSI driver configuration.
22392287
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
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+
* ClusterPolicyConfig stores the configuration for cluster wide policies.
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 ClusterPolicyConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Denotes preventing standard node pools and requiring only autopilot node pools.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean noStandardNodePools;
39+
40+
/**
41+
* Denotes preventing impersonation and CSRs for GKE System users.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean noSystemImpersonation;
46+
47+
/**
48+
* Denotes that preventing creation and mutation of resources in GKE managed namespaces and
49+
* cluster-scoped GKE managed resources .
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.Boolean noSystemMutation;
54+
55+
/**
56+
* Denotes preventing unsafe webhooks.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.Boolean noUnsafeWebhooks;
61+
62+
/**
63+
* Denotes preventing standard node pools and requiring only autopilot node pools.
64+
* @return value or {@code null} for none
65+
*/
66+
public java.lang.Boolean getNoStandardNodePools() {
67+
return noStandardNodePools;
68+
}
69+
70+
/**
71+
* Denotes preventing standard node pools and requiring only autopilot node pools.
72+
* @param noStandardNodePools noStandardNodePools or {@code null} for none
73+
*/
74+
public ClusterPolicyConfig setNoStandardNodePools(java.lang.Boolean noStandardNodePools) {
75+
this.noStandardNodePools = noStandardNodePools;
76+
return this;
77+
}
78+
79+
/**
80+
* Denotes preventing impersonation and CSRs for GKE System users.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.lang.Boolean getNoSystemImpersonation() {
84+
return noSystemImpersonation;
85+
}
86+
87+
/**
88+
* Denotes preventing impersonation and CSRs for GKE System users.
89+
* @param noSystemImpersonation noSystemImpersonation or {@code null} for none
90+
*/
91+
public ClusterPolicyConfig setNoSystemImpersonation(java.lang.Boolean noSystemImpersonation) {
92+
this.noSystemImpersonation = noSystemImpersonation;
93+
return this;
94+
}
95+
96+
/**
97+
* Denotes that preventing creation and mutation of resources in GKE managed namespaces and
98+
* cluster-scoped GKE managed resources .
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.Boolean getNoSystemMutation() {
102+
return noSystemMutation;
103+
}
104+
105+
/**
106+
* Denotes that preventing creation and mutation of resources in GKE managed namespaces and
107+
* cluster-scoped GKE managed resources .
108+
* @param noSystemMutation noSystemMutation or {@code null} for none
109+
*/
110+
public ClusterPolicyConfig setNoSystemMutation(java.lang.Boolean noSystemMutation) {
111+
this.noSystemMutation = noSystemMutation;
112+
return this;
113+
}
114+
115+
/**
116+
* Denotes preventing unsafe webhooks.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.lang.Boolean getNoUnsafeWebhooks() {
120+
return noUnsafeWebhooks;
121+
}
122+
123+
/**
124+
* Denotes preventing unsafe webhooks.
125+
* @param noUnsafeWebhooks noUnsafeWebhooks or {@code null} for none
126+
*/
127+
public ClusterPolicyConfig setNoUnsafeWebhooks(java.lang.Boolean noUnsafeWebhooks) {
128+
this.noUnsafeWebhooks = noUnsafeWebhooks;
129+
return this;
130+
}
131+
132+
@Override
133+
public ClusterPolicyConfig set(String fieldName, Object value) {
134+
return (ClusterPolicyConfig) super.set(fieldName, value);
135+
}
136+
137+
@Override
138+
public ClusterPolicyConfig clone() {
139+
return (ClusterPolicyConfig) super.clone();
140+
}
141+
142+
}

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
7474
@com.google.api.client.util.Key
7575
private AutoIpamConfig desiredAutoIpamConfig;
7676

77+
/**
78+
* The desired autopilot cluster policies that to be enforced in the cluster.
79+
* The value may be {@code null}.
80+
*/
81+
@com.google.api.client.util.Key
82+
private ClusterPolicyConfig desiredAutopilotClusterPolicyConfig;
83+
7784
/**
7885
* WorkloadPolicyConfig is the configuration related to GCW workload policy
7986
* The value may be {@code null}.
@@ -315,6 +322,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
315322
@com.google.api.client.util.Key
316323
private java.lang.String desiredLoggingService;
317324

325+
/**
326+
* The desired managed machine learning diagnostics configuration.
327+
* The value may be {@code null}.
328+
*/
329+
@com.google.api.client.util.Key
330+
private ManagedMachineLearningDiagnosticsConfig desiredManagedMachineLearningDiagnosticsConfig;
331+
318332
/**
319333
* The desired managed open telemetry configuration.
320334
* The value may be {@code null}.
@@ -554,6 +568,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
554568
@com.google.api.client.util.Key
555569
private RollbackSafeUpgrade desiredRollbackSafeUpgrade;
556570

571+
/**
572+
* Optional. The desired scheduled upgrades configuration for the cluster.
573+
* The value may be {@code null}.
574+
*/
575+
@com.google.api.client.util.Key
576+
private ScheduleUpgradeConfig desiredScheduleUpgradeConfig;
577+
557578
/**
558579
* Enable/Disable Secret Manager Config.
559580
* The value may be {@code null}.
@@ -792,6 +813,23 @@ public ClusterUpdate setDesiredAutoIpamConfig(AutoIpamConfig desiredAutoIpamConf
792813
return this;
793814
}
794815

816+
/**
817+
* The desired autopilot cluster policies that to be enforced in the cluster.
818+
* @return value or {@code null} for none
819+
*/
820+
public ClusterPolicyConfig getDesiredAutopilotClusterPolicyConfig() {
821+
return desiredAutopilotClusterPolicyConfig;
822+
}
823+
824+
/**
825+
* The desired autopilot cluster policies that to be enforced in the cluster.
826+
* @param desiredAutopilotClusterPolicyConfig desiredAutopilotClusterPolicyConfig or {@code null} for none
827+
*/
828+
public ClusterUpdate setDesiredAutopilotClusterPolicyConfig(ClusterPolicyConfig desiredAutopilotClusterPolicyConfig) {
829+
this.desiredAutopilotClusterPolicyConfig = desiredAutopilotClusterPolicyConfig;
830+
return this;
831+
}
832+
795833
/**
796834
* WorkloadPolicyConfig is the configuration related to GCW workload policy
797835
* @return value or {@code null} for none
@@ -1370,6 +1408,23 @@ public ClusterUpdate setDesiredLoggingService(java.lang.String desiredLoggingSer
13701408
return this;
13711409
}
13721410

1411+
/**
1412+
* The desired managed machine learning diagnostics configuration.
1413+
* @return value or {@code null} for none
1414+
*/
1415+
public ManagedMachineLearningDiagnosticsConfig getDesiredManagedMachineLearningDiagnosticsConfig() {
1416+
return desiredManagedMachineLearningDiagnosticsConfig;
1417+
}
1418+
1419+
/**
1420+
* The desired managed machine learning diagnostics configuration.
1421+
* @param desiredManagedMachineLearningDiagnosticsConfig desiredManagedMachineLearningDiagnosticsConfig or {@code null} for none
1422+
*/
1423+
public ClusterUpdate setDesiredManagedMachineLearningDiagnosticsConfig(ManagedMachineLearningDiagnosticsConfig desiredManagedMachineLearningDiagnosticsConfig) {
1424+
this.desiredManagedMachineLearningDiagnosticsConfig = desiredManagedMachineLearningDiagnosticsConfig;
1425+
return this;
1426+
}
1427+
13731428
/**
13741429
* The desired managed open telemetry configuration.
13751430
* @return value or {@code null} for none
@@ -1938,6 +1993,23 @@ public ClusterUpdate setDesiredRollbackSafeUpgrade(RollbackSafeUpgrade desiredRo
19381993
return this;
19391994
}
19401995

1996+
/**
1997+
* Optional. The desired scheduled upgrades configuration for the cluster.
1998+
* @return value or {@code null} for none
1999+
*/
2000+
public ScheduleUpgradeConfig getDesiredScheduleUpgradeConfig() {
2001+
return desiredScheduleUpgradeConfig;
2002+
}
2003+
2004+
/**
2005+
* Optional. The desired scheduled upgrades configuration for the cluster.
2006+
* @param desiredScheduleUpgradeConfig desiredScheduleUpgradeConfig or {@code null} for none
2007+
*/
2008+
public ClusterUpdate setDesiredScheduleUpgradeConfig(ScheduleUpgradeConfig desiredScheduleUpgradeConfig) {
2009+
this.desiredScheduleUpgradeConfig = desiredScheduleUpgradeConfig;
2010+
return this;
2011+
}
2012+
19412013
/**
19422014
* Enable/Disable Secret Manager Config.
19432015
* @return value or {@code null} for none

0 commit comments

Comments
 (0)