Discovery Engine v1beta API - Class ConverseConversationRequest (1.0.0-beta07)

public sealed class ConverseConversationRequest : IMessage<ConverseConversationRequest>, IEquatable<ConverseConversationRequest>, IDeepCloneable<ConverseConversationRequest>, IBufferMessage, IMessage

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

Request message for [ConversationalSearchService.ConverseConversation][google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation] method.

Inheritance

object > ConverseConversationRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

ConverseConversationRequest()

public ConverseConversationRequest()

ConverseConversationRequest(ConverseConversationRequest)

public ConverseConversationRequest(ConverseConversationRequest other)
Parameter
NameDescription
otherConverseConversationRequest

Properties

Conversation

public Conversation Conversation { get; set; }

The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.

Property Value
TypeDescription
Conversation

ConversationName

public ConversationName ConversationName { get; set; }

ConversationName-typed view over the Name resource name property.

Property Value
TypeDescription
ConversationName

Name

public string Name { get; set; }

Required. The resource name of the Conversation to get. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}. Use projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/- to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.

Property Value
TypeDescription
string

Query

public TextInput Query { get; set; }

Required. Current user input.

Property Value
TypeDescription
TextInput

SafeSearch

public bool SafeSearch { get; set; }

Whether to turn on safe search.

Property Value
TypeDescription
bool

ServingConfig

public string ServingConfig { get; set; }

The resource name of the Serving Config to use. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id} If this is not set, the default serving config will be used.

Property Value
TypeDescription
string

ServingConfigAsServingConfigName

public ServingConfigName ServingConfigAsServingConfigName { get; set; }

ServingConfigName-typed view over the ServingConfig resource name property.

Property Value
TypeDescription
ServingConfigName