Distributed Cloud Edge Network V1 API - Module Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Paths (v2.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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)
#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)
#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)
#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)
#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)
#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)
#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)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Distributed Cloud Edge Network V1 API - Module Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Paths (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-edge_network-v1/latest/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [2.0.2](/ruby/docs/reference/google-cloud-edge_network-v1/2.0.2/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-edge_network-v1/1.2.0/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-edge_network-v1/1.1.0/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [1.0.3](/ruby/docs/reference/google-cloud-edge_network-v1/1.0.3/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [0.5.0](/ruby/docs/reference/google-cloud-edge_network-v1/0.5.0/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [0.4.1](/ruby/docs/reference/google-cloud-edge_network-v1/0.4.1/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [0.3.1](/ruby/docs/reference/google-cloud-edge_network-v1/0.3.1/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [0.2.1](/ruby/docs/reference/google-cloud-edge_network-v1/0.2.1/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n- [0.1.0](/ruby/docs/reference/google-cloud-edge_network-v1/0.1.0/Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths) \nReference documentation and code samples for the Distributed Cloud Edge Network V1 API module Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Paths.\n\nPath helper methods for the EdgeNetwork API. \n\nExtended By\n-----------\n\n- [Google::Cloud::EdgeNetwork::V1::EdgeNetwork::Paths](./Google-Cloud-EdgeNetwork-V1-EdgeNetwork-Paths)\n\nMethods\n-------\n\n### #interconnect_attachment_path\n\n def interconnect_attachment_path(project:, location:, zone:, interconnect_attachment:) -\u003e ::String\n\nCreate a fully-qualified InterconnectAttachment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/zones/{zone}/interconnectAttachments/{interconnect_attachment}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **zone** (String)\n- **interconnect_attachment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #interconnect_path\n\n def interconnect_path(project:, location:, zone:, interconnect:) -\u003e ::String\n\nCreate a fully-qualified Interconnect resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/zones/{zone}/interconnects/{interconnect}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **zone** (String)\n- **interconnect** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #network_path\n\n def network_path(project:, location:, zone:, network:) -\u003e ::String\n\nCreate a fully-qualified Network resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/zones/{zone}/networks/{network}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **zone** (String)\n- **network** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #router_path\n\n def router_path(project:, location:, zone:, router:) -\u003e ::String\n\nCreate a fully-qualified Router resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/zones/{zone}/routers/{router}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **zone** (String)\n- **router** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #subnet_path\n\n def subnet_path(project:, location:, zone:, subnet:) -\u003e ::String\n\nCreate a fully-qualified Subnet resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/zones/{zone}/subnets/{subnet}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **zone** (String)\n- **subnet** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #zone_path\n\n def zone_path(project:, location:, zone:) -\u003e ::String\n\nCreate a fully-qualified Zone resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/zones/{zone}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **zone** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]