class Google::Apis::FirebaserulesV1::Issue

Issues include warnings, errors, and deprecation notices.

Attributes

description[RW]

Short error description. Corresponds to the JSON property `description` @return [String]

severity[RW]

The severity of the issue. Corresponds to the JSON property `severity` @return [String]

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]

Public Class Methods

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