class Google::Apis::FirebaserulesV1::ExpressionReport

Describes where in a file an expression is found and what it was evaluated to over the course of its use.

Attributes

children[RW]

Subexpressions Corresponds to the JSON property `children` @return [Array<Google::Apis::FirebaserulesV1::ExpressionReport>]

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]

values[RW]

Values that this expression evaluated to when encountered. Corresponds to the JSON property `values` @return [Array<Google::Apis::FirebaserulesV1::ValueCount>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 92
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 97
def update!(**args)
  @children = args[:children] if args.key?(:children)
  @source_position = args[:source_position] if args.key?(:source_position)
  @values = args[:values] if args.key?(:values)
end