Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ServerNetworkTemplate.
Network template.
Generated from protobuf message google.cloud.baremetalsolution.v2.ServerNetworkTemplate
Namespace
Google \ Cloud \ BareMetalSolution \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
โณ name
string
Output only. Template's unique name. The full resource name follows the pattern: projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template} Generally, the {server_network_template} follows the syntax of "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
Output only. Template's unique name. The full resource name follows the
pattern:
projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
Generally, the {server_network_template} follows the syntax of
"bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
Returns
Type
Description
string
setName
Output only. Template's unique name. The full resource name follows the
pattern:
projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
Generally, the {server_network_template} follows the syntax of
"bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
[[["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 ServerNetworkTemplate (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-bare-metal-solution/latest/V2.ServerNetworkTemplate)\n- [1.0.4](/php/docs/reference/cloud-bare-metal-solution/1.0.4/V2.ServerNetworkTemplate)\n- [0.6.5](/php/docs/reference/cloud-bare-metal-solution/0.6.5/V2.ServerNetworkTemplate)\n- [0.5.2](/php/docs/reference/cloud-bare-metal-solution/0.5.2/V2.ServerNetworkTemplate)\n- [0.4.0](/php/docs/reference/cloud-bare-metal-solution/0.4.0/V2.ServerNetworkTemplate)\n- [0.3.2](/php/docs/reference/cloud-bare-metal-solution/0.3.2/V2.ServerNetworkTemplate)\n- [0.2.8](/php/docs/reference/cloud-bare-metal-solution/0.2.8/V2.ServerNetworkTemplate) \nReference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class ServerNetworkTemplate.\n\nNetwork template.\n\nGenerated from protobuf message `google.cloud.baremetalsolution.v2.ServerNetworkTemplate`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BareMetalSolution \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. Template's unique name. The full resource name follows the\npattern:\n`projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`\nGenerally, the {server_network_template} follows the syntax of\n\"bond\\\u003cinterface_type_index\\\u003e\\\u003cbond_mode\\\u003e\" or \"nic\\\u003cinterface_type_index\\\u003e\".\n\n### setName\n\nOutput only. Template's unique name. The full resource name follows the\npattern:\n`projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`\nGenerally, the {server_network_template} follows the syntax of\n\"bond\\\u003cinterface_type_index\\\u003e\\\u003cbond_mode\\\u003e\" or \"nic\\\u003cinterface_type_index\\\u003e\".\n\n### getApplicableInstanceTypes\n\nInstance types this template is applicable to.\n\n### setApplicableInstanceTypes\n\nInstance types this template is applicable to.\n\n### getLogicalInterfaces\n\nLogical interfaces.\n\n### setLogicalInterfaces\n\nLogical interfaces."]]