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.
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb', line 239 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. # # Note: The following fields are mutually exclusive: `audio`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!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. # # Note: The following fields are mutually exclusive: `uri`, `audio`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!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 |