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.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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data SourcePosition Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic SourcePosition Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep SourcePosition :: Type -> Type #

ToJSON SourcePosition Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON SourcePosition Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep SourcePosition Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep SourcePosition = D1 (MetaData "SourcePosition" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "SourcePosition'" PrefixI True) (S1 (MetaSel (Just "_spLine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_spColumn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_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`.

TestCase

data TestCase Source #

`TestCase` messages provide the request context and an expectation as to whether the given context will be allowed or denied. Test cases may specify the `request`, `resource`, and `function_mocks` to mock a function call to a service-provided function. The `request` object represents context present at request-time. The `resource` is the value of the target resource as it appears in persistent storage before the request is executed.

See: testCase smart constructor.

Instances
Eq TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: TestCase -> Constr #

dataTypeOf :: TestCase -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep TestCase :: Type -> Type #

Methods

from :: TestCase -> Rep TestCase x #

to :: Rep TestCase x -> TestCase #

ToJSON TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestCase Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestCase = D1 (MetaData "TestCase" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "TestCase'" PrefixI True) ((S1 (MetaSel (Just "_tcResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue)) :*: S1 (MetaSel (Just "_tcExpectation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TestCaseExpectation))) :*: (S1 (MetaSel (Just "_tcFunctionMocks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FunctionMock])) :*: S1 (MetaSel (Just "_tcRequest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue)))))

testCase :: TestCase Source #

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

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

tcResource :: Lens' TestCase (Maybe JSONValue) Source #

Optional resource value as it appears in persistent storage before the request is fulfilled. The resource type depends on the `request.path` value.

tcFunctionMocks :: Lens' TestCase [FunctionMock] Source #

Optional function mocks for service-defined functions. If not set, any service defined function is expected to return an error, which may or may not influence the test outcome.

tcRequest :: Lens' TestCase (Maybe JSONValue) Source #

Request context. The exact format of the request context is service-dependent. See the appropriate service documentation for information about the supported fields and types on the request. Minimally, all services support the following fields and types: Request field | Type ---------------|----------------- auth.uid | `string` auth.token | `map` headers | `map` method | `string` params | `map` path | `string` time | `google.protobuf.Timestamp` If the request value is not well-formed for the service, the request will be rejected as an invalid argument.

VisitedExpression

data VisitedExpression Source #

Store the position and access outcome for an expression visited in rules.

See: visitedExpression smart constructor.

Instances
Eq VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: VisitedExpression -> Constr #

dataTypeOf :: VisitedExpression -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep VisitedExpression :: Type -> Type #

ToJSON VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep VisitedExpression Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep VisitedExpression = D1 (MetaData "VisitedExpression" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "VisitedExpression'" PrefixI True) (S1 (MetaSel (Just "_veSourcePosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourcePosition)) :*: S1 (MetaSel (Just "_veValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue))))

visitedExpression :: VisitedExpression Source #

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

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

veSourcePosition :: Lens' VisitedExpression (Maybe SourcePosition) Source #

Position in the `Source` or `Ruleset` where an expression was visited.

veValue :: Lens' VisitedExpression (Maybe JSONValue) Source #

The evaluated value for the visited expression, e.g. true/false

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

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

FunctionMock

data FunctionMock Source #

Mock function definition. Mocks must refer to a function declared by the target service. The type of the function args and result will be inferred at test time. If either the arg or result values are not compatible with function type declaration, the request will be considered invalid. More than one `FunctionMock` may be provided for a given function name so long as the `Arg` matchers are distinct. There may be only one function for a given overload where all `Arg` values are `Arg.any_value`.

See: functionMock smart constructor.

Instances
Eq FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: FunctionMock -> Constr #

dataTypeOf :: FunctionMock -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep FunctionMock :: Type -> Type #

ToJSON FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep FunctionMock Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep FunctionMock = D1 (MetaData "FunctionMock" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "FunctionMock'" PrefixI True) (S1 (MetaSel (Just "_fmArgs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Arg])) :*: (S1 (MetaSel (Just "_fmFunction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fmResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Result)))))

functionMock :: FunctionMock Source #

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

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

fmArgs :: Lens' FunctionMock [Arg] Source #

The list of `Arg` values to match. The order in which the arguments are provided is the order in which they must appear in the function invocation.

fmFunction :: Lens' FunctionMock (Maybe Text) Source #

The name of the function. The function name must match one provided by a service declaration.

fmResult :: Lens' FunctionMock (Maybe Result) Source #

The mock result of the function call.

TestResultState

data TestResultState Source #

State of the test.

Constructors

StateUnspecified

STATE_UNSPECIFIED Test state is not set.

Success

SUCCESS Test is a success.

Failure

FAILURE Test is a failure.

Instances
Enum TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Eq TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Data TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

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

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

toConstr :: TestResultState -> Constr #

dataTypeOf :: TestResultState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Read TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Show TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Generic TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Associated Types

type Rep TestResultState :: Type -> Type #

Hashable TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToJSON TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromJSON TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromHttpApiData TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToHttpApiData TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep TestResultState Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep TestResultState = D1 (MetaData "TestResultState" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Success" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Failure" PrefixI False) (U1 :: Type -> Type)))

FunctionCall

data FunctionCall Source #

Represents a service-defined function call that was invoked during test execution.

See: functionCall smart constructor.

Instances
Eq FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: FunctionCall -> Constr #

dataTypeOf :: FunctionCall -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep FunctionCall :: Type -> Type #

ToJSON FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep FunctionCall Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep FunctionCall = D1 (MetaData "FunctionCall" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "FunctionCall'" PrefixI True) (S1 (MetaSel (Just "_fcArgs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JSONValue])) :*: S1 (MetaSel (Just "_fcFunction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

functionCall :: FunctionCall Source #

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

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

fcArgs :: Lens' FunctionCall [JSONValue] Source #

The arguments that were provided to the function.

fcFunction :: Lens' FunctionCall (Maybe Text) Source #

Name of the function invoked.

ListReleasesResponse

data ListReleasesResponse Source #

The response for FirebaseRulesService.ListReleases.

See: listReleasesResponse smart constructor.

Instances
Eq ListReleasesResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data ListReleasesResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic ListReleasesResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep ListReleasesResponse :: Type -> Type #

ToJSON ListReleasesResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON ListReleasesResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep ListReleasesResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep ListReleasesResponse = D1 (MetaData "ListReleasesResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ListReleasesResponse'" PrefixI True) (S1 (MetaSel (Just "_lrrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.

Result

data Result Source #

Possible result values from the function mock invocation.

See: result smart constructor.

Instances
Eq Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: Result -> Constr #

dataTypeOf :: Result -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Result :: Type -> Type #

Methods

from :: Result -> Rep Result x #

to :: Rep Result x -> Result #

ToJSON Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Result Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Result = D1 (MetaData "Result" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "Result'" PrefixI True) (S1 (MetaSel (Just "_rValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue)) :*: S1 (MetaSel (Just "_rUndefined") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Empty))))

result :: Result Source #

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

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

rValue :: Lens' Result (Maybe JSONValue) Source #

The result is an actual value. The type of the value must match that of the type declared by the service.

rUndefined :: Lens' Result (Maybe Empty) Source #

The result is undefined, meaning the result could not be computed.

TestRulesetResponse

data TestRulesetResponse Source #

The response for FirebaseRulesService.TestRuleset.

See: testRulesetResponse smart constructor.

Instances
Eq TestRulesetResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data TestRulesetResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic TestRulesetResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep TestRulesetResponse :: Type -> Type #

ToJSON TestRulesetResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON TestRulesetResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestRulesetResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestRulesetResponse = D1 (MetaData "TestRulesetResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "TestRulesetResponse'" PrefixI True) (S1 (MetaSel (Just "_trrTestResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TestResult])) :*: S1 (MetaSel (Just "_trrIssues") NoSourceUnpackedness SourceStrict DecidedStrict) (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:

trrTestResults :: Lens' TestRulesetResponse [TestResult] Source #

The set of test results given the test cases in the `TestSuite`. The results will appear in the same order as the test cases appear in the `TestSuite`.

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Release Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic Release Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Release :: Type -> Type #

Methods

from :: Release -> Rep Release x #

to :: Rep Release x -> Release #

ToJSON Release Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Release Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Release Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Release = D1 (MetaData "Release" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "Release'" PrefixI True) ((S1 (MetaSel (Just "_rRulesetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_rName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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. Output only.

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. Output only.

Arg

data Arg Source #

Arg matchers for the mock function.

See: arg smart constructor.

Instances
Eq Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: Arg -> Constr #

dataTypeOf :: Arg -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

showsPrec :: Int -> Arg -> ShowS #

show :: Arg -> String #

showList :: [Arg] -> ShowS #

Generic Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Arg :: Type -> Type #

Methods

from :: Arg -> Rep Arg x #

to :: Rep Arg x -> Arg #

ToJSON Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Arg Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Arg = D1 (MetaData "Arg" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "Arg'" PrefixI True) (S1 (MetaSel (Just "_aAnyValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Empty)) :*: S1 (MetaSel (Just "_aExactValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue))))

arg :: Arg Source #

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

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

aAnyValue :: Lens' Arg (Maybe Empty) Source #

Argument matches any value provided.

aExactValue :: Lens' Arg (Maybe JSONValue) Source #

Argument exactly matches value provided.

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Ruleset Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic Ruleset Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Ruleset :: Type -> Type #

Methods

from :: Ruleset -> Rep Ruleset x #

to :: Rep Ruleset x -> Ruleset #

ToJSON Ruleset Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Ruleset Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Ruleset Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Ruleset = D1 (MetaData "Ruleset" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "Ruleset'" PrefixI True) (S1 (MetaSel (Just "_rulName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rulSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Source)) :*: S1 (MetaSel (Just "_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}` Output only.

rulSource :: Lens' Ruleset (Maybe Source) Source #

`Source` for the `Ruleset`.

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

Time the `Ruleset` was created. Output only.

GetReleaseExecutableResponse

data GetReleaseExecutableResponse Source #

The response for FirebaseRulesService.GetReleaseExecutable

See: getReleaseExecutableResponse smart constructor.

Instances
Eq GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: GetReleaseExecutableResponse -> Constr #

dataTypeOf :: GetReleaseExecutableResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep GetReleaseExecutableResponse :: Type -> Type #

ToJSON GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep GetReleaseExecutableResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep GetReleaseExecutableResponse = D1 (MetaData "GetReleaseExecutableResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "GetReleaseExecutableResponse'" PrefixI True) ((S1 (MetaSel (Just "_grerExecutable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_grerRulesetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_grerUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: (S1 (MetaSel (Just "_grerSyncTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_grerExecutableVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GetReleaseExecutableResponseExecutableVersion)) :*: S1 (MetaSel (Just "_grerLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GetReleaseExecutableResponseLanguage))))))

getReleaseExecutableResponse :: GetReleaseExecutableResponse Source #

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

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

grerExecutable :: Lens' GetReleaseExecutableResponse (Maybe ByteString) Source #

Executable view of the `Ruleset` referenced by the `Release`.

grerRulesetName :: Lens' GetReleaseExecutableResponse (Maybe Text) Source #

`Ruleset` name associated with the `Release` executable.

grerUpdateTime :: Lens' GetReleaseExecutableResponse (Maybe UTCTime) Source #

Timestamp for the most recent `Release.update_time`.

grerSyncTime :: Lens' GetReleaseExecutableResponse (Maybe UTCTime) Source #

Optional, indicates the freshness of the result. The response is guaranteed to be the latest within an interval up to the sync_time (inclusive).

TestResult

data TestResult Source #

Test result message containing the state of the test as well as a description and source position for test failures.

See: testResult smart constructor.

Instances
Eq TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: TestResult -> Constr #

dataTypeOf :: TestResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep TestResult :: Type -> Type #

ToJSON TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestResult Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestResult = D1 (MetaData "TestResult" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "TestResult'" PrefixI True) ((S1 (MetaSel (Just "_trState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TestResultState)) :*: S1 (MetaSel (Just "_trFunctionCalls") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FunctionCall]))) :*: (S1 (MetaSel (Just "_trVisitedExpressions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [VisitedExpression])) :*: (S1 (MetaSel (Just "_trErrorPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourcePosition)) :*: S1 (MetaSel (Just "_trDebugMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

testResult :: TestResult Source #

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

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

trFunctionCalls :: Lens' TestResult [FunctionCall] Source #

The set of function calls made to service-defined methods. Function calls are included in the order in which they are encountered during evaluation, are provided for both mocked and unmocked functions, and included on the response regardless of the test `state`.

trVisitedExpressions :: Lens' TestResult [VisitedExpression] Source #

The set of visited expressions for a given test. This returns positions and evaluation results of all visited expressions.

trErrorPosition :: Lens' TestResult (Maybe SourcePosition) Source #

Position in the `Source` or `Ruleset` where the principle runtime error occurs. Evaluation of an expression may result in an error. Rules are deny by default, so a `DENY` expectation when an error is generated is valid. When there is a `DENY` with an error, the `SourcePosition` is returned. E.g. `error_position { line: 19 column: 37 }`

trDebugMessages :: Lens' TestResult [Text] Source #

Debug messages related to test execution issues encountered during evaluation. Debug messages may be related to too many or too few invocations of function mocks or to runtime errors that occur during evaluation. For example: ```Unable to read variable [name: "resource"]```

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

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

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

Data Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Eq IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Data IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Read IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Show IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Generic IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Associated Types

type Rep IssueSeverity :: Type -> Type #

Hashable IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToJSON IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromJSON IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromHttpApiData IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToHttpApiData IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep IssueSeverity Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep IssueSeverity = D1 (MetaData "IssueSeverity" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) ((C1 (MetaCons "SeverityUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Deprecation" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Warning" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Error'" PrefixI False) (U1 :: Type -> Type)))

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Source Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic Source Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Source :: Type -> Type #

Methods

from :: Source -> Rep Source x #

to :: Rep Source x -> Source #

ToJSON Source Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Source Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Source Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Source = D1 (MetaData "Source" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" True) (C1 (MetaCons "Source'" PrefixI True) (S1 (MetaSel (Just "_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.

TestCaseExpectation

data TestCaseExpectation Source #

Test expectation.

Constructors

ExpectationUnspecified

EXPECTATION_UNSPECIFIED Unspecified expectation.

Allow

ALLOW Expect an allowed result.

Deny

DENY Expect a denied result.

Instances
Enum TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Eq TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Data TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

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

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

toConstr :: TestCaseExpectation -> Constr #

dataTypeOf :: TestCaseExpectation -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Read TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Show TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Generic TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Associated Types

type Rep TestCaseExpectation :: Type -> Type #

Hashable TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToJSON TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromJSON TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromHttpApiData TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToHttpApiData TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep TestCaseExpectation Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep TestCaseExpectation = D1 (MetaData "TestCaseExpectation" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ExpectationUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Allow" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Deny" PrefixI False) (U1 :: Type -> Type)))

TestSuite

data TestSuite Source #

`TestSuite` is a collection of `TestCase` instances that validate the logical correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within a `TestRuleset` invocation or as part of a `Release` object as a pre-release check.

See: testSuite smart constructor.

Instances
Eq TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: TestSuite -> Constr #

dataTypeOf :: TestSuite -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep TestSuite :: Type -> Type #

ToJSON TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestSuite Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestSuite = D1 (MetaData "TestSuite" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" True) (C1 (MetaCons "TestSuite'" PrefixI True) (S1 (MetaSel (Just "_tsTestCases") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [TestCase]))))

testSuite :: TestSuite Source #

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

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

tsTestCases :: Lens' TestSuite [TestCase] Source #

Collection of test cases associated with the `TestSuite`.

TestRulesetRequest

data TestRulesetRequest Source #

The request for FirebaseRulesService.TestRuleset.

See: testRulesetRequest smart constructor.

Instances
Eq TestRulesetRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data TestRulesetRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic TestRulesetRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep TestRulesetRequest :: Type -> Type #

ToJSON TestRulesetRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON TestRulesetRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestRulesetRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep TestRulesetRequest = D1 (MetaData "TestRulesetRequest" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "TestRulesetRequest'" PrefixI True) (S1 (MetaSel (Just "_trrSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Source)) :*: S1 (MetaSel (Just "_trrTestSuite") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TestSuite))))

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 #

Optional `Source` to be checked for correctness. This field must not be set when the resource name refers to a `Ruleset`.

File

data File Source #

`File` containing source content.

See: file smart constructor.

Instances
Eq File Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data File Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep File :: Type -> Type #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

ToJSON File Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON File Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep File Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep File = D1 (MetaData "File" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "File'" PrefixI True) (S1 (MetaSel (Just "_fFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_fContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.

GetReleaseExecutableResponseExecutableVersion

data GetReleaseExecutableResponseExecutableVersion Source #

The Rules runtime version of the executable.

Constructors

ReleaseExecutableVersionUnspecified

RELEASE_EXECUTABLE_VERSION_UNSPECIFIED Executable format unspecified. Defaults to FIREBASE_RULES_EXECUTABLE_V1

FirebaseRulesExecutableV1

FIREBASE_RULES_EXECUTABLE_V1 Firebase Rules syntax 'rules2' executable versions: Custom AST for use with Java clients.

FirebaseRulesExecutableV2

FIREBASE_RULES_EXECUTABLE_V2 CEL-based executable for use with C++ clients.

Instances
Enum GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Eq GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Data GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

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

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

toConstr :: GetReleaseExecutableResponseExecutableVersion -> Constr #

dataTypeOf :: GetReleaseExecutableResponseExecutableVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Read GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Show GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Generic GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Hashable GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToJSON GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromJSON GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromHttpApiData GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToHttpApiData GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep GetReleaseExecutableResponseExecutableVersion Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep GetReleaseExecutableResponseExecutableVersion = D1 (MetaData "GetReleaseExecutableResponseExecutableVersion" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ReleaseExecutableVersionUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "FirebaseRulesExecutableV1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FirebaseRulesExecutableV2" PrefixI False) (U1 :: Type -> Type)))

GetReleaseExecutableResponseLanguage

data GetReleaseExecutableResponseLanguage Source #

`Language` used to generate the executable bytes.

Constructors

LanguageUnspecified

LANGUAGE_UNSPECIFIED Language unspecified. Defaults to FIREBASE_RULES.

FirebaseRules

FIREBASE_RULES Firebase Rules language.

EventFlowTriggers

EVENT_FLOW_TRIGGERS Event Flow triggers.

Instances
Enum GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Eq GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Data GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Methods

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

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

toConstr :: GetReleaseExecutableResponseLanguage -> Constr #

dataTypeOf :: GetReleaseExecutableResponseLanguage -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Read GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Show GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Generic GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

Hashable GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToJSON GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromJSON GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

FromHttpApiData GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

ToHttpApiData GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep GetReleaseExecutableResponseLanguage Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Sum

type Rep GetReleaseExecutableResponseLanguage = D1 (MetaData "GetReleaseExecutableResponseLanguage" "Network.Google.FirebaseRules.Types.Sum" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "LanguageUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "FirebaseRules" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EventFlowTriggers" PrefixI False) (U1 :: Type -> Type)))

ListRulesetsResponse

data ListRulesetsResponse Source #

The response for FirebaseRulesService.ListRulesets.

See: listRulesetsResponse smart constructor.

Instances
Eq ListRulesetsResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data ListRulesetsResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic ListRulesetsResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep ListRulesetsResponse :: Type -> Type #

ToJSON ListRulesetsResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON ListRulesetsResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep ListRulesetsResponse Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep ListRulesetsResponse = D1 (MetaData "ListRulesetsResponse" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "ListRulesetsResponse'" PrefixI True) (S1 (MetaSel (Just "_lRulesets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Ruleset])) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

Data Issue Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

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 # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

showsPrec :: Int -> Issue -> ShowS #

show :: Issue -> String #

showList :: [Issue] -> ShowS #

Generic Issue Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep Issue :: Type -> Type #

Methods

from :: Issue -> Rep Issue x #

to :: Rep Issue x -> Issue #

ToJSON Issue Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON Issue Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Issue Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep Issue = D1 (MetaData "Issue" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "Issue'" PrefixI True) (S1 (MetaSel (Just "_iSourcePosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SourcePosition)) :*: (S1 (MetaSel (Just "_iSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IssueSeverity)) :*: S1 (MetaSel (Just "_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.

UpdateReleaseRequest

data UpdateReleaseRequest Source #

The request for FirebaseRulesService.UpdateReleasePatch.

See: updateReleaseRequest smart constructor.

Instances
Eq UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Data UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Methods

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

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

toConstr :: UpdateReleaseRequest -> Constr #

dataTypeOf :: UpdateReleaseRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Generic UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

Associated Types

type Rep UpdateReleaseRequest :: Type -> Type #

ToJSON UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

FromJSON UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep UpdateReleaseRequest Source # 
Instance details

Defined in Network.Google.FirebaseRules.Types.Product

type Rep UpdateReleaseRequest = D1 (MetaData "UpdateReleaseRequest" "Network.Google.FirebaseRules.Types.Product" "gogol-firebase-rules-0.4.0-8f71BRcY6VI3IDZJSGi4Go" False) (C1 (MetaCons "UpdateReleaseRequest'" PrefixI True) (S1 (MetaSel (Just "_urrUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_urrRelease") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Release))))

updateReleaseRequest :: UpdateReleaseRequest Source #

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

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

urrUpdateMask :: Lens' UpdateReleaseRequest (Maybe GFieldMask) Source #

Specifies which fields to update.