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. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
↳ display_name
string
Name of a route.
↳ uri
string
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
↳ region
string
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.
↳ dest_ip_range
string
Destination IP range of the route.
↳ next_hop
string
String type of the next hop of the route (for example, "VPN tunnel"). Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
↳ network_uri
string
URI of a VPC network where route is located.
↳ 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 the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
↳ ncc_spoke_uri
string
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub 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. Deprecated in favor of the next_hop_uri field, not used in new tests.
↳ next_hop_uri
string
URI of the next hop resource.
↳ next_hop_network_uri
string
URI of a VPC network where the next hop resource is located.
↳ originating_route_uri
string
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
↳ originating_route_display_name
string
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
↳ ncc_hub_route_uri
string
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
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. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
int
setRouteScope
Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
var
int
$this
getDisplayName
Name of a route.
string
setDisplayName
Name of a route.
var
string
$this
getUri
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
string
setUri
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
var
string
$this
getRegion
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.
string
setRegion
Region of the route. DYNAMIC, PEERING_DYNAMIC, POLICY_BASED and ADVERTISED routes only. If set for POLICY_BASED route, this is a region of VLAN attachments for Cloud Interconnect the route applies to.
var
string
$this
getDestIpRange
Destination IP range of the route.
string
setDestIpRange
Destination IP range of the route.
var
string
$this
getNextHop
String type of the next hop of the route (for example, "VPN tunnel").
Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
string
setNextHop
String type of the next hop of the route (for example, "VPN tunnel").
Deprecated in favor of the next_hop_type and next_hop_uri fields, not used in new tests.
var
string
$this
getNetworkUri
URI of a VPC network where route is located.
string
setNetworkUri
URI of a VPC network where route is located.
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 the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
string
hasNccHubUri
clearNccHubUri
setNccHubUri
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
var
string
$this
getNccSpokeUri
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only.
string
hasNccSpokeUri
clearNccSpokeUri
setNccSpokeUri
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub 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. Deprecated in favor of the next_hop_uri field, not used in new tests.
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. Deprecated in favor of the next_hop_uri field, not used in new tests.
var
string
$this
getNextHopUri
URI of the next hop resource.
string
setNextHopUri
URI of the next hop resource.
var
string
$this
getNextHopNetworkUri
URI of a VPC network where the next hop resource is located.
string
setNextHopNetworkUri
URI of a VPC network where the next hop resource is located.
var
string
$this
getOriginatingRouteUri
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
string
setOriginatingRouteUri
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
var
string
$this
getOriginatingRouteDisplayName
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
string
setOriginatingRouteDisplayName
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
var
string
$this
getNccHubRouteUri
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
string
setNccHubRouteUri
For PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub, the URI of the corresponding route in NCC Hub's routing table.
var
string
$this