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.Threads.Modify

Contents

Description

Modifies the labels applied to the thread. This applies to all messages in the thread.

See: Gmail API Reference for gmail.users.threads.modify.

Synopsis

REST Resource

type UsersThreadsModifyResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("threads" :> (Capture "id" Text :> ("modify" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ModifyThreadRequest :> Post `[JSON]` Thread)))))))) Source

A resource alias for gmail.users.threads.modify method which the UsersThreadsModify request conforms to.

Creating a Request

usersThreadsModify Source

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

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

Request Lenses

utmUserId :: Lens' UsersThreadsModify Text Source

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

utmId :: Lens' UsersThreadsModify Text Source

The ID of the thread to modify.