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

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.

Methods

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

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:

projects/{project}/locations/{location}/memberships/{membership}

Parameters
  • project (String)
  • location (String)
  • membership (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)