Cloud Speech-to-Text v2 API - Class BatchRecognizeFileResult (1.0.0)

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

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

Final results for a single file.

Inheritance

object > BatchRecognizeFileResult

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

BatchRecognizeFileResult()

public BatchRecognizeFileResult()

BatchRecognizeFileResult(BatchRecognizeFileResult)

public BatchRecognizeFileResult(BatchRecognizeFileResult other)
Parameter
NameDescription
otherBatchRecognizeFileResult

Properties

CloudStorageResult

public CloudStorageResult CloudStorageResult { get; set; }

Recognition results written to Cloud Storage. This is populated only when [GcsOutputConfig][google.cloud.speech.v2.GcsOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].

Property Value
TypeDescription
CloudStorageResult

Error

public Status Error { get; set; }

Error if one was encountered.

Property Value
TypeDescription
Status

InlineResult

public InlineResult InlineResult { get; set; }

Recognition results. This is populated only when [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in the [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig].

Property Value
TypeDescription
InlineResult

Metadata

public RecognitionResponseMetadata Metadata { get; set; }
Property Value
TypeDescription
RecognitionResponseMetadata

ResultCase

public BatchRecognizeFileResult.ResultOneofCase ResultCase { get; }
Property Value
TypeDescription
BatchRecognizeFileResultResultOneofCase

Transcript

[Obsolete]
public BatchRecognizeResults Transcript { get; set; }

Deprecated. Use inline_result.transcript instead.

Property Value
TypeDescription
BatchRecognizeResults

Uri

[Obsolete]
public string Uri { get; set; }

Deprecated. Use cloud_storage_result.native_format_uri instead.

Property Value
TypeDescription
string