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

Contents

Description

Gets an enterprise.

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

Synopsis

REST Resource

type EnterprisesGetResource = "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] Enterprise))))))) Source #

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

Creating a Request

enterprisesGet Source #

Arguments

:: Text

egName

-> EnterprisesGet 

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

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

data EnterprisesGet Source #

Gets an enterprise.

See: enterprisesGet smart constructor.

Instances
Eq EnterprisesGet Source # 
Instance details

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

Data EnterprisesGet Source # 
Instance details

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

Methods

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

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

toConstr :: EnterprisesGet -> Constr #

dataTypeOf :: EnterprisesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesGet Source # 
Instance details

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

Generic EnterprisesGet Source # 
Instance details

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

Associated Types

type Rep EnterprisesGet :: Type -> Type #

GoogleRequest EnterprisesGet Source # 
Instance details

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

Associated Types

type Rs EnterprisesGet :: Type #

type Scopes EnterprisesGet :: [Symbol] #

type Rep EnterprisesGet Source # 
Instance details

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

type Rep EnterprisesGet = D1 (MetaData "EnterprisesGet" "Network.Google.Resource.AndroidManagement.Enterprises.Get" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesGet'" PrefixI True) ((S1 (MetaSel (Just "_egXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_egUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_egAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_egUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_egName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_egCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EnterprisesGet Source # 
Instance details

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

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

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

Request Lenses

egUploadProtocol :: Lens' EnterprisesGet (Maybe Text) Source #

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

egUploadType :: Lens' EnterprisesGet (Maybe Text) Source #

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

egName :: Lens' EnterprisesGet Text Source #

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