public static void BindService(ServiceBinderBase serviceBinder, InstanceTemplates.InstanceTemplatesBase 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 \u003ccode\u003eInstanceTemplates\u003c/code\u003e is 3.6.0, while the documented version on this page is 2.1.0, and many previous versions are accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInstanceTemplates\u003c/code\u003e is a static class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, and it inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two \u003ccode\u003eBindService\u003c/code\u003e methods, one to create a service definition for server registration and another for registering service methods with a service binder, potentially for custom binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e methods accept an object that implements server-side logic, of the type \u003ccode\u003eInstanceTemplates.InstanceTemplatesBase\u003c/code\u003e, as an argument, alongside other parameters such as the \u003ccode\u003eServiceBinderBase\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe version history for the \u003ccode\u003eInstanceTemplates\u003c/code\u003e class includes multiple versions starting from 1.0.0 up to 3.6.0.\u003c/p\u003e\n"]]],[],null,[]]