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.Types

Contents

Description

 

Synopsis

Service Configuration

firebaseRulesService :: ServiceConfig Source #

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"] Source #

View and administer all your Firebase data and settings

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

View and manage your data across Google Cloud Platform services

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

View all your Firebase data and settings

SourcePosition

data SourcePosition Source #

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 Source # 
Data SourcePosition Source # 

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 Source # 
Generic SourcePosition Source # 

Associated Types

type Rep SourcePosition :: * -> * #

ToJSON SourcePosition Source # 
FromJSON SourcePosition Source # 
type Rep SourcePosition Source # 
type Rep SourcePosition = D1 (MetaData "SourcePosition" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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) Source #

Line number of the source fragment. 1-based.

spColumn :: Lens' SourcePosition (Maybe Int32) Source #

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

spFileName :: Lens' SourcePosition (Maybe Text) Source #

Name of the `File`.

Empty

data Empty Source #

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 Source # 

Methods

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

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

Data Empty Source # 

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 Source # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

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

empty :: Empty Source #

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

ListReleasesResponse

data ListReleasesResponse Source #

The response for FirebaseRulesService.ListReleases.

See: listReleasesResponse smart constructor.

Instances

Eq ListReleasesResponse Source # 
Data ListReleasesResponse Source # 

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 Source # 
Generic ListReleasesResponse Source # 
ToJSON ListReleasesResponse Source # 
FromJSON ListReleasesResponse Source # 
type Rep ListReleasesResponse Source # 
type Rep ListReleasesResponse = D1 (MetaData "ListReleasesResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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) Source #

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

lrrReleases :: Lens' ListReleasesResponse [Release] Source #

List of `Release` instances.

TestRulesetResponse

data TestRulesetResponse Source #

The response for FirebaseRulesService.TestRuleset.

See: testRulesetResponse smart constructor.

Instances

Eq TestRulesetResponse Source # 
Data TestRulesetResponse Source # 

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 Source # 
Generic TestRulesetResponse Source # 
ToJSON TestRulesetResponse Source # 
FromJSON TestRulesetResponse Source # 
type Rep TestRulesetResponse Source # 
type Rep TestRulesetResponse = D1 (MetaData "TestRulesetResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" True) (C1 (MetaCons "TestRulesetResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_trrIssues") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Issue]))))

testRulesetResponse :: TestRulesetResponse Source #

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] Source #

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

Release

data Release Source #

`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 Source # 

Methods

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

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

Data Release Source # 

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 Source # 
Generic Release Source # 

Associated Types

type Rep Release :: * -> * #

Methods

from :: Release -> Rep Release x #

to :: Rep Release x -> Release #

ToJSON Release Source # 
FromJSON Release Source # 
type Rep Release Source # 
type Rep Release = D1 (MetaData "Release" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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) Source #

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

rUpdateTime :: Lens' Release (Maybe UTCTime) Source #

Time the release was updated. 'OutputOnly

rName :: Lens' Release (Maybe Text) Source #

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) Source #

Time the release was created. 'OutputOnly

Ruleset

data Ruleset Source #

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

See: ruleset smart constructor.

Instances

Eq Ruleset Source # 

Methods

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

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

Data Ruleset Source # 

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 Source # 
Generic Ruleset Source # 

Associated Types

type Rep Ruleset :: * -> * #

Methods

from :: Ruleset -> Rep Ruleset x #

to :: Rep Ruleset x -> Ruleset #

ToJSON Ruleset Source # 
FromJSON Ruleset Source # 
type Rep Ruleset Source # 
type Rep Ruleset = D1 (MetaData "Ruleset" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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) Source #

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 #

`Source` for the `Ruleset`.

rulCreateTime :: Lens' Ruleset (Maybe UTCTime) Source #

Time the `Ruleset` was created. 'OutputOnly

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances

Enum Xgafv Source # 
Eq Xgafv Source # 

Methods

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

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

Data Xgafv Source # 

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 Source # 

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 Source # 
Show Xgafv Source # 

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 

Associated Types

type Rep Xgafv :: * -> * #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

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

IssueSeverity

data IssueSeverity Source #

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 Source # 
Eq IssueSeverity Source # 
Data IssueSeverity Source # 

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 Source # 
Read IssueSeverity Source # 
Show IssueSeverity Source # 
Generic IssueSeverity Source # 

Associated Types

type Rep IssueSeverity :: * -> * #

Hashable IssueSeverity Source # 
ToJSON IssueSeverity Source # 
FromJSON IssueSeverity Source # 
FromHttpApiData IssueSeverity Source # 
ToHttpApiData IssueSeverity Source # 
type Rep IssueSeverity Source # 
type Rep IssueSeverity = D1 (MetaData "IssueSeverity" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 #

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

See: source smart constructor.

Instances

Eq Source Source # 

Methods

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

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

Data Source 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 Source # 
Generic Source Source # 

Associated Types

type Rep Source :: * -> * #

Methods

from :: Source -> Rep Source x #

to :: Rep Source x -> Source #

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

source :: 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] Source #

`File` set constituting the `Source` bundle.

TestRulesetRequest

data TestRulesetRequest Source #

The request for FirebaseRulesService.TestRuleset.

See: testRulesetRequest smart constructor.

Instances

Eq TestRulesetRequest Source # 
Data TestRulesetRequest Source # 

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 Source # 
Generic TestRulesetRequest Source # 
ToJSON TestRulesetRequest Source # 
FromJSON TestRulesetRequest Source # 
type Rep TestRulesetRequest Source # 
type Rep TestRulesetRequest = D1 (MetaData "TestRulesetRequest" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" True) (C1 (MetaCons "TestRulesetRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_trrSource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Source))))

testRulesetRequest :: TestRulesetRequest Source #

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 #

`Source` to be checked for correctness.

File

data File Source #

`File` containing source content.

See: file smart constructor.

Instances

Eq File Source # 

Methods

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

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

Data File Source # 

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 Source # 

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File Source # 

Associated Types

type Rep File :: * -> * #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

ToJSON File Source # 
FromJSON File Source # 
type Rep File Source # 
type Rep File = D1 (MetaData "File" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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) Source #

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

fContent :: Lens' File (Maybe Text) Source #

Textual Content.

fName :: Lens' File (Maybe Text) Source #

File name.

ListRulesetsResponse

data ListRulesetsResponse Source #

The response for FirebaseRulesService.ListRulesets

See: listRulesetsResponse smart constructor.

Instances

Eq ListRulesetsResponse Source # 
Data ListRulesetsResponse Source # 

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 Source # 
Generic ListRulesetsResponse Source # 
ToJSON ListRulesetsResponse Source # 
FromJSON ListRulesetsResponse Source # 
type Rep ListRulesetsResponse Source # 
type Rep ListRulesetsResponse = D1 (MetaData "ListRulesetsResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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] Source #

List of `Ruleset` instances.

lNextPageToken :: Lens' ListRulesetsResponse (Maybe Text) Source #

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

Issue

data Issue Source #

Issues include warnings, errors, and deprecation notices.

See: issue smart constructor.

Instances

Eq Issue Source # 

Methods

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

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

Data Issue Source # 

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 Source # 

Methods

showsPrec :: Int -> Issue -> ShowS #

show :: Issue -> String #

showList :: [Issue] -> ShowS #

Generic Issue Source # 

Associated Types

type Rep Issue :: * -> * #

Methods

from :: Issue -> Rep Issue x #

to :: Rep Issue x -> Issue #

ToJSON Issue Source # 
FromJSON Issue Source # 
type Rep Issue Source # 
type Rep Issue = D1 (MetaData "Issue" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.3.0-249yplyRvbK7cPXV1j8kPD" 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 Source #

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) Source #

Position of the issue in the `Source`.

iSeverity :: Lens' Issue (Maybe IssueSeverity) Source #

The severity of the issue.

iDescription :: Lens' Issue (Maybe Text) Source #

Short error description.