Class SpeechResource.RecognizeRequest
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
Inheritance
System.Object
SpeechResource.RecognizeRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Speech.v1p1beta1
Assembly: Google.Apis.Speech.v1p1beta1.dll
Syntax
public class RecognizeRequest : SpeechBaseServiceRequest<RecognizeResponse>, IClientServiceRequest<RecognizeResponse>, IClientServiceRequest
Constructors
RecognizeRequest(IClientService, RecognizeRequest)
Constructs a new Recognize request.
Declaration
public RecognizeRequest(IClientService service, RecognizeRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| RecognizeRequest | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Speech.v1p1beta1.Data.RecognizeResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Speech.v1p1beta1.Data.RecognizeResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Speech.v1p1beta1.Data.RecognizeResponse>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Speech.v1p1beta1.Data.RecognizeResponse>.GetBody()
InitParameters()
Initializes Recognize parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Speech.v1p1beta1.SpeechBaseServiceRequest<Google.Apis.Speech.v1p1beta1.Data.RecognizeResponse>.InitParameters()