class Google::Apis::YoutubePartnerV1::ValidateError

Attributes

column_name[RW]

The column name where the error occurred. Corresponds to the JSON property `columnName` @return [String]

column_number[RW]

The column number where the error occurred (1-based). Corresponds to the JSON property `columnNumber` @return [Fixnum]

line_number[RW]

The line number where the error occurred (1-based). Corresponds to the JSON property `lineNumber` @return [Fixnum]

message[RW]

The error message. Corresponds to the JSON property `message` @return [String]

message_code[RW]

The code for the error message (if one exists). Corresponds to the JSON property `messageCode` @return [Fixnum]

severity[RW]

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

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_partner_v1/classes.rb, line 4241
def update!(**args)
  @column_name = args[:column_name] if args.key?(:column_name)
  @column_number = args[:column_number] if args.key?(:column_number)
  @line_number = args[:line_number] if args.key?(:line_number)
  @message = args[:message] if args.key?(:message)
  @message_code = args[:message_code] if args.key?(:message_code)
  @severity = args[:severity] if args.key?(:severity)
end