# Batch V1 API - Module Google::Cloud::Batch::V1::BatchService::Paths (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.21.0 0.20.1 0.19.2 0.18.3 0.17.4 0.16.2 0.15.1 0.14.0 0.13.1 0.12.0 0.11.1 0.10.5 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.3 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Batch V1 API module Google::Cloud::Batch::V1::BatchService::Paths.

Path helper methods for the BatchService API.

## Extended By

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

## Included In

- [Google::Cloud::Batch::V1::BatchService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-batch-v1/latest/Google-Cloud-Batch-V1-BatchService-Client)
- [Google::Cloud::Batch::V1::BatchService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-batch-v1/latest/Google-Cloud-Batch-V1-BatchService-Paths)
- [Google::Cloud::Batch::V1::BatchService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-batch-v1/latest/Google-Cloud-Batch-V1-BatchService-Rest-Client)

## Methods

### #job_path

    def job_path(project:, location:, job:) -> ::String

Create a fully-qualified Job resource string.


The resource will be in the following format:

<br />

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

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

### #task_group_path

    def task_group_path(project:, location:, job:, task_group:) -> ::String

Create a fully-qualified TaskGroup resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #task_path

    def task_path(project:, location:, job:, task_group:, task:) -> ::String

Create a fully-qualified Task resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}/tasks/{task}`
**Parameters**

- **project** (String)
- **location** (String)
- **job** (String)
- **task_group** (String)
- **task** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)