Class: Google::Apis::TexttospeechV1::SynthesizeLongAudioMetadata
- Inherits:
-
Object
- Object
- Google::Apis::TexttospeechV1::SynthesizeLongAudioMetadata
- 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
Metadata for response returned by the SynthesizeLongAudio method.
Instance Attribute Summary collapse
-
#progress_percentage ⇒ Float
The progress of the most recent processing update in percentage, ie.
-
#start_time ⇒ String
Time when the request was received.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SynthesizeLongAudioMetadata
constructor
A new instance of SynthesizeLongAudioMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SynthesizeLongAudioMetadata
Returns a new instance of SynthesizeLongAudioMetadata.
364 365 366 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#progress_percentage ⇒ Float
The progress of the most recent processing update in percentage, ie. 70.0%.
Corresponds to the JSON property progressPercentage
357 358 359 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 357 def progress_percentage @progress_percentage end |
#start_time ⇒ String
Time when the request was received.
Corresponds to the JSON property startTime
362 363 364 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 362 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
369 370 371 372 |
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 369 def update!(**args) @progress_percentage = args[:progress_percentage] if args.key?(:progress_percentage) @start_time = args[:start_time] if args.key?(:start_time) end |