# Network Connectivity V1 API - Module Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Paths (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API module Google::Cloud::NetworkConnectivity::V1::PolicyBasedRoutingService::Paths.

Path helper methods for the PolicyBasedRoutingService API.

## Extended By

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

## Included In

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

## Methods

### #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)

### #network_path

    def network_path(project:, resource_id:) -> ::String

Create a fully-qualified Network resource string.


The resource will be in the following format:

<br />

`projects/{project}/global/networks/{resource_id}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #policy_based_route_path

    def policy_based_route_path(project:, policy_based_route:) -> ::String

Create a fully-qualified PolicyBasedRoute resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/global/PolicyBasedRoutes/{policy_based_route}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)