Google_Service_Reports_CustomerUsageReports_Resource

The "customerUsageReports" 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_CustomerUsageReports_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Retrieves a report which is a collection of properties / statistics for a 
  5. * specific customer. (customerUsageReports.get) 
  6. * @param string $date Represents the date in yyyy-mm-dd format for which the 
  7. * data is to be fetched. 
  8. * @param array $optParams Optional parameters. 
  9. * @opt_param string pageToken Token to specify next page. 
  10. * @opt_param string customerId Represents the customer for which the data is to 
  11. * be fetched. 
  12. * @opt_param string parameters Represents the application name, parameter name 
  13. * pairs to fetch in csv as app_name1:param_name1, app_name2:param_name2. 
  14. * @return Google_Service_Reports_UsageReports 
  15. */ 
  16. public function get($date, $optParams = array()) 
  17. $params = array('date' => $date); 
  18. $params = array_merge($params, $optParams); 
  19. return $this->call('get', array($params), "Google_Service_Reports_UsageReports");