Class BatchRecognizeFileResult (2.28.0)

BatchRecognizeFileResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Final results for a single file.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
error google.rpc.status_pb2.Status
Error if one was encountered.
cloud_storage_result google.cloud.speech_v2.types.CloudStorageResult
Recognition results written to Cloud Storage. This is populated only when GcsOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig]. This field is a member of oneof_ result.
inline_result google.cloud.speech_v2.types.InlineResult
Recognition results. This is populated only when InlineOutputConfig is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig]. This field is a member of oneof_ result.
uri str
Deprecated. Use cloud_storage_result.native_format_uri instead.
transcript google.cloud.speech_v2.types.BatchRecognizeResults
Deprecated. Use inline_result.transcript instead.