Discovery Engine v1beta API - Class AssistantServiceClientImpl (1.0.0-beta24)

public sealed class AssistantServiceClientImpl : AssistantServiceClient

Reference documentation and code samples for the Discovery Engine v1beta API class AssistantServiceClientImpl.

AssistantService client wrapper implementation, for convenient use.

Inheritance

object > AssistantServiceClient > AssistantServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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 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
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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 CreateAssistantRequest

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
Assistant

The RPC response.

Overrides

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 CreateAssistantRequest

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
TaskAssistant

A Task containing the RPC response.

Overrides

DeleteAssistant(DeleteAssistantRequest, CallSettings)

public override void DeleteAssistant(DeleteAssistantRequest request, CallSettings callSettings = null)

Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].

Parameters
Name Description
request DeleteAssistantRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteAssistantAsync(DeleteAssistantRequest, CallSettings)

public override Task DeleteAssistantAsync(DeleteAssistantRequest request, CallSettings callSettings = null)

Deletes an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].

Parameters
Name Description
request DeleteAssistantRequest

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

A Task containing the RPC response.

Overrides

GetAssistant(GetAssistantRequest, CallSettings)

public override Assistant GetAssistant(GetAssistantRequest request, CallSettings callSettings = null)

Gets an [Assistant][google.cloud.discoveryengine.v1beta.Assistant].

Parameters
Name Description
request GetAssistantRequest

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
Assistant

The RPC response.

Overrides

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 GetAssistantRequest

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
TaskAssistant

A Task containing the RPC response.

Overrides

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 ListAssistantsRequest

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
PagedEnumerableListAssistantsResponseAssistant

A pageable sequence of Assistant resources.

Overrides

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 ListAssistantsRequest

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
PagedAsyncEnumerableListAssistantsResponseAssistant

A pageable asynchronous sequence of Assistant resources.

Overrides

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.

Overrides

UpdateAssistant(UpdateAssistantRequest, CallSettings)

public override Assistant UpdateAssistant(UpdateAssistantRequest request, CallSettings callSettings = null)

Updates an [Assistant][google.cloud.discoveryengine.v1beta.Assistant]

Parameters
Name Description
request UpdateAssistantRequest

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
Assistant

The RPC response.

Overrides

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 UpdateAssistantRequest

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
TaskAssistant

A Task containing the RPC response.

Overrides