Cloud Speech-to-Text v2 API - Class BatchRecognizeFileResult (1.2.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
Name Description
other BatchRecognizeFileResult

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
Type Description
CloudStorageResult

Error

public Status Error { get; set; }

Error if one was encountered.

Property Value
Type Description
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
Type Description
InlineResult

Metadata

public RecognitionResponseMetadata Metadata { get; set; }
Property Value
Type Description
RecognitionResponseMetadata

ResultCase

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

Transcript

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

Deprecated. Use inline_result.transcript instead.

Property Value
Type Description
BatchRecognizeResults

Uri

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

Deprecated. Use cloud_storage_result.native_format_uri instead.

Property Value
Type Description
string