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 |
Delete a `Release` by resource name.
See: Firebase Rules API Reference for firebaserules.projects.releases.delete
.
Synopsis
- type ProjectsReleasesDeleteResource = "v1" :> (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)))))))
- projectsReleasesDelete :: Text -> ProjectsReleasesDelete
- data ProjectsReleasesDelete
- prdXgafv :: Lens' ProjectsReleasesDelete (Maybe Xgafv)
- prdUploadProtocol :: Lens' ProjectsReleasesDelete (Maybe Text)
- prdAccessToken :: Lens' ProjectsReleasesDelete (Maybe Text)
- prdUploadType :: Lens' ProjectsReleasesDelete (Maybe Text)
- prdName :: Lens' ProjectsReleasesDelete Text
- prdCallback :: Lens' ProjectsReleasesDelete (Maybe Text)
REST Resource
type ProjectsReleasesDeleteResource = "v1" :> (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 firebaserules.projects.releases.delete
method which the
ProjectsReleasesDelete
request conforms to.
Creating a Request
projectsReleasesDelete Source #
Creates a value of ProjectsReleasesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsReleasesDelete Source #
Delete a `Release` by resource name.
See: projectsReleasesDelete
smart constructor.
Instances
Request Lenses
prdUploadProtocol :: Lens' ProjectsReleasesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prdAccessToken :: Lens' ProjectsReleasesDelete (Maybe Text) Source #
OAuth access token.
prdUploadType :: Lens' ProjectsReleasesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prdName :: Lens' ProjectsReleasesDelete Text Source #
Resource name for the `Release` to delete. Format: `projects/{project_id}/releases/{release_id}`
prdCallback :: Lens' ProjectsReleasesDelete (Maybe Text) Source #
JSONP