Speech/src/Operation.php
public function results(array $options = [])
    {
        $info = $this->info($options);
        $results = [];

        if (!isset($info['response']['results'])) {
            return $results;
        }

        foreach ($info['response']['results'] as $result) {
            $results[] = new Result($result);
        }

        return $results;
    }
public function results(array $options = [])
    {
        $info = $this->info($options);
        $results = [];

        if (!isset($info['response']['results'])) {
            return $results;
        }

        foreach ($info['response']['results'] as $result) {
            $results[] = new Result($result);
        }

        return $results;
    }
public function results ( array $ options = [ ] ) { $ info = $ this -> info ( $ options ) ; $ results = [ ] ; if ( ! isset ( $ info [ 'response' ] [ 'results' ] ) ) { return $ results ; } foreach ( $ info [ 'response' ] [ 'results' ] as $ result ) { $ results [ ] = new Result ( $ result ) ; } return $ results ; }
Retrieves the results of the operation. A network request will be
triggered if no cached data exists.

Example:
```
if ($operation->isComplete()) {
$results = $operation->results();
}
```

@codingStandardsIgnoreStart
@see https://cloud.google.com/speech/reference/rest/v1/speech/recognize#SpeechRecognitionResult SpeechRecognitionResult
@codingStandardsIgnoreEnd

@param array $options [optional] Configuration Options.
@return Result[]
Retrieves the results of the operation . A network request will be triggered if no cached data exists .