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

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

Logical interface.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax
Returns
  • (::String) — Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax

#required

def required() -> ::Boolean
Returns
  • (::Boolean) — If true, interface must have network connected.

#required=

def required=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, interface must have network connected.
Returns
  • (::Boolean) — If true, interface must have network connected.

#type

def type() -> ::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType

#type=

def type=(value) -> ::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType