gogol-androidmanagement-0.4.0: Google Android Management 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.AndroidManagement.Enterprises.Policies.List

Contents

Description

Lists policies for a given enterprise.

See: Android Management API Reference for androidmanagement.enterprises.policies.list.

Synopsis

REST Resource

type EnterprisesPoliciesListResource = "v1" :> (Capture "parent" Text :> ("policies" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListPoliciesResponse)))))))))) Source #

A resource alias for androidmanagement.enterprises.policies.list method which the EnterprisesPoliciesList request conforms to.

Creating a Request

enterprisesPoliciesList Source #

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

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

data EnterprisesPoliciesList Source #

Lists policies for a given enterprise.

See: enterprisesPoliciesList smart constructor.

Instances
Eq EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

Data EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

Methods

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

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

toConstr :: EnterprisesPoliciesList -> Constr #

dataTypeOf :: EnterprisesPoliciesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

Generic EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

Associated Types

type Rep EnterprisesPoliciesList :: Type -> Type #

GoogleRequest EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

type Rep EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

type Rep EnterprisesPoliciesList = D1 (MetaData "EnterprisesPoliciesList" "Network.Google.Resource.AndroidManagement.Enterprises.Policies.List" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesPoliciesList'" PrefixI True) (((S1 (MetaSel (Just "_eplParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_eplXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_eplUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eplAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_eplUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eplPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eplPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_eplCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

type Scopes EnterprisesPoliciesList = "https://www.googleapis.com/auth/androidmanagement" ': ([] :: [Symbol])
type Rs EnterprisesPoliciesList Source # 
Instance details

Defined in Network.Google.Resource.AndroidManagement.Enterprises.Policies.List

Request Lenses

eplParent :: Lens' EnterprisesPoliciesList Text Source #

The name of the enterprise in the form enterprises/{enterpriseId}.

eplUploadProtocol :: Lens' EnterprisesPoliciesList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

eplUploadType :: Lens' EnterprisesPoliciesList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

eplPageToken :: Lens' EnterprisesPoliciesList (Maybe Text) Source #

A token identifying a page of results returned by the server.

eplPageSize :: Lens' EnterprisesPoliciesList (Maybe Int32) Source #

The requested page size. The actual page size may be fixed to a min or max value.