Reference documentation and code samples for the Google Cloud Edge Network V1 Client class Router.
Message describing Router object
Generated from protobuf message google.cloud.edgenetwork.v1.Router
Namespace
Google \ Cloud \ EdgeNetwork \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The canonical resource name of the router.
↳ create_time
↳ update_time
↳ labels
↳ description
string
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 of projects/{project}/locations/{location}/zones/{zone}/networks/{network}
.
↳ interface
↳ bgp_peer
↳ bgp
↳ state
int
Output only. Current stage of the resource to the device by config push.
↳ route_advertisements
array
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
getName
Required. The canonical resource name of the router.
string
setName
Required. The canonical resource name of the router.
var
string
$this
getCreateTime
Output only. The time when the router was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the router was created.
$this
getUpdateTime
Output only. The time when the router was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the router was last updated.
$this
getLabels
Labels associated with this resource.
setLabels
Labels associated with this resource.
$this
getDescription
Optional. A free-text description of the resource. Max length 1024 characters.
string
setDescription
Optional. A free-text description of the resource. Max length 1024 characters.
var
string
$this
getNetwork
Required. The canonical name of the network to which this router belongs.
The name is in the form of projects/{project}/locations/{location}/zones/{zone}/networks/{network}
.
string
setNetwork
Required. The canonical name of the network to which this router belongs.
The name is in the form of projects/{project}/locations/{location}/zones/{zone}/networks/{network}
.
var
string
$this
getInterface
Router interfaces.
setInterface
Router interfaces.
$this
getBgpPeer
BGP peers.
setBgpPeer
BGP peers.
$this
getBgp
BGP information specific to this router.
hasBgp
clearBgp
setBgp
BGP information specific to this router.
$this
getState
Output only. Current stage of the resource to the device by config push.
int
setState
Output only. Current stage of the resource to the device by config push.
var
int
$this
getRouteAdvertisements
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
setRouteAdvertisements
Optional. A list of CIDRs in IP/Length format to advertise northbound as static routes from this router.
var
string[]
$this