Class: Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb
Overview
Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.
Defined Under Namespace
Classes: Segment
Instance Attribute Summary collapse
-
#segments ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio::Segment>
Segments this audio response is composed of.
Instance Attribute Details
#segments ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio::Segment>
Returns Segments this audio response is composed of.
196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb', line 196 class MixedAudio include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents one segment of audio. # @!attribute [rw] audio # @return [::String] # Raw audio synthesized from the Dialogflow agent's response using # the output config specified in the request. # @!attribute [rw] uri # @return [::String] # Client-specific URI that points to an audio clip accessible to the # client. Dialogflow does not impose any validation on it. # @!attribute [r] allow_playback_interruption # @return [::Boolean] # Output only. Whether the playback of this segment can be interrupted by the end # user's speech and the client should then start the next Dialogflow # request. class Segment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |