public sealed class Session.Types.Turn : IMessage<Session.Types.Turn>, IEquatable<Session.Types.Turn>, IDeepCloneable<Session.Types.Turn>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class Session.Types.Turn.
Represents a turn, including a query from the user and a answer from service.
Implements
IMessageSessionTypesTurn, IEquatableSessionTypesTurn, IDeepCloneableSessionTypesTurn, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
Turn()
public Turn()Turn(Turn)
public Turn(Session.Types.Turn other)| Parameter | |
|---|---|
| Name | Description |
other |
SessionTypesTurn |
Properties
Answer
public string Answer { get; set; }The resource name of the answer to the user query.
Only set if the answer generation (/answer API call) happened in this turn.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Query
public Query Query { get; set; }The user query.
| Property Value | |
|---|---|
| Type | Description |
Query |
|