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 documentation covers the `PredictionService.PredictionServiceBase` class, which is a base for server-side implementations of the PredictionService in the Recommendations AI v1beta1 API."],["The latest version available for `PredictionService.PredictionServiceBase` is 2.0.0-beta06, with 2.0.0-beta05 and 1.0.0-beta03 also documented."],["The class includes one primary method, `Predict`, which is used to make a recommendation prediction and requires a `PredictRequest` and `ServerCallContext` as parameters."],["When using API Key authentication, the key must be registered via the `PredictionApiKeyRegistry` service as mentioned in the documentation."],["The Predict method returns a `Task\u003cPredictResponse\u003e` object."]]],[]]