| 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 |
Network.Google.Resource.FirebaseHosting.Sites.GetConfig
Description
Gets the Hosting metadata for a specific site.
See: Firebase Hosting API Reference for firebasehosting.sites.getConfig.
Synopsis
- 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)))))))
- sitesGetConfig :: Text -> SitesGetConfig
- data SitesGetConfig
- sgcXgafv :: Lens' SitesGetConfig (Maybe Xgafv)
- sgcUploadProtocol :: Lens' SitesGetConfig (Maybe Text)
- sgcAccessToken :: Lens' SitesGetConfig (Maybe Text)
- sgcUploadType :: Lens' SitesGetConfig (Maybe Text)
- sgcName :: Lens' SitesGetConfig Text
- sgcCallback :: Lens' SitesGetConfig (Maybe Text)
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
Arguments
| :: Text | |
| -> 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
Request Lenses
sgcUploadProtocol :: Lens' SitesGetConfig (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sgcAccessToken :: Lens' SitesGetConfig (Maybe Text) Source #
OAuth access token.
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'
sgcCallback :: Lens' SitesGetConfig (Maybe Text) Source #
JSONP