Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::BatchRecognizeFileResult (v0.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
#cloud_storage_result
defcloud_storage_result()->::Google::Cloud::Speech::V2::CloudStorageResult
Returns
- (::Google::Cloud::Speech::V2::CloudStorageResult) — Recognition results written to Cloud Storage. This is populated only when GcsOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
#cloud_storage_result=
defcloud_storage_result=(value)->::Google::Cloud::Speech::V2::CloudStorageResult
Parameter
- value (::Google::Cloud::Speech::V2::CloudStorageResult) — Recognition results written to Cloud Storage. This is populated only when GcsOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Returns
- (::Google::Cloud::Speech::V2::CloudStorageResult) — Recognition results written to Cloud Storage. This is populated only when GcsOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
#error
deferror()->::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Error if one was encountered.
#error=
deferror=(value)->::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Error if one was encountered.
Returns
- (::Google::Rpc::Status) — Error if one was encountered.
#inline_result
definline_result()->::Google::Cloud::Speech::V2::InlineResult
Returns
- (::Google::Cloud::Speech::V2::InlineResult) — Recognition results. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
#inline_result=
definline_result=(value)->::Google::Cloud::Speech::V2::InlineResult
Parameter
- value (::Google::Cloud::Speech::V2::InlineResult) — Recognition results. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
Returns
- (::Google::Cloud::Speech::V2::InlineResult) — Recognition results. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].
#metadata
defmetadata()->::Google::Cloud::Speech::V2::RecognitionResponseMetadata#metadata=
defmetadata=(value)->::Google::Cloud::Speech::V2::RecognitionResponseMetadata
Parameter
#transcript
deftranscript()->::Google::Cloud::Speech::V2::BatchRecognizeResults
Returns
-
(::Google::Cloud::Speech::V2::BatchRecognizeResults) — Deprecated. Use
inline_result.transcriptinstead.
#transcript=
deftranscript=(value)->::Google::Cloud::Speech::V2::BatchRecognizeResults
Parameter
-
value (::Google::Cloud::Speech::V2::BatchRecognizeResults) — Deprecated. Use
inline_result.transcriptinstead.
Returns
-
(::Google::Cloud::Speech::V2::BatchRecognizeResults) — Deprecated. Use
inline_result.transcriptinstead.
#uri
defuri()->::String
Returns
-
(::String) — Deprecated. Use
cloud_storage_result.native_format_uriinstead.
#uri=
defuri=(value)->::String
Parameter
-
value (::String) — Deprecated. Use
cloud_storage_result.native_format_uriinstead.
Returns
-
(::String) — Deprecated. Use
cloud_storage_result.native_format_uriinstead.