Reference documentation and code samples for the Cloud Speech V1 Client class LongRunningRecognizeRequest.
The top-level message sent by the client for the LongRunningRecognize
method.
Generated from protobuf message google.cloud.speech.v1.LongRunningRecognizeRequest
Namespace
Google \ Cloud \ Speech \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ config |
RecognitionConfig
Required. Provides information to the recognizer that specifies how to process the request. |
↳ audio |
RecognitionAudio
Required. The audio data to be recognized. |
↳ output_config |
TranscriptOutputConfig
Optional. Specifies an optional destination for the recognition results. |
getConfig
Required. Provides information to the recognizer that specifies how to process the request.
Returns | |
---|---|
Type | Description |
RecognitionConfig|null |
hasConfig
clearConfig
setConfig
Required. Provides information to the recognizer that specifies how to process the request.
Parameter | |
---|---|
Name | Description |
var |
RecognitionConfig
|
Returns | |
---|---|
Type | Description |
$this |
getAudio
Required. The audio data to be recognized.
Returns | |
---|---|
Type | Description |
RecognitionAudio|null |
hasAudio
clearAudio
setAudio
Required. The audio data to be recognized.
Parameter | |
---|---|
Name | Description |
var |
RecognitionAudio
|
Returns | |
---|---|
Type | Description |
$this |
getOutputConfig
Optional. Specifies an optional destination for the recognition results.
Returns | |
---|---|
Type | Description |
TranscriptOutputConfig|null |
hasOutputConfig
clearOutputConfig
setOutputConfig
Optional. Specifies an optional destination for the recognition results.
Parameter | |
---|---|
Name | Description |
var |
TranscriptOutputConfig
|
Returns | |
---|---|
Type | Description |
$this |