public sealed class AssistantServiceClientImpl : AssistantServiceClientReference documentation and code samples for the Discovery Engine v1beta API class AssistantServiceClientImpl.
AssistantService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.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 |
AssistantServiceAssistantServiceClientThe underlying gRPC client. |
settings |
AssistantServiceSettingsThe base AssistantServiceSettings used within this client. |
logger |
ILoggerOptional 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
CreateAssistant(CreateAssistantRequest, CallSettings)
public override Assistant CreateAssistant(CreateAssistantRequest request, CallSettings callSettings = null)Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Assistant |
The RPC response. |
CreateAssistantAsync(CreateAssistantRequest, CallSettings)
public override Task<Assistant> CreateAssistantAsync(CreateAssistantRequest request, CallSettings callSettings = null)Creates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistant |
A Task containing the RPC response. |
DeleteAssistant(DeleteAssistantRequest, CallSettings)
public override void DeleteAssistant(DeleteAssistantRequest request, CallSettings callSettings = null)Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteAssistantAsync(DeleteAssistantRequest, CallSettings)
public override Task DeleteAssistantAsync(DeleteAssistantRequest request, CallSettings callSettings = null)Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetAssistant(GetAssistantRequest, CallSettings)
public override Assistant GetAssistant(GetAssistantRequest request, CallSettings callSettings = null)Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Assistant |
The RPC response. |
GetAssistantAsync(GetAssistantRequest, CallSettings)
public override Task<Assistant> GetAssistantAsync(GetAssistantRequest request, CallSettings callSettings = null)Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistant |
A Task containing the RPC response. |
ListAssistants(ListAssistantsRequest, CallSettings)
public override PagedEnumerable<ListAssistantsResponse, Assistant> ListAssistants(ListAssistantsRequest request, CallSettings callSettings = null)Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under an [Engine][google.cloud.discoveryengine.v1beta.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssistantsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAssistantsResponseAssistant |
A pageable sequence of Assistant resources. |
ListAssistantsAsync(ListAssistantsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAssistantsResponse, Assistant> ListAssistantsAsync(ListAssistantsRequest request, CallSettings callSettings = null)Lists all [Assistant][google.cloud.discoveryengine.v1beta.Assistant]s under an [Engine][google.cloud.discoveryengine.v1beta.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssistantsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAssistantsResponseAssistant |
A pageable asynchronous sequence of Assistant resources. |
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 |
StreamAssistRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AssistantServiceClientStreamAssistStream |
The server stream. |
UpdateAssistant(UpdateAssistantRequest, CallSettings)
public override Assistant UpdateAssistant(UpdateAssistantRequest request, CallSettings callSettings = null)Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Assistant |
The RPC response. |
UpdateAssistantAsync(UpdateAssistantRequest, CallSettings)
public override Task<Assistant> UpdateAssistantAsync(UpdateAssistantRequest request, CallSettings callSettings = null)Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAssistantRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAssistant |
A Task containing the RPC response. |