gogol-firebase-rules-0.3.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.FirebaseRules

Contents

Description

Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.

See: Firebase Rules API Reference

Synopsis

Service Configuration

firebaseRulesService :: ServiceConfig #

Default request referring to version v1 of the Firebase Rules API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

firebaseScope :: Proxy '["https://www.googleapis.com/auth/firebase"] #

View and administer all your Firebase data and settings

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] #

View and manage your data across Google Cloud Platform services

firebaseReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/firebase.readonly"] #

View all your Firebase data and settings

API Declaration

Resources

firebaserules.projects.releases.create

firebaserules.projects.releases.delete

firebaserules.projects.releases.get

firebaserules.projects.releases.list

firebaserules.projects.releases.update

firebaserules.projects.rulesets.create

firebaserules.projects.rulesets.delete

firebaserules.projects.rulesets.get

firebaserules.projects.rulesets.list

firebaserules.projects.test

Types

SourcePosition

data SourcePosition #

Position in the `Source` content including its line, column number, and an index of the `File` in the `Source` message. Used for debug purposes.

See: sourcePosition smart constructor.

Instances

Eq SourcePosition # 
Data SourcePosition # 

Methods

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

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

toConstr :: SourcePosition -> Constr #

dataTypeOf :: SourcePosition -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SourcePosition # 
Generic SourcePosition # 

Associated Types

type Rep SourcePosition :: * -> * #

ToJSON SourcePosition # 
FromJSON SourcePosition # 
type Rep SourcePosition # 
type Rep SourcePosition = D1 (MetaData "SourcePosition" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "SourcePosition'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_spColumn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_spFileName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

sourcePosition :: SourcePosition #

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

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

spLine :: Lens' SourcePosition (Maybe Int32) #

Line number of the source fragment. 1-based.

spColumn :: Lens' SourcePosition (Maybe Int32) #

First column on the source line associated with the source fragment.

spFileName :: Lens' SourcePosition (Maybe Text) #

Name of the `File`.

Empty

data Empty #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances

Eq Empty # 

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty # 

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty # 
FromJSON Empty # 
type Rep Empty # 
type Rep Empty = D1 (MetaData "Empty" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty #

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

ListReleasesResponse

data ListReleasesResponse #

The response for FirebaseRulesService.ListReleases.

See: listReleasesResponse smart constructor.

Instances

Eq ListReleasesResponse # 
Data ListReleasesResponse # 

Methods

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

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

toConstr :: ListReleasesResponse -> Constr #

dataTypeOf :: ListReleasesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListReleasesResponse # 
Generic ListReleasesResponse # 
ToJSON ListReleasesResponse # 
FromJSON ListReleasesResponse # 
type Rep ListReleasesResponse # 
type Rep ListReleasesResponse = D1 (MetaData "ListReleasesResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "ListReleasesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrrReleases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Release])))))

listReleasesResponse :: ListReleasesResponse #

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

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

lrrNextPageToken :: Lens' ListReleasesResponse (Maybe Text) #

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

lrrReleases :: Lens' ListReleasesResponse [Release] #

List of `Release` instances.

TestRulesetResponse

data TestRulesetResponse #

The response for FirebaseRulesService.TestRuleset.

See: testRulesetResponse smart constructor.

Instances

Eq TestRulesetResponse # 
Data TestRulesetResponse # 

Methods

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

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

toConstr :: TestRulesetResponse -> Constr #

dataTypeOf :: TestRulesetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestRulesetResponse # 
Generic TestRulesetResponse # 
ToJSON TestRulesetResponse # 
FromJSON TestRulesetResponse # 
type Rep TestRulesetResponse # 
type Rep TestRulesetResponse = D1 (MetaData "TestRulesetResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" True) (C1 (MetaCons "TestRulesetResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_trrIssues") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Issue]))))

testRulesetResponse :: TestRulesetResponse #

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

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

trrIssues :: Lens' TestRulesetResponse [Issue] #

Syntactic and semantic `Source` issues of varying severity. Issues of `ERROR` severity will prevent tests from executing.

Release

data Release #

`Release` is a named reference to a `Ruleset`. Once a `Release` refers to a `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.

See: release smart constructor.

Instances

Eq Release # 

Methods

(==) :: Release -> Release -> Bool #

(/=) :: Release -> Release -> Bool #

Data Release # 

Methods

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

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

toConstr :: Release -> Constr #

dataTypeOf :: Release -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Release # 
Generic Release # 

Associated Types

type Rep Release :: * -> * #

Methods

from :: Release -> Rep Release x #

to :: Rep Release x -> Release #

ToJSON Release # 
FromJSON Release # 
type Rep Release # 
type Rep Release = D1 (MetaData "Release" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "Release'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rRulesetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) ((:*:) (S1 (MetaSel (Just Symbol "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))

release :: Release #

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

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

rRulesetName :: Lens' Release (Maybe Text) #

Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist the `Release` to be created.

rUpdateTime :: Lens' Release (Maybe UTCTime) #

Time the release was updated. 'OutputOnly

rName :: Lens' Release (Maybe Text) #

Resource name for the `Release`. `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` which affords developers a great deal of flexibility in mapping the name to the style that best fits their existing development practices. For example, a name could refer to an environment, an app, a version, or some combination of three. In the table below, for the project name `projects/foo`, the following relative release paths show how flat and structured names might be chosen to match a desired development / deployment strategy. Use Case | Flat Name | Structured Name -------------|---------------------|---------------- Environments | releases/qa | releases/qa Apps | releases/app1_qa | releases/app1/qa Versions | releases/app1_v2_qa | releases/app1/v2/qa The delimiter between the release name path elements can be almost anything and it should work equally well with the release name list filter, but in many ways the structured paths provide a clearer picture of the relationship between `Release` instances. Format: `projects/{project_id}/releases/{release_id}`

rCreateTime :: Lens' Release (Maybe UTCTime) #

Time the release was created. 'OutputOnly

Ruleset

data Ruleset #

`Ruleset` is an immutable copy of `Source` with a globally unique identifier and a creation time.

See: ruleset smart constructor.

Instances

Eq Ruleset # 

Methods

(==) :: Ruleset -> Ruleset -> Bool #

(/=) :: Ruleset -> Ruleset -> Bool #

Data Ruleset # 

Methods

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

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

toConstr :: Ruleset -> Constr #

dataTypeOf :: Ruleset -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Ruleset # 
Generic Ruleset # 

Associated Types

type Rep Ruleset :: * -> * #

Methods

from :: Ruleset -> Rep Ruleset x #

to :: Rep Ruleset x -> Ruleset #

ToJSON Ruleset # 
FromJSON Ruleset # 
type Rep Ruleset # 
type Rep Ruleset = D1 (MetaData "Ruleset" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "Ruleset'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rulName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rulSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Source))) (S1 (MetaSel (Just Symbol "_rulCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))

ruleset :: Ruleset #

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

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

rulName :: Lens' Ruleset (Maybe Text) #

Name of the `Ruleset`. The ruleset_id is auto generated by the service. Format: `projects/{project_id}/rulesets/{ruleset_id}` 'OutputOnly

rulSource :: Lens' Ruleset (Maybe Source) #

`Source` for the `Ruleset`.

rulCreateTime :: Lens' Ruleset (Maybe UTCTime) #

Time the `Ruleset` was created. 'OutputOnly

Xgafv

data Xgafv #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances

Enum Xgafv # 
Eq Xgafv # 

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv # 

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv # 

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv # 
Show Xgafv # 

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv # 
FromJSON Xgafv # 
FromHttpApiData Xgafv # 
ToHttpApiData Xgafv # 
type Rep Xgafv # 
type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) ((:+:) (C1 (MetaCons "X1" PrefixI False) U1) (C1 (MetaCons "X2" PrefixI False) U1))

IssueSeverity

data IssueSeverity #

The severity of the issue.

Constructors

SeverityUnspecified

SEVERITY_UNSPECIFIED An unspecified severity.

Deprecation

DEPRECATION Deprecation issue for statements and method that may no longer be supported or maintained.

Warning

WARNING Warnings such as: unused variables.

Error'

ERROR Errors such as: unmatched curly braces or variable redefinition.

Instances

Enum IssueSeverity # 
Eq IssueSeverity # 
Data IssueSeverity # 

Methods

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

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

toConstr :: IssueSeverity -> Constr #

dataTypeOf :: IssueSeverity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord IssueSeverity # 
Read IssueSeverity # 
Show IssueSeverity # 
Generic IssueSeverity # 

Associated Types

type Rep IssueSeverity :: * -> * #

Hashable IssueSeverity # 
ToJSON IssueSeverity # 
FromJSON IssueSeverity # 
FromHttpApiData IssueSeverity # 
ToHttpApiData IssueSeverity # 
type Rep IssueSeverity # 
type Rep IssueSeverity = D1 (MetaData "IssueSeverity" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) ((:+:) ((:+:) (C1 (MetaCons "SeverityUnspecified" PrefixI False) U1) (C1 (MetaCons "Deprecation" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Warning" PrefixI False) U1) (C1 (MetaCons "Error'" PrefixI False) U1)))

Source

data Source #

`Source` is one or more `File` messages comprising a logical set of rules.

See: source smart constructor.

Instances

Eq Source # 

Methods

(==) :: Source -> Source -> Bool #

(/=) :: Source -> Source -> Bool #

Data Source # 

Methods

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

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

toConstr :: Source -> Constr #

dataTypeOf :: Source -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Source # 
Generic Source # 

Associated Types

type Rep Source :: * -> * #

Methods

from :: Source -> Rep Source x #

to :: Rep Source x -> Source #

ToJSON Source # 
FromJSON Source # 
type Rep Source # 
type Rep Source = D1 (MetaData "Source" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" True) (C1 (MetaCons "Source'" PrefixI True) (S1 (MetaSel (Just Symbol "_sFiles") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [File]))))

source :: Source #

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

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

sFiles :: Lens' Source [File] #

`File` set constituting the `Source` bundle.

TestRulesetRequest

data TestRulesetRequest #

The request for FirebaseRulesService.TestRuleset.

See: testRulesetRequest smart constructor.

Instances

Eq TestRulesetRequest # 
Data TestRulesetRequest # 

Methods

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

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

toConstr :: TestRulesetRequest -> Constr #

dataTypeOf :: TestRulesetRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestRulesetRequest # 
Generic TestRulesetRequest # 
ToJSON TestRulesetRequest # 
FromJSON TestRulesetRequest # 
type Rep TestRulesetRequest # 
type Rep TestRulesetRequest = D1 (MetaData "TestRulesetRequest" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" True) (C1 (MetaCons "TestRulesetRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_trrSource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Source))))

testRulesetRequest :: TestRulesetRequest #

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

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

trrSource :: Lens' TestRulesetRequest (Maybe Source) #

`Source` to be checked for correctness.

File

data File #

`File` containing source content.

See: file smart constructor.

Instances

Eq File # 

Methods

(==) :: File -> File -> Bool #

(/=) :: File -> File -> Bool #

Data File # 

Methods

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

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

toConstr :: File -> Constr #

dataTypeOf :: File -> DataType #

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

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

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

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

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

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

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

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

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

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

Show File # 

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File # 

Associated Types

type Rep File :: * -> * #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

ToJSON File # 
FromJSON File # 
type Rep File # 
type Rep File = D1 (MetaData "File" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "File'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) ((:*:) (S1 (MetaSel (Just Symbol "_fContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

file :: File #

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

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

fFingerprint :: Lens' File (Maybe ByteString) #

Fingerprint (e.g. github sha) associated with the `File`.

fContent :: Lens' File (Maybe Text) #

Textual Content.

fName :: Lens' File (Maybe Text) #

File name.

ListRulesetsResponse

data ListRulesetsResponse #

The response for FirebaseRulesService.ListRulesets

See: listRulesetsResponse smart constructor.

Instances

Eq ListRulesetsResponse # 
Data ListRulesetsResponse # 

Methods

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

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

toConstr :: ListRulesetsResponse -> Constr #

dataTypeOf :: ListRulesetsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListRulesetsResponse # 
Generic ListRulesetsResponse # 
ToJSON ListRulesetsResponse # 
FromJSON ListRulesetsResponse # 
type Rep ListRulesetsResponse # 
type Rep ListRulesetsResponse = D1 (MetaData "ListRulesetsResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "ListRulesetsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lRulesets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Ruleset]))) (S1 (MetaSel (Just Symbol "_lNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

listRulesetsResponse :: ListRulesetsResponse #

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

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

lRulesets :: Lens' ListRulesetsResponse [Ruleset] #

List of `Ruleset` instances.

lNextPageToken :: Lens' ListRulesetsResponse (Maybe Text) #

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

Issue

data Issue #

Issues include warnings, errors, and deprecation notices.

See: issue smart constructor.

Instances

Eq Issue # 

Methods

(==) :: Issue -> Issue -> Bool #

(/=) :: Issue -> Issue -> Bool #

Data Issue # 

Methods

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

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

toConstr :: Issue -> Constr #

dataTypeOf :: Issue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Issue # 

Methods

showsPrec :: Int -> Issue -> ShowS #

show :: Issue -> String #

showList :: [Issue] -> ShowS #

Generic Issue # 

Associated Types

type Rep Issue :: * -> * #

Methods

from :: Issue -> Rep Issue x #

to :: Rep Issue x -> Issue #

ToJSON Issue # 
FromJSON Issue # 
type Rep Issue # 
type Rep Issue = D1 (MetaData "Issue" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-L7PYKAE9uhnJF0wNUwvLjm" False) (C1 (MetaCons "Issue'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_iSourcePosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourcePosition))) ((:*:) (S1 (MetaSel (Just Symbol "_iSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IssueSeverity))) (S1 (MetaSel (Just Symbol "_iDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

issue :: Issue #

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

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

iSourcePosition :: Lens' Issue (Maybe SourcePosition) #

Position of the issue in the `Source`.

iSeverity :: Lens' Issue (Maybe IssueSeverity) #

The severity of the issue.

iDescription :: Lens' Issue (Maybe Text) #

Short error description.