Google Cloud Dialogflow v2beta1 API - Class SuggestionInput (1.0.0-beta24)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SuggestionInput.

Represents the action to take for a tool call that requires confirmation.

Inheritance

object > SuggestionInput

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

SuggestionInput()

public SuggestionInput()

SuggestionInput(SuggestionInput)

public SuggestionInput(SuggestionInput other)
Parameter
Name Description
other SuggestionInput

Properties

Action

public SuggestionInput.Types.Action Action { get; set; }

Optional. The type of action to take with the tool.

Property Value
Type Description
SuggestionInputTypesAction

AnswerRecord

public string AnswerRecord { get; set; }

Required. Format: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> The answer record associated with the tool call.

Property Value
Type Description
string

IntentInput

public IntentInput IntentInput { get; set; }

The intent to be triggered on V3 agent.

Property Value
Type Description
IntentInput

Parameters

public Struct Parameters { get; set; }

Parameters to be used for the tool call. If not provided, the tool will be called without any parameters.

Property Value
Type Description
Struct

SendTime

public Timestamp SendTime { get; set; }

Optional. Time when the current suggest input is sent. For tool calls, this timestamp (along with the answer record) will be included in the corresponding tool call result so that it can be identified.

Property Value
Type Description
Timestamp

TextOverride

public TextInput TextOverride { get; set; }

Optional. If the customer edited the suggestion before using it, include the revised text here.

Property Value
Type Description
TextInput