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

Contents

Description

Creates a new release which makes the content of the specified version actively display on the site.

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

Synopsis

REST Resource

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

A resource alias for firebasehosting.sites.releases.create method which the SitesReleasesCreate request conforms to.

Creating a Request

sitesReleasesCreate Source #

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

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

data SitesReleasesCreate Source #

Creates a new release which makes the content of the specified version actively display on the site.

See: sitesReleasesCreate smart constructor.

Instances
Eq SitesReleasesCreate Source # 
Instance details

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

Data SitesReleasesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: SitesReleasesCreate -> Constr #

dataTypeOf :: SitesReleasesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesReleasesCreate Source # 
Instance details

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

Generic SitesReleasesCreate Source # 
Instance details

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

Associated Types

type Rep SitesReleasesCreate :: Type -> Type #

GoogleRequest SitesReleasesCreate Source # 
Instance details

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

Associated Types

type Rs SitesReleasesCreate :: Type #

type Scopes SitesReleasesCreate :: [Symbol] #

type Rep SitesReleasesCreate Source # 
Instance details

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

type Rep SitesReleasesCreate = D1 (MetaData "SitesReleasesCreate" "Network.Google.Resource.FirebaseHosting.Sites.Releases.Create" "gogol-firebasehosting-0.4.0-1bHlj0b9uJOEzft2Jhzv1U" False) (C1 (MetaCons "SitesReleasesCreate'" PrefixI True) (((S1 (MetaSel (Just "_srcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_srcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_srcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srcVersionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_srcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_srcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Release) :*: S1 (MetaSel (Just "_srcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SitesReleasesCreate Source # 
Instance details

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

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

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

Request Lenses

srcParent :: Lens' SitesReleasesCreate Text Source #

The site that the release belongs to, in the format: 'sites\/site-name'

srcUploadProtocol :: Lens' SitesReleasesCreate (Maybe Text) Source #

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

srcVersionName :: Lens' SitesReleasesCreate (Maybe Text) Source #

The unique identifier for a version, in the format: '\/sites\/site-name\/versions\/versionID' The site-name in this version identifier must match the site-name in the `parent` parameter. This query parameter must be empty if the `type` field in the request body is `SITE_DISABLE`.

srcUploadType :: Lens' SitesReleasesCreate (Maybe Text) Source #

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

srcPayload :: Lens' SitesReleasesCreate Release Source #

Multipart request metadata.