Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::AudioInput (v0.10.1)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::AudioInput.

Represents the natural speech audio to be processed.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio

def audio() -> ::String
Returns
  • (::String) — The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.

    For non-streaming audio detect intent, both config and audio must be provided. For streaming audio detect intent, config must be provided in the first request and audio must be provided in all following requests.

#audio=

def audio=(value) -> ::String
Parameter
  • value (::String) — The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.

    For non-streaming audio detect intent, both config and audio must be provided. For streaming audio detect intent, config must be provided in the first request and audio must be provided in all following requests.

Returns
  • (::String) — The natural language speech audio to be processed. A single request can contain up to 1 minute of speech audio data. The transcribed text cannot contain more than 256 bytes.

    For non-streaming audio detect intent, both config and audio must be provided. For streaming audio detect intent, config must be provided in the first request and audio must be provided in all following requests.

#config

def config() -> ::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig
Returns

#config=

def config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig
Parameter
Returns