Class: Google::Apis::FirebaserulesV1::ExpressionReport
- Inherits:
-
Object
- Object
- Google::Apis::FirebaserulesV1::ExpressionReport
- 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
Describes where in a file an expression is found and what it was evaluated to over the course of its use.
Instance Attribute Summary collapse
-
#children ⇒ Array<Google::Apis::FirebaserulesV1::ExpressionReport>
Subexpressions Corresponds to the JSON property
children
. -
#source_position ⇒ Google::Apis::FirebaserulesV1::SourcePosition
Position in the
Source
content including its line, column number, and an index of theFile
in theSource
message. -
#values ⇒ Array<Google::Apis::FirebaserulesV1::ValueCount>
Values that this expression evaluated to when encountered.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExpressionReport
constructor
A new instance of ExpressionReport.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExpressionReport
Returns a new instance of ExpressionReport.
96 97 98 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 96 def initialize(**args) update!(**args) end |
Instance Attribute Details
#children ⇒ Array<Google::Apis::FirebaserulesV1::ExpressionReport>
Subexpressions
Corresponds to the JSON property children
83 84 85 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 83 def children @children end |
#source_position ⇒ Google::Apis::FirebaserulesV1::SourcePosition
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
89 90 91 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 89 def source_position @source_position end |
#values ⇒ Array<Google::Apis::FirebaserulesV1::ValueCount>
Values that this expression evaluated to when encountered.
Corresponds to the JSON property values
94 95 96 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 94 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
101 102 103 104 105 |
# File 'generated/google/apis/firebaserules_v1/classes.rb', line 101 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 |