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

Contents

Description

Gets the Hosting metadata for a specific site.

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

Synopsis

REST Resource

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

A resource alias for firebasehosting.sites.getConfig method which the SitesGetConfig request conforms to.

Creating a Request

sitesGetConfig Source #

Arguments

:: Text

sgcName

-> SitesGetConfig 

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

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

data SitesGetConfig Source #

Gets the Hosting metadata for a specific site.

See: sitesGetConfig smart constructor.

Instances
Eq SitesGetConfig Source # 
Instance details

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

Data SitesGetConfig Source # 
Instance details

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

Methods

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

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

toConstr :: SitesGetConfig -> Constr #

dataTypeOf :: SitesGetConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesGetConfig Source # 
Instance details

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

Generic SitesGetConfig Source # 
Instance details

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

Associated Types

type Rep SitesGetConfig :: Type -> Type #

GoogleRequest SitesGetConfig Source # 
Instance details

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

Associated Types

type Rs SitesGetConfig :: Type #

type Scopes SitesGetConfig :: [Symbol] #

type Rep SitesGetConfig Source # 
Instance details

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

type Rep SitesGetConfig = D1 (MetaData "SitesGetConfig" "Network.Google.Resource.FirebaseHosting.Sites.GetConfig" "gogol-firebasehosting-0.4.0-1bHlj0b9uJOEzft2Jhzv1U" False) (C1 (MetaCons "SitesGetConfig'" PrefixI True) ((S1 (MetaSel (Just "_sgcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sgcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sgcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sgcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sgcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SitesGetConfig Source # 
Instance details

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

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

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

Request Lenses

sgcUploadProtocol :: Lens' SitesGetConfig (Maybe Text) Source #

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

sgcUploadType :: Lens' SitesGetConfig (Maybe Text) Source #

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

sgcName :: Lens' SitesGetConfig Text Source #

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