Reference documentation and code samples for the Google Cloud Network Management V1 Client class RouteInfo.
For display only. Metadata associated with a Compute Engine route.
Generated from protobuf message google.cloud.networkmanagement.v1.RouteInfo
Namespace
Google \ Cloud \ NetworkManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ route_type
int
Type of route.
↳ next_hop_type
int
Type of next hop.
↳ route_scope
int
Indicates where route is applicable.
↳ display_name
string
Name of a route.
↳ uri
string
URI of a route (if applicable).
↳ region
string
Region of the route (if applicable).
↳ dest_ip_range
string
Destination IP range of the route.
↳ next_hop
string
Next hop of the route.
↳ network_uri
string
URI of a Compute Engine network. NETWORK routes only.
↳ priority
int
Priority of the route.
↳ instance_tags
array
Instance tags of the route.
↳ src_ip_range
string
Source IP address range of the route. Policy based routes only.
↳ dest_port_ranges
array
Destination port ranges of the route. Policy based routes only.
↳ src_port_ranges
array
Source port ranges of the route. Policy based routes only.
↳ protocols
array
Protocols of the route. Policy based routes only.
↳ ncc_hub_uri
string
URI of a NCC Hub. NCC_HUB routes only.
↳ ncc_spoke_uri
string
URI of a NCC Spoke. NCC_HUB routes only.
↳ advertised_route_source_router_uri
string
For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
↳ advertised_route_next_hop_uri
string
For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
getRouteType
Type of route.
int
setRouteType
Type of route.
var
int
$this
getNextHopType
Type of next hop.
int
setNextHopType
Type of next hop.
var
int
$this
getRouteScope
Indicates where route is applicable.
int
setRouteScope
Indicates where route is applicable.
var
int
$this
getDisplayName
Name of a route.
string
setDisplayName
Name of a route.
var
string
$this
getUri
URI of a route (if applicable).
string
setUri
URI of a route (if applicable).
var
string
$this
getRegion
Region of the route (if applicable).
string
setRegion
Region of the route (if applicable).
var
string
$this
getDestIpRange
Destination IP range of the route.
string
setDestIpRange
Destination IP range of the route.
var
string
$this
getNextHop
Next hop of the route.
string
setNextHop
Next hop of the route.
var
string
$this
getNetworkUri
URI of a Compute Engine network. NETWORK routes only.
string
setNetworkUri
URI of a Compute Engine network. NETWORK routes only.
var
string
$this
getPriority
Priority of the route.
int
setPriority
Priority of the route.
var
int
$this
getInstanceTags
Instance tags of the route.
setInstanceTags
Instance tags of the route.
var
string[]
$this
getSrcIpRange
Source IP address range of the route. Policy based routes only.
string
setSrcIpRange
Source IP address range of the route. Policy based routes only.
var
string
$this
getDestPortRanges
Destination port ranges of the route. Policy based routes only.
setDestPortRanges
Destination port ranges of the route. Policy based routes only.
var
string[]
$this
getSrcPortRanges
Source port ranges of the route. Policy based routes only.
setSrcPortRanges
Source port ranges of the route. Policy based routes only.
var
string[]
$this
getProtocols
Protocols of the route. Policy based routes only.
setProtocols
Protocols of the route. Policy based routes only.
var
string[]
$this
getNccHubUri
URI of a NCC Hub. NCC_HUB routes only.
string
hasNccHubUri
clearNccHubUri
setNccHubUri
URI of a NCC Hub. NCC_HUB routes only.
var
string
$this
getNccSpokeUri
URI of a NCC Spoke. NCC_HUB routes only.
string
hasNccSpokeUri
clearNccSpokeUri
setNccSpokeUri
URI of a NCC Spoke. NCC_HUB routes only.
var
string
$this
getAdvertisedRouteSourceRouterUri
For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
string
hasAdvertisedRouteSourceRouterUri
clearAdvertisedRouteSourceRouterUri
setAdvertisedRouteSourceRouterUri
For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
var
string
$this
getAdvertisedRouteNextHopUri
For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
string
hasAdvertisedRouteNextHopUri
clearAdvertisedRouteNextHopUri
setAdvertisedRouteNextHopUri
For advertised routes, the URI of their next hop, i.e. the URI of the hybrid endpoint (VPN tunnel, Interconnect attachment, NCC router appliance) the advertised prefix is advertised through, or URI of the source peered network.
var
string
$this