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 document provides reference documentation for the \u003ccode\u003eGoogle.Cloud.Location.Locations\u003c/code\u003e class, which is an abstract interface for managing location-related information within a service.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocations\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes several inherited members such as \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 \u003ccode\u003eBindService\u003c/code\u003e method allows creating a service definition to be registered with a server, accepting a \u003ccode\u003eLocationsBase\u003c/code\u003e implementation as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eAnother \u003ccode\u003eBindService\u003c/code\u003e overload is available to register the service method with or without implementation, providing an experimental API for customizing the service binding logic.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the \u003ccode\u003eLocations\u003c/code\u003e class is \u003ccode\u003eGoogle.Cloud.Location\u003c/code\u003e, and it is contained within the \u003ccode\u003eGoogle.Cloud.Location.dll\u003c/code\u003e assembly, with version 2.3.0 being the latest available version.\u003c/p\u003e\n"]]],[],null,[]]