Class: Google::Apis::TexttospeechV1::ListVoicesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/texttospeech_v1/classes.rb,
lib/google/apis/texttospeech_v1/representations.rb,
lib/google/apis/texttospeech_v1/representations.rb

Overview

The message returned to the client by the ListVoices method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListVoicesResponse

Returns a new instance of ListVoicesResponse.



184
185
186
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 184

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#voicesArray<Google::Apis::TexttospeechV1::Voice>

The list of voices. Corresponds to the JSON property voices



182
183
184
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 182

def voices
  @voices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



189
190
191
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 189

def update!(**args)
  @voices = args[:voices] if args.key?(:voices)
end