Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NetworkInterface

import type { NetworkInterface } from "https://googleapis.deno.dev/v1/notebooks:v2.ts";

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

interface NetworkInterface {
network?: string;
nicType?: "NIC_TYPE_UNSPECIFIED" | "VIRTIO_NET" | "GVNIC";
subnet?: string;
}

§Properties

§
network?: string
[src]

Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}

§
nicType?: "NIC_TYPE_UNSPECIFIED" | "VIRTIO_NET" | "GVNIC"
[src]

Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

§
subnet?: string
[src]

Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}