# Service Directory V1beta1 API - Module Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Paths (v0.22.0)

0.22.0 (latest) 0.21.1 0.20.0 0.19.1 0.18.0 0.17.1 0.16.0 0.15.2 0.14.2 0.13.0 0.12.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.4 Reference documentation and code samples for the Service Directory V1beta1 API module Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Paths.

Path helper methods for the RegistrationService API.

## Extended By

- [Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1beta1/latest/Google-Cloud-ServiceDirectory-V1beta1-RegistrationService-Paths)

## Included In

- [Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1beta1/latest/Google-Cloud-ServiceDirectory-V1beta1-RegistrationService-Client)
- [Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1beta1/latest/Google-Cloud-ServiceDirectory-V1beta1-RegistrationService-Paths)
- [Google::Cloud::ServiceDirectory::V1beta1::RegistrationService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1beta1/latest/Google-Cloud-ServiceDirectory-V1beta1-RegistrationService-Rest-Client)

## Methods

### #endpoint_path

    def endpoint_path(project:, location:, namespace:, service:, endpoint:) -> ::String

Create a fully-qualified Endpoint resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}/endpoints/{endpoint}`
**Parameters**

- **project** (String)
- **location** (String)
- **namespace** (String)
- **service** (String)
- **endpoint** (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)

### #namespace_path

    def namespace_path(project:, location:, namespace:) -> ::String

Create a fully-qualified Namespace resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/namespaces/{namespace}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #network_path

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

Create a fully-qualified Network resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/global/networks/{network}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)

### #service_path

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

Create a fully-qualified Service resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)