Class RecognitionOutputConfig (2.22.0)

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

Configuration options for the output(s) of recognition.

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

NameDescription
gcs_output_config google.cloud.speech_v2.types.GcsOutputConfig
If this message is populated, recognition results are written to the provided Google Cloud Storage URI. This field is a member of oneof_ output.
inline_response_config google.cloud.speech_v2.types.InlineOutputConfig
If this message is populated, recognition results are provided in the BatchRecognizeResponse message of the Operation when completed. This is only supported when calling BatchRecognize with just one audio file. This field is a member of oneof_ output.