public sealed class StreamingRecognitionConfig : IMessage<StreamingRecognitionConfig>, IEquatable<StreamingRecognitionConfig>, IDeepCloneable<StreamingRecognitionConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class StreamingRecognitionConfig.
Provides configuration information for the StreamingRecognize request.
Implements
IMessageStreamingRecognitionConfig, IEquatableStreamingRecognitionConfig, IDeepCloneableStreamingRecognitionConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
StreamingRecognitionConfig()
public StreamingRecognitionConfig()
StreamingRecognitionConfig(StreamingRecognitionConfig)
public StreamingRecognitionConfig(StreamingRecognitionConfig other)
Parameter | |
---|---|
Name | Description |
other | StreamingRecognitionConfig |
Properties
Config
public RecognitionConfig Config { get; set; }
Required. Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the [config_mask][google.cloud.speech.v2.StreamingRecognitionConfig.config_mask] field can be used to override parts of the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the Recognizer resource.
Property Value | |
---|---|
Type | Description |
RecognitionConfig |
ConfigMask
public FieldMask ConfigMask { get; set; }
The list of fields in
[config][google.cloud.speech.v2.StreamingRecognitionConfig.config] that
override the values in the
[default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
of the recognizer during this recognition request. If no mask is provided,
all non-default valued fields in
[config][google.cloud.speech.v2.StreamingRecognitionConfig.config] override
the values in the Recognizer for this recognition request. If a mask is
provided, only the fields listed in the mask override the config in the
Recognizer for this recognition request. If a wildcard (*
) is provided,
[config][google.cloud.speech.v2.StreamingRecognitionConfig.config]
completely overrides and replaces the config in the recognizer for this
recognition request.
Property Value | |
---|---|
Type | Description |
FieldMask |
StreamingFeatures
public StreamingRecognitionFeatures StreamingFeatures { get; set; }
Speech recognition features to enable specific to streaming audio recognition requests.
Property Value | |
---|---|
Type | Description |
StreamingRecognitionFeatures |