public static void BindService(ServiceBinderBase serviceBinder, PredictionService.PredictionServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Retail v2 API's PredictionService is version 2.12.0, with older versions back to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePredictionService\u003c/code\u003e class provides functionality for making recommendation predictions within the Retail v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePredictionService\u003c/code\u003e class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class, with the ability to call inherited methods such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods allow for registering the \u003ccode\u003ePredictionService\u003c/code\u003e with a server, with one version taking a \u003ccode\u003ePredictionService.PredictionServiceBase\u003c/code\u003e object, and another taking both \u003ccode\u003eServiceBinderBase\u003c/code\u003e and \u003ccode\u003ePredictionService.PredictionServiceBase\u003c/code\u003e as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e and it is contained in the \u003ccode\u003eGoogle.Cloud.Retail.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]