Discovery Engine v1 API - Class ConversationContext (1.1.0)

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

Reference documentation and code samples for the Discovery Engine v1 API class ConversationContext.

Defines context of the conversation

Inheritance

object > ConversationContext

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

ConversationContext()

public ConversationContext()

ConversationContext(ConversationContext)

public ConversationContext(ConversationContext other)
Parameter
Name Description
other ConversationContext

Properties

ActiveDocument

public string ActiveDocument { get; set; }

The current active document the user opened. It contains the document resource reference.

Property Value
Type Description
string

ContextDocuments

public RepeatedField<string> ContextDocuments { get; }

The current list of documents the user is seeing. It contains the document resource references.

Property Value
Type Description
RepeatedFieldstring