googleapis.firebaserules.v1 library

Classes

Arg
Arg matchers for the mock function.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: [...]
File
File containing source content.
FirebaserulesApi
Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.
FunctionCall
Represents a service-defined function call that was invoked during test execution.
FunctionMock
Mock function definition. [...]
GetReleaseExecutableResponse
The response for FirebaseRulesService.GetReleaseExecutable
Issue
Issues include warnings, errors, and deprecation notices.
ListReleasesResponse
The response for FirebaseRulesService.ListReleases.
ListRulesetsResponse
The response for FirebaseRulesService.ListRulesets.
ProjectsReleasesResourceApi
ProjectsResourceApi
ProjectsRulesetsResourceApi
Release
Release is a named reference to a Ruleset. Once a Release refers to a Ruleset, rules-enabled services will be able to enforce the Ruleset.
Result
Possible result values from the function mock invocation.
Ruleset
Ruleset is an immutable copy of Source with a globally unique identifier and a creation time.
Source
Source is one or more File messages comprising a logical set of rules.
SourcePosition
Position in the Source content including its line, column number, and an index of the File in the Source message. Used for debug purposes.
TestCase
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. [...]
TestResult
Test result message containing the state of the test as well as a description and source position for test failures.
TestRulesetRequest
The request for FirebaseRulesService.TestRuleset.
TestRulesetResponse
The response for FirebaseRulesService.TestRuleset.
TestSuite
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.
UpdateReleaseRequest
The request for FirebaseRulesService.UpdateReleasePatch.
VisitedExpression
Store the position and access outcome for an expression visited in rules.

Constants

USER_AGENT → const String
'dart-api-client firebaserules/v1'

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.