Class: Google::Apis::TexttospeechV1::MultiSpeakerMarkup
- Inherits:
-
Object
- Object
- Google::Apis::TexttospeechV1::MultiSpeakerMarkup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/texttospeech_v1/classes.rb,
lib/google/apis/texttospeech_v1/representations.rb,
lib/google/apis/texttospeech_v1/representations.rb
Overview
A collection of turns for multi-speaker synthesis.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultiSpeakerMarkup
constructor
A new instance of MultiSpeakerMarkup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MultiSpeakerMarkup
Returns a new instance of MultiSpeakerMarkup.
308 309 310 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#turns ⇒ Array<Google::Apis::TexttospeechV1::Turn>
Required. Speaker turns.
Corresponds to the JSON property turns
306 307 308 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 306 def turns @turns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
313 314 315 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 313 def update!(**args) @turns = args[:turns] if args.key?(:turns) end |