class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnalyzeContentResponse

The response message for Participants.AnalyzeContent.

Attributes

automated_agent_reply[RW]

Represents a response from an automated agent. Corresponds to the JSON property `automatedAgentReply` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentReply]

dtmf_parameters[RW]

The message in the response that indicates the parameters of DTMF. Corresponds to the JSON property `dtmfParameters` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DtmfParameters]

end_user_suggestion_results[RW]

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config. Corresponds to the JSON property `endUserSuggestionResults` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>]

human_agent_suggestion_results[RW]

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config. Corresponds to the JSON property `humanAgentSuggestionResults` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionResult>]

message[RW]

Represents a message posted into a conversation. Corresponds to the JSON property `message` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message]

reply_audio[RW]

Represents the natural language speech audio to be played to the end user. Corresponds to the JSON property `replyAudio` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudio]

reply_text[RW]

Output only. The output text content. This field is set if the automated agent responded with text to show to the user. Corresponds to the JSON property `replyText` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7799
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 7804
def update!(**args)
  @automated_agent_reply = args[:automated_agent_reply] if args.key?(:automated_agent_reply)
  @dtmf_parameters = args[:dtmf_parameters] if args.key?(:dtmf_parameters)
  @end_user_suggestion_results = args[:end_user_suggestion_results] if args.key?(:end_user_suggestion_results)
  @human_agent_suggestion_results = args[:human_agent_suggestion_results] if args.key?(:human_agent_suggestion_results)
  @message = args[:message] if args.key?(:message)
  @reply_audio = args[:reply_audio] if args.key?(:reply_audio)
  @reply_text = args[:reply_text] if args.key?(:reply_text)
end