class DriveActivity extends Service (View source)

Service definition for DriveActivity (v2).

Provides a historical view of activity in Google Drive.

For more information about this service, see the API Documentation

Constants

DRIVE_ACTIVITY

View and add to the activity record of files in your Google Drive.

DRIVE_ACTIVITY_READONLY

View the activity record of files in your Google Drive.

Properties

$activity
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the DriveActivity service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the DriveActivity service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.