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.
Namespace
Google.Cloud.Talent.V4Assembly
Google.Cloud.Talent.V4.dll
Remarks
A service handles auto completion.
Constructors
CompletionClientImpl(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 | |
---|---|
Name | Description |
grpcClient | CompletionCompletionClient The underlying gRPC client. |
settings | CompletionSettings The base CompletionSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override Completion.CompletionClient GrpcClient { get; }
The underlying gRPC Completion client
Property Value | |
---|---|
Type | Description |
CompletionCompletionClient |
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 | |
---|---|
Name | Description |
request | CompleteQueryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
CompleteQueryResponse | The RPC response. |
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 | |
---|---|
Name | Description |
request | CompleteQueryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskCompleteQueryResponse | A Task containing the RPC response. |