* Provides a historical view of activity in Google Drive.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class Google_Service_DriveActivity extends Google_Service { /** View and add to the activity record of files in your Google Drive. */ const DRIVE_ACTIVITY = "https://www.googleapis.com/auth/drive.activity"; /** View the activity record of files in your Google Drive. */ const DRIVE_ACTIVITY_READONLY = "https://www.googleapis.com/auth/drive.activity.readonly"; public $activity; /** * Constructs the internal representation of the DriveActivity service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://driveactivity.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v2'; $this->serviceName = 'driveactivity'; $this->activity = new Google_Service_DriveActivity_Resource_Activity( $this, $this->serviceName, 'activity', array( 'methods' => array( 'query' => array( 'path' => 'v2/activity:query', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); } }