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