Class: Google::Apis::TexttospeechV1beta1::ListVoicesResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::TexttospeechV1beta1::ListVoicesResponse
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/texttospeech_v1beta1/classes.rb,
generated/google/apis/texttospeech_v1beta1/representations.rb,
generated/google/apis/texttospeech_v1beta1/representations.rb 
Overview
The message returned to the client by the ListVoices method.
Instance Attribute Summary collapse
- 
  
    
      #voices  ⇒ Array<Google::Apis::TexttospeechV1beta1::Voice> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The list of voices.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListVoicesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ListVoicesResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListVoicesResponse
Returns a new instance of ListVoicesResponse
      102 103 104  | 
    
      # File 'generated/google/apis/texttospeech_v1beta1/classes.rb', line 102 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#voices ⇒ Array<Google::Apis::TexttospeechV1beta1::Voice>
The list of voices.
Corresponds to the JSON property voices
      100 101 102  | 
    
      # File 'generated/google/apis/texttospeech_v1beta1/classes.rb', line 100 def voices @voices end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      107 108 109  | 
    
      # File 'generated/google/apis/texttospeech_v1beta1/classes.rb', line 107 def update!(**args) @voices = args[:voices] if args.key?(:voices) end  |