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.Labels.Get

Contents

Description

Gets the specified label.

See: Gmail API Reference for gmail.users.labels.get.

Synopsis

REST Resource

type UsersLabelsGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Label)))))) Source

A resource alias for gmail.users.labels.get method which the UsersLabelsGet request conforms to.

Creating a Request

usersLabelsGet Source

Arguments

:: Text

ulgId

-> Text 
-> UsersLabelsGet 

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

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

Request Lenses

ulgUserId :: Lens' UsersLabelsGet Text Source

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

ulgId :: Lens' UsersLabelsGet Text Source

The ID of the label to retrieve.