Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idgoogle.ml.locations

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestring
capabilitiesarrayCapabilities available in the location.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_getselectprojectsId, locationsIdGet the complete list of CMLE capabilities in a location, along with their location-specific properties.
projects_locations_listselectprojectsIdpageToken, pageSizeList 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.

NameDatatypeDescription
locationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

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;