gogol-firebaseremoteconfig-0.4.0: Google Firebase Remote Config 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.FirebaseRemoteConfig.Projects.GetRemoteConfig

Contents

Description

Get the latest version Remote Configuration for a project. Returns the RemoteConfig as the payload, and also the eTag as a response header.

See: Firebase Remote Config API Reference for firebaseremoteconfig.projects.getRemoteConfig.

Synopsis

REST Resource

type ProjectsGetRemoteConfigResource = "v1" :> (Capture "project" Text :> ("remoteConfig" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] RemoteConfig)))))))))) Source #

A resource alias for firebaseremoteconfig.projects.getRemoteConfig method which the ProjectsGetRemoteConfig request conforms to.

Creating a Request

projectsGetRemoteConfig Source #

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

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

data ProjectsGetRemoteConfig Source #

Get the latest version Remote Configuration for a project. Returns the RemoteConfig as the payload, and also the eTag as a response header.

See: projectsGetRemoteConfig smart constructor.

Instances
Eq ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

Data ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

Methods

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

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

toConstr :: ProjectsGetRemoteConfig -> Constr #

dataTypeOf :: ProjectsGetRemoteConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

Generic ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

Associated Types

type Rep ProjectsGetRemoteConfig :: Type -> Type #

GoogleRequest ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

type Rep ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

type Rep ProjectsGetRemoteConfig = D1 (MetaData "ProjectsGetRemoteConfig" "Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig" "gogol-firebaseremoteconfig-0.4.0-2lmPeOQx2oOKMaSe815MP3" False) (C1 (MetaCons "ProjectsGetRemoteConfig'" PrefixI True) (((S1 (MetaSel (Just "_pgrcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pgrcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pgrcProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgrcPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) :*: ((S1 (MetaSel (Just "_pgrcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgrcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pgrcBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pgrcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

type Rs ProjectsGetRemoteConfig Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRemoteConfig.Projects.GetRemoteConfig

Request Lenses

pgrcUploadProtocol :: Lens' ProjectsGetRemoteConfig (Maybe Text) Source #

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

pgrcProject :: Lens' ProjectsGetRemoteConfig Text Source #

The GMP project identifier. Required. See note at the beginning of this file regarding project ids.

pgrcPp :: Lens' ProjectsGetRemoteConfig Bool Source #

Pretty-print response.

pgrcUploadType :: Lens' ProjectsGetRemoteConfig (Maybe Text) Source #

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