public function search(Google_Service_PhotosLibrary_SearchMediaItemsRequest $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('search', array($params), "Google_Service_PhotosLibrary_SearchMediaItemsResponse");
  }
public function search(Google_Service_PhotosLibrary_SearchMediaItemsRequest $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('search', array($params), "Google_Service_PhotosLibrary_SearchMediaItemsResponse");
  }
public function search ( Google_Service_PhotosLibrary_SearchMediaItemsRequest $ postBody , $ optParams = array ( ) ) { $ params = array ( 'postBody' => $ postBody ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'search' , array ( $ params ) , "Google_Service_PhotosLibrary_SearchMediaItemsResponse" ) ; }
Searches for media items in a user's Google Photos library. If no filters are
set, then all media items in the user's library will be returned.

If an album is set, all media items in the specified album will be returned.

If filters are specified, anything that matches the filters from the user's
library will be listed.

If an album and filters are set, then this will result in an error.
(mediaItems.search)

@param Google_Service_PhotosLibrary_SearchMediaItemsRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_PhotosLibrary_SearchMediaItemsResponse
Searches for media items in a user s Google Photos library . If no filters are set then all media items in the user s library will be returned .