Class: Google::Apis::YoutubePartnerV1::ValidateError

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtube_partner_v1/classes.rb,
generated/google/apis/youtube_partner_v1/representations.rb,
generated/google/apis/youtube_partner_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ValidateError

Returns a new instance of ValidateError.



3504
3505
3506
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3504

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#column_nameString

The column name where the error occurred. Corresponds to the JSON property columnName

Returns:

  • (String)


3477
3478
3479
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3477

def column_name
  @column_name
end

#column_numberFixnum

The column number where the error occurred (1-based). Corresponds to the JSON property columnNumber

Returns:

  • (Fixnum)


3482
3483
3484
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3482

def column_number
  @column_number
end

#line_numberFixnum

The line number where the error occurred (1-based). Corresponds to the JSON property lineNumber

Returns:

  • (Fixnum)


3487
3488
3489
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3487

def line_number
  @line_number
end

#messageString

The error message. Corresponds to the JSON property message

Returns:

  • (String)


3492
3493
3494
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3492

def message
  @message
end

#message_codeFixnum

The code for the error message (if one exists). Corresponds to the JSON property messageCode

Returns:

  • (Fixnum)


3497
3498
3499
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3497

def message_code
  @message_code
end

#severityString

The error severity. Corresponds to the JSON property severity

Returns:

  • (String)


3502
3503
3504
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3502

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3509
3510
3511
3512
3513
3514
3515
3516
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3509

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