Class: Google::Apis::TexttospeechV1::GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata

Returns a new instance of GoogleCloudTexttospeechV1SynthesizeLongAudioMetadata.



164
165
166
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 164

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

Instance Attribute Details

#progress_percentageFloat

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

Returns:

  • (Float)


157
158
159
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 157

def progress_percentage
  @progress_percentage
end

#start_timeString

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

Returns:

  • (String)


162
163
164
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 162

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



169
170
171
172
# File 'lib/google/apis/texttospeech_v1/classes.rb', line 169

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