| 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 |
Network.Google.Resource.AndroidEnterprise.Enterprises.SendTestPushNotification
Description
Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.
See: Google Play EMM API Reference for androidenterprise.enterprises.sendTestPushNotification.
Synopsis
- type EnterprisesSendTestPushNotificationResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("sendTestPushNotification" :> (QueryParam "alt" AltJSON :> Post '[JSON] EnterprisesSendTestPushNotificationResponse)))))
- enterprisesSendTestPushNotification :: Text -> EnterprisesSendTestPushNotification
- data EnterprisesSendTestPushNotification
- estpnEnterpriseId :: Lens' EnterprisesSendTestPushNotification Text
REST Resource
type EnterprisesSendTestPushNotificationResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("sendTestPushNotification" :> (QueryParam "alt" AltJSON :> Post '[JSON] EnterprisesSendTestPushNotificationResponse))))) Source #
A resource alias for androidenterprise.enterprises.sendTestPushNotification method which the
EnterprisesSendTestPushNotification request conforms to.
Creating a Request
enterprisesSendTestPushNotification Source #
Arguments
| :: Text | |
| -> EnterprisesSendTestPushNotification |
Creates a value of EnterprisesSendTestPushNotification with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesSendTestPushNotification Source #
Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service for this enterprise.
See: enterprisesSendTestPushNotification smart constructor.
Instances
Request Lenses
estpnEnterpriseId :: Lens' EnterprisesSendTestPushNotification Text Source #
The ID of the enterprise.