Skip to content

Commit 8e374d6

Browse files
1 parent e793428 commit 8e374d6

24 files changed

+901
-24
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-rev20251104-2.0.0</version>
25+
<version>v1-rev20251202-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-rev20251104-2.0.0'
38+
implementation 'com.google.apis:google-api-services-container:v1-rev20251202-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
@@ -373,6 +373,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
373373
@com.google.api.client.util.Key
374374
private MaintenancePolicy maintenancePolicy;
375375

376+
/**
377+
* Configuration for Managed OpenTelemetry pipeline.
378+
* The value may be {@code null}.
379+
*/
380+
@com.google.api.client.util.Key
381+
private ManagedOpenTelemetryConfig managedOpentelemetryConfig;
382+
376383
/**
377384
* The authentication information for accessing the master endpoint. If unspecified, the defaults
378385
* are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to
@@ -1486,6 +1493,23 @@ public Cluster setMaintenancePolicy(MaintenancePolicy maintenancePolicy) {
14861493
return this;
14871494
}
14881495

1496+
/**
1497+
* Configuration for Managed OpenTelemetry pipeline.
1498+
* @return value or {@code null} for none
1499+
*/
1500+
public ManagedOpenTelemetryConfig getManagedOpentelemetryConfig() {
1501+
return managedOpentelemetryConfig;
1502+
}
1503+
1504+
/**
1505+
* Configuration for Managed OpenTelemetry pipeline.
1506+
* @param managedOpentelemetryConfig managedOpentelemetryConfig or {@code null} for none
1507+
*/
1508+
public Cluster setManagedOpentelemetryConfig(ManagedOpenTelemetryConfig managedOpentelemetryConfig) {
1509+
this.managedOpentelemetryConfig = managedOpentelemetryConfig;
1510+
return this;
1511+
}
1512+
14891513
/**
14901514
* The authentication information for accessing the master endpoint. If unspecified, the defaults
14911515
* are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to

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
@@ -298,6 +298,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
298298
@com.google.api.client.util.Key
299299
private java.lang.String desiredLoggingService;
300300

301+
/**
302+
* The desired managed open telemetry configuration.
303+
* The value may be {@code null}.
304+
*/
305+
@com.google.api.client.util.Key
306+
private ManagedOpenTelemetryConfig desiredManagedOpentelemetryConfig;
307+
301308
/**
302309
* The desired configuration options for master authorized networks feature. Deprecated: Use
303310
* desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
@@ -1238,6 +1245,23 @@ public ClusterUpdate setDesiredLoggingService(java.lang.String desiredLoggingSer
12381245
return this;
12391246
}
12401247

1248+
/**
1249+
* The desired managed open telemetry configuration.
1250+
* @return value or {@code null} for none
1251+
*/
1252+
public ManagedOpenTelemetryConfig getDesiredManagedOpentelemetryConfig() {
1253+
return desiredManagedOpentelemetryConfig;
1254+
}
1255+
1256+
/**
1257+
* The desired managed open telemetry configuration.
1258+
* @param desiredManagedOpentelemetryConfig desiredManagedOpentelemetryConfig or {@code null} for none
1259+
*/
1260+
public ClusterUpdate setDesiredManagedOpentelemetryConfig(ManagedOpenTelemetryConfig desiredManagedOpentelemetryConfig) {
1261+
this.desiredManagedOpentelemetryConfig = desiredManagedOpentelemetryConfig;
1262+
return this;
1263+
}
1264+
12411265
/**
12421266
* The desired configuration options for master authorized networks feature. Deprecated: Use
12431267
* desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead.
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
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+
* DisruptionEvent is a notification sent to customers about the disruption event of a resource.
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 DisruptionEvent extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The type of the disruption event.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String disruptionType;
39+
40+
/**
41+
* The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and
42+
* POD_NOT_ENOUGH_PDB event.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String pdbBlockedNode;
47+
48+
/**
49+
* The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and
50+
* POD_NOT_ENOUGH_PDB event.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.List<PdbBlockedPod> pdbBlockedPod;
55+
56+
/**
57+
* The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are
58+
* forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private String pdbViolationTimeout;
63+
64+
/**
65+
* The type of the disruption event.
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getDisruptionType() {
69+
return disruptionType;
70+
}
71+
72+
/**
73+
* The type of the disruption event.
74+
* @param disruptionType disruptionType or {@code null} for none
75+
*/
76+
public DisruptionEvent setDisruptionType(java.lang.String disruptionType) {
77+
this.disruptionType = disruptionType;
78+
return this;
79+
}
80+
81+
/**
82+
* The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and
83+
* POD_NOT_ENOUGH_PDB event.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.lang.String getPdbBlockedNode() {
87+
return pdbBlockedNode;
88+
}
89+
90+
/**
91+
* The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and
92+
* POD_NOT_ENOUGH_PDB event.
93+
* @param pdbBlockedNode pdbBlockedNode or {@code null} for none
94+
*/
95+
public DisruptionEvent setPdbBlockedNode(java.lang.String pdbBlockedNode) {
96+
this.pdbBlockedNode = pdbBlockedNode;
97+
return this;
98+
}
99+
100+
/**
101+
* The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and
102+
* POD_NOT_ENOUGH_PDB event.
103+
* @return value or {@code null} for none
104+
*/
105+
public java.util.List<PdbBlockedPod> getPdbBlockedPod() {
106+
return pdbBlockedPod;
107+
}
108+
109+
/**
110+
* The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and
111+
* POD_NOT_ENOUGH_PDB event.
112+
* @param pdbBlockedPod pdbBlockedPod or {@code null} for none
113+
*/
114+
public DisruptionEvent setPdbBlockedPod(java.util.List<PdbBlockedPod> pdbBlockedPod) {
115+
this.pdbBlockedPod = pdbBlockedPod;
116+
return this;
117+
}
118+
119+
/**
120+
* The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are
121+
* forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.
122+
* @return value or {@code null} for none
123+
*/
124+
public String getPdbViolationTimeout() {
125+
return pdbViolationTimeout;
126+
}
127+
128+
/**
129+
* The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are
130+
* forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.
131+
* @param pdbViolationTimeout pdbViolationTimeout or {@code null} for none
132+
*/
133+
public DisruptionEvent setPdbViolationTimeout(String pdbViolationTimeout) {
134+
this.pdbViolationTimeout = pdbViolationTimeout;
135+
return this;
136+
}
137+
138+
@Override
139+
public DisruptionEvent set(String fieldName, Object value) {
140+
return (DisruptionEvent) super.set(fieldName, value);
141+
}
142+
143+
@Override
144+
public DisruptionEvent clone() {
145+
return (DisruptionEvent) super.clone();
146+
}
147+
148+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.
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 ManagedOpenTelemetryConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Scope of the Managed OpenTelemetry pipeline.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String scope;
39+
40+
/**
41+
* Scope of the Managed OpenTelemetry pipeline.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getScope() {
45+
return scope;
46+
}
47+
48+
/**
49+
* Scope of the Managed OpenTelemetry pipeline.
50+
* @param scope scope or {@code null} for none
51+
*/
52+
public ManagedOpenTelemetryConfig setScope(java.lang.String scope) {
53+
this.scope = scope;
54+
return this;
55+
}
56+
57+
@Override
58+
public ManagedOpenTelemetryConfig set(String fieldName, Object value) {
59+
return (ManagedOpenTelemetryConfig) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public ManagedOpenTelemetryConfig clone() {
64+
return (ManagedOpenTelemetryConfig) super.clone();
65+
}
66+
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
* NodeDrainConfig contains the node drain related configurations for this nodepool.
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 NodeDrainConfig extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Whether to respect PDB during node pool deletion.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Boolean respectPdbDuringNodePoolDeletion;
39+
40+
/**
41+
* Whether to respect PDB during node pool deletion.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.Boolean getRespectPdbDuringNodePoolDeletion() {
45+
return respectPdbDuringNodePoolDeletion;
46+
}
47+
48+
/**
49+
* Whether to respect PDB during node pool deletion.
50+
* @param respectPdbDuringNodePoolDeletion respectPdbDuringNodePoolDeletion or {@code null} for none
51+
*/
52+
public NodeDrainConfig setRespectPdbDuringNodePoolDeletion(java.lang.Boolean respectPdbDuringNodePoolDeletion) {
53+
this.respectPdbDuringNodePoolDeletion = respectPdbDuringNodePoolDeletion;
54+
return this;
55+
}
56+
57+
@Override
58+
public NodeDrainConfig set(String fieldName, Object value) {
59+
return (NodeDrainConfig) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public NodeDrainConfig clone() {
64+
return (NodeDrainConfig) super.clone();
65+
}
66+
67+
}

0 commit comments

Comments
 (0)