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 |
Deletes the specified version.
See: Firebase Hosting API Reference for firebasehosting.sites.versions.delete
.
Synopsis
- type SitesVersionsDeleteResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- sitesVersionsDelete :: Text -> SitesVersionsDelete
- data SitesVersionsDelete
- svdXgafv :: Lens' SitesVersionsDelete (Maybe Xgafv)
- svdUploadProtocol :: Lens' SitesVersionsDelete (Maybe Text)
- svdAccessToken :: Lens' SitesVersionsDelete (Maybe Text)
- svdUploadType :: Lens' SitesVersionsDelete (Maybe Text)
- svdName :: Lens' SitesVersionsDelete Text
- svdCallback :: Lens' SitesVersionsDelete (Maybe Text)
REST Resource
type SitesVersionsDeleteResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for firebasehosting.sites.versions.delete
method which the
SitesVersionsDelete
request conforms to.
Creating a Request
Creates a value of SitesVersionsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesVersionsDelete Source #
Deletes the specified version.
See: sitesVersionsDelete
smart constructor.
Instances
Request Lenses
svdUploadProtocol :: Lens' SitesVersionsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svdAccessToken :: Lens' SitesVersionsDelete (Maybe Text) Source #
OAuth access token.
svdUploadType :: Lens' SitesVersionsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svdName :: Lens' SitesVersionsDelete Text Source #
Required. The name of the version to be deleted, in the format: 'sites\/site-name\/versions\/versionID'
svdCallback :: Lens' SitesVersionsDelete (Maybe Text) Source #
JSONP