Class SpeechResource.LongrunningrecognizeRequest
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations
interface. Returns either an Operation.error or an Operation.response which contains a
LongRunningRecognizeResponse message. For more information on asynchronous speech recognition, see the
how-to.
Inheritance
System.Object
SpeechResource.LongrunningrecognizeRequest
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 LongrunningrecognizeRequest : SpeechBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
LongrunningrecognizeRequest(IClientService, LongRunningRecognizeRequest)
Constructs a new Longrunningrecognize request.
Declaration
public LongrunningrecognizeRequest(IClientService service, LongRunningRecognizeRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| LongRunningRecognizeRequest | 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.Operation>.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.Operation>.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.Operation>.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.Operation>.GetBody()
InitParameters()
Initializes Longrunningrecognize parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Speech.v1p1beta1.SpeechBaseServiceRequest<Google.Apis.Speech.v1p1beta1.Data.Operation>.InitParameters()