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 Chrome OS Device
See: Admin Directory API Reference for directory.chromeosdevices.get
.
Synopsis
- type ChromeosDevicesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] ChromeOSDevice)))))))))
- chromeosDevicesGet :: Text -> Text -> ChromeosDevicesGet
- data ChromeosDevicesGet
- cdgCustomerId :: Lens' ChromeosDevicesGet Text
- cdgDeviceId :: Lens' ChromeosDevicesGet Text
- cdgProjection :: Lens' ChromeosDevicesGet (Maybe ChromeosDevicesGetProjection)
REST Resource
type ChromeosDevicesGetResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesGetProjection :> (QueryParam "alt" AltJSON :> Get '[JSON] ChromeOSDevice))))))))) Source #
A resource alias for directory.chromeosdevices.get
method which the
ChromeosDevicesGet
request conforms to.
Creating a Request
Creates a value of ChromeosDevicesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChromeosDevicesGet Source #
Retrieve Chrome OS Device
See: chromeosDevicesGet
smart constructor.
Instances
Request Lenses
cdgCustomerId :: Lens' ChromeosDevicesGet Text Source #
Immutable ID of the G Suite account
cdgDeviceId :: Lens' ChromeosDevicesGet Text Source #
Immutable ID of Chrome OS Device
cdgProjection :: Lens' ChromeosDevicesGet (Maybe ChromeosDevicesGetProjection) Source #
Restrict information returned to a set of selected fields.