# Bare Metal Solution V2 API - Module Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Paths (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 module Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Paths.

Path helper methods for the BareMetalSolution API.

## Extended By

- [Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-BareMetalSolution-Paths)

## Included In

- [Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-BareMetalSolution-Client)
- [Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-BareMetalSolution-Paths)
- [Google::Cloud::BareMetalSolution::V2::BareMetalSolution::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bare_metal_solution-v2/latest/Google-Cloud-BareMetalSolution-V2-BareMetalSolution-Rest-Client)

## Methods

### #instance_config_path

    def instance_config_path(project:, location:, instance_config:) -> ::String

Create a fully-qualified InstanceConfig resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/instanceConfigs/{instance_config}`
**Parameters**

- **project** (String)
- **location** (String)
- **instance_config** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #instance_path

    def instance_path(project:, location:, instance:) -> ::String

Create a fully-qualified Instance resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/instances/{instance}`
**Parameters**

- **project** (String)
- **location** (String)
- **instance** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #interconnect_attachment_path

    def interconnect_attachment_path(project:, region:, interconnect_attachment:) -> ::String

Create a fully-qualified InterconnectAttachment resource string.


The resource will be in the following format:

<br />

`projects/{project}/regions/{region}/interconnectAttachments/{interconnect_attachment}`
**Parameters**

- **project** (String)
- **region** (String)
- **interconnect_attachment** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #location_path

    def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}`
**Parameters**

- **project** (String)
- **location** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #lun_path

    def lun_path(project:, location:, volume:, lun:) -> ::String

Create a fully-qualified Lun resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/volumes/{volume}/luns/{lun}`
**Parameters**

- **project** (String)
- **location** (String)
- **volume** (String)
- **lun** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #network_config_path

    def network_config_path(project:, location:, network_config:) -> ::String

Create a fully-qualified NetworkConfig resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/networkConfigs/{network_config}`
**Parameters**

- **project** (String)
- **location** (String)
- **network_config** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #network_path

    def network_path(project:, location:, network:) -> ::String

Create a fully-qualified Network resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/networks/{network}`
**Parameters**

- **project** (String)
- **location** (String)
- **network** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #nfs_share_path

    def nfs_share_path(project:, location:, nfs_share:) -> ::String

Create a fully-qualified NFSShare resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/nfsShares/{nfs_share}`
**Parameters**

- **project** (String)
- **location** (String)
- **nfs_share** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #provisioning_config_path

    def provisioning_config_path(project:, location:, provisioning_config:) -> ::String

Create a fully-qualified ProvisioningConfig resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/provisioningConfigs/{provisioning_config}`
**Parameters**

- **project** (String)
- **location** (String)
- **provisioning_config** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #server_network_template_path

    def server_network_template_path(project:, location:, server_network_template:) -> ::String

Create a fully-qualified ServerNetworkTemplate resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}`
**Parameters**

- **project** (String)
- **location** (String)
- **server_network_template** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #ssh_key_path

    def ssh_key_path(project:, location:, ssh_key:) -> ::String

Create a fully-qualified SshKey resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/sshKeys/{ssh_key}`
**Parameters**

- **project** (String)
- **location** (String)
- **ssh_key** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #volume_config_path

    def volume_config_path(project:, location:, volume_config:) -> ::String

Create a fully-qualified VolumeConfig resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/volumeConfigs/{volume_config}`
**Parameters**

- **project** (String)
- **location** (String)
- **volume_config** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #volume_path

    def volume_path(project:, location:, volume:) -> ::String

Create a fully-qualified Volume resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/volumes/{volume}`
**Parameters**

- **project** (String)
- **location** (String)
- **volume** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #volume_snapshot_path

    def volume_snapshot_path(project:, location:, volume:, snapshot:) -> ::String

Create a fully-qualified VolumeSnapshot resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}`
**Parameters**

- **project** (String)
- **location** (String)
- **volume** (String)
- **snapshot** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)