# Class NetworkInterface (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

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

NetworkInterface represents a NIC of a VM.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `network` | `str` Optional. The network to connect the NIC to. |
| `subnetwork` | `str` Optional. The subnetwork to connect the NIC to. |
| `internal_ip` | `str` Optional. The internal IP to define in the NIC. The formats accepted are: `ephemeral` \\\\ ipv4 address \\\\ a named address resource full path. |
| `external_ip` | `str` Optional. The external IP to define in the NIC. |
| `network_tier` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineNetworkTier` Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM. |