GKE Hub V1 API - Module Google::Cloud::GkeHub::V1::GkeHub::Paths (v0.9.0)

Reference documentation and code samples for the GKE Hub V1 API module Google::Cloud::GkeHub::V1::GkeHub::Paths.

Path helper methods for the GkeHub API.

Methods

#feature_path

def feature_path(project:, location:, feature:) -> ::String

Create a fully-qualified Feature resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/features/{feature}

Parameters
  • project (String)
  • location (String)
  • feature (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:

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)