Skip to main content

route_tables

Creates, updates, deletes, gets or lists a route_tables resource.

Overview

Nameroute_tables
TypeResource
Idgoogle.networkconnectivity.route_tables

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringImmutable. The name of the route table. Route table names must be unique. They use the following form: projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}
createTimestring (google-datetime)Output only. The time the route table was created.
descriptionstringAn optional description of the route table.
labelsobjectOptional labels in key-value pair format. For more information about labels, see Requirements for labels.
statestringOutput only. The current lifecycle state of this route table.
uidstringOutput only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is created, the new route table is assigned a different uid.
updateTimestring (google-datetime)Output only. The time the route table was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, hubsId, routeTablesIdGets details about a Network Connectivity Center route table.
listselectprojectsId, hubsIdpageSize, pageToken, filter, orderByLists route tables in a given hub.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hubsIdstring
projectsIdstring
routeTablesIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets details about a Network Connectivity Center route table.

SELECT
name,
createTime,
description,
labels,
state,
uid,
updateTime
FROM google.networkconnectivity.route_tables
WHERE projectsId = '{{ projectsId }}' -- required
AND hubsId = '{{ hubsId }}' -- required
AND routeTablesId = '{{ routeTablesId }}' -- required;