public static void BindService(ServiceBinderBase serviceBinder, MetricService.MetricServiceBase 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\u003eMetricService\u003c/code\u003e class in the Google Cloud Monitoring v3 API manages metric descriptors, monitored resource descriptors, and time series data.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.15.0, while the current context is focused on version 3.13.0, with historical versions down to 2.3.0 available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMetricService\u003c/code\u003e inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, providing common 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 class offers two static \u003ccode\u003eBindService\u003c/code\u003e methods to create or register a service definition, allowing custom server-side logic implementation via \u003ccode\u003eMetricServiceBase\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods require an object implementing \u003ccode\u003eMetricServiceBase\u003c/code\u003e and, in one case, a \u003ccode\u003eServiceBinderBase\u003c/code\u003e to define service methods.\u003c/p\u003e\n"]]],[],null,[]]