Skip to main content

custom_models

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

Overview

Namecustom_models
TypeResource
Idgoogle.discoveryengine.custom_models

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
modelsarrayList of custom tuning models.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_collections_data_stores_custom_models_listselectprojectsId, locationsId, collectionsId, dataStoresIdGets a list of all the custom models.

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
collectionsIdstring
dataStoresIdstring
locationsIdstring
projectsIdstring

SELECT examples

Gets a list of all the custom models.

SELECT
models
FROM google.discoveryengine.custom_models
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND collectionsId = '{{ collectionsId }}' -- required
AND dataStoresId = '{{ dataStoresId }}' -- required;