Network Connectivity V1BETA API - Module Google::Cloud::NetworkConnectivity::V1beta::TransportManager::Paths (v0.1.0)

Reference documentation and code samples for the Network Connectivity V1BETA API module Google::Cloud::NetworkConnectivity::V1beta::TransportManager::Paths.

Path helper methods for the TransportManager 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)

#network_path

def network_path(project:, resource_id:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/global/networks/{resource_id}

Parameters
  • project (String)
  • resource_id (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#remote_transport_profile_path

def remote_transport_profile_path(project:, location:, remote_transport_profile:) -> ::String

Create a fully-qualified RemoteTransportProfile resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/remoteTransportProfiles/{remote_transport_profile}

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

#transport_path

def transport_path(project:, location:, transport:) -> ::String

Create a fully-qualified Transport resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/transports/{transport}

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