Class RouterNatSubnetworkToNat (0.2.1)

RouterNatSubnetworkToNat(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

NameDescription
name str
URL for the subnetwork resource that will use NAT.
secondary_ip_range_names Sequence[str]
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.
source_ip_ranges_to_nat Sequence[google.cloud.compute_v1.types.RouterNatSubnetworkToNat.SourceIpRangesToNat]
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]

Classes

SourceIpRangesToNat

SourceIpRangesToNat(value)

API documentation for compute_v1.types.RouterNatSubnetworkToNat.SourceIpRangesToNat class.