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.Versions.PopulateFiles

Contents

Description

Adds content files to a version.

See: Firebase Hosting API Reference for firebasehosting.sites.versions.populateFiles.

Synopsis

REST Resource

type SitesVersionsPopulateFilesResource = "v1beta1" :> (CaptureMode "parent" "populateFiles" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PopulateVersionFilesRequest :> Post '[JSON] PopulateVersionFilesResponse)))))))) Source #

A resource alias for firebasehosting.sites.versions.populateFiles method which the SitesVersionsPopulateFiles request conforms to.

Creating a Request

sitesVersionsPopulateFiles Source #

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

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

data SitesVersionsPopulateFiles Source #

Adds content files to a version.

See: sitesVersionsPopulateFiles smart constructor.

Instances
Eq SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

Data SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

Methods

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

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

toConstr :: SitesVersionsPopulateFiles -> Constr #

dataTypeOf :: SitesVersionsPopulateFiles -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

Generic SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

Associated Types

type Rep SitesVersionsPopulateFiles :: Type -> Type #

GoogleRequest SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

type Rep SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

type Rep SitesVersionsPopulateFiles = D1 (MetaData "SitesVersionsPopulateFiles" "Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles" "gogol-firebasehosting-0.4.0-1bHlj0b9uJOEzft2Jhzv1U" False) (C1 (MetaCons "SitesVersionsPopulateFiles'" PrefixI True) ((S1 (MetaSel (Just "_svpfParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_svpfXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_svpfUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_svpfAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_svpfUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_svpfPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PopulateVersionFilesRequest) :*: S1 (MetaSel (Just "_svpfCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SitesVersionsPopulateFiles Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

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

Defined in Network.Google.Resource.FirebaseHosting.Sites.Versions.PopulateFiles

Request Lenses

svpfParent :: Lens' SitesVersionsPopulateFiles Text Source #

Required. The version to add files to, in the format: 'sites\/site-name\/versions\/versionID'

svpfUploadProtocol :: Lens' SitesVersionsPopulateFiles (Maybe Text) Source #

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

svpfUploadType :: Lens' SitesVersionsPopulateFiles (Maybe Text) Source #

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