public sealed class Route : IMessage<Route>, IEquatable<Route>, IDeepCloneable<Route>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Connectivity v1 API class Route.
A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.
Namespace
Google.Cloud.NetworkConnectivity.V1Assembly
Google.Cloud.NetworkConnectivity.V1.dll
Constructors
Route()
public Route()
Route(Route)
public Route(Route other)
Parameter | |
---|---|
Name | Description |
other |
Route |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The time the route was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
An optional description of the route.
Property Value | |
---|---|
Type | Description |
string |
HubRouteName
public HubRouteName HubRouteName { get; set; }
HubRouteName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
HubRouteName |
IpCidrRange
public string IpCidrRange { get; set; }
The destination IP address range.
Property Value | |
---|---|
Type | Description |
string |
Labels
public MapField<string, string> Labels { get; }
Optional labels in key-value pair format. For more information about labels, see Requirements for labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Location
public string Location { get; set; }
Output only. The location of the route. Uses the following form: "projects/{project}/locations/{location}" Example: projects/1234/locations/us-central1
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Immutable. The name of the route. Route names must be unique. Route names
use the following form:
projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}
Property Value | |
---|---|
Type | Description |
string |
NextHopVpcNetwork
public NextHopVpcNetwork NextHopVpcNetwork { get; set; }
Immutable. The destination VPC network for packets on this route.
Property Value | |
---|---|
Type | Description |
NextHopVpcNetwork |
Spoke
public string Spoke { get; set; }
Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE
Property Value | |
---|---|
Type | Description |
string |
SpokeAsSpokeName
public SpokeName SpokeAsSpokeName { get; set; }
Property Value | |
---|---|
Type | Description |
SpokeName |
State
public State State { get; set; }
Output only. The current lifecycle state of the route.
Property Value | |
---|---|
Type | Description |
State |
Type
public RouteType Type { get; set; }
Output only. The route's type. Its type is determined by the properties of its IP address range.
Property Value | |
---|---|
Type | Description |
RouteType |
Uid
public string Uid { get; set; }
Output only. The Google-generated UUID for the route. This value is unique
across all Network Connectivity Center route resources. If a
route is deleted and another with the same name is created,
the new route is assigned a different uid
.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The time the route was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |