Google_Service_Audit_Activities_Resource

The "activities" collection of methods.

Defined (1)

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

/lib/Google/Service/Audit.php  
  1. class Google_Service_Audit_Activities_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Retrieves a list of activities for a specific customer and application. 
  5. * (activities.listActivities) 
  6. * @param string $customerId 
  7. * Represents the customer who is the owner of target object on which action was performed. 
  8. * @param string $applicationId 
  9. * Application ID of the application on which the event was performed. 
  10. * @param array $optParams Optional parameters. 
  11. * @opt_param string actorEmail 
  12. * Email address of the user who performed the action. 
  13. * @opt_param string actorApplicationId 
  14. * Application ID of the application which interacted on behalf of the user while performing the 
  15. * event. 
  16. * @opt_param string actorIpAddress 
  17. * IP Address of host where the event was performed. Supports both IPv4 and IPv6 addresses. 
  18. * @opt_param string caller 
  19. * Type of the caller. 
  20. * @opt_param int maxResults 
  21. * Number of activity records to be shown in each page. 
  22. * @opt_param string eventName 
  23. * Name of the event being queried. 
  24. * @opt_param string startTime 
  25. * Return events which occured at or after this time. 
  26. * @opt_param string endTime 
  27. * Return events which occured at or before this time. 
  28. * @opt_param string continuationToken 
  29. * Next page URL. 
  30. * @return Google_Service_Audit_Activities 
  31. */ 
  32. public function listActivities($customerId, $applicationId, $optParams = array()) 
  33. $params = array('customerId' => $customerId, 'applicationId' => $applicationId); 
  34. $params = array_merge($params, $optParams); 
  35. return $this->call('list', array($params), "Google_Service_Audit_Activities");