Retail v2 API - Class ConversationalSearchServiceClientImpl (2.15.0)

public sealed class ConversationalSearchServiceClientImpl : ConversationalSearchServiceClient

Reference documentation and code samples for the Retail v2 API class ConversationalSearchServiceClientImpl.

ConversationalSearchService client wrapper implementation, for convenient use.

Inheritance

object > ConversationalSearchServiceClient > ConversationalSearchServiceClientImpl

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Remarks

Service for retail conversational search.

This feature is only available for users who have Retail Conversational Search enabled. Enable Retail Conversational Search on Cloud Console before using this feature.

Constructors

ConversationalSearchServiceClientImpl(ConversationalSearchServiceClient, ConversationalSearchServiceSettings, ILogger)

public ConversationalSearchServiceClientImpl(ConversationalSearchService.ConversationalSearchServiceClient grpcClient, ConversationalSearchServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ConversationalSearchService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ConversationalSearchServiceConversationalSearchServiceClient

The underlying gRPC client.

settings ConversationalSearchServiceSettings

The base ConversationalSearchServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ConversationalSearchService.ConversationalSearchServiceClient GrpcClient { get; }

The underlying gRPC ConversationalSearchService client

Property Value
Type Description
ConversationalSearchServiceConversationalSearchServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

ConversationalSearch(ConversationalSearchRequest, CallSettings)

public override ConversationalSearchServiceClient.ConversationalSearchStream ConversationalSearch(ConversationalSearchRequest request, CallSettings callSettings = null)

Performs a conversational search.

This feature is only available for users who have Conversational Search enabled.

Parameters
Name Description
request ConversationalSearchRequest

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
ConversationalSearchServiceClientConversationalSearchStream

The server stream.

Overrides