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

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

Input for the conversation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio

def audio() -> ::String
Returns
  • (::String) — The content of audio stream to be recognized.

    Note: The following fields are mutually exclusive: audio, dtmf, turn. If a field in that set is populated, all other fields in the set will automatically be cleared.

#audio=

def audio=(value) -> ::String
Parameter
  • value (::String) — The content of audio stream to be recognized.

    Note: The following fields are mutually exclusive: audio, dtmf, turn. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — The content of audio stream to be recognized.

    Note: The following fields are mutually exclusive: audio, dtmf, turn. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dtmf

def dtmf() -> ::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents
Returns
  • (::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents) — The DTMF digits used to invoke intent and fill in parameter value.

    This input is ignored if the previous response indicated that DTMF input is not accepted.

    Note: The following fields are mutually exclusive: dtmf, audio, turn. If a field in that set is populated, all other fields in the set will automatically be cleared.

#dtmf=

def dtmf=(value) -> ::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents
Parameter
  • value (::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents) — The DTMF digits used to invoke intent and fill in parameter value.

    This input is ignored if the previous response indicated that DTMF input is not accepted.

    Note: The following fields are mutually exclusive: dtmf, audio, turn. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents) — The DTMF digits used to invoke intent and fill in parameter value.

    This input is ignored if the previous response indicated that DTMF input is not accepted.

    Note: The following fields are mutually exclusive: dtmf, audio, turn. If a field in that set is populated, all other fields in the set will automatically be cleared.

#turn

def turn() -> ::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::TurnInput
Returns

#turn=

def turn=(value) -> ::Google::Cloud::Dialogflow::V2::BidiStreamingAnalyzeContentRequest::TurnInput
Parameter
Returns