Discovery Engine v1beta API - Class Session.Types.Turn (1.0.0-beta15)

public sealed class Session.Types.Turn : IMessage<Session.Types.Turn>, IEquatable<Session.Types.Turn>, IDeepCloneable<Session.Types.Turn>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Session.Types.Turn.

Represents a turn, including a query from the user and a answer from service.

Inheritance

object > Session.Types.Turn

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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

AnswerAsAnswerName

public AnswerName AnswerAsAnswerName { get; set; }

AnswerName-typed view over the Answer resource name property.

Property Value
Type Description
AnswerName

Query

public Query Query { get; set; }

The user query.

Property Value
Type Description
Query