Class SpeechResource
The "speech" collection of methods.
Inherited Members
Namespace: Google.Apis.Speech.v1
Assembly: Google.Apis.Speech.v1.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 |