Cloud Speech-to-Text v2 API - Class RecognitionOutputConfig (1.0.0-beta09)

public sealed class RecognitionOutputConfig : IMessage<RecognitionOutputConfig>, IEquatable<RecognitionOutputConfig>, IDeepCloneable<RecognitionOutputConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class RecognitionOutputConfig.

Configuration options for the output(s) of recognition.

Inheritance

object > RecognitionOutputConfig

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

RecognitionOutputConfig()

public RecognitionOutputConfig()

RecognitionOutputConfig(RecognitionOutputConfig)

public RecognitionOutputConfig(RecognitionOutputConfig other)
Parameter
NameDescription
otherRecognitionOutputConfig

Properties

GcsOutputConfig

public GcsOutputConfig GcsOutputConfig { get; set; }

If this message is populated, recognition results are written to the provided Google Cloud Storage URI.

Property Value
TypeDescription
GcsOutputConfig

InlineResponseConfig

public InlineOutputConfig InlineResponseConfig { get; set; }

If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.

Property Value
TypeDescription
InlineOutputConfig

OutputCase

public RecognitionOutputConfig.OutputOneofCase OutputCase { get; }
Property Value
TypeDescription
RecognitionOutputConfigOutputOneofCase

OutputFormatConfig

public OutputFormatConfig OutputFormatConfig { get; set; }

Optional. Configuration for the format of the results stored to output. If unspecified transcripts will be written in the NATIVE format only.

Property Value
TypeDescription
OutputFormatConfig