Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse (v1.18.0)

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

The response message for Participants.BidiStreamingAnalyzeContent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#analyze_content_response

def analyze_content_response() -> ::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse
Returns
  • (::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse) — The agent response from analyze content.

    Note: The following fields are mutually exclusive: analyze_content_response, recognition_result, barge_in_signal, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

#analyze_content_response=

def analyze_content_response=(value) -> ::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse
Parameter
  • value (::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse) — The agent response from analyze content.

    Note: The following fields are mutually exclusive: analyze_content_response, recognition_result, barge_in_signal, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse) — The agent response from analyze content.

    Note: The following fields are mutually exclusive: analyze_content_response, recognition_result, barge_in_signal, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

#barge_in_signal

def barge_in_signal() -> ::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::BargeInSignal
Returns

#barge_in_signal=

def barge_in_signal=(value) -> ::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::BargeInSignal
Parameter
  • value (::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::BargeInSignal) — Indicate the user barge-in has been detected, and client should stop playing back the audio.

    Note: The following fields are mutually exclusive: barge_in_signal, recognition_result, analyze_content_response, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns

#recognition_result

def recognition_result() -> ::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult
Returns
  • (::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult) — The result of speech recognition.

    Note: The following fields are mutually exclusive: recognition_result, barge_in_signal, analyze_content_response, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

#recognition_result=

def recognition_result=(value) -> ::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult
Parameter
  • value (::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult) — The result of speech recognition.

    Note: The following fields are mutually exclusive: recognition_result, barge_in_signal, analyze_content_response, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::V2::StreamingRecognitionResult) — The result of speech recognition.

    Note: The following fields are mutually exclusive: recognition_result, barge_in_signal, analyze_content_response, turn_complete. If a field in that set is populated, all other fields in the set will automatically be cleared.

#turn_complete

def turn_complete() -> ::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::TurnComplete
Returns

#turn_complete=

def turn_complete=(value) -> ::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentResponse::TurnComplete
Parameter
Returns