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

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


  • 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]

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.