class Search extends Resource (View source)

The "search" collection of methods.

Typical usage is:

 $youtubeService = new Google\Service\YouTube(...);
 $search = $youtubeService->search;

Methods

listSearch(string|array $part, array $optParams = [])

Retrieves a list of search resources (search.listSearch)

Details

SearchListResponse listSearch(string|array $part, array $optParams = [])

Retrieves a list of search resources (search.listSearch)

Parameters

string|array $part

The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.

array $optParams

Optional parameters.

Return Value

SearchListResponse

Exceptions

Exception