* Converts audio to text by applying powerful neural network models.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_Speech extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; public $operations; public $projects_locations_operations; public $projects_operations_manualRecognitionTasks; public $speech; /** * Constructs the internal representation of the Speech service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://speech.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'speech'; $this->operations = new Google_Service_Speech_Resource_Operations( $this, $this->serviceName, 'operations', array( 'methods' => array( 'get' => array( 'path' => 'v1/operations/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/operations', 'httpMethod' => 'GET', 'parameters' => array( 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'name' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->projects_locations_operations = new Google_Service_Speech_Resource_ProjectsLocationsOperations( $this, $this->serviceName, 'operations', array( 'methods' => array( 'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+name}/operations', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_operations_manualRecognitionTasks = new Google_Service_Speech_Resource_ProjectsOperationsManualRecognitionTasks( $this, $this->serviceName, 'manualRecognitionTasks', array( 'methods' => array( 'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->speech = new Google_Service_Speech_Resource_Speech( $this, $this->serviceName, 'speech', array( 'methods' => array( 'longrunningrecognize' => array( 'path' => 'v1/speech:longrunningrecognize', 'httpMethod' => 'POST', 'parameters' => array(), ),'recognize' => array( 'path' => 'v1/speech:recognize', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); } }