Class: Google::Apis::YoutubePartnerV1::ValidateError
- Inherits:
-
Object
- Object
- Google::Apis::YoutubePartnerV1::ValidateError
- 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
-
#column_name ⇒ String
The column name where the error occurred.
-
#column_number ⇒ Fixnum
The column number where the error occurred (1-based).
-
#line_number ⇒ Fixnum
The line number where the error occurred (1-based).
-
#message ⇒ String
The error message.
-
#message_code ⇒ Fixnum
The code for the error message (if one exists).
-
#severity ⇒ String
The error severity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateError
constructor
A new instance of ValidateError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ValidateError
Returns a new instance of ValidateError
3921 3922 3923 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3921 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_name ⇒ String
The column name where the error occurred.
Corresponds to the JSON property columnName
3894 3895 3896 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3894 def column_name @column_name end |
#column_number ⇒ Fixnum
The column number where the error occurred (1-based).
Corresponds to the JSON property columnNumber
3899 3900 3901 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3899 def column_number @column_number end |
#line_number ⇒ Fixnum
The line number where the error occurred (1-based).
Corresponds to the JSON property lineNumber
3904 3905 3906 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3904 def line_number @line_number end |
#message ⇒ String
The error message.
Corresponds to the JSON property message
3909 3910 3911 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3909 def @message end |
#message_code ⇒ Fixnum
The code for the error message (if one exists).
Corresponds to the JSON property messageCode
3914 3915 3916 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3914 def @message_code end |
#severity ⇒ String
The error severity.
Corresponds to the JSON property severity
3919 3920 3921 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3919 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3926 3927 3928 3929 3930 3931 3932 3933 |
# File 'generated/google/apis/youtube_partner_v1/classes.rb', line 3926 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 |