gogol-android-enterprise-0.1.1: Google Play EMM 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.AndroidEnterprise.Collectionviewers.Get

Contents

Description

Retrieves the ID of the user if they have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.

See: Google Play EMM API Reference for androidenterprise.collectionviewers.get.

Synopsis

REST Resource

type CollectionviewersGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] User)))))))) Source #

A resource alias for androidenterprise.collectionviewers.get method which the CollectionviewersGet request conforms to.

Creating a Request

collectionviewersGet Source #

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

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

data CollectionviewersGet Source #

Retrieves the ID of the user if they have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.

See: collectionviewersGet smart constructor.

Instances

Eq CollectionviewersGet Source # 
Data CollectionviewersGet Source # 

Methods

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

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

toConstr :: CollectionviewersGet -> Constr #

dataTypeOf :: CollectionviewersGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CollectionviewersGet Source # 
Generic CollectionviewersGet Source # 
GoogleRequest CollectionviewersGet Source # 
type Rep CollectionviewersGet Source # 
type Rep CollectionviewersGet = D1 (MetaData "CollectionviewersGet" "Network.Google.Resource.AndroidEnterprise.Collectionviewers.Get" "gogol-android-enterprise-0.1.1-2K85VOQSryw9Pbs20PQ0Qt" False) (C1 (MetaCons "CollectionviewersGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cggEnterpriseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cggCollectionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cggUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes CollectionviewersGet Source # 
type Scopes CollectionviewersGet = (:) Symbol "https://www.googleapis.com/auth/androidenterprise" ([] Symbol)
type Rs CollectionviewersGet Source # 

Request Lenses