Class: Google::Apis::FirebaserulesV1::TestRulesetResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TestRulesetResponse

Returns a new instance of TestRulesetResponse



101
102
103
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 101

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

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



99
100
101
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 99

def issues
  @issues
end

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



93
94
95
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 93

def test_results
  @test_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



106
107
108
109
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 106

def update!(**args)
  @test_results = args[:test_results] if args.key?(:test_results)
  @issues = args[:issues] if args.key?(:issues)
end