Class: Google::Cloud::Dialogflow::V2::AudioInput
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::AudioInput
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
Represents the natural language speech audio to be processed.
Instance Attribute Summary collapse
-
#audio ⇒ ::String
Required.
-
#config ⇒ ::Google::Cloud::Dialogflow::V2::InputAudioConfig
Required.
Instance Attribute Details
#audio ⇒ ::String
Returns 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.
785 786 787 788 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 785 class AudioInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#config ⇒ ::Google::Cloud::Dialogflow::V2::InputAudioConfig
Returns Required. Instructs the speech recognizer how to process the speech audio.
785 786 787 788 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 785 class AudioInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |