Skip to content

Commit 09ee8ae

Browse files
1 parent f85bba7 commit 09ee8ae

File tree

12 files changed

+527
-6
lines changed

12 files changed

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

clients/google-api-services-container/v1/2.0.0/com/google/api/services/container/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
* Enable Autopilot
3542
* The value may be {@code null}.
@@ -51,6 +58,23 @@ public final class Autopilot extends com.google.api.client.json.GenericJson {
5158
@com.google.api.client.util.Key
5259
private WorkloadPolicyConfig workloadPolicyConfig;
5360

61+
/**
62+
* ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster.
63+
* @return value or {@code null} for none
64+
*/
65+
public ClusterPolicyConfig getClusterPolicyConfig() {
66+
return clusterPolicyConfig;
67+
}
68+
69+
/**
70+
* ClusterPolicyConfig denotes cluster level policies that are enforced for the cluster.
71+
* @param clusterPolicyConfig clusterPolicyConfig or {@code null} for none
72+
*/
73+
public Autopilot setClusterPolicyConfig(ClusterPolicyConfig clusterPolicyConfig) {
74+
this.clusterPolicyConfig = clusterPolicyConfig;
75+
return this;
76+
}
77+
5478
/**
5579
* Enable Autopilot
5680
* @return value or {@code null} for none

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

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

378+
/**
379+
* Configuration for Managed Machine Learning Diagnostics.
380+
* The value may be {@code null}.
381+
*/
382+
@com.google.api.client.util.Key
383+
private ManagedMachineLearningDiagnosticsConfig managedMachineLearningDiagnosticsConfig;
384+
378385
/**
379386
* Configuration for Managed OpenTelemetry pipeline.
380387
* The value may be {@code null}.
@@ -582,6 +589,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
582589
@com.google.api.client.util.Key
583590
private java.lang.Boolean satisfiesPzs;
584591

592+
/**
593+
* Optional. Configuration for scheduled upgrades.
594+
* The value may be {@code null}.
595+
*/
596+
@com.google.api.client.util.Key
597+
private ScheduleUpgradeConfig scheduleUpgradeConfig;
598+
585599
/**
586600
* Secret CSI driver configuration.
587601
* The value may be {@code null}.
@@ -1499,6 +1513,23 @@ public Cluster setMaintenancePolicy(MaintenancePolicy maintenancePolicy) {
14991513
return this;
15001514
}
15011515

1516+
/**
1517+
* Configuration for Managed Machine Learning Diagnostics.
1518+
* @return value or {@code null} for none
1519+
*/
1520+
public ManagedMachineLearningDiagnosticsConfig getManagedMachineLearningDiagnosticsConfig() {
1521+
return managedMachineLearningDiagnosticsConfig;
1522+
}
1523+
1524+
/**
1525+
* Configuration for Managed Machine Learning Diagnostics.
1526+
* @param managedMachineLearningDiagnosticsConfig managedMachineLearningDiagnosticsConfig or {@code null} for none
1527+
*/
1528+
public Cluster setManagedMachineLearningDiagnosticsConfig(ManagedMachineLearningDiagnosticsConfig managedMachineLearningDiagnosticsConfig) {
1529+
this.managedMachineLearningDiagnosticsConfig = managedMachineLearningDiagnosticsConfig;
1530+
return this;
1531+
}
1532+
15021533
/**
15031534
* Configuration for Managed OpenTelemetry pipeline.
15041535
* @return value or {@code null} for none
@@ -1988,6 +2019,23 @@ public Cluster setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
19882019
return this;
19892020
}
19902021

2022+
/**
2023+
* Optional. Configuration for scheduled upgrades.
2024+
* @return value or {@code null} for none
2025+
*/
2026+
public ScheduleUpgradeConfig getScheduleUpgradeConfig() {
2027+
return scheduleUpgradeConfig;
2028+
}
2029+
2030+
/**
2031+
* Optional. Configuration for scheduled upgrades.
2032+
* @param scheduleUpgradeConfig scheduleUpgradeConfig or {@code null} for none
2033+
*/
2034+
public Cluster setScheduleUpgradeConfig(ScheduleUpgradeConfig scheduleUpgradeConfig) {
2035+
this.scheduleUpgradeConfig = scheduleUpgradeConfig;
2036+
return this;
2037+
}
2038+
19912039
/**
19922040
* Secret CSI driver configuration.
19932041
* @return value or {@code null} for none
Lines changed: 142 additions & 0 deletions
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.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/v1/2.0.0/com/google/api/services/container/model/ClusterUpdate.java

Lines changed: 48 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}.
@@ -300,6 +307,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
300307
@com.google.api.client.util.Key
301308
private java.lang.String desiredLoggingService;
302309

310+
/**
311+
* The desired managed machine learning diagnostics configuration.
312+
* The value may be {@code null}.
313+
*/
314+
@com.google.api.client.util.Key
315+
private ManagedMachineLearningDiagnosticsConfig desiredManagedMachineLearningDiagnosticsConfig;
316+
303317
/**
304318
* The desired managed open telemetry configuration.
305319
* The value may be {@code null}.
@@ -709,6 +723,23 @@ public ClusterUpdate setDesiredAutoIpamConfig(AutoIpamConfig desiredAutoIpamConf
709723
return this;
710724
}
711725

726+
/**
727+
* The desired autopilot cluster policies that to be enforced in the cluster.
728+
* @return value or {@code null} for none
729+
*/
730+
public ClusterPolicyConfig getDesiredAutopilotClusterPolicyConfig() {
731+
return desiredAutopilotClusterPolicyConfig;
732+
}
733+
734+
/**
735+
* The desired autopilot cluster policies that to be enforced in the cluster.
736+
* @param desiredAutopilotClusterPolicyConfig desiredAutopilotClusterPolicyConfig or {@code null} for none
737+
*/
738+
public ClusterUpdate setDesiredAutopilotClusterPolicyConfig(ClusterPolicyConfig desiredAutopilotClusterPolicyConfig) {
739+
this.desiredAutopilotClusterPolicyConfig = desiredAutopilotClusterPolicyConfig;
740+
return this;
741+
}
742+
712743
/**
713744
* WorkloadPolicyConfig is the configuration related to GCW workload policy
714745
* @return value or {@code null} for none
@@ -1251,6 +1282,23 @@ public ClusterUpdate setDesiredLoggingService(java.lang.String desiredLoggingSer
12511282
return this;
12521283
}
12531284

1285+
/**
1286+
* The desired managed machine learning diagnostics configuration.
1287+
* @return value or {@code null} for none
1288+
*/
1289+
public ManagedMachineLearningDiagnosticsConfig getDesiredManagedMachineLearningDiagnosticsConfig() {
1290+
return desiredManagedMachineLearningDiagnosticsConfig;
1291+
}
1292+
1293+
/**
1294+
* The desired managed machine learning diagnostics configuration.
1295+
* @param desiredManagedMachineLearningDiagnosticsConfig desiredManagedMachineLearningDiagnosticsConfig or {@code null} for none
1296+
*/
1297+
public ClusterUpdate setDesiredManagedMachineLearningDiagnosticsConfig(ManagedMachineLearningDiagnosticsConfig desiredManagedMachineLearningDiagnosticsConfig) {
1298+
this.desiredManagedMachineLearningDiagnosticsConfig = desiredManagedMachineLearningDiagnosticsConfig;
1299+
return this;
1300+
}
1301+
12541302
/**
12551303
* The desired managed open telemetry configuration.
12561304
* @return value or {@code null} for none

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

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

33+
/**
34+
* When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE
35+
* enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and
36+
* configure all suitable network interfaces on a node to maximize I/O performance for demanding
37+
* workloads.
38+
* The value may be {@code null}.
39+
*/
40+
@com.google.api.client.util.Key
41+
private java.lang.Boolean disableMultiNic;
42+
3343
/**
3444
* If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This
3545
* serves as a workaround for a port conflict with the gke-metadata-server. This field is required
@@ -49,6 +59,29 @@ public final class LustreCsiDriverConfig extends com.google.api.client.json.Gene
4959
@com.google.api.client.util.Key
5060
private java.lang.Boolean enabled;
5161

62+
/**
63+
* When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE
64+
* enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and
65+
* configure all suitable network interfaces on a node to maximize I/O performance for demanding
66+
* workloads.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Boolean getDisableMultiNic() {
70+
return disableMultiNic;
71+
}
72+
73+
/**
74+
* When set to true, this disables multi-NIC support for the Lustre CSI driver. By default, GKE
75+
* enables multi-NIC support, which allows the Lustre CSI driver to automatically detect and
76+
* configure all suitable network interfaces on a node to maximize I/O performance for demanding
77+
* workloads.
78+
* @param disableMultiNic disableMultiNic or {@code null} for none
79+
*/
80+
public LustreCsiDriverConfig setDisableMultiNic(java.lang.Boolean disableMultiNic) {
81+
this.disableMultiNic = disableMultiNic;
82+
return this;
83+
}
84+
5285
/**
5386
* If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This
5487
* serves as a workaround for a port conflict with the gke-metadata-server. This field is required

0 commit comments

Comments
 (0)