- Resource: Route
- RouteType
- NextHopVpcNetwork
- NextHopVPNTunnel
- NextHopRouterApplianceInstance
- NextHopInterconnectAttachment
- Methods
Resource: Route
A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "ipCidrRange": string, "type": enum ( |
Fields | |
---|---|
name |
Immutable. The name of the route. Route names must be unique. Route names use the following form: |
createTime |
Output only. The time the route was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time the route was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
ipCidrRange |
The destination IP address range. |
type |
Output only. The route's type. Its type is determined by the properties of its IP address range. |
nextHopVpcNetwork |
Immutable. The destination VPC network for packets on this route. |
labels |
Optional labels in key-value pair format. For more information about labels, see Requirements for labels. An object containing a list of |
description |
An optional description of the route. |
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 |
state |
Output only. The current lifecycle state of the route. |
spoke |
Immutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE |
location |
Output only. The origin location of the route. Uses the following form: "projects/{project}/locations/{location}" Example: projects/1234/locations/us-central1 |
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. |
nextHopVpnTunnel |
Immutable. The next-hop VPN tunnel for packets on this route. |
nextHopRouterApplianceInstance |
Immutable. The next-hop Router appliance instance for packets on this route. |
nextHopInterconnectAttachment |
Immutable. The next-hop VLAN attachment for packets on this route. |
RouteType
The route's type
Enums | |
---|---|
ROUTE_TYPE_UNSPECIFIED |
No route type information specified |
VPC_PRIMARY_SUBNET |
The route leads to a destination within the primary address range of the VPC network's subnet. |
VPC_SECONDARY_SUBNET |
The route leads to a destination within the secondary address range of the VPC network's subnet. |
DYNAMIC_ROUTE |
The route leads to a destination in a dynamic route. Dynamic routes are derived from Border Gateway Protocol (BGP) advertisements received from an NCC hybrid spoke. |
NextHopVpcNetwork
JSON representation |
---|
{ "uri": string } |
Fields | |
---|---|
uri |
The URI of the VPC network resource |
NextHopVPNTunnel
A route next hop that leads to a VPN tunnel resource.
JSON representation |
---|
{ "uri": string, "vpcNetwork": string, "siteToSiteDataTransfer": boolean } |
Fields | |
---|---|
uri |
The URI of the VPN tunnel resource. |
vpcNetwork |
The VPC network where this VPN tunnel is located. |
siteToSiteDataTransfer |
Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource. Data transfer is available only in supported locations. |
NextHopRouterApplianceInstance
A route next hop that leads to a Router appliance instance.
JSON representation |
---|
{ "uri": string, "vpcNetwork": string, "siteToSiteDataTransfer": boolean } |
Fields | |
---|---|
uri |
The URI of the Router appliance instance. |
vpcNetwork |
The VPC network where this VM is located. |
siteToSiteDataTransfer |
Indicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in supported locations. |
NextHopInterconnectAttachment
A route next hop that leads to an interconnect attachment resource.
JSON representation |
---|
{ "uri": string, "vpcNetwork": string, "siteToSiteDataTransfer": boolean } |
Fields | |
---|---|
uri |
The URI of the interconnect attachment resource. |
vpcNetwork |
The VPC network where this interconnect attachment is located. |
siteToSiteDataTransfer |
Indicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in supported locations. |
Methods |
|
---|---|
|
Gets details about the specified route. |
|
Lists routes in a given route table. |