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