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].
Implements
IMessageSuggestionResult, IEquatableSuggestionResult, IDeepCloneableSuggestionResult, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DialogflowV2Assembly
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 |
SuggestionResultSuggestionResponseOneofCase |
SuggestSmartRepliesResponse
public SuggestSmartRepliesResponse SuggestSmartRepliesResponse { get; set; }
SuggestSmartRepliesResponse if request is for SMART_REPLY.
Property Value | |
---|---|
Type | Description |
SuggestSmartRepliesResponse |