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 `Ruleset` by resource name. If the `Ruleset` is referenced by a `Release` the operation will fail.
See: Firebase Rules API Reference for firebaserules.projects.rulesets.delete
.
Synopsis
- type ProjectsRulesetsDeleteResource = "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)))))))
- projectsRulesetsDelete :: Text -> ProjectsRulesetsDelete
- data ProjectsRulesetsDelete
- proXgafv :: Lens' ProjectsRulesetsDelete (Maybe Xgafv)
- proUploadProtocol :: Lens' ProjectsRulesetsDelete (Maybe Text)
- proAccessToken :: Lens' ProjectsRulesetsDelete (Maybe Text)
- proUploadType :: Lens' ProjectsRulesetsDelete (Maybe Text)
- proName :: Lens' ProjectsRulesetsDelete Text
- proCallback :: Lens' ProjectsRulesetsDelete (Maybe Text)
REST Resource
type ProjectsRulesetsDeleteResource = "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.rulesets.delete
method which the
ProjectsRulesetsDelete
request conforms to.
Creating a Request
projectsRulesetsDelete Source #
Creates a value of ProjectsRulesetsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRulesetsDelete Source #
Delete a `Ruleset` by resource name. If the `Ruleset` is referenced by a `Release` the operation will fail.
See: projectsRulesetsDelete
smart constructor.
Instances
Request Lenses
proUploadProtocol :: Lens' ProjectsRulesetsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
proAccessToken :: Lens' ProjectsRulesetsDelete (Maybe Text) Source #
OAuth access token.
proUploadType :: Lens' ProjectsRulesetsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
proName :: Lens' ProjectsRulesetsDelete Text Source #
Resource name for the ruleset to delete. Format: `projects/{project_id}/rulesets/{ruleset_id}`
proCallback :: Lens' ProjectsRulesetsDelete (Maybe Text) Source #
JSONP