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

Contents

Description

Creates an enterprise. This is the last step in the enterprise signup flow.

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

Synopsis

REST Resource

type EnterprisesCreateResource = "v1" :> ("enterprises" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "signupUrlName" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "enterpriseToken" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Enterprise :> Post '[JSON] Enterprise))))))))))) Source #

A resource alias for androidmanagement.enterprises.create method which the EnterprisesCreate request conforms to.

Creating a Request

enterprisesCreate Source #

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

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

data EnterprisesCreate Source #

Creates an enterprise. This is the last step in the enterprise signup flow.

See: enterprisesCreate smart constructor.

Instances
Eq EnterprisesCreate Source # 
Instance details

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

Data EnterprisesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: EnterprisesCreate -> Constr #

dataTypeOf :: EnterprisesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EnterprisesCreate Source # 
Instance details

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

Generic EnterprisesCreate Source # 
Instance details

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

Associated Types

type Rep EnterprisesCreate :: Type -> Type #

GoogleRequest EnterprisesCreate Source # 
Instance details

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

Associated Types

type Rs EnterprisesCreate :: Type #

type Scopes EnterprisesCreate :: [Symbol] #

type Rep EnterprisesCreate Source # 
Instance details

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

type Rep EnterprisesCreate = D1 (MetaData "EnterprisesCreate" "Network.Google.Resource.AndroidManagement.Enterprises.Create" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EnterprisesCreate'" PrefixI True) (((S1 (MetaSel (Just "_ecXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ecSignupURLName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ecUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ecAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ecUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ecPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Enterprise)) :*: (S1 (MetaSel (Just "_ecProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ecEnterpriseToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ecCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes EnterprisesCreate Source # 
Instance details

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

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

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

Request Lenses

ecSignupURLName :: Lens' EnterprisesCreate (Maybe Text) Source #

The name of the SignupUrl used to sign up for the enterprise.

ecUploadProtocol :: Lens' EnterprisesCreate (Maybe Text) Source #

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

ecUploadType :: Lens' EnterprisesCreate (Maybe Text) Source #

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

ecPayload :: Lens' EnterprisesCreate Enterprise Source #

Multipart request metadata.

ecProjectId :: Lens' EnterprisesCreate (Maybe Text) Source #

The ID of the Google Cloud Platform project which will own the enterprise.

ecEnterpriseToken :: Lens' EnterprisesCreate (Maybe Text) Source #

The enterprise token appended to the callback URL.