class QuerySources extends Resource (View source)

The "sources" collection of methods.

Typical usage is:

 $cloudsearchService = new Google\Service\CloudSearch(...);
 $sources = $cloudsearchService->query_sources;

Methods

listQuerySources(array $optParams = [])

Returns list of sources that user can use for Search and Suggest APIs.

Details

ListQuerySourcesResponse listQuerySources(array $optParams = [])

Returns list of sources that user can use for Search and Suggest APIs.

Note: This API requires a standard end user account to execute. A service account can't perform Query API requests directly; to use a service account to perform queries, set up Google Workspace domain-wide delegation of authority. (sources.listQuerySources)

Parameters

array $optParams

Optional parameters.

Return Value

ListQuerySourcesResponse

Exceptions

Exception