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. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
↳ 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.
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.
Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
string
setUri
URI of a route.
Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI.
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