public sealed class AssistantServiceClientImpl : AssistantServiceClient
Reference documentation and code samples for the Discovery Engine v1 API class AssistantServiceClientImpl.
AssistantService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for managing Assistant configuration and assisting users.
Constructors
AssistantServiceClientImpl(AssistantServiceClient, AssistantServiceSettings, ILogger)
public AssistantServiceClientImpl(AssistantService.AssistantServiceClient grpcClient, AssistantServiceSettings settings, ILogger logger)
Constructs a client wrapper for the AssistantService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
AssistantServiceAssistantServiceClient The underlying gRPC client. |
settings |
AssistantServiceSettings The base AssistantServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override AssistantService.AssistantServiceClient GrpcClient { get; }
The underlying gRPC AssistantService client
Property Value | |
---|---|
Type | Description |
AssistantServiceAssistantServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
StreamAssist(StreamAssistRequest, CallSettings)
public override AssistantServiceClient.StreamAssistStream StreamAssist(StreamAssistRequest request, CallSettings callSettings = null)
Assists the user with a query in a streaming fashion.
Parameters | |
---|---|
Name | Description |
request |
StreamAssistRequest 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 |
AssistantServiceClientStreamAssistStream |
The server stream. |