# App Hub V1 API - Module Google::Cloud::AppHub::V1::AppHub::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.3.0 0.2.0 0.1.1 Reference documentation and code samples for the App Hub V1 API module Google::Cloud::AppHub::V1::AppHub::Paths.

Path helper methods for the AppHub API.

## Extended By

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

## Included In

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

## Methods

### #application_path

    def application_path(project:, location:, application:) -> ::String

Create a fully-qualified Application resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #discovered_service_path

    def discovered_service_path(project:, location:, discovered_service:) -> ::String

Create a fully-qualified DiscoveredService resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #discovered_workload_path

    def discovered_workload_path(project:, location:, discovered_workload:) -> ::String

Create a fully-qualified DiscoveredWorkload resource string.


The resource will be in the following format:

<br />

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

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

### #project_path

    def project_path(project:) -> ::String

Create a fully-qualified Project resource string.


The resource will be in the following format:

<br />

`projects/{project}`
**Parameter**

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

- (::String)

### #service_path

    def service_path(project:, location:, application:, service:) -> ::String

Create a fully-qualified Service resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/applications/{application}/services/{service}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #service_project_attachment_path

    def service_project_attachment_path(project:, location:, service_project_attachment:) -> ::String

Create a fully-qualified ServiceProjectAttachment resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #workload_path

    def workload_path(project:, location:, application:, workload:) -> ::String

Create a fully-qualified Workload resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/applications/{application}/workloads/{workload}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)