public sealed class SuggestionResult : IMessage<SuggestionResult>, IEquatable<SuggestionResult>, IDeepCloneable<SuggestionResult>, IBufferMessage, IMessage
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
System.Object > SuggestionResultImplements
IMessage<SuggestionResult>, IEquatable<SuggestionResult>, IDeepCloneable<SuggestionResult>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
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 |
SuggestionResponseCase
public SuggestionResult.SuggestionResponseOneofCase SuggestionResponseCase { get; }
Property Value | |
---|---|
Type | Description |
SuggestionResult.SuggestionResponseOneofCase |
SuggestSmartRepliesResponse
public SuggestSmartRepliesResponse SuggestSmartRepliesResponse { get; set; }
SuggestSmartRepliesResponse if request is for SMART_REPLY.
Property Value | |
---|---|
Type | Description |
SuggestSmartRepliesResponse |