RouterNatSubnetworkToNat(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines the IP ranges that want to use NAT for a subnetwork.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes
Name | Description |
name |
str
URL for the subnetwork resource that will use NAT. This field is a member of oneof _ _name .
|
secondary_ip_range_names |
MutableSequence[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 |
MutableSequence[str]
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] Check the SourceIpRangesToNat enum for the list of possible values. |
Classes
SourceIpRangesToNat
SourceIpRangesToNat(value)
Values: UNDEFINED_SOURCE_IP_RANGES_TO_NAT (0): A value indicating that the enum field is not set. ALL_IP_RANGES (35608496): The primary and all the secondary ranges are allowed to Nat. LIST_OF_SECONDARY_IP_RANGES (192289308): A list of secondary ranges are allowed to Nat. PRIMARY_IP_RANGE (297109954): The primary range is allowed to Nat.