gogol-firebase-rules-0.4.0: Google Firebase Rules SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.FirebaseRules.Projects.Releases.List

Contents

Description

List the `Release` values for a project. This list may optionally be filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any combination thereof.

See: Firebase Rules API Reference for firebaserules.projects.releases.list.

Synopsis

REST Resource

type ProjectsReleasesListResource = "v1" :> (Capture "name" Text :> ("releases" :> (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] ListReleasesResponse))))))))))) Source #

A resource alias for firebaserules.projects.releases.list method which the ProjectsReleasesList request conforms to.

Creating a Request

projectsReleasesList Source #

Creates a value of ProjectsReleasesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsReleasesList Source #

List the `Release` values for a project. This list may optionally be filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any combination thereof.

See: projectsReleasesList smart constructor.

Instances
Eq ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

Data ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsReleasesList -> c ProjectsReleasesList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsReleasesList #

toConstr :: ProjectsReleasesList -> Constr #

dataTypeOf :: ProjectsReleasesList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsReleasesList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsReleasesList) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsReleasesList -> ProjectsReleasesList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsReleasesList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsReleasesList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsReleasesList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsReleasesList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsReleasesList -> m ProjectsReleasesList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsReleasesList -> m ProjectsReleasesList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsReleasesList -> m ProjectsReleasesList #

Show ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

Generic ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

Associated Types

type Rep ProjectsReleasesList :: Type -> Type #

GoogleRequest ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

Associated Types

type Rs ProjectsReleasesList :: Type #

type Scopes ProjectsReleasesList :: [Symbol] #

type Rep ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

type Rep ProjectsReleasesList = D1 (MetaData "ProjectsReleasesList" "Network.Google.Resource.FirebaseRules.Projects.Releases.List" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ProjectsReleasesList'" PrefixI True) (((S1 (MetaSel (Just "_prlrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prlrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prlrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prlrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prlrName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prlrFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prlrPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prlrPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prlrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

type Scopes ProjectsReleasesList = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/firebase" ': ("https://www.googleapis.com/auth/firebase.readonly" ': ([] :: [Symbol])))
type Rs ProjectsReleasesList Source # 
Instance details

Defined in Network.Google.Resource.FirebaseRules.Projects.Releases.List

Request Lenses

prlrUploadProtocol :: Lens' ProjectsReleasesList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

prlrUploadType :: Lens' ProjectsReleasesList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

prlrName :: Lens' ProjectsReleasesList Text Source #

Resource name for the project. Format: `projects/{project_id}`

prlrFilter :: Lens' ProjectsReleasesList (Maybe Text) Source #

`Release` filter. The list method supports filters with restrictions on the `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`. Example 1: A filter of 'name=prod*' might return `Release`s with names within 'projects/foo' prefixed with 'prod': Name | Ruleset Name ------------------------------|------------- projects/foo/releases/prod | projects/foo/rulesets/uuid1234 projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234 projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888 Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only `Release` instances for 'projects/foo' with names prefixed with 'prod' referring to the same `Ruleset` name of 'uuid1234': Name | Ruleset Name ------------------------------|------------- projects/foo/releases/prod | projects/foo/rulesets/1234 projects/foo/releases/prod/v1 | projects/foo/rulesets/1234 In the examples, the filter parameters refer to the search filters are relative to the project. Fully qualified prefixed may also be used. e.g. `test_suite_name=projects/foo/testsuites/uuid1`

prlrPageToken :: Lens' ProjectsReleasesList (Maybe Text) Source #

Next page token for the next batch of `Release` instances.

prlrPageSize :: Lens' ProjectsReleasesList (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 fewer than `page_size` results due to the size of the output. To traverse all of the releases, the caller should iterate until the `page_token` on the response is empty.