class Google::Apis::ServicenetworkingV1::RangeReservation
Represents a range reservation.
Attributes
Required. The size of the desired subnet. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The goal is to determine if one of the allocated ranges has enough free space for a subnet of the requested size. Corresponds to the JSON property `ipPrefixLength` @return [Fixnum]
Optional. The name of one or more allocated IP address ranges associated with this private service access connection. If no range names are provided all ranges associated with this connection will be considered. If a CIDR range with the specified IP prefix length is not available within these ranges the validation fails. Corresponds to the JSON property `requestedRanges` @return [Array<String>]
Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The goal is to determine that the allocated ranges have enough free space for all the requested secondary ranges. Corresponds to the JSON property `secondaryRangeIpPrefixLengths` @return [Array<Fixnum>]
Optional. List of subnetwork candidates to validate. The required input fields are `name`, `network`, and `region`. Subnetworks from this list which exist will be returned in the response with the `ip_cidr_range`, ` secondary_ip_cider_ranges`, and `outside_allocation` fields set. Corresponds to the JSON property `subnetworkCandidates` @return [Array<Google::Apis::ServicenetworkingV1::Subnetwork>]
Public Class Methods
# File lib/google/apis/servicenetworking_v1/classes.rb, line 3191 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/servicenetworking_v1/classes.rb, line 3196 def update!(**args) @ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length) @requested_ranges = args[:requested_ranges] if args.key?(:requested_ranges) @secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths) @subnetwork_candidates = args[:subnetwork_candidates] if args.key?(:subnetwork_candidates) end