@@ -182,6 +182,18 @@ public final class AddSubnetworkRequest extends com.google.api.client.json.Gener
182
182
@ com .google .api .client .util .Key
183
183
private java .util .List <SecondaryIpRangeSpec > secondaryIpRangeSpecs ;
184
184
185
+ /**
186
+ * Optional. Skips validating if the requested_address is in use by SN VPC’s peering group.
187
+ * Compute Engine will still perform this check and fail the request if the requested_address is
188
+ * in use. Note that Compute Engine does not check for the existence of dynamic routes when
189
+ * performing this check. Caller of this API should make sure that there are no dynamic routes
190
+ * overlapping with the requested_address/prefix_length IP address range otherwise the created
191
+ * subnet could cause misrouting.
192
+ * The value may be {@code null}.
193
+ */
194
+ @ com .google .api .client .util .Key
195
+ private java .lang .Boolean skipRequestedAddressValidation ;
196
+
185
197
/**
186
198
* Required. A name for the new subnet. For information about the naming requirements, see
187
199
* [subnetwork](/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
@@ -561,6 +573,33 @@ public AddSubnetworkRequest setSecondaryIpRangeSpecs(java.util.List<SecondaryIpR
561
573
return this ;
562
574
}
563
575
576
+ /**
577
+ * Optional. Skips validating if the requested_address is in use by SN VPC’s peering group.
578
+ * Compute Engine will still perform this check and fail the request if the requested_address is
579
+ * in use. Note that Compute Engine does not check for the existence of dynamic routes when
580
+ * performing this check. Caller of this API should make sure that there are no dynamic routes
581
+ * overlapping with the requested_address/prefix_length IP address range otherwise the created
582
+ * subnet could cause misrouting.
583
+ * @return value or {@code null} for none
584
+ */
585
+ public java .lang .Boolean getSkipRequestedAddressValidation () {
586
+ return skipRequestedAddressValidation ;
587
+ }
588
+
589
+ /**
590
+ * Optional. Skips validating if the requested_address is in use by SN VPC’s peering group.
591
+ * Compute Engine will still perform this check and fail the request if the requested_address is
592
+ * in use. Note that Compute Engine does not check for the existence of dynamic routes when
593
+ * performing this check. Caller of this API should make sure that there are no dynamic routes
594
+ * overlapping with the requested_address/prefix_length IP address range otherwise the created
595
+ * subnet could cause misrouting.
596
+ * @param skipRequestedAddressValidation skipRequestedAddressValidation or {@code null} for none
597
+ */
598
+ public AddSubnetworkRequest setSkipRequestedAddressValidation (java .lang .Boolean skipRequestedAddressValidation ) {
599
+ this .skipRequestedAddressValidation = skipRequestedAddressValidation ;
600
+ return this ;
601
+ }
602
+
564
603
/**
565
604
* Required. A name for the new subnet. For information about the naming requirements, see
566
605
* [subnetwork](/compute/docs/reference/rest/v1/subnetworks) in the Compute API documentation.
0 commit comments