View Source GoogleApi.Notebooks.V2.Model.NetworkInterface (google_api_notebooks v0.14.3)

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

Attributes

  • accessConfigs (type: list(GoogleApi.Notebooks.V2.Model.AccessConfig.t), default: nil) - Optional. An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the instance will have an external internet access through an ephemeral external IP address.
  • network (type: String.t, default: nil) - Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}
  • nicType (type: String.t, default: nil) - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
  • subnet (type: String.t, default: nil) - Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Notebooks.V2.Model.NetworkInterface{
  accessConfigs: [GoogleApi.Notebooks.V2.Model.AccessConfig.t()] | nil,
  network: String.t() | nil,
  nicType: String.t() | nil,
  subnet: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.