route_tables
Creates, updates, deletes, gets or lists a route_tables
resource.
Overview
Name | route_tables |
Type | Resource |
Id | google.networkconnectivity.route_tables |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
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} |
createTime | string (google-datetime) | Output only. The time the route table was created. |
description | string | An optional description of the route table. |
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 (google-datetime) | Output only. The time the route table was last updated. |
Successful response
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} |
createTime | string (google-datetime) | Output only. The time the route table was created. |
description | string | An optional description of the route table. |
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 (google-datetime) | Output only. The time the route table was last updated. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , hubsId , routeTablesId | Gets details about a Network Connectivity Center route table. | |
list | select | projectsId , hubsId | pageSize , pageToken , filter , orderBy | Lists 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.
Name | Datatype | Description |
---|---|---|
hubsId | string | |
projectsId | string | |
routeTablesId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- get
- list
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;
Lists route tables in a given hub.
SELECT
name,
createTime,
description,
labels,
state,
uid,
updateTime
FROM google.networkconnectivity.route_tables
WHERE projectsId = '{{ projectsId }}' -- required
AND hubsId = '{{ hubsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';