gogol-appengine-0.4.0: Google App Engine Admin 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.AppEngine.Apps.DomainMAppings.Create

Contents

Description

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

See: App Engine Admin API Reference for appengine.apps.domainMappings.create.

Synopsis

REST Resource

type AppsDomainMAppingsCreateResource = "v1" :> ("apps" :> (Capture "appsId" Text :> ("domainMappings" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "overrideStrategy" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DomainMApping :> Post '[JSON] Operation))))))))))) Source #

A resource alias for appengine.apps.domainMappings.create method which the AppsDomainMAppingsCreate request conforms to.

Creating a Request

appsDomainMAppingsCreate Source #

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

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

data AppsDomainMAppingsCreate Source #

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

See: appsDomainMAppingsCreate smart constructor.

Instances
Eq AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

Data AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

Methods

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

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

toConstr :: AppsDomainMAppingsCreate -> Constr #

dataTypeOf :: AppsDomainMAppingsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

Generic AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

Associated Types

type Rep AppsDomainMAppingsCreate :: Type -> Type #

GoogleRequest AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

type Rep AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

type Rep AppsDomainMAppingsCreate = D1 (MetaData "AppsDomainMAppingsCreate" "Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create" "gogol-appengine-0.4.0-48gH8mpUkemKe8XR9UYlzr" False) (C1 (MetaCons "AppsDomainMAppingsCreate'" PrefixI True) (((S1 (MetaSel (Just "_admacXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_admacUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_admacAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_admacUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_admacPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DomainMApping) :*: S1 (MetaSel (Just "_admacOverrideStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_admacAppsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_admacCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

type Scopes AppsDomainMAppingsCreate = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs AppsDomainMAppingsCreate Source # 
Instance details

Defined in Network.Google.Resource.AppEngine.Apps.DomainMAppings.Create

Request Lenses

admacUploadProtocol :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #

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

admacUploadType :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #

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

admacOverrideStrategy :: Lens' AppsDomainMAppingsCreate (Maybe Text) Source #

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

admacAppsId :: Lens' AppsDomainMAppingsCreate Text Source #

Part of `parent`. Name of the parent Application resource. Example: apps/myapp.