Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class LogicalInterface.
Each logical interface represents a logical abstraction of the underlying
physical interface (for eg. bond, nic) of the instance. Each logical
interface can effectively map to multiple network-IP pairs and still be
mapped to one underlying physical interface.
Generated from protobuf messagegoogle.cloud.baremetalsolution.v2.LogicalInterface
[[["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-04 UTC."],[],[],null,["# Google Cloud Bare Metal Solution V2 Client - Class LogicalInterface (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.LogicalInterface)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.LogicalInterface)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.LogicalInterface)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.LogicalInterface)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.LogicalInterface)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.LogicalInterface)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.LogicalInterface) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class LogicalInterface.\n\nEach logical interface represents a logical abstraction of the underlying\nphysical interface (for eg. bond, nic) of the instance. Each logical\ninterface can effectively map to multiple network-IP pairs and still be\nmapped to one underlying physical interface.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.LogicalInterface`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLogicalNetworkInterfaces\n\nList of logical network interfaces within a logical interface.\n\n### setLogicalNetworkInterfaces\n\nList of logical network interfaces within a logical interface.\n\n### getName\n\nInterface name. This is of syntax\n\n\n### setName\n\nInterface name. This is of syntax\n\n\n### getInterfaceIndex\n\nThe index of the logical interface mapping to the index of the hardware\nbond or nic on the chosen network template. This field is deprecated.\n\n### setInterfaceIndex\n\nThe index of the logical interface mapping to the index of the hardware\nbond or nic on the chosen network template. This field is deprecated."]]