NetworkInterface

NetworkInterface represents a NIC of a VM.

JSON representation
{
  "network": string,
  "subnetwork": string,
  "internalIp": string,
  "externalIp": string,
  "networkTier": enum (ComputeEngineNetworkTier)
}
Fields
network

string

The network to connect the NIC to.

subnetwork

string

Optional. The subnetwork to connect the NIC to.

internalIp

string

Optional. The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

externalIp

string

Optional. The external IP to define in the NIC.

networkTier

enum (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.

ComputeEngineNetworkTier

Describes the networking tier used for configuring network access configuration.

Enums
COMPUTE_ENGINE_NETWORK_TIER_UNSPECIFIED An unspecified network tier. Will be used as PREMIUM.
NETWORK_TIER_STANDARD A standard network tier.
NETWORK_TIER_PREMIUM A premium network tier.