# GKE Hub V1beta1 API - Module Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Paths (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the GKE Hub V1beta1 API module Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Paths.

Path helper methods for the GkeHubMembershipService API.

## Extended By

- [Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeHubMembershipService-Paths)

## Included In

- [Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeHubMembershipService-Client)
- [Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeHubMembershipService-Paths)
- [Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-GkeHubMembershipService-Rest-Client)

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

### #membership_path

    def membership_path(project:, location:, membership:) -> ::String

Create a fully-qualified Membership resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}/memberships/{membership}`
**Parameters**

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

- (::String)
**Raises**

- (::ArgumentError)