Class: Google::Apis::TexttospeechV1beta1::SynthesizeLongAudioMetadata

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

Overview

Metadata for response returned by the SynthesizeLongAudio method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SynthesizeLongAudioMetadata

Returns a new instance of SynthesizeLongAudioMetadata.



346
347
348
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 346

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

Instance Attribute Details

#last_update_timeString

Deprecated. Do not use. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


334
335
336
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 334

def last_update_time
  @last_update_time
end

#progress_percentageFloat

The progress of the most recent processing update in percentage, ie. 70.0%. Corresponds to the JSON property progressPercentage

Returns:

  • (Float)


339
340
341
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 339

def progress_percentage
  @progress_percentage
end

#start_timeString

Time when the request was received. Corresponds to the JSON property startTime

Returns:

  • (String)


344
345
346
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 344

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



351
352
353
354
355
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 351

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