Google Cloud Dialogflow v2 API - Class SuggestionResult (4.22.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
Name Description
other SuggestionResult

Properties

Error

public Status Error { get; set; }

Error status if the request failed.

Property Value
Type Description
Status

SuggestArticlesResponse

public SuggestArticlesResponse SuggestArticlesResponse { get; set; }

SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.

Property Value
Type Description
SuggestArticlesResponse

SuggestFaqAnswersResponse

public SuggestFaqAnswersResponse SuggestFaqAnswersResponse { get; set; }

SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

Property Value
Type Description
SuggestFaqAnswersResponse

SuggestKnowledgeAssistResponse

public SuggestKnowledgeAssistResponse SuggestKnowledgeAssistResponse { get; set; }

SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.

Property Value
Type Description
SuggestKnowledgeAssistResponse

SuggestSmartRepliesResponse

public SuggestSmartRepliesResponse SuggestSmartRepliesResponse { get; set; }

SuggestSmartRepliesResponse if request is for SMART_REPLY.

Property Value
Type Description
SuggestSmartRepliesResponse

SuggestionResponseCase

public SuggestionResult.SuggestionResponseOneofCase SuggestionResponseCase { get; }
Property Value
Type Description
SuggestionResultSuggestionResponseOneofCase