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 \u003ccode\u003eControlService\u003c/code\u003e class in the Google Cloud Discovery Engine v1 API allows for CRUD operations on Controls, which enable custom logic in the serving path.\u003c/p\u003e\n"],["\u003cp\u003eControls must be attached to a Serving Config to be used during a request within the Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eControlService\u003c/code\u003e class has two methods for binding services: \u003ccode\u003eBindService(ControlServiceBase)\u003c/code\u003e to create a service definition, and \u003ccode\u003eBindService(ServiceBinderBase, ControlServiceBase)\u003c/code\u003e for customized service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this reference document is 1.6.0, with earlier versions available ranging back to version 1.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eThis API is within the namespace \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e and the assembly \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]