class Google::Apis::TexttospeechV1beta1::ListVoicesResponse

The message returned to the client by the `ListVoices` method.

Attributes

voices[RW]

The list of voices. Corresponds to the JSON property `voices` @return [Array<Google::Apis::TexttospeechV1beta1::Voice>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/texttospeech_v1beta1/classes.rb, line 105
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/texttospeech_v1beta1/classes.rb, line 110
def update!(**args)
  @voices = args[:voices] if args.key?(:voices)
end