class 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.
Attributes
column[RW]
First column on the source line associated with the source fragment. Corresponds to the JSON property `column` @return [Fixnum]
current_offset[RW]
Start position relative to the beginning of the file. Corresponds to the JSON property `currentOffset` @return [Fixnum]
end_offset[RW]
End position relative to the beginning of the file. Corresponds to the JSON property `endOffset` @return [Fixnum]
file_name[RW]
Name of the `File`. Corresponds to the JSON property `fileName` @return [String]
line[RW]
Line number of the source fragment. 1-based. Corresponds to the JSON property `line` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firebaserules_v1/classes.rb, line 513 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 518 def update!(**args) @column = args[:column] if args.key?(:column) @current_offset = args[:current_offset] if args.key?(:current_offset) @end_offset = args[:end_offset] if args.key?(:end_offset) @file_name = args[:file_name] if args.key?(:file_name) @line = args[:line] if args.key?(:line) end