Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::AudioInput (v1.8.0)

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

Represents the natural language speech audio to be processed.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio

def audio() -> ::String
Returns
  • (::String) — Required. The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.

#audio=

def audio=(value) -> ::String
Parameter
  • value (::String) — Required. The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.
Returns
  • (::String) — Required. The natural language speech audio to be processed. A single request can contain up to 2 minutes of speech audio data. The transcribed text cannot contain more than 256 bytes for virtual agent interactions.

#config

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

#config=

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