class Google::Apis::FirebaserulesV1::TestRulesetRequest
The request for FirebaseRulesService
.TestRuleset.
Attributes
source[RW]
`Source` is one or more `File` messages comprising a logical set of rules. Corresponds to the JSON property `source` @return [Google::Apis::FirebaserulesV1::Source]
test_suite[RW]
`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. Corresponds to the JSON property `testSuite` @return [Google::Apis::FirebaserulesV1::TestSuite]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 672 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firebaserules_v1/classes.rb, line 677 def update!(**args) @source = args[:source] if args.key?(:source) @test_suite = args[:test_suite] if args.key?(:test_suite) end