Service Directory v1 API - Class LookupService.LookupServiceBase (2.2.0)

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

Reference documentation and code samples for the Service Directory v1 API class LookupService.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
TaskResolveServiceResponse

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