Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Inserts a calendar resource.
See: Admin Directory API Reference for directory.resources.calendars.insert
.
Synopsis
- type ResourcesCalendarsInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Post '[JSON] CalendarResource))))))))
- resourcesCalendarsInsert :: CalendarResource -> Text -> ResourcesCalendarsInsert
- data ResourcesCalendarsInsert
- rciPayload :: Lens' ResourcesCalendarsInsert CalendarResource
- rciCustomer :: Lens' ResourcesCalendarsInsert Text
REST Resource
type ResourcesCalendarsInsertResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Post '[JSON] CalendarResource)))))))) Source #
A resource alias for directory.resources.calendars.insert
method which the
ResourcesCalendarsInsert
request conforms to.
Creating a Request
resourcesCalendarsInsert Source #
Creates a value of ResourcesCalendarsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesCalendarsInsert Source #
Inserts a calendar resource.
See: resourcesCalendarsInsert
smart constructor.
Instances
Request Lenses
rciPayload :: Lens' ResourcesCalendarsInsert CalendarResource Source #
Multipart request metadata.
rciCustomer :: Lens' ResourcesCalendarsInsert Text Source #
The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.