allocationStrategy property
Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
Optional. Possible string values are:
- "ALLOCATION_STRATEGY_UNSPECIFIED" : Unspecified is the only valid option when the range is specified explicitly by ip_cidr_range field. Otherwise unspefified means using the default strategy.
- "RANDOM" : Random strategy, the legacy algorithm, used for backwards compatibility. This allocation strategy remains efficient in the case of concurrent allocation requests in the same peered network space and doesn't require providing the level of concurrency in an explicit parameter, but it is prone to fragmenting available address space.
- "FIRST_AVAILABLE" : Pick the first available address range. This strategy is deterministic and the result is easy to predict.
- "RANDOM_FIRST_N_AVAILABLE" : Pick an arbitrary range out of the first N available ones. The N will be set in the first_available_ranges_lookup_size field. This strategy should be used when concurrent allocation requests are made in the same space of peered networks while the fragmentation of the addrress space is reduced.
- "FIRST_SMALLEST_FITTING" : Pick the smallest but fitting available range. This deterministic strategy minimizes fragmentation of the address space.
Implementation
core.String? allocationStrategy;