Class NetworkInterface (1.12.0)

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

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

Attributes

Name Description
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.