public sealed class BatchRecognizeFileMetadata : IMessage<BatchRecognizeFileMetadata>, IEquatable<BatchRecognizeFileMetadata>, IDeepCloneable<BatchRecognizeFileMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class BatchRecognizeFileMetadata.
Metadata about a single file in a batch for BatchRecognize.
Implements
IMessageBatchRecognizeFileMetadata, IEquatableBatchRecognizeFileMetadata, IDeepCloneableBatchRecognizeFileMetadata, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V2Assembly
Google.Cloud.Speech.V2.dll
Constructors
BatchRecognizeFileMetadata()
public BatchRecognizeFileMetadata()
BatchRecognizeFileMetadata(BatchRecognizeFileMetadata)
public BatchRecognizeFileMetadata(BatchRecognizeFileMetadata other)
Parameter | |
---|---|
Name | Description |
other |
BatchRecognizeFileMetadata |
Properties
AudioSourceCase
public BatchRecognizeFileMetadata.AudioSourceOneofCase AudioSourceCase { get; }
Property Value | |
---|---|
Type | Description |
BatchRecognizeFileMetadataAudioSourceOneofCase |
Config
public RecognitionConfig Config { get; set; }
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the [config_mask][google.cloud.speech.v2.BatchRecognizeFileMetadata.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 as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
Property Value | |
---|---|
Type | Description |
RecognitionConfig |
ConfigMask
public FieldMask ConfigMask { get; set; }
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.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.BatchRecognizeFileMetadata.config]
completely overrides and replaces the config in the recognizer for this
recognition request.
Property Value | |
---|---|
Type | Description |
FieldMask |
HasUri
public bool HasUri { get; }
Gets whether the "uri" field is set
Property Value | |
---|---|
Type | Description |
bool |
Uri
public string Uri { get; set; }
Cloud Storage URI for the audio file.
Property Value | |
---|---|
Type | Description |
string |