class UsersHistory extends Resource (View source)

The "history" collection of methods.

Typical usage is:

 $gmailService = new Google\Service\Gmail(...);
 $history = $gmailService->users_history;

Methods

listUsersHistory(string $userId, array $optParams = [])

Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).

Details

ListHistoryResponse listUsersHistory(string $userId, array $optParams = [])

Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).

(history.listUsersHistory)

Parameters

string $userId

The user's email address. The special value me can be used to indicate the authenticated user.

array $optParams

Optional parameters.

Return Value

ListHistoryResponse

Exceptions

Exception