1.1.0 (latest) 1.0.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::ApiHub::Paths.

Path helper methods for the ApiHub API.

## Extended By

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

## Included In

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

## Methods

### #api_operation_path

    def api_operation_path(project:, location:, api:, version:, operation:) -> ::String

Create a fully-qualified ApiOperation resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
**Parameters**

- **project** (String)
- **location** (String)
- **api** (String)
- **version** (String)
- **operation** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #api_path

    def api_path(project:, location:, api:) -> ::String

Create a fully-qualified Api resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #attribute_path

    def attribute_path(project:, location:, attribute:) -> ::String

Create a fully-qualified Attribute resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #definition_path

    def definition_path(project:, location:, api:, version:, definition:) -> ::String

Create a fully-qualified Definition resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
**Parameters**

- **project** (String)
- **location** (String)
- **api** (String)
- **version** (String)
- **definition** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #deployment_path

    def deployment_path(project:, location:, deployment:) -> ::String

Create a fully-qualified Deployment resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #external_api_path

    def external_api_path(project:, location:, external_api:) -> ::String

Create a fully-qualified ExternalApi resource string.


The resource will be in the following format:

<br />

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

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

### #plugin_instance_path

    def plugin_instance_path(project:, location:, plugin:, instance:) -> ::String

Create a fully-qualified PluginInstance resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #spec_path

    def spec_path(project:, location:, api:, version:, spec:) -> ::String

Create a fully-qualified Spec resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
**Parameters**

- **project** (String)
- **location** (String)
- **api** (String)
- **version** (String)
- **spec** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #version_path

    def version_path(project:, location:, api:, version:) -> ::String

Create a fully-qualified Version resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/apis/{api}/versions/{version}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)