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 |
List `Ruleset` metadata only and optionally filter the results by `Ruleset` name. The full `Source` contents of a `Ruleset` may be retrieved with GetRuleset.
See: Firebase Rules API Reference for firebaserules.projects.rulesets.list
.
Synopsis
- type ProjectsRulesetsListResource = "v1" :> (Capture "name" Text :> ("rulesets" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListRulesetsResponse)))))))))))
- projectsRulesetsList :: Text -> ProjectsRulesetsList
- data ProjectsRulesetsList
- prlXgafv :: Lens' ProjectsRulesetsList (Maybe Xgafv)
- prlUploadProtocol :: Lens' ProjectsRulesetsList (Maybe Text)
- prlAccessToken :: Lens' ProjectsRulesetsList (Maybe Text)
- prlUploadType :: Lens' ProjectsRulesetsList (Maybe Text)
- prlName :: Lens' ProjectsRulesetsList Text
- prlFilter :: Lens' ProjectsRulesetsList (Maybe Text)
- prlPageToken :: Lens' ProjectsRulesetsList (Maybe Text)
- prlPageSize :: Lens' ProjectsRulesetsList (Maybe Int32)
- prlCallback :: Lens' ProjectsRulesetsList (Maybe Text)
REST Resource
type ProjectsRulesetsListResource = "v1" :> (Capture "name" Text :> ("rulesets" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListRulesetsResponse))))))))))) Source #
A resource alias for firebaserules.projects.rulesets.list
method which the
ProjectsRulesetsList
request conforms to.
Creating a Request
Creates a value of ProjectsRulesetsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRulesetsList Source #
List `Ruleset` metadata only and optionally filter the results by `Ruleset` name. The full `Source` contents of a `Ruleset` may be retrieved with GetRuleset.
See: projectsRulesetsList
smart constructor.
Instances
Request Lenses
prlUploadProtocol :: Lens' ProjectsRulesetsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prlAccessToken :: Lens' ProjectsRulesetsList (Maybe Text) Source #
OAuth access token.
prlUploadType :: Lens' ProjectsRulesetsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prlName :: Lens' ProjectsRulesetsList Text Source #
Resource name for the project. Format: `projects/{project_id}`
prlFilter :: Lens' ProjectsRulesetsList (Maybe Text) Source #
`Ruleset` filter. The list method supports filters with restrictions on `Ruleset.name`. Filters on `Ruleset.create_time` should use the `date` function which parses strings that conform to the RFC 3339 date/time specifications. Example: `create_time > date("2017-01-01") AND name=UUID-*`
prlPageToken :: Lens' ProjectsRulesetsList (Maybe Text) Source #
Next page token for loading the next batch of `Ruleset` instances.
prlPageSize :: Lens' ProjectsRulesetsList (Maybe Int32) Source #
Page size to load. Maximum of 100. Defaults to 10. Note: `page_size` is just a hint and the service may choose to load less than `page_size` due to the size of the output. To traverse all of the releases, caller should iterate until the `page_token` is empty.
prlCallback :: Lens' ProjectsRulesetsList (Maybe Text) Source #
JSONP