Skip to main content

placements

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

Overview

Nameplacements
TypeResource
Idgoogle.recommendationengine.placements

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_locations_catalogs_event_stores_placements_predictexecprojectsId, locationsId, catalogsId, eventStoresId, placementsIdMakes a recommendation prediction. If using API Key based authentication, the API Key must be registered using the PredictionApiKeyRegistry service. Learn more.

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
catalogsIdstring
eventStoresIdstring
locationsIdstring
placementsIdstring
projectsIdstring

Lifecycle Methods

Makes a recommendation prediction. If using API Key based authentication, the API Key must be registered using the PredictionApiKeyRegistry service. Learn more.

EXEC google.recommendationengine.placements.projects_locations_catalogs_event_stores_placements_predict 
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@catalogsId='{{ catalogsId }}' --required,
@eventStoresId='{{ eventStoresId }}' --required,
@placementsId='{{ placementsId }}' --required
@@json=
'{
"userEvent": "{{ userEvent }}",
"pageSize": {{ pageSize }},
"pageToken": "{{ pageToken }}",
"filter": "{{ filter }}",
"dryRun": {{ dryRun }},
"params": "{{ params }}",
"labels": "{{ labels }}"
}';