class ProjectsLocationsCatalogsEventStoresPlacements extends Resource (View source)

The "placements" collection of methods.

Typical usage is:

 $recommendationengineService = new Google\Service\RecommendationsAI(...);
 $placements = $recommendationengineService->projects_locations_catalogs_eventStores_placements;

Methods

predict(string $name, GoogleCloudRecommendationengineV1beta1PredictRequest $postBody, array $optParams = [])

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

Details

GoogleCloudRecommendationengineV1beta1PredictResponse predict(string $name, GoogleCloudRecommendationengineV1beta1PredictRequest $postBody, array $optParams = [])

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

Parameters

string $name
GoogleCloudRecommendationengineV1beta1PredictRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudRecommendationengineV1beta1PredictResponse

Exceptions

Exception