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 |
Retrieve Mobile Device
See: Admin Directory API Reference for directory.mobiledevices.get
.
Synopsis
- type MobileDevicesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> (QueryParam "projection" MobileDevicesGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileDevice)))))))))
- mobileDevicesGet :: Text -> Text -> MobileDevicesGet
- data MobileDevicesGet
- mdgResourceId :: Lens' MobileDevicesGet Text
- mdgCustomerId :: Lens' MobileDevicesGet Text
- mdgProjection :: Lens' MobileDevicesGet (Maybe MobileDevicesGetProjection)
REST Resource
type MobileDevicesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> (QueryParam "projection" MobileDevicesGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileDevice))))))))) Source #
A resource alias for directory.mobiledevices.get
method which the
MobileDevicesGet
request conforms to.
Creating a Request
Creates a value of MobileDevicesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MobileDevicesGet Source #
Retrieve Mobile Device
See: mobileDevicesGet
smart constructor.
Instances
Request Lenses
mdgResourceId :: Lens' MobileDevicesGet Text Source #
Immutable ID of Mobile Device
mdgCustomerId :: Lens' MobileDevicesGet Text Source #
Immutable ID of the G Suite account
mdgProjection :: Lens' MobileDevicesGet (Maybe MobileDevicesGetProjection) Source #
Restrict information returned to a set of selected fields.