Show / Hide Table of Contents

Class Route

A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.

Inheritance
object
Route
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Networkconnectivity.v1.Data
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class Route : IDirectResponseSchema

Properties

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The time the route was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Description

An optional description of the route.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IpCidrRange

The destination IP address range.

Declaration
[JsonProperty("ipCidrRange")]
public virtual string IpCidrRange { get; set; }
Property Value
Type Description
string

Labels

Optional labels in key-value pair format. For more information about labels, see Requirements for labels.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Location

Output only. The origin location of the route. Uses the following form: "projects/{project}/locations/{location}" Example: projects/1234/locations/us-central1

Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
Type Description
string

Name

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}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

NextHopInterconnectAttachment

Immutable. The next-hop VLAN attachment for packets on this route.

Declaration
[JsonProperty("nextHopInterconnectAttachment")]
public virtual NextHopInterconnectAttachment NextHopInterconnectAttachment { get; set; }
Property Value
Type Description
NextHopInterconnectAttachment

NextHopRouterApplianceInstance

Immutable. The next-hop Router appliance instance for packets on this route.

Declaration
[JsonProperty("nextHopRouterApplianceInstance")]
public virtual NextHopRouterApplianceInstance NextHopRouterApplianceInstance { get; set; }
Property Value
Type Description
NextHopRouterApplianceInstance

NextHopSpoke

Immutable. The next-hop spoke for packets on this route.

Declaration
[JsonProperty("nextHopSpoke")]
public virtual NextHopSpoke NextHopSpoke { get; set; }
Property Value
Type Description
NextHopSpoke

NextHopVpcNetwork

Immutable. The destination VPC network for packets on this route.

Declaration
[JsonProperty("nextHopVpcNetwork")]
public virtual NextHopVpcNetwork NextHopVpcNetwork { get; set; }
Property Value
Type Description
NextHopVpcNetwork

NextHopVpnTunnel

Immutable. The next-hop VPN tunnel for packets on this route.

Declaration
[JsonProperty("nextHopVpnTunnel")]
public virtual NextHopVPNTunnel NextHopVpnTunnel { get; set; }
Property Value
Type Description
NextHopVPNTunnel

Priority

Output only. The priority of this route. Priority is used to break ties in cases where a destination matches more than one route. In these cases the route with the lowest-numbered priority value wins.

Declaration
[JsonProperty("priority")]
public virtual long? Priority { get; set; }
Property Value
Type Description
long?

Spoke

Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE

Declaration
[JsonProperty("spoke")]
public virtual string Spoke { get; set; }
Property Value
Type Description
string

State

Output only. The current lifecycle state of the route.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Type

Output only. The route's type. Its type is determined by the properties of its IP address range.

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Uid

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.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The time the route was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX