class RecognizeResponse extends Collection (View source)

Properties

protected $collection_key
string $requestId
protected $resultsType
protected $resultsDataType
protected $speechAdaptationInfoType
protected $speechAdaptationInfoDataType
string $totalBilledTime
bool $usingLegacyModels

Methods

setRequestId($requestId)

No description

string
getRequestId()

No description

setResults($results)

No description

getResults()

No description

setSpeechAdaptationInfo(SpeechAdaptationInfo $speechAdaptationInfo)

No description

setTotalBilledTime($totalBilledTime)

No description

string
getTotalBilledTime()

No description

setUsingLegacyModels($usingLegacyModels)

No description

bool
getUsingLegacyModels()

No description

Details

setRequestId($requestId)

No description

Parameters

$requestId

string getRequestId()

No description

Return Value

string

setResults($results)

No description

Parameters

$results

SpeechRecognitionResult[] getResults()

No description

Return Value

SpeechRecognitionResult[]

setSpeechAdaptationInfo(SpeechAdaptationInfo $speechAdaptationInfo)

No description

Parameters

SpeechAdaptationInfo $speechAdaptationInfo

SpeechAdaptationInfo getSpeechAdaptationInfo()

No description

Return Value

SpeechAdaptationInfo

setTotalBilledTime($totalBilledTime)

No description

Parameters

$totalBilledTime

string getTotalBilledTime()

No description

Return Value

string

setUsingLegacyModels($usingLegacyModels)

No description

Parameters

$usingLegacyModels

bool getUsingLegacyModels()

No description

Return Value

bool