catalogs
Creates, updates, deletes, gets or lists a catalogs
resource.
Overview
Name | catalogs |
Type | Resource |
Id | google.recommendationengine.catalogs |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The fully qualified resource name of the catalog. |
catalogItemLevelConfig | object | Configures the catalog level that users send events to, and the level at which predictions are made. |
defaultEventStoreId | string | Required. The ID of the default event store. |
displayName | string | Required. The catalog display name. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_catalogs_list | SELECT | locationsId, projectsId | Lists all the catalog configurations associated with the project. |
projects_locations_catalogs_patch | UPDATE | catalogsId, locationsId, projectsId | Updates the catalog configuration. |
SELECT
examples
Lists all the catalog configurations associated with the project.
SELECT
name,
catalogItemLevelConfig,
defaultEventStoreId,
displayName
FROM google.recommendationengine.catalogs
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
UPDATE
example
Updates a catalogs
resource.
/*+ update */
UPDATE google.recommendationengine.catalogs
SET
name = '{{ name }}',
displayName = '{{ displayName }}',
defaultEventStoreId = '{{ defaultEventStoreId }}',
catalogItemLevelConfig = '{{ catalogItemLevelConfig }}'
WHERE
catalogsId = '{{ catalogsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';