Class: Google::Apis::FirebaserulesV1::TestRulesetRequest

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 request 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) ⇒ TestRulesetRequest

Returns a new instance of TestRulesetRequest



104
105
106
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 104

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

Instance Attribute Details

#sourceGoogle::Apis::FirebaserulesV1::Source

Source is one or more File messages comprising a logical set of rules. Corresponds to the JSON property source



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

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



109
110
111
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 109

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