gogol-gmail-0.0.1: Google Gmail SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Gmail.Users.Stop

Contents

Description

Stop receiving push notifications for the given user mailbox.

See: Gmail API Reference for gmail.users.stop.

Synopsis

REST Resource

type UsersStopResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("stop" :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))) Source

A resource alias for gmail.users.stop method which the UsersStop request conforms to.

Creating a Request

usersStop :: Text -> UsersStop Source

Creates a value of UsersStop with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersStop Source

Stop receiving push notifications for the given user mailbox.

See: usersStop smart constructor.

Request Lenses

usUserId :: Lens' UsersStop Text Source

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