Service Directory v1beta1 API - Class LookupServiceClientImpl (2.0.0-beta05)

public sealed class LookupServiceClientImpl : LookupServiceClient

Reference documentation and code samples for the Service Directory v1beta1 API class LookupServiceClientImpl.

LookupService client wrapper implementation, for convenient use.

Inheritance

object > LookupServiceClient > LookupServiceClientImpl

Namespace

Google.Cloud.ServiceDirectory.V1Beta1

Assembly

Google.Cloud.ServiceDirectory.V1Beta1.dll

Remarks

Service Directory API for looking up service data at runtime.

Constructors

LookupServiceClientImpl(LookupServiceClient, LookupServiceSettings, ILogger)

public LookupServiceClientImpl(LookupService.LookupServiceClient grpcClient, LookupServiceSettings settings, ILogger logger)

Constructs a client wrapper for the LookupService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientLookupServiceLookupServiceClient

The underlying gRPC client.

settingsLookupServiceSettings

The base LookupServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override LookupService.LookupServiceClient GrpcClient { get; }

The underlying gRPC LookupService client

Property Value
TypeDescription
LookupServiceLookupServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

ResolveService(ResolveServiceRequest, CallSettings)

public override ResolveServiceResponse ResolveService(ResolveServiceRequest request, CallSettings callSettings = null)

Returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its associated endpoints. Resolving a service is not considered an active developer method.

Parameters
NameDescription
requestResolveServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ResolveServiceResponse

The RPC response.

Overrides

ResolveServiceAsync(ResolveServiceRequest, CallSettings)

public override Task<ResolveServiceResponse> ResolveServiceAsync(ResolveServiceRequest request, CallSettings callSettings = null)

Returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its associated endpoints. Resolving a service is not considered an active developer method.

Parameters
NameDescription
requestResolveServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskResolveServiceResponse

A Task containing the RPC response.

Overrides