A Hub Route in Google Cloud is a network route resource within a Network Connectivity Center hub. It defines how traffic is directed between spokes or external networks connected to the hub. Hub Routes enable centralized routing control, allowing administrators to manage connectivity policies, route priorities, and next-hop targets across hybrid and multi-cloud environments.

gcp.networkconnectivity_hub_route

Fields

TitleIDTypeData TypeDescription
_keycorestring
ancestorscorearray<string>
create_timecoretimestampOutput only. The time the route was created.
datadog_display_namecorestring
descriptioncorestringAn optional description of the route.
ip_cidr_rangecorestringThe destination IP address range.
labelscorearray<string>Optional labels in key-value pair format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
locationcorestringOutput only. The origin location of the route. Uses the following form: "projects/{project}/locations/{location}" Example: projects/1234/locations/us-central1
namecorestringImmutable. 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}`
next_hop_interconnect_attachmentcorejsonImmutable. The next-hop VLAN attachment for packets on this route.
next_hop_router_appliance_instancecorejsonImmutable. The next-hop Router appliance instance for packets on this route.
next_hop_vpc_networkcorejsonImmutable. The destination VPC network for packets on this route.
next_hop_vpn_tunnelcorejsonImmutable. The next-hop VPN tunnel for packets on this route.
organization_idcorestring
parentcorestring
prioritycoreint64Output 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.
project_idcorestring
project_numbercorestring
region_idcorestring
resource_namecorestring
spokecorestringImmutable. The spoke that this route leads to. Example: projects/12345/locations/global/spokes/SPOKE
statecorestringOutput only. The current lifecycle state of the route.
tagscorehstore_csv
typecorestringOutput only. The route's type. Its type is determined by the properties of its IP address range.
uidcorestringOutput 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`.
update_timecoretimestampOutput only. The time the route was last updated.
zone_idcorestring