gogol-admin-directory-0.4.0: Google Admin Directory SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Directory.MobileDevices.List

Contents

Description

Retrieve all Mobile Devices of a customer (paginated)

See: Admin Directory API Reference for directory.mobiledevices.list.

Synopsis

REST Resource

type MobileDevicesListResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (QueryParam "orderBy" MobileDevicesListOrderBy :> (QueryParam "sortOrder" MobileDevicesListSortOrder :> (QueryParam "query" Text :> (QueryParam "projection" MobileDevicesListProjection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] MobileDevices))))))))))))) Source #

A resource alias for directory.mobiledevices.list method which the MobileDevicesList request conforms to.

Creating a Request

mobileDevicesList Source #

Creates a value of MobileDevicesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data MobileDevicesList Source #

Retrieve all Mobile Devices of a customer (paginated)

See: mobileDevicesList smart constructor.

Instances
Eq MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

Data MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MobileDevicesList -> c MobileDevicesList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MobileDevicesList #

toConstr :: MobileDevicesList -> Constr #

dataTypeOf :: MobileDevicesList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MobileDevicesList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MobileDevicesList) #

gmapT :: (forall b. Data b => b -> b) -> MobileDevicesList -> MobileDevicesList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MobileDevicesList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MobileDevicesList -> r #

gmapQ :: (forall d. Data d => d -> u) -> MobileDevicesList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MobileDevicesList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MobileDevicesList -> m MobileDevicesList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MobileDevicesList -> m MobileDevicesList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MobileDevicesList -> m MobileDevicesList #

Show MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

Generic MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

Associated Types

type Rep MobileDevicesList :: Type -> Type #

GoogleRequest MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

Associated Types

type Rs MobileDevicesList :: Type #

type Scopes MobileDevicesList :: [Symbol] #

type Rep MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

type Scopes MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

type Scopes MobileDevicesList = "https://www.googleapis.com/auth/admin.directory.device.mobile" ': ("https://www.googleapis.com/auth/admin.directory.device.mobile.action" ': ("https://www.googleapis.com/auth/admin.directory.device.mobile.readonly" ': ([] :: [Symbol])))
type Rs MobileDevicesList Source # 
Instance details

Defined in Network.Google.Resource.Directory.MobileDevices.List

Request Lenses

mdlCustomerId :: Lens' MobileDevicesList Text Source #

Immutable ID of the G Suite account

mdlSortOrder :: Lens' MobileDevicesList (Maybe MobileDevicesListSortOrder) Source #

Whether to return results in ascending or descending order. Only of use when orderBy is also used

mdlQuery :: Lens' MobileDevicesList (Maybe Text) Source #

Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search

mdlProjection :: Lens' MobileDevicesList (Maybe MobileDevicesListProjection) Source #

Restrict information returned to a set of selected fields.

mdlPageToken :: Lens' MobileDevicesList (Maybe Text) Source #

Token to specify next page in the list

mdlMaxResults :: Lens' MobileDevicesList (Maybe Int32) Source #

Maximum number of results to return. Default is 100