Google_Service_Reports_UserUsageReport_Resource

The "userUsageReport" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/Reports.php  
  1. class Google_Service_Reports_UserUsageReport_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Retrieves a report which is a collection of properties / statistics for a set 
  5. * of users. (userUsageReport.get) 
  6. * @param string $userKey Represents the profile id or the user email for which 
  7. * the data should be filtered. 
  8. * @param string $date Represents the date in yyyy-mm-dd format for which the 
  9. * data is to be fetched. 
  10. * @param array $optParams Optional parameters. 
  11. * @opt_param string parameters Represents the application name, parameter name 
  12. * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. 
  13. * @opt_param string maxResults Maximum number of results to return. Maximum 
  14. * allowed is 1000 
  15. * @opt_param string pageToken Token to specify next page. 
  16. * @opt_param string filters Represents the set of filters including parameter 
  17. * operator value. 
  18. * @opt_param string customerId Represents the customer for which the data is to 
  19. * be fetched. 
  20. * @return Google_Service_Reports_UsageReports 
  21. */ 
  22. public function get($userKey, $date, $optParams = array()) 
  23. $params = array('userKey' => $userKey, 'date' => $date); 
  24. $params = array_merge($params, $optParams); 
  25. return $this->call('get', array($params), "Google_Service_Reports_UsageReports");