class Google::Apis::ServicemanagementV1::Diagnostic

Represents a diagnostic message (error or warning)

Attributes

kind[RW]

The kind of diagnostic information provided. Corresponds to the JSON property `kind` @return [String]

location[RW]

File name and line number of the error or warning. Corresponds to the JSON property `location` @return [String]

message[RW]

Message describing the error or warning. Corresponds to the JSON property `message` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicemanagement_v1/classes.rb, line 1006
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicemanagement_v1/classes.rb, line 1011
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @location = args[:location] if args.key?(:location)
  @message = args[:message] if args.key?(:message)
end