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 |
Creates a domain mapping on the specified site.
See: Firebase Hosting API Reference for firebasehosting.sites.domains.create
.
Synopsis
- type SitesDomainsCreateResource = "v1beta1" :> (Capture "parent" Text :> ("domains" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Domain :> Post '[JSON] Domain)))))))))
- sitesDomainsCreate :: Text -> Domain -> SitesDomainsCreate
- data SitesDomainsCreate
- sdcParent :: Lens' SitesDomainsCreate Text
- sdcXgafv :: Lens' SitesDomainsCreate (Maybe Xgafv)
- sdcUploadProtocol :: Lens' SitesDomainsCreate (Maybe Text)
- sdcAccessToken :: Lens' SitesDomainsCreate (Maybe Text)
- sdcUploadType :: Lens' SitesDomainsCreate (Maybe Text)
- sdcPayload :: Lens' SitesDomainsCreate Domain
- sdcCallback :: Lens' SitesDomainsCreate (Maybe Text)
REST Resource
type SitesDomainsCreateResource = "v1beta1" :> (Capture "parent" Text :> ("domains" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Domain :> Post '[JSON] Domain))))))))) Source #
A resource alias for firebasehosting.sites.domains.create
method which the
SitesDomainsCreate
request conforms to.
Creating a Request
Creates a value of SitesDomainsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesDomainsCreate Source #
Creates a domain mapping on the specified site.
See: sitesDomainsCreate
smart constructor.
Instances
Request Lenses
sdcParent :: Lens' SitesDomainsCreate Text Source #
Required. The parent to create the domain association for, in the format: 'sites\/site-name'
sdcUploadProtocol :: Lens' SitesDomainsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sdcAccessToken :: Lens' SitesDomainsCreate (Maybe Text) Source #
OAuth access token.
sdcUploadType :: Lens' SitesDomainsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sdcPayload :: Lens' SitesDomainsCreate Domain Source #
Multipart request metadata.
sdcCallback :: Lens' SitesDomainsCreate (Maybe Text) Source #
JSONP