Google_Service_Analytics_ManagementUnsampledReports_Resource

The "unsampledReports" collection of methods.

Defined (1)

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

/lib/vendor/google/apiclient/src/Google/Service/Analytics.php  
  1. class Google_Service_Analytics_ManagementUnsampledReports_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Returns a single unsampled report. (unsampledReports.get) 
  5. * @param string $accountId 
  6. * Account ID to retrieve unsampled report for. 
  7. * @param string $webPropertyId 
  8. * Web property ID to retrieve unsampled reports for. 
  9. * @param string $profileId 
  10. * View (Profile) ID to retrieve unsampled report for. 
  11. * @param string $unsampledReportId 
  12. * ID of the unsampled report to retrieve. 
  13. * @param array $optParams Optional parameters. 
  14. * @return Google_Service_Analytics_UnsampledReport 
  15. */ 
  16. public function get($accountId, $webPropertyId, $profileId, $unsampledReportId, $optParams = array()) 
  17. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'unsampledReportId' => $unsampledReportId); 
  18. $params = array_merge($params, $optParams); 
  19. return $this->call('get', array($params), "Google_Service_Analytics_UnsampledReport"); 
  20. /** 
  21. * Create a new unsampled report. (unsampledReports.insert) 
  22. * @param string $accountId 
  23. * Account ID to create the unsampled report for. 
  24. * @param string $webPropertyId 
  25. * Web property ID to create the unsampled report for. 
  26. * @param string $profileId 
  27. * View (Profile) ID to create the unsampled report for. 
  28. * @param Google_UnsampledReport $postBody 
  29. * @param array $optParams Optional parameters. 
  30. * @return Google_Service_Analytics_UnsampledReport 
  31. */ 
  32. public function insert($accountId, $webPropertyId, $profileId, Google_Service_Analytics_UnsampledReport $postBody, $optParams = array()) 
  33. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId, 'postBody' => $postBody); 
  34. $params = array_merge($params, $optParams); 
  35. return $this->call('insert', array($params), "Google_Service_Analytics_UnsampledReport"); 
  36. /** 
  37. * Lists unsampled reports to which the user has access. 
  38. * (unsampledReports.listManagementUnsampledReports) 
  39. * @param string $accountId 
  40. * Account ID to retrieve unsampled reports for. Must be a specific account ID, ~all is not 
  41. * supported. 
  42. * @param string $webPropertyId 
  43. * Web property ID to retrieve unsampled reports for. Must be a specific web property ID, ~all is 
  44. * not supported. 
  45. * @param string $profileId 
  46. * View (Profile) ID to retrieve unsampled reports for. Must be a specific view (profile) ID, ~all 
  47. * is not supported. 
  48. * @param array $optParams Optional parameters. 
  49. * @opt_param int max-results 
  50. * The maximum number of unsampled reports to include in this response. 
  51. * @opt_param int start-index 
  52. * An index of the first unsampled report to retrieve. Use this parameter as a pagination mechanism 
  53. * along with the max-results parameter. 
  54. * @return Google_Service_Analytics_UnsampledReports 
  55. */ 
  56. public function listManagementUnsampledReports($accountId, $webPropertyId, $profileId, $optParams = array()) 
  57. $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'profileId' => $profileId); 
  58. $params = array_merge($params, $optParams); 
  59. return $this->call('list', array($params), "Google_Service_Analytics_UnsampledReports");