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\u003eThis webpage provides documentation for the \u003ccode\u003eInstanceTemplates\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, detailing its usage and available versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eInstanceTemplates\u003c/code\u003e documented is 3.6.0, with a range of previous versions, going as far back as version 1.0.0, also listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceTemplates\u003c/code\u003e class inherits from the base \u003ccode\u003eObject\u003c/code\u003e class and includes the methods \u003ccode\u003eBindService\u003c/code\u003e, which creates a service definition, and \u003ccode\u003eBindService\u003c/code\u003e, which registers service methods with a service binder.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInstanceTemplates\u003c/code\u003e API is contained within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, which can be referenced.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two methods of \u003ccode\u003eBindService\u003c/code\u003e to create or register a service definition, one with a \u003ccode\u003eserviceImpl\u003c/code\u003e parameter and another that includes a \u003ccode\u003eserviceBinder\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]