Google_Service_Appsactivity

Service definition for Appsactivity (v1).

Defined (1)

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

/includes/api-libs/Google/Service/Appsactivity.php  
  1. class Google_Service_Appsactivity extends Google_Service 
  2. /** View the activity history of your Google Apps. */ 
  3. const ACTIVITY = 
  4. "https://www.googleapis.com/auth/activity"; 
  5. /** View and manage the files in your Google Drive. */ 
  6. const DRIVE = 
  7. "https://www.googleapis.com/auth/drive"; 
  8. /** View metadata for files in your Google Drive. */ 
  9. const DRIVE_METADATA_READONLY = 
  10. "https://www.googleapis.com/auth/drive.metadata.readonly"; 
  11. /** View the files in your Google Drive. */ 
  12. const DRIVE_READONLY = 
  13. "https://www.googleapis.com/auth/drive.readonly"; 
  14.  
  15. public $activities; 
  16.  
  17.  
  18. /** 
  19. * Constructs the internal representation of the Appsactivity service. 
  20. * @param Google_Client $client 
  21. */ 
  22. public function __construct(Google_Client $client) 
  23. parent::__construct($client); 
  24. $this->servicePath = 'appsactivity/v1/'; 
  25. $this->version = 'v1'; 
  26. $this->serviceName = 'appsactivity'; 
  27.  
  28. $this->activities = new Google_Service_Appsactivity_Activities_Resource( 
  29. $this,  
  30. $this->serviceName,  
  31. 'activities',  
  32. array( 
  33. 'methods' => array( 
  34. 'list' => array( 
  35. 'path' => 'activities',  
  36. 'httpMethod' => 'GET',  
  37. 'parameters' => array( 
  38. 'drive.ancestorId' => array( 
  39. 'location' => 'query',  
  40. 'type' => 'string',  
  41. ),  
  42. 'pageSize' => array( 
  43. 'location' => 'query',  
  44. 'type' => 'integer',  
  45. ),  
  46. 'pageToken' => array( 
  47. 'location' => 'query',  
  48. 'type' => 'string',  
  49. ),  
  50. 'userId' => array( 
  51. 'location' => 'query',  
  52. 'type' => 'string',  
  53. ),  
  54. 'groupingStrategy' => array( 
  55. 'location' => 'query',  
  56. 'type' => 'string',  
  57. ),  
  58. 'drive.fileId' => array( 
  59. 'location' => 'query',  
  60. 'type' => 'string',  
  61. ),  
  62. 'source' => array( 
  63. 'location' => 'query',  
  64. 'type' => 'string',  
  65. ),  
  66. ),  
  67. ),  
  68. );