Reference documentation and code samples for the Google.Cloud.Location class Locations.
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\u003eThis documentation provides reference information for the \u003ccode\u003eGoogle.Cloud.Location.Locations\u003c/code\u003e class, which offers location-related data for a service, including service-specific metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocations\u003c/code\u003e class inherits from the .NET \u003ccode\u003eobject\u003c/code\u003e class and includes inherited members like \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 namespace for this class is \u003ccode\u003eGoogle.Cloud.Location\u003c/code\u003e, and it is found in the \u003ccode\u003eGoogle.Cloud.Location.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists multiple versions of this class, with the latest version being 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocations\u003c/code\u003e class includes methods for binding service, \u003ccode\u003eBindService(LocationsBase)\u003c/code\u003e and \u003ccode\u003eBindService(ServiceBinderBase, LocationsBase)\u003c/code\u003e, to define and register service methods with a server.\u003c/p\u003e\n"]]],[],null,[]]