Reference documentation and code samples for the Cloud Speech V1p1beta1 Client class LongRunningRecognizeRequest.
The top-level message sent by the client for the LongRunningRecognize
method.
Generated from protobuf message google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ config
Google\Cloud\Speech\V1p1beta1\RecognitionConfig
Required. Provides information to the recognizer that specifies how to process the request.
↳ audio
↳ output_config
Google\Cloud\Speech\V1p1beta1\TranscriptOutputConfig
Optional. Specifies an optional destination for the recognition results.
getConfig
Required. Provides information to the recognizer that specifies how to process the request.
Generated from protobuf field .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
hasConfig
clearConfig
setConfig
Required. Provides information to the recognizer that specifies how to process the request.
Generated from protobuf field .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
$this
getAudio
Required. The audio data to be recognized.
Generated from protobuf field .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
hasAudio
clearAudio
setAudio
Required. The audio data to be recognized.
Generated from protobuf field .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
$this
getOutputConfig
Optional. Specifies an optional destination for the recognition results.
Generated from protobuf field .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];
hasOutputConfig
clearOutputConfig
setOutputConfig
Optional. Specifies an optional destination for the recognition results.
Generated from protobuf field .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];
$this