Distributed Cloud Edge Network V1 API - Module Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Paths (v0.2.1)

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

Path helper methods for the EdgeNetwork API.

Methods

#interconnect_attachment_path

def interconnect_attachment_path(project:, location:, zone:, interconnect_attachment:) -> ::String

Create a fully-qualified InterconnectAttachment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}

Parameters
  • project (String)
  • location (String)
  • zone (String)
  • interconnect_attachment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#interconnect_path

def interconnect_path(project:, location:, zone:, interconnect:) -> ::String

Create a fully-qualified Interconnect resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}

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

#network_path

def network_path(project:, location:, zone:, network:) -> ::String

Create a fully-qualified Network resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}/networks/{network}

Parameters
  • project (String)
  • location (String)
  • zone (String)
  • network (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#router_path

def router_path(project:, location:, zone:, router:) -> ::String

Create a fully-qualified Router resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}/routers/{router}

Parameters
  • project (String)
  • location (String)
  • zone (String)
  • router (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#subnet_path

def subnet_path(project:, location:, zone:, subnet:) -> ::String

Create a fully-qualified Subnet resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}

Parameters
  • project (String)
  • location (String)
  • zone (String)
  • subnet (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#zone_path

def zone_path(project:, location:, zone:) -> ::String

Create a fully-qualified Zone resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/zones/{zone}

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