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
- (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.
#total_billed_duration=
def total_billed_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.
Returns
- (::Google::Protobuf::Duration) — When available, billed audio seconds for the corresponding request.