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.
Implements
IMessageRecognitionOutputConfig, IEquatableRecognitionOutputConfig, IDeepCloneableRecognitionOutputConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
RecognitionOutputConfig()
public RecognitionOutputConfig()
RecognitionOutputConfig(RecognitionOutputConfig)
public RecognitionOutputConfig(RecognitionOutputConfig other)
Parameter | |
---|---|
Name | Description |
other | RecognitionOutputConfig |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
InlineOutputConfig |
OutputCase
public RecognitionOutputConfig.OutputOneofCase OutputCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
OutputFormatConfig |