Discovery Engine v1 API - Class Session.Types.Turn (1.1.0)

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 v1 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.V1

Assembly

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