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
defname()->::String
Returns
(::String) — Interface name.
This is not a globally unique identifier.
Name is unique only inside the ServerNetworkTemplate. This is of syntax
#name=
defname=(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
defrequired()->::Boolean
Returns
(::Boolean) — If true, interface must have network connected.
#required=
defrequired=(value)->::Boolean
Parameter
value (::Boolean) — If true, interface must have network connected.
Returns
(::Boolean) — If true, interface must have network connected.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [1.0.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/1.0.1/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.10.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.10.0/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.9.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.9.0/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.8.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.8.1/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.7.2](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.7.2/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.6.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.6.0/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.5.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.5.1/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.4.1](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.4.1/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.3.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.3.0/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.2.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.2.0/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\n- [0.1.0](/ruby/docs/reference/google-cloud-bare_metal_solution-v2/0.1.0/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface) \nReference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface.\n\nLogical interface. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax \n**Returns**\n\n- (::String) --- Interface name. This is not a globally unique identifier. Name is unique only inside the ServerNetworkTemplate. This is of syntax\n\n### #required\n\n def required() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If true, interface must have network connected.\n\n### #required=\n\n def required=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If true, interface must have network connected. \n**Returns**\n\n- (::Boolean) --- If true, interface must have network connected.\n\n### #type\n\n def type() -\u003e ::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType\n\n**Returns**\n\n- ([::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType](./Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface-InterfaceType)) --- Interface type.\n\n### #type=\n\n def type=(value) -\u003e ::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType\n\n**Parameter**\n\n- **value** ([::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType](./Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface-InterfaceType)) --- Interface type. \n**Returns**\n\n- ([::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface::InterfaceType](./Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface-InterfaceType)) --- Interface type."]]