0.22.5 (latest) 0.22.4 0.21.0 0.20.0 0.19.0 0.18.0 0.17.37 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.2 0.2.0 0.1.2

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

A network interface.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `network` | `str` The URL of an existing network resource. You can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} - projects/{project}/global/networks/{network} - global/networks/{network} |
| `subnetwork` | `str` The URL of an existing subnetwork resource in the network. You can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} - projects/{project}/regions/{region}/subnetworks/{subnetwork} - regions/{region}/subnetworks/{subnetwork} |
| `no_external_ip_address` | `bool` Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information. |
| `nic_type` | `https://docs.cloud.google.com/python/docs/reference/batch/latest/google.cloud.batch_v1.types.AllocationPolicy.NetworkInterface.NicType` Optional. The NIC type of the network interface. This field is a member of `oneof`_ `_nic_type`. |

## Classes

### NicType

    NicType(value)

Compute Engine VM instance NIC type.