# Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate.

Network template.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #applicable_instance_types

    def applicable_instance_types() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Instance types this template is applicable to.

### #applicable_instance_types=

    def applicable_instance_types=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Instance types this template is applicable to.
**Returns**

- (::Array\<::String\>) --- Instance types this template is applicable to.

### #logical_interfaces

    def logical_interfaces() -> ::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>

**Returns**

- (::Array\<[::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\>) --- Logical interfaces.

### #logical_interfaces=

    def logical_interfaces=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface>

**Parameter**

- **value** (::Array\<[::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\>) --- Logical interfaces.
**Returns**

- (::Array\<[::Google::Cloud::BareMetalSolution::V2::ServerNetworkTemplate::LogicalInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-ServerNetworkTemplate-LogicalInterface)\>) --- Logical interfaces.

### #name

    def name() -> ::String

**Returns**

- (::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