Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::AnalyzeContentResponse (v1.3.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AnalyzeContentResponse.

The response message for Participants.AnalyzeContent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#automated_agent_reply

def automated_agent_reply() -> ::Google::Cloud::Dialogflow::V2::AutomatedAgentReply
Returns

#automated_agent_reply=

def automated_agent_reply=(value) -> ::Google::Cloud::Dialogflow::V2::AutomatedAgentReply
Parameter
Returns

#dtmf_parameters

def dtmf_parameters() -> ::Google::Cloud::Dialogflow::V2::DtmfParameters
Returns

#dtmf_parameters=

def dtmf_parameters=(value) -> ::Google::Cloud::Dialogflow::V2::DtmfParameters
Parameter
Returns

#end_user_suggestion_results

def end_user_suggestion_results() -> ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
Returns

#end_user_suggestion_results=

def end_user_suggestion_results=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
Parameter
Returns

#human_agent_suggestion_results

def human_agent_suggestion_results() -> ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
Returns

#human_agent_suggestion_results=

def human_agent_suggestion_results=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::SuggestionResult>
Parameter
Returns

#message

def message() -> ::Google::Cloud::Dialogflow::V2::Message
Returns

#message=

def message=(value) -> ::Google::Cloud::Dialogflow::V2::Message
Parameter
Returns

#reply_audio

def reply_audio() -> ::Google::Cloud::Dialogflow::V2::OutputAudio
Returns
  • (::Google::Cloud::Dialogflow::V2::OutputAudio) — 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.

#reply_audio=

def reply_audio=(value) -> ::Google::Cloud::Dialogflow::V2::OutputAudio
Parameter
  • value (::Google::Cloud::Dialogflow::V2::OutputAudio) — 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.

Returns
  • (::Google::Cloud::Dialogflow::V2::OutputAudio) — 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.

#reply_text

def reply_text() -> ::String
Returns
  • (::String) — The output text content. This field is set if the automated agent responded with text to show to the user.

#reply_text=

def reply_text=(value) -> ::String
Parameter
  • value (::String) — The output text content. This field is set if the automated agent responded with text to show to the user.
Returns
  • (::String) — The output text content. This field is set if the automated agent responded with text to show to the user.