* Searches the Google Knowledge Graph for entities.

* *

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

* * @author Google, Inc. */ class Google_Service_Kgsearch extends Google_Service { public $entities; /** * Constructs the internal representation of the Kgsearch service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://kgsearch.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'kgsearch'; $this->entities = new Google_Service_Kgsearch_Resource_Entities( $this, $this->serviceName, 'entities', array( 'methods' => array( 'search' => array( 'path' => 'v1/entities:search', 'httpMethod' => 'GET', 'parameters' => array( 'languages' => array( 'location' => 'query', 'type' => 'string', 'repeated' => true, ), 'ids' => array( 'location' => 'query', 'type' => 'string', 'repeated' => true, ), 'limit' => array( 'location' => 'query', 'type' => 'integer', ), 'prefix' => array( 'location' => 'query', 'type' => 'boolean', ), 'query' => array( 'location' => 'query', 'type' => 'string', ), 'types' => array( 'location' => 'query', 'type' => 'string', 'repeated' => true, ), 'indent' => array( 'location' => 'query', 'type' => 'boolean', ), ), ), ) ) ); } }