Class: Google::Apis::TexttospeechV1beta1::GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
- Inherits:
-
Object
- Object
- Google::Apis::TexttospeechV1beta1::GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
- 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
-
#last_update_time ⇒ String
Deprecated.
-
#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) ⇒ GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
constructor
A new instance of GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata
Returns a new instance of GoogleCloudTexttospeechV1beta1SynthesizeLongAudioMetadata.
140 141 142 |
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_update_time ⇒ String
Deprecated. Do not use.
Corresponds to the JSON property lastUpdateTime
128 129 130 |
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 128 def last_update_time @last_update_time end |
#progress_percentage ⇒ Float
The progress of the most recent processing update in percentage, ie. 70.0%.
Corresponds to the JSON property progressPercentage
133 134 135 |
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 133 def progress_percentage @progress_percentage end |
#start_time ⇒ String
Time when the request was received.
Corresponds to the JSON property startTime
138 139 140 |
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 138 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 |
# File 'lib/google/apis/texttospeech_v1beta1/classes.rb', line 145 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 |