Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ResponseMessage::MixedAudio.
Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#segments
def segments() -> ::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage::MixedAudio::Segment>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage::MixedAudio::Segment>) — Segments this audio response is composed of.
#segments=
def segments=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage::MixedAudio::Segment>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage::MixedAudio::Segment>) — Segments this audio response is composed of.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ResponseMessage::MixedAudio::Segment>) — Segments this audio response is composed of.