Class NetworkInterface (1.10.2)

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

The definition of a network interface resource attached to a VM.

Attributes

NameDescription
network str
Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}
subnet str
Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
nic_type google.cloud.notebooks_v2.types.NetworkInterface.NicType
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

Classes

NicType

NicType(value)

The type of vNIC driver. Default should be NIC_TYPE_UNSPECIFIED.

Values: NIC_TYPE_UNSPECIFIED (0): No type specified. VIRTIO_NET (1): VIRTIO GVNIC (2): GVNIC