Class SpeechResource
The "speech" collection of methods.
Inheritance
System.Object
SpeechResource
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 SpeechResource
Constructors
SpeechResource(IClientService)
Constructs a new resource.
Declaration
public SpeechResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Longrunningrecognize(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.
Declaration
public virtual SpeechResource.LongrunningrecognizeRequest Longrunningrecognize(LongRunningRecognizeRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| LongRunningRecognizeRequest | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| SpeechResource.LongrunningrecognizeRequest |
Recognize(RecognizeRequest)
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
Declaration
public virtual SpeechResource.RecognizeRequest Recognize(RecognizeRequest body)
Parameters
| Type | Name | Description |
|---|---|---|
| RecognizeRequest | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| SpeechResource.RecognizeRequest |