locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | google.dialogflow.locations |
Fields
The following fields are returned by SELECT queries:
- projects_locations_get
- projects_locations_list
| Name | Datatype | Description |
|---|---|---|
name | string | |
displayName | string | |
labels | object | |
locationId | string | |
metadata | object |
| Name | Datatype | Description |
|---|---|---|
name | string | |
displayName | string | |
labels | object | |
locationId | string | |
metadata | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_get | select | projectsId, locationsId | ||
projects_locations_list | select | projectsId | pageSize, filter, extraLocationTypes, pageToken |
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 |
|---|---|---|
locationsId | string | |
projectsId | string | |
extraLocationTypes | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- projects_locations_get
- projects_locations_list
Successful response
SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.dialogflow.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;
Successful response
SELECT
name,
displayName,
labels,
locationId,
metadata
FROM google.dialogflow.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND filter = '{{ filter }}'
AND extraLocationTypes = '{{ extraLocationTypes }}'
AND pageToken = '{{ pageToken }}'
;