# Cloud TPU V1 API - Module Google::Cloud::Tpu::V1::Tpu::Paths (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Cloud TPU V1 API module Google::Cloud::Tpu::V1::Tpu::Paths.

Path helper methods for the Tpu API.

## Extended By

- [Google::Cloud::Tpu::V1::Tpu::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Cloud-Tpu-V1-Tpu-Paths)

## Included In

- [Google::Cloud::Tpu::V1::Tpu::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Cloud-Tpu-V1-Tpu-Client)
- [Google::Cloud::Tpu::V1::Tpu::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tpu-v1/latest/Google-Cloud-Tpu-V1-Tpu-Paths)

## Methods

### #accelerator_type_path

    def accelerator_type_path(project:, location:, accelerator_type:) -> ::String

Create a fully-qualified AcceleratorType resource string.


The resource will be in the following format:

<br />

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

- **project** (String)
- **location** (String)
- **accelerator_type** (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)

### #node_path

    def node_path(project:, location:, node:) -> ::String

Create a fully-qualified Node resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #tensor_flow_version_path

    def tensor_flow_version_path(project:, location:, tensor_flow_version:) -> ::String

Create a fully-qualified TensorFlowVersion resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)