Distributed Cloud Edge Container V1 API - Module Google::Cloud::EdgeContainer::V1::EdgeContainer::Paths (v0.2.0)

Reference documentation and code samples for the Distributed Cloud Edge Container V1 API module Google::Cloud::EdgeContainer::V1::EdgeContainer::Paths.

Path helper methods for the EdgeContainer API.

Methods

#cluster_path

def cluster_path(project:, location:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clusters/{cluster}

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

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

Parameters
  • project (String)
  • location (String)
  • key_ring (String)
  • crypto_key (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#crypto_key_version_path

def crypto_key_version_path(project:, location:, key_ring:, crypto_key:, crypto_key_version:) -> ::String

Create a fully-qualified CryptoKeyVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}

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

#machine_path

def machine_path(project:, location:, machine:) -> ::String

Create a fully-qualified Machine resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/machines/{machine}

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

#node_pool_path

def node_pool_path(project:, location:, cluster:, node_pool:) -> ::String

Create a fully-qualified NodePool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}

Parameters
  • project (String)
  • location (String)
  • cluster (String)
  • node_pool (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#vpn_connection_path

def vpn_connection_path(project:, location:, vpn_connection:) -> ::String

Create a fully-qualified VpnConnection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/vpnConnections/{vpn_connection}

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