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, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. This method supports patch semantics.
See: Admin Directory API Reference for directory.resources.calendars.patch
.
Synopsis
- 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, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved. This method supports patch semantics.
See: resourcesCalendarsPatch
smart constructor.
Instances
Request Lenses
rcpPayload :: Lens' ResourcesCalendarsPatch CalendarResource Source #
Multipart request metadata.
rcpCustomer :: Lens' ResourcesCalendarsPatch 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.
rcpCalendarResourceId :: Lens' ResourcesCalendarsPatch Text Source #
The unique ID of the calendar resource to update.