public static class Locations : objectAn 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.
Namespace
Google.Cloud.LocationAssembly
Google.Cloud.Location.dll
Methods
BindService(Locations.LocationsBase)
public static Grpc.Core.ServerServiceDefinition BindService(Locations.LocationsBase serviceImpl)Creates service definition that can be registered with a server
| Parameter | |
|---|---|
| Name | Description |
serviceImpl |
Locations.LocationsBaseAn object implementing the server-side handling logic. |
| Returns | |
|---|---|
| Type | Description |
Grpc.Core.ServerServiceDefinition |
|
BindService(Grpc.Core.ServiceBinderBase, Locations.LocationsBase)
public static void BindService(Grpc.Core.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.
| Parameters | |
|---|---|
| Name | Description |
serviceBinder |
Grpc.Core.ServiceBinderBaseService methods will be bound by calling |
serviceImpl |
Locations.LocationsBaseAn object implementing the server-side handling logic. |