Class: Google::Cloud::TextToSpeech::V1beta1::Voice
- Inherits:
-
Object
- Object
- Google::Cloud::TextToSpeech::V1beta1::Voice
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb
Overview
Description of a voice supported by the TTS service.
Instance Attribute Summary collapse
-
#language_codes ⇒ ::Array<::String>
The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").
-
#name ⇒ ::String
The name of this voice.
-
#natural_sample_rate_hertz ⇒ ::Integer
The natural sample rate (in hertz) for this voice.
-
#ssml_gender ⇒ ::Google::Cloud::TextToSpeech::V1beta1::SsmlVoiceGender
The gender of this voice.
Instance Attribute Details
#language_codes ⇒ ::Array<::String>
Returns The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").
64 65 66 67 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 64 class Voice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of this voice. Each distinct voice has a unique name.
64 65 66 67 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 64 class Voice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#natural_sample_rate_hertz ⇒ ::Integer
Returns The natural sample rate (in hertz) for this voice.
64 65 66 67 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 64 class Voice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ssml_gender ⇒ ::Google::Cloud::TextToSpeech::V1beta1::SsmlVoiceGender
Returns The gender of this voice.
64 65 66 67 |
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 64 class Voice include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |