Class LookupService (1.0.0)

public static class LookupService

Service Directory API for looking up service data at runtime.

Inheritance

System.Object > LookupService

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Methods

BindService(LookupService.LookupServiceBase)

public static ServerServiceDefinition BindService(LookupService.LookupServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplLookupService.LookupServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
Grpc.Core.ServerServiceDefinition

BindService(ServiceBinderBase, LookupService.LookupServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, LookupService.LookupServiceBase 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
NameDescription
serviceBinderGrpc.Core.ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplLookupService.LookupServiceBase

An object implementing the server-side handling logic.