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 |
Updates the specified domain mapping, creating the mapping as if it does not exist.
See: Firebase Hosting API Reference for firebasehosting.sites.domains.update
.
Synopsis
- type SitesDomainsUpdateResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Domain :> Put '[JSON] Domain))))))))
- sitesDomainsUpdate :: Domain -> Text -> SitesDomainsUpdate
- data SitesDomainsUpdate
- sduXgafv :: Lens' SitesDomainsUpdate (Maybe Xgafv)
- sduUploadProtocol :: Lens' SitesDomainsUpdate (Maybe Text)
- sduAccessToken :: Lens' SitesDomainsUpdate (Maybe Text)
- sduUploadType :: Lens' SitesDomainsUpdate (Maybe Text)
- sduPayload :: Lens' SitesDomainsUpdate Domain
- sduName :: Lens' SitesDomainsUpdate Text
- sduCallback :: Lens' SitesDomainsUpdate (Maybe Text)
REST Resource
type SitesDomainsUpdateResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Domain :> Put '[JSON] Domain)))))))) Source #
A resource alias for firebasehosting.sites.domains.update
method which the
SitesDomainsUpdate
request conforms to.
Creating a Request
Creates a value of SitesDomainsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesDomainsUpdate Source #
Updates the specified domain mapping, creating the mapping as if it does not exist.
See: sitesDomainsUpdate
smart constructor.
Instances
Request Lenses
sduUploadProtocol :: Lens' SitesDomainsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sduAccessToken :: Lens' SitesDomainsUpdate (Maybe Text) Source #
OAuth access token.
sduUploadType :: Lens' SitesDomainsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sduPayload :: Lens' SitesDomainsUpdate Domain Source #
Multipart request metadata.
sduName :: Lens' SitesDomainsUpdate Text Source #
Required. The name of the domain association to update or create, if an association doesn't already exist.
sduCallback :: Lens' SitesDomainsUpdate (Maybe Text) Source #
JSONP