Google Cloud Dialogflow v2 API - Class SuggestionResult (4.3.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SuggestionResult.

One response of different type of suggestion response which is used in the response of [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] and [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent], as well as [HumanAgentAssistantEvent][google.cloud.dialogflow.v2.HumanAgentAssistantEvent].

Inheritance

Object > SuggestionResult

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SuggestionResult()

public SuggestionResult()

SuggestionResult(SuggestionResult)

public SuggestionResult(SuggestionResult other)
Parameter
NameDescription
otherSuggestionResult

Properties

Error

public Status Error { get; set; }

Error status if the request failed.

Property Value
TypeDescription
Status

SuggestArticlesResponse

public SuggestArticlesResponse SuggestArticlesResponse { get; set; }

SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.

Property Value
TypeDescription
SuggestArticlesResponse

SuggestFaqAnswersResponse

public SuggestFaqAnswersResponse SuggestFaqAnswersResponse { get; set; }

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

Property Value
TypeDescription
SuggestFaqAnswersResponse

SuggestionResponseCase

public SuggestionResult.SuggestionResponseOneofCase SuggestionResponseCase { get; }
Property Value
TypeDescription
SuggestionResult.SuggestionResponseOneofCase

SuggestSmartRepliesResponse

public SuggestSmartRepliesResponse SuggestSmartRepliesResponse { get; set; }

SuggestSmartRepliesResponse if request is for SMART_REPLY.

Property Value
TypeDescription
SuggestSmartRepliesResponse