# Class VmEndpointNatMappingsInterfaceNatMappings (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    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]` Output only. 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]` Output only. 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` Output only. 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` Output only. 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[https://docs.cloud.google.com/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings]` Output only. Information about mappings provided by rules in this NAT. |
| `source_alias_ip_range` | `str` Output only. 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` Output only. Primary IP of the VM for this NIC. This field is a member of `oneof`_ `_source_virtual_ip`. |