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 all Chrome OS Devices of a customer (paginated)
See: Admin Directory API Reference for directory.chromeosdevices.list
.
Synopsis
- type ChromeosDevicesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (QueryParam "orderBy" ChromeosDevicesListOrderBy :> (QueryParam "orgUnitPath" Text :> (QueryParam "sortOrder" ChromeosDevicesListSortOrder :> (QueryParam "query" Text :> (QueryParam "projection" ChromeosDevicesListProjection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ChromeOSDevices))))))))))))))
- chromeosDevicesList :: Text -> ChromeosDevicesList
- data ChromeosDevicesList
- cdlOrderBy :: Lens' ChromeosDevicesList (Maybe ChromeosDevicesListOrderBy)
- cdlOrgUnitPath :: Lens' ChromeosDevicesList (Maybe Text)
- cdlCustomerId :: Lens' ChromeosDevicesList Text
- cdlSortOrder :: Lens' ChromeosDevicesList (Maybe ChromeosDevicesListSortOrder)
- cdlQuery :: Lens' ChromeosDevicesList (Maybe Text)
- cdlProjection :: Lens' ChromeosDevicesList (Maybe ChromeosDevicesListProjection)
- cdlPageToken :: Lens' ChromeosDevicesList (Maybe Text)
- cdlMaxResults :: Lens' ChromeosDevicesList (Maybe Int32)
REST Resource
type ChromeosDevicesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (QueryParam "orderBy" ChromeosDevicesListOrderBy :> (QueryParam "orgUnitPath" Text :> (QueryParam "sortOrder" ChromeosDevicesListSortOrder :> (QueryParam "query" Text :> (QueryParam "projection" ChromeosDevicesListProjection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ChromeOSDevices)))))))))))))) Source #
A resource alias for directory.chromeosdevices.list
method which the
ChromeosDevicesList
request conforms to.
Creating a Request
Creates a value of ChromeosDevicesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChromeosDevicesList Source #
Retrieve all Chrome OS Devices of a customer (paginated)
See: chromeosDevicesList
smart constructor.
Instances
Request Lenses
cdlOrderBy :: Lens' ChromeosDevicesList (Maybe ChromeosDevicesListOrderBy) Source #
Column to use for sorting results
cdlOrgUnitPath :: Lens' ChromeosDevicesList (Maybe Text) Source #
Full path of the organizational unit or its ID
cdlCustomerId :: Lens' ChromeosDevicesList Text Source #
Immutable ID of the G Suite account
cdlSortOrder :: Lens' ChromeosDevicesList (Maybe ChromeosDevicesListSortOrder) Source #
Whether to return results in ascending or descending order. Only of use when orderBy is also used
cdlQuery :: Lens' ChromeosDevicesList (Maybe Text) Source #
Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333
cdlProjection :: Lens' ChromeosDevicesList (Maybe ChromeosDevicesListProjection) Source #
Restrict information returned to a set of selected fields.
cdlPageToken :: Lens' ChromeosDevicesList (Maybe Text) Source #
Token to specify next page in the list
cdlMaxResults :: Lens' ChromeosDevicesList (Maybe Int32) Source #
Maximum number of results to return. Default is 100