Route class

Represents a Route resource.

A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview.

Constructors

Route({List<RouteAsPath>? asPaths, String? creationTimestamp, String? description, String? destRange, String? id, String? kind, String? name, String? network, String? nextHopGateway, String? nextHopHub, String? nextHopIlb, String? nextHopInstance, String? nextHopIp, String? nextHopNetwork, String? nextHopPeering, String? nextHopVpnTunnel, int? priority, String? routeStatus, String? routeType, String? selfLink, List<String>? tags, List<RouteWarnings>? warnings})
Route.fromJson(Map json_)

Properties

asPaths List<RouteAsPath>?
AS path.
getter/setter pair
creationTimestamp String?
Creation timestamp in RFC3339 text format.
getter/setter pair
description String?
An optional description of this resource.
getter/setter pair
destRange String?
The destination range of outgoing packets that this route applies to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier for the resource.
getter/setter pair
kind String?
Type of this resource.
getter/setter pair
name String?
Name of the resource.
getter/setter pair
network String?
Fully-qualified URL of the network that this route applies to.
getter/setter pair
nextHopGateway String?
The URL to a gateway that should handle matching packets.
getter/setter pair
nextHopHub String?
The full resource name of the Network Connectivity Center hub that will handle matching packets.
getter/setter pair
nextHopIlb String?
The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule.
getter/setter pair
nextHopInstance String?
The URL to an instance that should handle matching packets.
getter/setter pair
nextHopIp String?
The network IP address of an instance that should handle matching packets.
getter/setter pair
nextHopNetwork String?
The URL of the local network if it should handle matching packets.
getter/setter pair
nextHopPeering String?
The network peering name that should handle matching packets, which should conform to RFC1035.
getter/setter pair
nextHopVpnTunnel String?
The URL to a VpnTunnel that should handle matching packets.
getter/setter pair
priority int?
The priority of this route.
getter/setter pair
routeStatus String?
The status of the route.
getter/setter pair
routeType String?
The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Server-defined fully-qualified URL for this resource.
getter/setter pair
tags List<String>?
A list of instance tags to which this route applies.
getter/setter pair
warnings List<RouteWarnings>?
If potential misconfigurations are detected for this route, this field will be populated with warning messages.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited