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 |
Get a `Ruleset` by name including the full `Source` contents.
See: Firebase Rules API Reference for firebaserules.projects.rulesets.get
.
Synopsis
- type ProjectsRulesetsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Ruleset)))))))
- projectsRulesetsGet :: Text -> ProjectsRulesetsGet
- data ProjectsRulesetsGet
- prgXgafv :: Lens' ProjectsRulesetsGet (Maybe Xgafv)
- prgUploadProtocol :: Lens' ProjectsRulesetsGet (Maybe Text)
- prgAccessToken :: Lens' ProjectsRulesetsGet (Maybe Text)
- prgUploadType :: Lens' ProjectsRulesetsGet (Maybe Text)
- prgName :: Lens' ProjectsRulesetsGet Text
- prgCallback :: Lens' ProjectsRulesetsGet (Maybe Text)
REST Resource
type ProjectsRulesetsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Ruleset))))))) Source #
A resource alias for firebaserules.projects.rulesets.get
method which the
ProjectsRulesetsGet
request conforms to.
Creating a Request
Creates a value of ProjectsRulesetsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRulesetsGet Source #
Get a `Ruleset` by name including the full `Source` contents.
See: projectsRulesetsGet
smart constructor.
Instances
Request Lenses
prgUploadProtocol :: Lens' ProjectsRulesetsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prgAccessToken :: Lens' ProjectsRulesetsGet (Maybe Text) Source #
OAuth access token.
prgUploadType :: Lens' ProjectsRulesetsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prgName :: Lens' ProjectsRulesetsGet Text Source #
Resource name for the ruleset to get. Format: `projects/{project_id}/rulesets/{ruleset_id}`
prgCallback :: Lens' ProjectsRulesetsGet (Maybe Text) Source #
JSONP