class SyncRecognizeRequest extends Message

The top-level message sent by the client for the SyncRecognize method.

Protobuf type Google\Cloud\Speech\V1beta1\SyncRecognizeRequest

Methods

__construct()

No description

getConfig()

Required Provides information to the recognizer that specifies how to process the request.

setConfig(RecognitionConfig $var)

Required Provides information to the recognizer that specifies how to process the request.

getAudio()

Required The audio data to be recognized.

setAudio(RecognitionAudio $var)

Required The audio data to be recognized.

Details

at line 32
__construct()

at line 44
RecognitionConfig getConfig()

Required Provides information to the recognizer that specifies how to process the request.

Generated from protobuf field .google.cloud.speech.v1beta1.RecognitionConfig config = 1;

Return Value

RecognitionConfig

at line 56
setConfig(RecognitionConfig $var)

Required Provides information to the recognizer that specifies how to process the request.

Generated from protobuf field .google.cloud.speech.v1beta1.RecognitionConfig config = 1;

Parameters

RecognitionConfig $var

at line 68
RecognitionAudio getAudio()

Required The audio data to be recognized.

Generated from protobuf field .google.cloud.speech.v1beta1.RecognitionAudio audio = 2;

Return Value

RecognitionAudio

at line 79
setAudio(RecognitionAudio $var)

Required The audio data to be recognized.

Generated from protobuf field .google.cloud.speech.v1beta1.RecognitionAudio audio = 2;

Parameters

RecognitionAudio $var