[BindServiceMethod(typeof(LookupService), "BindService")]
public abstract class LookupServiceBase
Reference documentation and code samples for the Service Directory v1 API class LookupService.LookupServiceBase.
Base class for server-side implementations of LookupService
Namespace
Google.Cloud.ServiceDirectory.V1Assembly
Google.Cloud.ServiceDirectory.V1.dll
Methods
ResolveService(ResolveServiceRequest, ServerCallContext)
public virtual Task<ResolveServiceResponse> ResolveService(ResolveServiceRequest request, ServerCallContext context)
Returns a [service][google.cloud.servicedirectory.v1.Service] and its associated endpoints. Resolving a service is not considered an active developer method.
Parameters | |
---|---|
Name | Description |
request | ResolveServiceRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ResolveServiceResponse> | The response to send back to the client (wrapped by a task). |