Google_SeriesResponsesServiceResource

The "responses" collection of methods.

Defined (1)

The class is defined in the following location(s).

/google-api/src/contrib/Google_ModeratorService.php  
  1. class Google_SeriesResponsesServiceResource extends Google_ServiceResource { 
  2.  
  3.  
  4. /** 
  5. * Searches the responses for the specified series and returns the search results. (responses.list) 
  6. * @param string $seriesId The decimal ID of the Series. 
  7. * @param array $optParams Optional parameters. 
  8. * @opt_param string max-results Maximum number of results to return. 
  9. * @opt_param string sort Sort order. 
  10. * @opt_param string author Restricts the results to submissions by a specific author. 
  11. * @opt_param string start-index Index of the first result to be retrieved. 
  12. * @opt_param string q Search query. 
  13. * @opt_param bool hasAttachedVideo Specifies whether to restrict to submissions that have videos attached. 
  14. * @return Google_SeriesList 
  15. */ 
  16. public function listSeriesResponses($seriesId, $optParams = array()) { 
  17. $params = array('seriesId' => $seriesId); 
  18. $params = array_merge($params, $optParams); 
  19. $data = $this->__call('list', array($params)); 
  20. if ($this->useObjects()) { 
  21. return new Google_SeriesList($data); 
  22. } else { 
  23. return $data;