Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))))
- projectsGetRemoteConfig :: Text -> ProjectsGetRemoteConfig
- data ProjectsGetRemoteConfig
- pgrcXgafv :: Lens' ProjectsGetRemoteConfig (Maybe Xgafv)
- pgrcUploadProtocol :: Lens' ProjectsGetRemoteConfig (Maybe Text)
- pgrcProject :: Lens' ProjectsGetRemoteConfig Text
- pgrcPp :: Lens' ProjectsGetRemoteConfig Bool
- pgrcAccessToken :: Lens' ProjectsGetRemoteConfig (Maybe Text)
- pgrcUploadType :: Lens' ProjectsGetRemoteConfig (Maybe Text)
- pgrcBearerToken :: Lens' ProjectsGetRemoteConfig (Maybe Text)
- pgrcCallback :: Lens' ProjectsGetRemoteConfig (Maybe Text)
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
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.
pgrcAccessToken :: Lens' ProjectsGetRemoteConfig (Maybe Text) Source #
OAuth access token.
pgrcUploadType :: Lens' ProjectsGetRemoteConfig (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pgrcBearerToken :: Lens' ProjectsGetRemoteConfig (Maybe Text) Source #
OAuth bearer token.
pgrcCallback :: Lens' ProjectsGetRemoteConfig (Maybe Text) Source #
JSONP