Users
class Users extends Resource (View source)
The "users" collection of methods.
Typical usage is:
$gmailService = new Google\Service\Gmail(...);
$users = $gmailService->users;
Methods
getProfile(string $userId, array $optParams = [])
Gets the current user's Gmail profile. (users.getProfile)
stop(string $userId, array $optParams = [])
Stop receiving push notifications for the given user mailbox. (users.stop)
watch(string $userId, WatchRequest $postBody, array $optParams = [])
Set up or update a push notification watch on the given user mailbox.
Details
Profile
getProfile(string $userId, array $optParams = [])
Gets the current user's Gmail profile. (users.getProfile)
stop(string $userId, array $optParams = [])
Stop receiving push notifications for the given user mailbox. (users.stop)
WatchResponse
watch(string $userId, WatchRequest $postBody, array $optParams = [])
Set up or update a push notification watch on the given user mailbox.
(users.watch)