Class: Google::Apis::FirebaserulesV1::TestRulesetResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::TestRulesetResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebaserules_v1/classes.rb,
generated/google/apis/firebaserules_v1/representations.rb,
generated/google/apis/firebaserules_v1/representations.rb
Overview
The response for FirebaseRulesService.TestRuleset.
Instance Attribute Summary collapse
-
#issues ⇒ Array<Google::Apis::FirebaserulesV1::Issue>
Syntactic and semantic
Sourceissues of varying severity. -
#test_results ⇒ Array<Google::Apis::FirebaserulesV1::TestResult>
The set of test results given the test cases in the
TestSuite.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TestRulesetResponse
constructor
A new instance of TestRulesetResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestRulesetResponse
Returns a new instance of TestRulesetResponse.
748 749 750 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issues ⇒ Array<Google::Apis::FirebaserulesV1::Issue>
Syntactic and semantic Source issues of varying severity. Issues of
ERROR severity will prevent tests from executing.
Corresponds to the JSON property issues
739 740 741 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 739 def issues @issues end |
#test_results ⇒ Array<Google::Apis::FirebaserulesV1::TestResult>
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.
Corresponds to the JSON property testResults
746 747 748 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 746 def test_results @test_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
753 754 755 756 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 753 def update!(**args) @issues = args[:issues] if args.key?(:issues) @test_results = args[:test_results] if args.key?(:test_results) end |