class Google::Apis::SpeechV1p1beta1::LongRunningRecognizeMetadata

Describes the progress of a long-running `LongRunningRecognize` call. It is included in the `metadata` field of the `Operation` returned by the ` GetOperation` call of the `google::longrunning::Operations` service.

Attributes

last_update_time[RW]

Time of the most recent processing update. Corresponds to the JSON property `lastUpdateTime` @return [String]

output_config[RW]

Specifies an optional destination for the recognition results. Corresponds to the JSON property `outputConfig` @return [Google::Apis::SpeechV1p1beta1::TranscriptOutputConfig]

progress_percent[RW]

Approximate percentage of audio processed thus far. Guaranteed to be 100 when the audio is fully processed and the results are available. Corresponds to the JSON property `progressPercent` @return [Fixnum]

start_time[RW]

Time when the request was received. Corresponds to the JSON property `startTime` @return [String]

uri[RW]

Output only. The URI of the audio file being transcribed. Empty if the audio was sent as byte content. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/speech_v1p1beta1/classes.rb, line 299
def update!(**args)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @output_config = args[:output_config] if args.key?(:output_config)
  @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
  @start_time = args[:start_time] if args.key?(:start_time)
  @uri = args[:uri] if args.key?(:uri)
end