Reference documentation and code samples for the Network Connectivity V1 API class Google::Cloud::NetworkConnectivity::V1::InternalRange::AllocationOptions.
Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allocation_strategy
def allocation_strategy() -> ::Google::Cloud::NetworkConnectivity::V1::InternalRange::AllocationStrategy
Returns
- (::Google::Cloud::NetworkConnectivity::V1::InternalRange::AllocationStrategy) — Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
#allocation_strategy=
def allocation_strategy=(value) -> ::Google::Cloud::NetworkConnectivity::V1::InternalRange::AllocationStrategy
Parameter
- value (::Google::Cloud::NetworkConnectivity::V1::InternalRange::AllocationStrategy) — Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
Returns
- (::Google::Cloud::NetworkConnectivity::V1::InternalRange::AllocationStrategy) — Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
#first_available_ranges_lookup_size
def first_available_ranges_lookup_size() -> ::Integer
Returns
- (::Integer) — Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
#first_available_ranges_lookup_size=
def first_available_ranges_lookup_size=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
Returns
- (::Integer) — Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.