Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::BatchRecognizeResponse (v0.5.0)

Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::BatchRecognizeResponse.

Response message for BatchRecognize that is packaged into a longrunning Operation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#results

def results() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Speech::V2::BatchRecognizeFileResult}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Speech::V2::BatchRecognizeFileResult}) — Map from filename to the final result for that file.

#results=

def results=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Speech::V2::BatchRecognizeFileResult}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::Speech::V2::BatchRecognizeFileResult}) — Map from filename to the final result for that file.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Speech::V2::BatchRecognizeFileResult}) — Map from filename to the final result for that file.

#total_billed_duration

def total_billed_duration() -> ::Google::Protobuf::Duration
Returns

#total_billed_duration=

def total_billed_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns