route_tables
Creates, updates, deletes, gets or lists a route_tables
resource.
Overview
Name | route_tables |
Type | Resource |
Id | google.networkconnectivity.route_tables |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Immutable. 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} |
description | string | An optional description of the route table. |
createTime | string | Output only. The time the route table was created. |
labels | object | Optional labels in key-value pair format. For more information about labels, see Requirements for labels. |
state | string | Output only. The current lifecycle state of this route table. |
uid | string | Output 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 . |
updateTime | string | Output only. The time the route table was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | hubsId, projectsId, routeTablesId | Gets details about a Network Connectivity Center route table. |
list | SELECT | hubsId, projectsId | Lists 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 }}';