Skip to content

Commit 6c006c9

Browse files
1 parent ec0c580 commit 6c006c9

14 files changed

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

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

Lines changed: 664 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public final class AutoprovisioningNodePoolDefaults extends com.google.api.clien
6666
private java.lang.String imageType;
6767

6868
/**
69-
* Enable or disable Kubelet read only port.
69+
* DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
7070
* The value may be {@code null}.
7171
*/
7272
@com.google.api.client.util.Key
@@ -204,15 +204,15 @@ public AutoprovisioningNodePoolDefaults setImageType(java.lang.String imageType)
204204
}
205205

206206
/**
207-
* Enable or disable Kubelet read only port.
207+
* DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
208208
* @return value or {@code null} for none
209209
*/
210210
public java.lang.Boolean getInsecureKubeletReadonlyPortEnabled() {
211211
return insecureKubeletReadonlyPortEnabled;
212212
}
213213

214214
/**
215-
* Enable or disable Kubelet read only port.
215+
* DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
216216
* @param insecureKubeletReadonlyPortEnabled insecureKubeletReadonlyPortEnabled or {@code null} for none
217217
*/
218218
public AutoprovisioningNodePoolDefaults setInsecureKubeletReadonlyPortEnabled(java.lang.Boolean insecureKubeletReadonlyPortEnabled) {

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

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
300300
private LegacyAbac legacyAbac;
301301

302302
/**
303+
* Output only. The name of the Google Compute Engine
304+
* [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or
305+
* [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
306+
* the cluster resides.
303307
* The value may be {@code null}.
304308
*/
305309
@com.google.api.client.util.Key
@@ -379,7 +383,7 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
379383

380384
/**
381385
* The monitoring service the cluster should use to write metrics. Currently available options: *
382-
* "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native
386+
* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native
383387
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
384388
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
385389
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -483,6 +487,13 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
483487
@com.google.api.client.util.Key
484488
private ParentProductConfig parentProductConfig;
485489

490+
/**
491+
* The config for pod autoscaling.
492+
* The value may be {@code null}.
493+
*/
494+
@com.google.api.client.util.Key
495+
private PodAutoscaling podAutoscaling;
496+
486497
/**
487498
* Configuration for private cluster.
488499
* The value may be {@code null}.
@@ -1281,13 +1292,21 @@ public Cluster setLegacyAbac(LegacyAbac legacyAbac) {
12811292
}
12821293

12831294
/**
1295+
* Output only. The name of the Google Compute Engine
1296+
* [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or
1297+
* [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
1298+
* the cluster resides.
12841299
* @return value or {@code null} for none
12851300
*/
12861301
public java.lang.String getLocation() {
12871302
return location;
12881303
}
12891304

12901305
/**
1306+
* Output only. The name of the Google Compute Engine
1307+
* [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or
1308+
* [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
1309+
* the cluster resides.
12911310
* @param location location or {@code null} for none
12921311
*/
12931312
public Cluster setLocation(java.lang.String location) {
@@ -1465,7 +1484,7 @@ public Cluster setMonitoringConfig(MonitoringConfig monitoringConfig) {
14651484

14661485
/**
14671486
* The monitoring service the cluster should use to write metrics. Currently available options: *
1468-
* "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native
1487+
* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native
14691488
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
14701489
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
14711490
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -1478,7 +1497,7 @@ public java.lang.String getMonitoringService() {
14781497

14791498
/**
14801499
* The monitoring service the cluster should use to write metrics. Currently available options: *
1481-
* "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native
1500+
* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native
14821501
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
14831502
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
14841503
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -1711,6 +1730,23 @@ public Cluster setParentProductConfig(ParentProductConfig parentProductConfig) {
17111730
return this;
17121731
}
17131732

1733+
/**
1734+
* The config for pod autoscaling.
1735+
* @return value or {@code null} for none
1736+
*/
1737+
public PodAutoscaling getPodAutoscaling() {
1738+
return podAutoscaling;
1739+
}
1740+
1741+
/**
1742+
* The config for pod autoscaling.
1743+
* @param podAutoscaling podAutoscaling or {@code null} for none
1744+
*/
1745+
public Cluster setPodAutoscaling(PodAutoscaling podAutoscaling) {
1746+
this.podAutoscaling = podAutoscaling;
1747+
return this;
1748+
}
1749+
17141750
/**
17151751
* Configuration for private cluster.
17161752
* @return value or {@code null} for none

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

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
311311

312312
/**
313313
* The monitoring service the cluster should use to write metrics. Currently available options: *
314-
* "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native
314+
* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native
315315
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
316316
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
317317
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -418,6 +418,13 @@ public final class ClusterUpdate extends com.google.api.client.json.GenericJson
418418
@com.google.api.client.util.Key
419419
private ParentProductConfig desiredParentProductConfig;
420420

421+
/**
422+
* The desired config for pod autoscaling.
423+
* The value may be {@code null}.
424+
*/
425+
@com.google.api.client.util.Key
426+
private PodAutoscaling desiredPodAutoscaling;
427+
421428
/**
422429
* The desired private cluster configuration. master_global_access_config is the only field that
423430
* can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for
@@ -1207,7 +1214,7 @@ public ClusterUpdate setDesiredMonitoringConfig(MonitoringConfig desiredMonitori
12071214

12081215
/**
12091216
* The monitoring service the cluster should use to write metrics. Currently available options: *
1210-
* "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native
1217+
* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native
12111218
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
12121219
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
12131220
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -1220,7 +1227,7 @@ public java.lang.String getDesiredMonitoringService() {
12201227

12211228
/**
12221229
* The monitoring service the cluster should use to write metrics. Currently available options: *
1223-
* "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native
1230+
* `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring service with a Kubernetes-native
12241231
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
12251232
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
12261233
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -1462,6 +1469,23 @@ public ClusterUpdate setDesiredParentProductConfig(ParentProductConfig desiredPa
14621469
return this;
14631470
}
14641471

1472+
/**
1473+
* The desired config for pod autoscaling.
1474+
* @return value or {@code null} for none
1475+
*/
1476+
public PodAutoscaling getDesiredPodAutoscaling() {
1477+
return desiredPodAutoscaling;
1478+
}
1479+
1480+
/**
1481+
* The desired config for pod autoscaling.
1482+
* @param desiredPodAutoscaling desiredPodAutoscaling or {@code null} for none
1483+
*/
1484+
public ClusterUpdate setDesiredPodAutoscaling(PodAutoscaling desiredPodAutoscaling) {
1485+
this.desiredPodAutoscaling = desiredPodAutoscaling;
1486+
return this;
1487+
}
1488+
14651489
/**
14661490
* The desired private cluster configuration. master_global_access_config is the only field that
14671491
* can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for

0 commit comments

Comments
 (0)