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 notification.
See: Admin Directory API Reference for directory.notifications.get
.
Synopsis
- type NotificationsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("notifications" :> (Capture "notificationId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Notification)))))))
- notificationsGet :: Text -> Text -> NotificationsGet
- data NotificationsGet
- ngCustomer :: Lens' NotificationsGet Text
- ngNotificationId :: Lens' NotificationsGet Text
REST Resource
type NotificationsGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customer" Text :> ("notifications" :> (Capture "notificationId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Notification))))))) Source #
A resource alias for directory.notifications.get
method which the
NotificationsGet
request conforms to.
Creating a Request
Creates a value of NotificationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data NotificationsGet Source #
Retrieves a notification.
See: notificationsGet
smart constructor.
Instances
Request Lenses
ngCustomer :: Lens' NotificationsGet Text Source #
The unique ID for the customer's G Suite account. The customerId is also returned as part of the Users resource.
ngNotificationId :: Lens' NotificationsGet Text Source #
The unique ID of the notification.