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

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}
descriptionstringAn optional description of the route table.
createTimestringOutput only. The time the route table was created.
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.
updateTimestringOutput only. The time the route table was last updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECThubsId, projectsId, routeTablesIdGets details about a Network Connectivity Center route table.
listSELECThubsId, projectsIdLists route tables in a given hub.

SELECT examples

Lists route tables in a given hub.

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