public static void BindService(ServiceBinderBase serviceBinder, TargetInstances.TargetInstancesBase 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-08 UTC."],[[["\u003cp\u003eThe latest version available for the Google.Cloud.Compute.V1.TargetInstances API is 3.6.0, with multiple other versions ranging down to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe TargetInstances class, part of the Compute Engine v1 API, is a static class that provides methods for managing TargetInstances.\u003c/p\u003e\n"],["\u003cp\u003eThe TargetInstances class inherits members from the base object class, including methods like GetHashCode, GetType, MemberwiseClone, and ToString.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method within TargetInstances is used to create or register a service definition with a server, using an object that implements the server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThere are two \u003ccode\u003eBindService\u003c/code\u003e methods available, one that returns a \u003ccode\u003eServerServiceDefinition\u003c/code\u003e and another for customizing service binding logic.\u003c/p\u003e\n"]]],[],null,[]]