Class VmEndpointNatMappingsInterfaceNatMappings (1.19.1)

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

Contain information of Nat mapping for an interface of this endpoint.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
drain_nat_ip_port_ranges MutableSequence[str]
List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
nat_ip_port_ranges MutableSequence[str]
A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
num_total_drain_nat_ports int
Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges. This field is a member of oneof_ _num_total_drain_nat_ports.
num_total_nat_ports int
Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges. This field is a member of oneof_ _num_total_nat_ports.
rule_mappings MutableSequence[google.cloud.compute_v1.types.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings]
Information about mappings provided by rules in this NAT.
source_alias_ip_range str
Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24". This field is a member of oneof_ _source_alias_ip_range.
source_virtual_ip str
Primary IP of the VM for this NIC. This field is a member of oneof_ _source_virtual_ip.