Class: Google::Cloud::Texttospeech::V1::Voice
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Texttospeech::V1::Voice
 
 
- 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
- 
  
    
      #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::V1::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").
      53  | 
    
      # File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 53 class Voice; end  | 
  
#name ⇒ String
Returns 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_hertz ⇒ Integer
Returns 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_gender ⇒ Google::Cloud::Texttospeech::V1::SsmlVoiceGender
Returns The gender of this voice.
      53  | 
    
      # File 'lib/google/cloud/text_to_speech/v1/doc/google/cloud/texttospeech/v1/cloud_tts.rb', line 53 class Voice; end  |