Enables services that service consumers want to use on Google Cloud Platform,
lists the available or enabled services, or disables services that service
consumers no longer use.
public static void BindService(ServiceBinderBase serviceBinder, ServiceUsage.ServiceUsageBase 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\u003eThis webpage details the \u003ccode\u003eServiceUsage\u003c/code\u003e class, which is utilized for managing services on Google Cloud Platform, allowing users to enable, list, or disable services.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eServiceUsage\u003c/code\u003e class is 2.5.0, with historical versions ranging back to 1.0.0, and each of these versions can be accessed through the listed links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceUsage\u003c/code\u003e class inherits from the \u003ccode\u003eObject\u003c/code\u003e class, with inherited members 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 method can be used to create a service definition that can be registered with a server, using a \u003ccode\u003eServiceUsage.ServiceUsageBase\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an experimental version of \u003ccode\u003eBindService\u003c/code\u003e that allows for more customized service binding logic.\u003c/p\u003e\n"]]],[],null,[]]