Google_AuditService

Service definition for Google_Audit (v1).

Defined (1)

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

/src/contrib/Google_AuditService.php  
  1. class Google_AuditService extends Google_Service { 
  2. public $activities; 
  3. /** 
  4. * Constructs the internal representation of the Audit service. 
  5. * @param Google_Client $client 
  6. */ 
  7. public function __construct(Google_Client $client) { 
  8. $this->servicePath = 'apps/reporting/audit/v1/'; 
  9. $this->version = 'v1'; 
  10. $this->serviceName = 'audit'; 
  11.  
  12. $client->addService($this->serviceName, $this->version); 
  13. $this->activities = new Google_ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"list": {"id": "audit.activities.list", "path": "{customerId}/{applicationId}", "httpMethod": "GET", "parameters": {"actorApplicationId": {"type": "string", "format": "int64", "location": "query"}, "actorEmail": {"type": "string", "location": "query"}, "actorIpAddress": {"type": "string", "location": "query"}, "applicationId": {"type": "string", "required": true, "format": "int64", "location": "path"}, "caller": {"type": "string", "enum": ["application_owner", "customer"], "location": "query"}, "continuationToken": {"type": "string", "location": "query"}, "customerId": {"type": "string", "required": true, "location": "path"}, "endTime": {"type": "string", "location": "query"}, "eventName": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "int32", "minimum": "1", "maximum": "1000", "location": "query"}, "startTime": {"type": "string", "location": "query"}}, "response": {"$ref": "Activities"}}}}', true)); 
  14.