|
30 | 30 | @SuppressWarnings("javadoc") |
31 | 31 | public final class Cluster extends com.google.api.client.json.GenericJson { |
32 | 32 |
|
| 33 | + /** |
| 34 | + * Optional. Immutable. Allows customers to specify if they are okay with deploying a multi-zone |
| 35 | + * cluster in less than 3 zones. Once set, if there is a zonal outage during the cluster creation, |
| 36 | + * the cluster will only be deployed in 2 zones, and stay within the 2 zones for its lifecycle. |
| 37 | + * The value may be {@code null}. |
| 38 | + */ |
| 39 | + @com.google.api.client.util.Key |
| 40 | + private java.lang.Boolean allowFewerZonesDeployment; |
| 41 | + |
33 | 42 | /** |
34 | 43 | * Optional. If true, cluster endpoints that are created and registered by customers can be |
35 | 44 | * deleted asynchronously. That is, such a cluster endpoint can be de-registered before the |
@@ -277,6 +286,27 @@ public final class Cluster extends com.google.api.client.json.GenericJson { |
277 | 286 | @com.google.api.client.util.Key |
278 | 287 | private ZoneDistributionConfig zoneDistributionConfig; |
279 | 288 |
|
| 289 | + /** |
| 290 | + * Optional. Immutable. Allows customers to specify if they are okay with deploying a multi-zone |
| 291 | + * cluster in less than 3 zones. Once set, if there is a zonal outage during the cluster creation, |
| 292 | + * the cluster will only be deployed in 2 zones, and stay within the 2 zones for its lifecycle. |
| 293 | + * @return value or {@code null} for none |
| 294 | + */ |
| 295 | + public java.lang.Boolean getAllowFewerZonesDeployment() { |
| 296 | + return allowFewerZonesDeployment; |
| 297 | + } |
| 298 | + |
| 299 | + /** |
| 300 | + * Optional. Immutable. Allows customers to specify if they are okay with deploying a multi-zone |
| 301 | + * cluster in less than 3 zones. Once set, if there is a zonal outage during the cluster creation, |
| 302 | + * the cluster will only be deployed in 2 zones, and stay within the 2 zones for its lifecycle. |
| 303 | + * @param allowFewerZonesDeployment allowFewerZonesDeployment or {@code null} for none |
| 304 | + */ |
| 305 | + public Cluster setAllowFewerZonesDeployment(java.lang.Boolean allowFewerZonesDeployment) { |
| 306 | + this.allowFewerZonesDeployment = allowFewerZonesDeployment; |
| 307 | + return this; |
| 308 | + } |
| 309 | + |
280 | 310 | /** |
281 | 311 | * Optional. If true, cluster endpoints that are created and registered by customers can be |
282 | 312 | * deleted asynchronously. That is, such a cluster endpoint can be de-registered before the |
|
0 commit comments