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.UpdateConfig

Contents

Description

Sets the Hosting metadata for a specific site.

See: Firebase Hosting API Reference for firebasehosting.sites.updateConfig.

Synopsis

REST Resource

type SitesUpdateConfigResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SiteConfig :> Patch '[JSON] SiteConfig))))))))) Source #

A resource alias for firebasehosting.sites.updateConfig method which the SitesUpdateConfig request conforms to.

Creating a Request

sitesUpdateConfig Source #

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

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

data SitesUpdateConfig Source #

Sets the Hosting metadata for a specific site.

See: sitesUpdateConfig smart constructor.

Instances
Eq SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

Data SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

Methods

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

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

toConstr :: SitesUpdateConfig -> Constr #

dataTypeOf :: SitesUpdateConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

Generic SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

Associated Types

type Rep SitesUpdateConfig :: Type -> Type #

GoogleRequest SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

Associated Types

type Rs SitesUpdateConfig :: Type #

type Scopes SitesUpdateConfig :: [Symbol] #

type Rep SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

type Rep SitesUpdateConfig = D1 (MetaData "SitesUpdateConfig" "Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig" "gogol-firebasehosting-0.4.0-1bHlj0b9uJOEzft2Jhzv1U" False) (C1 (MetaCons "SitesUpdateConfig'" 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 "_sucUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_sucAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_sucUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sucPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SiteConfig)) :*: (S1 (MetaSel (Just "_sucName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sucCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SitesUpdateConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

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

Defined in Network.Google.Resource.FirebaseHosting.Sites.UpdateConfig

Request Lenses

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

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

sucUpdateMask :: Lens' SitesUpdateConfig (Maybe GFieldMask) Source #

A set of field names from your site configuration that you want to update. A field will be overwritten if, and only if, it's in the mask. If a mask is not provided then a default mask of only `max_versions` will be used.

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

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

sucPayload :: Lens' SitesUpdateConfig SiteConfig Source #

Multipart request metadata.

sucName :: Lens' SitesUpdateConfig Text Source #

Required. The site for which to update the SiteConfig, in the format: 'sites\/site-name\/config'