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."],[[["The `PredictionServiceBase` class serves as the foundation for server-side implementations of the `PredictionService` within the `Google.Cloud.RecommendationEngine.V1Beta1` namespace."],["It includes a `Predict` method that handles recommendation predictions, requiring a `PredictRequest` and `ServerCallContext` for operation, and returns a `Task\u003cPredictResponse\u003e`."],["The `Predict` method needs an API Key registration when using API Key-based authentication, and is used to make a recommendation prediction."],["The class inherits members from the `Object` class, such as `GetHashCode()`, `GetType()`, `MemberwiseClone()`, and `ToString()`."]]],[]]