Class LookupService.LookupServiceBase (1.3.0)

[BindServiceMethod(typeof(LookupService), "BindService")]
public abstract class LookupServiceBase

Base class for server-side implementations of LookupService

Inheritance

Object > LookupService.LookupServiceBase

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

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
NameDescription
requestResolveServiceRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ResolveServiceResponse>

The response to send back to the client (wrapped by a task).