Class: Google::Apis::DisplayvideoV3::ScriptError
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::ScriptError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
An error message for a custom bidding script.
Instance Attribute Summary collapse
-
#column ⇒ Fixnum
The column number in the script where the error was thrown.
-
#error_code ⇒ String
The type of error.
-
#error_message ⇒ String
The detailed error message.
-
#line ⇒ Fixnum
The line number in the script where the error was thrown.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScriptError
constructor
A new instance of ScriptError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScriptError
Returns a new instance of ScriptError.
11173 11174 11175 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ Fixnum
The column number in the script where the error was thrown.
Corresponds to the JSON property column
11156 11157 11158 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11156 def column @column end |
#error_code ⇒ String
The type of error.
Corresponds to the JSON property errorCode
11161 11162 11163 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11161 def error_code @error_code end |
#error_message ⇒ String
The detailed error message.
Corresponds to the JSON property errorMessage
11166 11167 11168 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11166 def @error_message end |
#line ⇒ Fixnum
The line number in the script where the error was thrown.
Corresponds to the JSON property line
11171 11172 11173 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11171 def line @line end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11178 11179 11180 11181 11182 11183 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11178 def update!(**args) @column = args[:column] if args.key?(:column) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @line = args[:line] if args.key?(:line) end |