public virtual Task<PredictResponse> Predict(PredictRequest request, ServerCallContext context)
Makes a recommendation prediction. If using API Key based authentication,
the API Key must be registered using the
[PredictionApiKeyRegistry][google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry]
service. Learn more.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This document provides reference information for the `PredictionService.PredictionServiceBase` class, which is the base class for server-side implementations of the `PredictionService` in the Recommendations AI v1beta1 API."],["The latest version available for this class is 2.0.0-beta06, with other available versions including 2.0.0-beta05 and 1.0.0-beta03."],["The class includes a `Predict` method, which is used to make recommendation predictions and requires a `PredictRequest` and `ServerCallContext` as parameters."],["Using the `Predict` method with API Key based authentication requires registering the key with the `PredictionApiKeyRegistry` service."],["The `Predict` method returns a `Task` that wraps a `PredictResponse`, which is the response sent back to the client."]]],[]]