public sealed class CompletionClientImpl : CompletionClient
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(Completion.CompletionClient, CompletionSettings)
public CompletionClientImpl(Completion.CompletionClient grpcClient, CompletionSettings settings)
Constructs a client wrapper for the Completion service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | Completion.CompletionClient The underlying gRPC client. |
settings | CompletionSettings The base CompletionSettings used within this client. |
Properties
GrpcClient
public override Completion.CompletionClient GrpcClient { get; }
The underlying gRPC Completion client
Property Value | |
---|---|
Type | Description |
Completion.CompletionClient |
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 |
Task<CompleteQueryResponse> | A Task containing the RPC response. |