Google Cloud Talent Solution v4 API - Class CompletionClientImpl (2.2.0)

public sealed class CompletionClientImpl : CompletionClient

Reference documentation and code samples for the Google Cloud Talent Solution v4 API class CompletionClientImpl.

Completion client wrapper implementation, for convenient use.

Inheritance

Object > CompletionClient > CompletionClientImpl

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Remarks

A service handles auto completion.

Constructors

CompletionClientImpl(Completion.CompletionClient, CompletionSettings, ILogger)

public CompletionClientImpl(Completion.CompletionClient grpcClient, CompletionSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientCompletion.CompletionClient

The underlying gRPC client.

settingsCompletionSettings

The base CompletionSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override Completion.CompletionClient GrpcClient { get; }

The underlying gRPC Completion client

Property Value
TypeDescription
Completion.CompletionClient
Overrides

Methods

CompleteQuery(CompleteQueryRequest, CallSettings)

public override CompleteQueryResponse CompleteQuery(CompleteQueryRequest request, CallSettings callSettings = null)

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Parameters
NameDescription
requestCompleteQueryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
CompleteQueryResponse

The RPC response.

Overrides

CompleteQueryAsync(CompleteQueryRequest, CallSettings)

public override Task<CompleteQueryResponse> CompleteQueryAsync(CompleteQueryRequest request, CallSettings callSettings = null)

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

Parameters
NameDescription
requestCompleteQueryRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<CompleteQueryResponse>

A Task containing the RPC response.

Overrides