Class: Google::Cloud::Texttospeech::V1::Voice

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb

Overview

Description of a voice supported by the TTS service.

Instance Attribute Summary collapse

Instance Attribute Details

#language_codesArray<String>

Returns The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").

Returns:

  • (Array<String>)

    The languages that this voice supports, expressed as BCP-47 language tags (e.g. "en-US", "es-419", "cmn-tw").



53
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 53

class Voice; end

#nameString

Returns The name of this voice. Each distinct voice has a unique name.

Returns:

  • (String)

    The name of this voice. Each distinct voice has a unique name.



53
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 53

class Voice; end

#natural_sample_rate_hertzInteger

Returns The natural sample rate (in hertz) for this voice.

Returns:

  • (Integer)

    The natural sample rate (in hertz) for this voice.



53
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 53

class Voice; end

#ssml_genderGoogle::Cloud::Texttospeech::V1::SsmlVoiceGender

Returns The gender of this voice.

Returns:



53
# File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 53

class Voice; end