locations
Creates, updates, deletes, gets or lists a locations resource.
Overview
| Name | locations |
| Type | Resource |
| Id | google.ml.locations |
Fields
The following fields are returned by SELECT queries:
- projects_locations_get
- projects_locations_list
| Name | Datatype | Description |
|---|---|---|
name | string | |
capabilities | array | Capabilities available in the location. |
| Name | Datatype | Description |
|---|---|---|
name | string | |
capabilities | array | Capabilities available in the location. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_get | select | projectsId, locationsId | Get the complete list of CMLE capabilities in a location, along with their location-specific properties. | |
projects_locations_list | select | projectsId | pageToken, pageSize | List all locations that provides at least one type of CMLE capability. |
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 | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- projects_locations_get
- projects_locations_list
Get the complete list of CMLE capabilities in a location, along with their location-specific properties.
SELECT
name,
capabilities
FROM google.ml.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;
List all locations that provides at least one type of CMLE capability.
SELECT
name,
capabilities
FROM google.ml.locations
WHERE projectsId = '{{ projectsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
;