Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::BatchRecognizeFileResult.
Final results for a single file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Error if one was encountered.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Error if one was encountered.
Returns
- (::Google::Rpc::Status) — Error if one was encountered.
#metadata
def metadata() -> ::Google::Cloud::Speech::V2::RecognitionResponseMetadata
#metadata=
def metadata=(value) -> ::Google::Cloud::Speech::V2::RecognitionResponseMetadata
Parameter
#transcript
def transcript() -> ::Google::Cloud::Speech::V2::BatchRecognizeResults
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeResults) — The transcript for the audio file. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
#transcript=
def transcript=(value) -> ::Google::Cloud::Speech::V2::BatchRecognizeResults
Parameter
- value (::Google::Cloud::Speech::V2::BatchRecognizeResults) — The transcript for the audio file. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Returns
- (::Google::Cloud::Speech::V2::BatchRecognizeResults) — The transcript for the audio file. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
#uri
def uri() -> ::String
Returns
- (::String) — The Cloud Storage URI to which recognition results were written.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — The Cloud Storage URI to which recognition results were written.
Returns
- (::String) — The Cloud Storage URI to which recognition results were written.