Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::LogicalInterface::LogicalNetworkInterface (v0.8.1)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::LogicalInterface::LogicalNetworkInterface.

Each logical network interface is effectively a network and IP pair.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#default_gateway

def default_gateway() -> ::Boolean
Returns
  • (::Boolean) — Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.

#default_gateway=

def default_gateway=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
Returns
  • (::Boolean) — Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.

#id

def id() -> ::String
Returns
  • (::String) — An identifier for the Network, generated by the backend.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — An identifier for the Network, generated by the backend.
Returns
  • (::String) — An identifier for the Network, generated by the backend.

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — IP address in the network

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — IP address in the network
Returns
  • (::String) — IP address in the network

#network

def network() -> ::String
Returns
  • (::String) — Name of the network

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — Name of the network
Returns
  • (::String) — Name of the network

#network_type

def network_type() -> ::Google::Cloud::BareMetalSolution::V2::Network::Type

#network_type=

def network_type=(value) -> ::Google::Cloud::BareMetalSolution::V2::Network::Type
Parameter