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 |
Updates a calendar resource. This method supports patch semantics.
See: Admin Directory API Reference for directory.resources.calendars.patch
.
- type ResourcesCalendarsPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (Capture "calendarResourceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Patch '[JSON] CalendarResource)))))))))
- resourcesCalendarsPatch :: CalendarResource -> Text -> Text -> ResourcesCalendarsPatch
- data ResourcesCalendarsPatch
- rcpPayload :: Lens' ResourcesCalendarsPatch CalendarResource
- rcpCustomer :: Lens' ResourcesCalendarsPatch Text
- rcpCalendarResourceId :: Lens' ResourcesCalendarsPatch Text
REST Resource
type ResourcesCalendarsPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (Capture "calendarResourceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Patch '[JSON] CalendarResource))))))))) Source #
A resource alias for directory.resources.calendars.patch
method which the
ResourcesCalendarsPatch
request conforms to.
Creating a Request
resourcesCalendarsPatch Source #
:: CalendarResource | |
-> Text | |
-> Text | |
-> ResourcesCalendarsPatch |
Creates a value of ResourcesCalendarsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesCalendarsPatch Source #
Updates a calendar resource. This method supports patch semantics.
See: resourcesCalendarsPatch
smart constructor.
Request Lenses
rcpPayload :: Lens' ResourcesCalendarsPatch CalendarResource Source #
Multipart request metadata.
rcpCustomer :: Lens' ResourcesCalendarsPatch Text Source #
The unique ID for the customer's Google account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
rcpCalendarResourceId :: Lens' ResourcesCalendarsPatch Text Source #
The unique ID of the calendar resource to update.