@@ -300,6 +300,10 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
300
300
private LegacyAbac legacyAbac ;
301
301
302
302
/**
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.
303
307
* The value may be {@code null}.
304
308
*/
305
309
@ com .google .api .client .util .Key
@@ -379,7 +383,7 @@ public final class Cluster extends com.google.api.client.json.GenericJson {
379
383
380
384
/**
381
385
* 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
383
387
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
384
388
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
385
389
* 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 {
483
487
@ com .google .api .client .util .Key
484
488
private ParentProductConfig parentProductConfig ;
485
489
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
+
486
497
/**
487
498
* Configuration for private cluster.
488
499
* The value may be {@code null}.
@@ -1281,13 +1292,21 @@ public Cluster setLegacyAbac(LegacyAbac legacyAbac) {
1281
1292
}
1282
1293
1283
1294
/**
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.
1284
1299
* @return value or {@code null} for none
1285
1300
*/
1286
1301
public java .lang .String getLocation () {
1287
1302
return location ;
1288
1303
}
1289
1304
1290
1305
/**
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.
1291
1310
* @param location location or {@code null} for none
1292
1311
*/
1293
1312
public Cluster setLocation (java .lang .String location ) {
@@ -1465,7 +1484,7 @@ public Cluster setMonitoringConfig(MonitoringConfig monitoringConfig) {
1465
1484
1466
1485
/**
1467
1486
* 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
1469
1488
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
1470
1489
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
1471
1490
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -1478,7 +1497,7 @@ public java.lang.String getMonitoringService() {
1478
1497
1479
1498
/**
1480
1499
* 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
1482
1501
* resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer
1483
1502
* available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as
1484
1503
* an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or
@@ -1711,6 +1730,23 @@ public Cluster setParentProductConfig(ParentProductConfig parentProductConfig) {
1711
1730
return this ;
1712
1731
}
1713
1732
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
+
1714
1750
/**
1715
1751
* Configuration for private cluster.
1716
1752
* @return value or {@code null} for none
0 commit comments