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.Get

Contents

Description

Gets a policy.

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

Synopsis

REST Resource

type EnterprisesPoliciesGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))) Source #

A resource alias for androidmanagement.enterprises.policies.get method which the EnterprisesPoliciesGet request conforms to.

Creating a Request

enterprisesPoliciesGet Source #

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

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

data EnterprisesPoliciesGet Source #

Gets a policy.

See: enterprisesPoliciesGet smart constructor.

Instances
Eq EnterprisesPoliciesGet Source # 
Instance details

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

Data EnterprisesPoliciesGet Source # 
Instance details

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

Methods

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

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

toConstr :: EnterprisesPoliciesGet -> Constr #

dataTypeOf :: EnterprisesPoliciesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesPoliciesGet Source # 
Instance details

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

Generic EnterprisesPoliciesGet Source # 
Instance details

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

Associated Types

type Rep EnterprisesPoliciesGet :: Type -> Type #

GoogleRequest EnterprisesPoliciesGet Source # 
Instance details

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

type Rep EnterprisesPoliciesGet Source # 
Instance details

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

type Rep EnterprisesPoliciesGet = D1 (MetaData "EnterprisesPoliciesGet" "Network.Google.Resource.AndroidManagement.Enterprises.Policies.Get" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesPoliciesGet'" PrefixI True) ((S1 (MetaSel (Just "_epgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_epgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_epgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_epgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_epgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_epgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesPoliciesGet Source # 
Instance details

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

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

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

Request Lenses

epgUploadProtocol :: Lens' EnterprisesPoliciesGet (Maybe Text) Source #

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

epgUploadType :: Lens' EnterprisesPoliciesGet (Maybe Text) Source #

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

epgName :: Lens' EnterprisesPoliciesGet Text Source #

The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.