Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::MultiSpeakerMarkup::Turn.
A Multi-speaker turn.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#speaker
def speaker() -> ::String
Returns
- (::String) — Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
#speaker=
def speaker=(value) -> ::String
Parameter
- value (::String) — Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
Returns
- (::String) — Required. The speaker of the turn, for example, 'O' or 'Q'. Please refer to documentation for available speakers.
#text
def text() -> ::String
Returns
- (::String) — Required. The text to speak.
#text=
def text=(value) -> ::String
Parameter
- value (::String) — Required. The text to speak.
Returns
- (::String) — Required. The text to speak.