Class: Google::Apis::FirebaserulesV1::TestRulesetRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FirebaserulesV1::TestRulesetRequest
 
- 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 request for FirebaseRulesService.TestRuleset.
Instance Attribute Summary collapse
- 
  
    
      #source  ⇒ Google::Apis::FirebaserulesV1::Source 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Sourceis one or moreFilemessages comprising a logical set of rules.
- 
  
    
      #test_suite  ⇒ Google::Apis::FirebaserulesV1::TestSuite 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    TestSuiteis a collection ofTestCaseinstances that validate the logical correctness of aRuleset.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TestRulesetRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TestRulesetRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TestRulesetRequest
Returns a new instance of TestRulesetRequest
| 604 605 606 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 604 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#source ⇒ Google::Apis::FirebaserulesV1::Source
Source is one or more File messages comprising a logical set of rules.
Corresponds to the JSON property source
| 594 595 596 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 594 def source @source end | 
#test_suite ⇒ Google::Apis::FirebaserulesV1::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.
Corresponds to the JSON property testSuite
| 602 603 604 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 602 def test_suite @test_suite end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 609 610 611 612 | # File 'generated/google/apis/firebaserules_v1/classes.rb', line 609 def update!(**args) @source = args[:source] if args.key?(:source) @test_suite = args[:test_suite] if args.key?(:test_suite) end |