Optional. A free-text description of the resource. Max length 1024 characters.
↳ network
string
Required. The canonical name of the network to which this router belongs. The name is in the form ofprojects/{project}/locations/{location}/zones/{zone}/networks/{network}.
[[["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-04 UTC."],[],[],null,["# Google Cloud Edge Network V1 Client - Class Router (1.2.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.3 (latest)](/php/docs/reference/cloud-edgenetwork/latest/V1.Router)\n- [1.2.2](/php/docs/reference/cloud-edgenetwork/1.2.2/V1.Router)\n- [1.1.4](/php/docs/reference/cloud-edgenetwork/1.1.4/V1.Router)\n- [1.0.0](/php/docs/reference/cloud-edgenetwork/1.0.0/V1.Router)\n- [0.3.6](/php/docs/reference/cloud-edgenetwork/0.3.6/V1.Router)\n- [0.2.0](/php/docs/reference/cloud-edgenetwork/0.2.0/V1.Router)\n- [0.1.1](/php/docs/reference/cloud-edgenetwork/0.1.1/V1.Router) \nReference documentation and code samples for the Google Cloud Edge Network V1 Client class Router.\n\nMessage describing Router object\n\nGenerated from protobuf message `google.cloud.edgenetwork.v1.Router`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ EdgeNetwork \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The canonical resource name of the router.\n\n### setName\n\nRequired. The canonical resource name of the router.\n\n### getCreateTime\n\nOutput only. The time when the router was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the router was created.\n\n### getUpdateTime\n\nOutput only. The time when the router was last updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The time when the router was last updated.\n\n### getLabels\n\nLabels associated with this resource.\n\n### setLabels\n\nLabels associated with this resource.\n\n### getDescription\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n### setDescription\n\nOptional. A free-text description of the resource. Max length 1024\ncharacters.\n\n### getNetwork\n\nRequired. The canonical name of the network to which this router belongs.\n\nThe name is in the form of\n`projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.\n\n### setNetwork\n\nRequired. The canonical name of the network to which this router belongs.\n\nThe name is in the form of\n`projects/{project}/locations/{location}/zones/{zone}/networks/{network}`.\n\n### getInterface\n\nRouter interfaces.\n\n### setInterface\n\nRouter interfaces.\n\n### getBgpPeer\n\nBGP peers.\n\n### setBgpPeer\n\nBGP peers.\n\n### getBgp\n\nBGP information specific to this router.\n\n### hasBgp\n\n### clearBgp\n\n### setBgp\n\nBGP information specific to this router.\n\n### getState\n\nOutput only. Current stage of the resource to the device by config push.\n\n### setState\n\nOutput only. Current stage of the resource to the device by config push.\n\n### getRouteAdvertisements\n\nOptional. A list of CIDRs in IP/Length format to advertise northbound as\nstatic routes from this router.\n\n### setRouteAdvertisements\n\nOptional. A list of CIDRs in IP/Length format to advertise northbound as\nstatic routes from this router."]]