Reference documentation and code samples for the Discovery Engine v1 API class ControlService.
Service for performing CRUD operations on Controls.
Controls allow for custom logic to be implemented in the serving path.
Controls need to be attached to a Serving Config to be considered during a
request.
public static void BindService(ServiceBinderBase serviceBinder, ControlService.ControlServiceBase 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 \u003ccode\u003eControlService\u003c/code\u003e API class is 1.6.0, as seen by the version history provided.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eControlService\u003c/code\u003e in the Discovery Engine v1 API is used to perform Create, Read, Update, and Delete (CRUD) operations on Controls.\u003c/p\u003e\n"],["\u003cp\u003eControls in \u003ccode\u003eControlService\u003c/code\u003e allow for implementing custom logic in the serving path, requiring them to be attached to a Serving Config to be used during a request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eControlService\u003c/code\u003e class has two static methods, \u003ccode\u003eBindService(ControlServiceBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, ControlServiceBase)\u003c/code\u003e, which are used to create or register a service definition or method.\u003c/p\u003e\n"]]],[],null,[]]