GoogleApi.ServiceNetworking.V1.Model.RangeReservation (google_api_service_networking v0.40.0)

View Source

Represents a range reservation.

Attributes

  • ipPrefixLength (type: integer(), default: nil) - Required. The size of the desired subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine if one of the allocated ranges has enough free space for a subnet of the requested size. GCE disallows subnets with prefix_length > 29
  • requestedRanges (type: list(String.t), default: nil) - 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.
  • secondaryRangeIpPrefixLengths (type: list(integer()), default: nil) - Optional. The size of the desired secondary ranges for the subnet. Use usual CIDR range notation. For example, '29' to find unused x.x.x.x/29 CIDR range. The goal is to determine that the allocated ranges have enough free space for all the requested secondary ranges. GCE disallows subnets with prefix_length > 29
  • subnetworkCandidates (type: list(GoogleApi.ServiceNetworking.V1.Model.Subnetwork.t), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.ServiceNetworking.V1.Model.RangeReservation{
  ipPrefixLength: integer() | nil,
  requestedRanges: [String.t()] | nil,
  secondaryRangeIpPrefixLengths: [integer()] | nil,
  subnetworkCandidates:
    [GoogleApi.ServiceNetworking.V1.Model.Subnetwork.t()] | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.