An abstract interface that provides location-related information for
a service. Service-specific metadata is provided through the
[Location.metadata][google.cloud.location.Location.metadata] field.
public static void BindService(ServiceBinderBase serviceBinder, Locations.LocationsBase 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\u003eLocations\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Location\u003c/code\u003e namespace provides location-related information for services, with service-specific details found in the \u003ccode\u003eLocation.metadata\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.3.0 is the latest version of the \u003ccode\u003eGoogle.Cloud.Location.Locations\u003c/code\u003e package, with other available versions including 2.2.0, 2.1.0, 2.0.0, and 1.0.0.\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, handling server-side logic through an object implementing \u003ccode\u003eLocations.LocationsBase\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBindService\u003c/code\u003e method also registers a service method with a \u003ccode\u003eServiceBinderBase\u003c/code\u003e, allowing custom service binding logic, but this method is part of an experimental API.\u003c/p\u003e\n"]]],[],null,[]]