public sealed class RouteInfo : IMessage<RouteInfo>, IEquatable<RouteInfo>, IDeepCloneable<RouteInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Management v1 API class RouteInfo.
For display only. Metadata associated with a Compute Engine route.
Implements
IMessageRouteInfo, IEquatableRouteInfo, IDeepCloneableRouteInfo, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkManagement.V1Assembly
Google.Cloud.NetworkManagement.V1.dll
Constructors
RouteInfo()
public RouteInfo()
RouteInfo(RouteInfo)
public RouteInfo(RouteInfo other)
Parameter | |
---|---|
Name | Description |
other |
RouteInfo |
Properties
AdvertisedRouteNextHopUri
public string AdvertisedRouteNextHopUri { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
AdvertisedRouteSourceRouterUri
public string AdvertisedRouteSourceRouterUri { get; set; }
For advertised dynamic routes, the URI of the Cloud Router that advertised the corresponding IP prefix.
Property Value | |
---|---|
Type | Description |
string |
DestIpRange
public string DestIpRange { get; set; }
Destination IP range of the route.
Property Value | |
---|---|
Type | Description |
string |
DestPortRanges
public RepeatedField<string> DestPortRanges { get; }
Destination port ranges of the route. Policy based routes only.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
DisplayName
public string DisplayName { get; set; }
Name of a route.
Property Value | |
---|---|
Type | Description |
string |
HasAdvertisedRouteNextHopUri
public bool HasAdvertisedRouteNextHopUri { get; }
Gets whether the "advertised_route_next_hop_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasAdvertisedRouteSourceRouterUri
public bool HasAdvertisedRouteSourceRouterUri { get; }
Gets whether the "advertised_route_source_router_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasNccHubUri
public bool HasNccHubUri { get; }
Gets whether the "ncc_hub_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasNccSpokeUri
public bool HasNccSpokeUri { get; }
Gets whether the "ncc_spoke_uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
InstanceTags
public RepeatedField<string> InstanceTags { get; }
Instance tags of the route.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
NccHubUri
public string NccHubUri { get; set; }
URI of a NCC Hub. NCC_HUB routes only.
Property Value | |
---|---|
Type | Description |
string |
NccSpokeUri
public string NccSpokeUri { get; set; }
URI of a NCC Spoke. NCC_HUB routes only.
Property Value | |
---|---|
Type | Description |
string |
NetworkUri
public string NetworkUri { get; set; }
URI of a Compute Engine network. NETWORK routes only.
Property Value | |
---|---|
Type | Description |
string |
NextHop
public string NextHop { get; set; }
Next hop of the route.
Property Value | |
---|---|
Type | Description |
string |
NextHopType
public RouteInfo.Types.NextHopType NextHopType { get; set; }
Type of next hop.
Property Value | |
---|---|
Type | Description |
RouteInfoTypesNextHopType |
Priority
public int Priority { get; set; }
Priority of the route.
Property Value | |
---|---|
Type | Description |
int |
Protocols
public RepeatedField<string> Protocols { get; }
Protocols of the route. Policy based routes only.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Region
public string Region { get; set; }
Region of the route (if applicable).
Property Value | |
---|---|
Type | Description |
string |
RouteScope
public RouteInfo.Types.RouteScope RouteScope { get; set; }
Indicates where route is applicable.
Property Value | |
---|---|
Type | Description |
RouteInfoTypesRouteScope |
RouteType
public RouteInfo.Types.RouteType RouteType { get; set; }
Type of route.
Property Value | |
---|---|
Type | Description |
RouteInfoTypesRouteType |
SrcIpRange
public string SrcIpRange { get; set; }
Source IP address range of the route. Policy based routes only.
Property Value | |
---|---|
Type | Description |
string |
SrcPortRanges
public RepeatedField<string> SrcPortRanges { get; }
Source port ranges of the route. Policy based routes only.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Uri
public string Uri { get; set; }
URI of a route (if applicable).
Property Value | |
---|---|
Type | Description |
string |