Class RouteInfo (1.38.0)

RouteInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

For display only. Metadata associated with a Compute Engine route.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
route_type google.cloud.network_management_v1.types.RouteInfo.RouteType
Type of route.
next_hop_type google.cloud.network_management_v1.types.RouteInfo.NextHopType
Type of next hop.
route_scope google.cloud.network_management_v1.types.RouteInfo.RouteScope
Indicates where route is applicable. Deprecated, routes with NCC_HUB scope are not included in the trace in new tests.
display_name str
Name of a route.
uri str
URI of a route. SUBNET, STATIC, PEERING_SUBNET (only for peering network) and POLICY_BASED routes only.
region str
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. If set to "all" for POLICY_BASED route, the route applies to VLAN attachments of Cloud Interconnect in all regions.
dest_ip_range str
Destination IP range of the route.
next_hop str
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 str
URI of a VPC network where route is located.
priority int
Priority of the route.
instance_tags MutableSequence[str]
Instance tags of the route.
src_ip_range str
Source IP address range of the route. POLICY_BASED routes only.
dest_port_ranges MutableSequence[str]
Destination port ranges of the route. POLICY_BASED routes only.
src_port_ranges MutableSequence[str]
Source port ranges of the route. POLICY_BASED routes only.
protocols MutableSequence[str]
Protocols of the route. POLICY_BASED routes only.
ncc_hub_uri str
URI of the NCC Hub the route is advertised by. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only. This field is a member of oneof_ _ncc_hub_uri.
ncc_spoke_uri str
URI of the destination NCC Spoke. PEERING_SUBNET and PEERING_DYNAMIC routes that are advertised by NCC Hub only. This field is a member of oneof_ _ncc_spoke_uri.
advertised_route_source_router_uri str
For ADVERTISED dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix. This field is a member of oneof_ _advertised_route_source_router_uri.
advertised_route_next_hop_uri str
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. This field is a member of oneof_ _advertised_route_next_hop_uri.
next_hop_uri str
URI of the next hop resource.
next_hop_network_uri str
URI of a VPC network where the next hop resource is located.
originating_route_uri str
For PEERING_SUBNET and PEERING_STATIC routes, the URI of the originating SUBNET/STATIC route.
originating_route_display_name str
For PEERING_SUBNET, PEERING_STATIC and PEERING_DYNAMIC routes, the name of the originating SUBNET/STATIC/DYNAMIC route.
ncc_hub_route_uri str
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.

Classes

NextHopType

NextHopType(value)

Type of next hop:

RouteScope

RouteScope(value)

Indicates where routes are applicable.

RouteType

RouteType(value)

Type of route: