Notebooks V2 API - Class Google::Cloud::Notebooks::V2::NetworkInterface (v0.4.1)

Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::NetworkInterface.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#network

def network() -> ::String
Returns
  • (::String) — Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}
Returns
  • (::String) — Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}

#nic_type

def nic_type() -> ::Google::Cloud::Notebooks::V2::NetworkInterface::NicType
Returns

#nic_type=

def nic_type=(value) -> ::Google::Cloud::Notebooks::V2::NetworkInterface::NicType
Parameter
Returns

#subnet

def subnet() -> ::String
Returns
  • (::String) — Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}

#subnet=

def subnet=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
Returns
  • (::String) — Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}