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 |
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. |
NextHopVpcNetwork
JSON representation |
---|
{ "uri": string } |
Fields | |
---|---|
uri |
The URI of the VPC network resource |
Methods |
|
---|---|
|
Gets details about the specified route. |
|
Lists routes in a given route table. |