Google\Cloud\ServiceBuilder::speech PHP Метод

speech() публичный Метод

Example: $speech = $cloud->speech();
public speech ( array $config = [] ) : SpeechClient
$config array [optional] Configuration options. See {@see \Google\Cloud\ServiceBuilder::__construct()} for the available options.
Результат Google\Cloud\Speech\SpeechClient
    public function speech(array $config = [])
    {
        return new SpeechClient($config ? $this->resolveConfig($config) : $this->config);
    }