GKE Hub V1 API - Module Google::Cloud::GkeHub::V1::GkeHub::Paths (v2.5.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)

#fleet_path

def fleet_path(project:, location:, fleet:) -> ::String
def fleet_path(organization:, location:, fleet:) -> ::String

Create a fully-qualified Fleet resource string.

Overloads
def fleet_path(project:, location:, fleet:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/fleets/{fleet}

Parameters
  • project (String)
  • location (String)
  • fleet (String)
def fleet_path(organization:, location:, fleet:) -> ::String
The resource will be in the following format:

organizations/{organization}/locations/{location}/fleets/{fleet}

Parameters
  • organization (String)
  • location (String)
  • fleet (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_binding_path

def membership_binding_path(project:, location:, membership:, membershipbinding:) -> ::String

Create a fully-qualified MembershipBinding resource string.

The resource will be in the following format:

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

Parameters
  • project (String)
  • location (String)
  • membership (String)
  • membershipbinding (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)

#namespace_path

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

Create a fully-qualified Namespace resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/scopes/{scope}/namespaces/{namespace}

Parameters
  • project (String)
  • location (String)
  • scope (String)
  • namespace (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#rbac_role_binding_path

def rbac_role_binding_path(project:, location:, scope:, rbacrolebinding:) -> ::String
def rbac_role_binding_path(project:, location:, membership:, rbacrolebinding:) -> ::String

Create a fully-qualified RBACRoleBinding resource string.

Overloads
def rbac_role_binding_path(project:, location:, scope:, rbacrolebinding:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}

Parameters
  • project (String)
  • location (String)
  • scope (String)
  • rbacrolebinding (String)
def rbac_role_binding_path(project:, location:, membership:, rbacrolebinding:) -> ::String
The resource will be in the following format:

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

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

#scope_path

def scope_path(project:, location:, scope:) -> ::String

Create a fully-qualified Scope resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/scopes/{scope}

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