Anthos Multi-Cloud V1 API - Module Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Paths (v0.3.0)

Reference documentation and code samples for the Anthos Multi-Cloud V1 API module Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Paths.

Path helper methods for the AttachedClusters API.

Methods

#attached_cluster_path

def attached_cluster_path(project:, location:, attached_cluster:) -> ::String

Create a fully-qualified AttachedCluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/attachedClusters/{attached_cluster}

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

#attached_server_config_path

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

Create a fully-qualified AttachedServerConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/attachedServerConfig

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