|
30 | 30 | @SuppressWarnings("javadoc") |
31 | 31 | public final class GceClusterConfig extends com.google.api.client.json.GenericJson { |
32 | 32 |
|
| 33 | + /** |
| 34 | + * Optional. An optional list of Compute Engine zones where the Dataproc cluster will not be |
| 35 | + * located when Auto Zone is enabled. Only one of zone_uri or auto_zone_exclude_zone_uris can be |
| 36 | + * set. If both are omitted, the service will pick a zone in the cluster Compute Engine region. If |
| 37 | + * auto_zone_exclude_zone_uris is set and there is more than one non-excluded zone, the service |
| 38 | + * will pick one of the non-excluded zones. Otherwise, cluster creation will fail with |
| 39 | + * INVALID_ARGUMENT error.A full URL, partial URI, or short name are valid. Examples: |
| 40 | + * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] |
| 41 | + * projects/[project_id]/zones/[zone] [zone] |
| 42 | + * The value may be {@code null}. |
| 43 | + */ |
| 44 | + @com.google.api.client.util.Key |
| 45 | + private java.util.List<java.lang.String> autoZoneExcludeZoneUris; |
| 46 | + |
33 | 47 | /** |
34 | 48 | * Optional. Confidential Instance Config for clusters using Confidential VMs |
35 | 49 | * (https://cloud.google.com/compute/confidential-vm/docs). |
@@ -169,6 +183,37 @@ public final class GceClusterConfig extends com.google.api.client.json.GenericJs |
169 | 183 | @com.google.api.client.util.Key |
170 | 184 | private java.lang.String zoneUri; |
171 | 185 |
|
| 186 | + /** |
| 187 | + * Optional. An optional list of Compute Engine zones where the Dataproc cluster will not be |
| 188 | + * located when Auto Zone is enabled. Only one of zone_uri or auto_zone_exclude_zone_uris can be |
| 189 | + * set. If both are omitted, the service will pick a zone in the cluster Compute Engine region. If |
| 190 | + * auto_zone_exclude_zone_uris is set and there is more than one non-excluded zone, the service |
| 191 | + * will pick one of the non-excluded zones. Otherwise, cluster creation will fail with |
| 192 | + * INVALID_ARGUMENT error.A full URL, partial URI, or short name are valid. Examples: |
| 193 | + * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] |
| 194 | + * projects/[project_id]/zones/[zone] [zone] |
| 195 | + * @return value or {@code null} for none |
| 196 | + */ |
| 197 | + public java.util.List<java.lang.String> getAutoZoneExcludeZoneUris() { |
| 198 | + return autoZoneExcludeZoneUris; |
| 199 | + } |
| 200 | + |
| 201 | + /** |
| 202 | + * Optional. An optional list of Compute Engine zones where the Dataproc cluster will not be |
| 203 | + * located when Auto Zone is enabled. Only one of zone_uri or auto_zone_exclude_zone_uris can be |
| 204 | + * set. If both are omitted, the service will pick a zone in the cluster Compute Engine region. If |
| 205 | + * auto_zone_exclude_zone_uris is set and there is more than one non-excluded zone, the service |
| 206 | + * will pick one of the non-excluded zones. Otherwise, cluster creation will fail with |
| 207 | + * INVALID_ARGUMENT error.A full URL, partial URI, or short name are valid. Examples: |
| 208 | + * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone] |
| 209 | + * projects/[project_id]/zones/[zone] [zone] |
| 210 | + * @param autoZoneExcludeZoneUris autoZoneExcludeZoneUris or {@code null} for none |
| 211 | + */ |
| 212 | + public GceClusterConfig setAutoZoneExcludeZoneUris(java.util.List<java.lang.String> autoZoneExcludeZoneUris) { |
| 213 | + this.autoZoneExcludeZoneUris = autoZoneExcludeZoneUris; |
| 214 | + return this; |
| 215 | + } |
| 216 | + |
172 | 217 | /** |
173 | 218 | * Optional. Confidential Instance Config for clusters using Confidential VMs |
174 | 219 | * (https://cloud.google.com/compute/confidential-vm/docs). |
|
0 commit comments