class Google::Apis::FirebaserulesV1::VisitedExpression
Store the position and access outcome for an expression visited in rules.
Attributes
source_position[RW]
Position in the `Source` content including its line, column number, and an index of the `File` in the `Source` message. Used for debug purposes. Corresponds to the JSON property `sourcePosition` @return [Google::Apis::FirebaserulesV1::SourcePosition]
value[RW]
The evaluated value for the visited expression, e.g. true/false Corresponds to the JSON property `value` @return [Object]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 799 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 804 def update!(**args) @source_position = args[:source_position] if args.key?(:source_position) @value = args[:value] if args.key?(:value) end