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

Contents

Description

Creates an enterprise signup URL.

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

Synopsis

REST Resource

type SignupURLsCreateResource = "v1" :> ("signupUrls" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "callbackUrl" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] SignupURL))))))))) Source #

A resource alias for androidmanagement.signupUrls.create method which the SignupURLsCreate request conforms to.

Creating a Request

signupURLsCreate :: SignupURLsCreate Source #

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

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

data SignupURLsCreate Source #

Creates an enterprise signup URL.

See: signupURLsCreate smart constructor.

Instances
Eq SignupURLsCreate Source # 
Instance details

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

Data SignupURLsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: SignupURLsCreate -> Constr #

dataTypeOf :: SignupURLsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SignupURLsCreate Source # 
Instance details

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

Generic SignupURLsCreate Source # 
Instance details

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

Associated Types

type Rep SignupURLsCreate :: Type -> Type #

GoogleRequest SignupURLsCreate Source # 
Instance details

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

Associated Types

type Rs SignupURLsCreate :: Type #

type Scopes SignupURLsCreate :: [Symbol] #

type Rep SignupURLsCreate Source # 
Instance details

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

type Rep SignupURLsCreate = D1 (MetaData "SignupURLsCreate" "Network.Google.Resource.AndroidManagement.SignupURLs.Create" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "SignupURLsCreate'" PrefixI True) ((S1 (MetaSel (Just "_sucXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sucUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sucCallbackURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sucAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sucUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sucProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sucCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SignupURLsCreate Source # 
Instance details

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

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

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

Request Lenses

sucUploadProtocol :: Lens' SignupURLsCreate (Maybe Text) Source #

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

sucCallbackURL :: Lens' SignupURLsCreate (Maybe Text) Source #

The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes.

sucUploadType :: Lens' SignupURLsCreate (Maybe Text) Source #

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

sucProjectId :: Lens' SignupURLsCreate (Maybe Text) Source #

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