public sealed class AnalyzeContentResponse : IMessage<AnalyzeContentResponse>, IEquatable<AnalyzeContentResponse>, IDeepCloneable<AnalyzeContentResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class AnalyzeContentResponse.
The response message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent].
Implements
IMessageAnalyzeContentResponse, IEquatableAnalyzeContentResponse, IDeepCloneableAnalyzeContentResponse, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.DialogflowV2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
AnalyzeContentResponse()
public AnalyzeContentResponse()
AnalyzeContentResponse(AnalyzeContentResponse)
public AnalyzeContentResponse(AnalyzeContentResponse other)
Parameter | |
---|---|
Name | Description |
other | AnalyzeContentResponse |
Properties
AutomatedAgentReply
public AutomatedAgentReply AutomatedAgentReply { get; set; }
Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.AnalyzeContentResponse.reply_audio] instead.
Property Value | |
---|---|
Type | Description |
AutomatedAgentReply |
DtmfParameters
public DtmfParameters DtmfParameters { get; set; }
Indicates the parameters of DTMF.
Property Value | |
---|---|
Type | Description |
DtmfParameters |
EndUserSuggestionResults
public RepeatedField<SuggestionResult> EndUserSuggestionResults { get; }
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSuggestionResult |
HumanAgentSuggestionResults
public RepeatedField<SuggestionResult> HumanAgentSuggestionResults { get; }
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSuggestionResult |
Message
public Message Message { get; set; }
Message analyzed by CCAI.
Property Value | |
---|---|
Type | Description |
Message |
ReplyAudio
public OutputAudio ReplyAudio { get; set; }
The audio data bytes encoded as specified in the request. This field is set if:
reply_audio_config
was specified in the request, or- The automated agent responded with audio to play to the user. In such
case,
reply_audio.config
contains settings used to synthesize the speech.
In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
Property Value | |
---|---|
Type | Description |
OutputAudio |
ReplyText
public string ReplyText { get; set; }
The output text content. This field is set if the automated agent responded with text to show to the user.
Property Value | |
---|---|
Type | Description |
string |