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.
See: Admin Directory API Reference for directory.resources.calendars.update
.
Synopsis
- type ResourcesCalendarsUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (Capture "calendarResourceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Put '[JSON] CalendarResource)))))))))
- resourcesCalendarsUpdate :: CalendarResource -> Text -> Text -> ResourcesCalendarsUpdate
- data ResourcesCalendarsUpdate
- rcuPayload :: Lens' ResourcesCalendarsUpdate CalendarResource
- rcuCustomer :: Lens' ResourcesCalendarsUpdate Text
- rcuCalendarResourceId :: Lens' ResourcesCalendarsUpdate Text
REST Resource
type ResourcesCalendarsUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("resources" :> ("calendars" :> (Capture "calendarResourceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CalendarResource :> Put '[JSON] CalendarResource))))))))) Source #
A resource alias for directory.resources.calendars.update
method which the
ResourcesCalendarsUpdate
request conforms to.
Creating a Request
resourcesCalendarsUpdate Source #
:: CalendarResource | |
-> Text | |
-> Text | |
-> ResourcesCalendarsUpdate |
Creates a value of ResourcesCalendarsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ResourcesCalendarsUpdate 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.
See: resourcesCalendarsUpdate
smart constructor.
Instances
Request Lenses
rcuPayload :: Lens' ResourcesCalendarsUpdate CalendarResource Source #
Multipart request metadata.
rcuCustomer :: Lens' ResourcesCalendarsUpdate 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.
rcuCalendarResourceId :: Lens' ResourcesCalendarsUpdate Text Source #
The unique ID of the calendar resource to update.