Class RecognizeResponse
The only message returned to the client by the Recognize
method. It contains the result as zero or more
sequential SpeechRecognitionResult
messages.
Implements
Inherited Members
Namespace: Google.Apis.Speech.v1.Data
Assembly: Google.Apis.Speech.v1.dll
Syntax
public class RecognizeResponse : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestId
The ID associated with the request. This is a unique ID specific only to the given request.
Declaration
[JsonProperty("requestId")]
public virtual long? RequestId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Results
Sequential list of transcription results corresponding to sequential portions of audio.
Declaration
[JsonProperty("results")]
public virtual IList<SpeechRecognitionResult> Results { get; set; }
Property Value
Type | Description |
---|---|
IList<SpeechRecognitionResult> |
SpeechAdaptationInfo
Provides information on adaptation behavior in response
Declaration
[JsonProperty("speechAdaptationInfo")]
public virtual SpeechAdaptationInfo SpeechAdaptationInfo { get; set; }
Property Value
Type | Description |
---|---|
SpeechAdaptationInfo |
TotalBilledTime
When available, billed audio seconds for the corresponding request.
Declaration
[JsonProperty("totalBilledTime")]
public virtual object TotalBilledTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UsingLegacyModels
Whether request used legacy asr models (was not automatically migrated to use conformer models).
Declaration
[JsonProperty("usingLegacyModels")]
public virtual bool? UsingLegacyModels { get; set; }
Property Value
Type | Description |
---|---|
bool? |