Class SpeechResource.RecognizeRequest
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
Inheritance
SpeechResource.RecognizeRequest
Inherited Members
Namespace: Google.Apis.Speech.v1
Assembly: Google.Apis.Speech.v1.dll
Syntax
public class SpeechResource.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 |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Recognize parameter list.
Declaration
protected override void InitParameters()