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

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 selection of a suggestion.

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

AnswerRecord

public string AnswerRecord { get; set; }

Required. The ID of a suggestion selected by the human agent. The suggestion(s) were generated in a previous call to request Dialogflow assist. The format is: projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID> where <Answer Record ID> is an alphanumeric string.

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; }

In Dialogflow assist for v3, the user can submit a form by sending a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput]. The form is uniquely determined by the [answer_record][google.cloud.dialogflow.v2beta1.SuggestionInput.answer_record] field, which identifies a v3 [QueryResult][google.cloud.dialogflow.v3alpha1.QueryResult] containing the current [page][google.cloud.dialogflow.v3alpha1.Page]. The form parameters are specified via the [parameters][google.cloud.dialogflow.v2beta1.SuggestionInput.parameters] field.

Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs:

  • MapKey type: string
  • MapKey value: parameter name
  • MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map.
  • MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.
Property Value
Type Description
Struct

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