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

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

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.

[View source]

105
106
107
# File 'generated/google/apis/texttospeech_v1/classes.rb', line 105

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

Instance Attribute Details

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

The list of voices. Corresponds to the JSON property voices


103
104
105
# File 'generated/google/apis/texttospeech_v1/classes.rb', line 103

def voices
  @voices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

110
111
112
# File 'generated/google/apis/texttospeech_v1/classes.rb', line 110

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


Privacy · Terms