class Entities extends Resource (View source)

The "entities" collection of methods.

Typical usage is:

 $kgsearchService = new Google\Service\Kgsearch(...);
 $entities = $kgsearchService->entities;

Methods

search(array $optParams = [])

Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org (entities.search)

Details

Searches Knowledge Graph for entities that match the constraints. A list of matched entities will be returned in response, which will be in JSON-LD format and compatible with http://schema.org (entities.search)

Parameters

array $optParams

Optional parameters.

Return Value

SearchResponse

Exceptions

Exception