View Source GoogleApi.Compute.V1.Model.RouterNatSubnetworkToNat (google_api_compute v0.56.2)

Defines the IP ranges that want to use NAT for a subnetwork.

Attributes

  • name (type: String.t, default: nil) - URL for the subnetwork resource that will use NAT.
  • secondaryIpRangeNames (type: list(String.t), default: nil) - A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat.
  • sourceIpRangesToNat (type: list(String.t), default: nil) - Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: [ALL_IP_RANGES]

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.RouterNatSubnetworkToNat{
  name: String.t() | nil,
  secondaryIpRangeNames: [String.t()] | nil,
  sourceIpRangesToNat: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.