gogol-apps-calendar-0.0.1: Google Calendar 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.Calendar.ACL.Insert

Contents

Description

Creates an access control rule.

See: Calendar API Reference for calendar.acl.insert.

Synopsis

REST Resource

type ACLInsertResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> ("acl" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ACLRule :> Post `[JSON]` ACLRule)))))) Source

A resource alias for calendar.acl.insert method which the ACLInsert request conforms to.

Creating a Request

aclInsert Source

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

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

Request Lenses

aiCalendarId :: Lens' ACLInsert Text Source

Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

aiPayload :: Lens' ACLInsert ACLRule Source

Multipart request metadata.