gogol-firebasehosting-0.4.0: Google Firebase Hosting 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.FirebaseHosting.Sites.Domains.Create

Contents

Description

Creates a domain mapping on the specified site.

See: Firebase Hosting API Reference for firebasehosting.sites.domains.create.

Synopsis

REST Resource

type SitesDomainsCreateResource = "v1beta1" :> (Capture "parent" Text :> ("domains" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Domain :> Post '[JSON] Domain))))))))) Source #

A resource alias for firebasehosting.sites.domains.create method which the SitesDomainsCreate request conforms to.

Creating a Request

sitesDomainsCreate Source #

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

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

data SitesDomainsCreate Source #

Creates a domain mapping on the specified site.

See: sitesDomainsCreate smart constructor.

Instances
Eq SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

Data SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

Methods

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

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

toConstr :: SitesDomainsCreate -> Constr #

dataTypeOf :: SitesDomainsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

Generic SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

Associated Types

type Rep SitesDomainsCreate :: Type -> Type #

GoogleRequest SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

Associated Types

type Rs SitesDomainsCreate :: Type #

type Scopes SitesDomainsCreate :: [Symbol] #

type Rep SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

type Rep SitesDomainsCreate = D1 (MetaData "SitesDomainsCreate" "Network.Google.Resource.FirebaseHosting.Sites.Domains.Create" "gogol-firebasehosting-0.4.0-1bHlj0b9uJOEzft2Jhzv1U" False) (C1 (MetaCons "SitesDomainsCreate'" PrefixI True) ((S1 (MetaSel (Just "_sdcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_sdcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_sdcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sdcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_sdcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Domain) :*: S1 (MetaSel (Just "_sdcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SitesDomainsCreate Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

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

Defined in Network.Google.Resource.FirebaseHosting.Sites.Domains.Create

Request Lenses

sdcParent :: Lens' SitesDomainsCreate Text Source #

Required. The parent to create the domain association for, in the format: 'sites\/site-name'

sdcUploadProtocol :: Lens' SitesDomainsCreate (Maybe Text) Source #

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

sdcUploadType :: Lens' SitesDomainsCreate (Maybe Text) Source #

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

sdcPayload :: Lens' SitesDomainsCreate Domain Source #

Multipart request metadata.