Class: Google::Apis::DisplayvideoV2::ScriptError

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

Overview

An error message for a custom bidding script.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScriptError

Returns a new instance of ScriptError.



10370
10371
10372
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10370

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

Instance Attribute Details

#columnFixnum

The column number in the script where the error was thrown. Corresponds to the JSON property column

Returns:

  • (Fixnum)


10353
10354
10355
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10353

def column
  @column
end

#error_codeString

The type of error. Corresponds to the JSON property errorCode

Returns:

  • (String)


10358
10359
10360
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10358

def error_code
  @error_code
end

#error_messageString

The detailed error message. Corresponds to the JSON property errorMessage

Returns:

  • (String)


10363
10364
10365
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10363

def error_message
  @error_message
end

#lineFixnum

The line number in the script where the error was thrown. Corresponds to the JSON property line

Returns:

  • (Fixnum)


10368
10369
10370
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10368

def line
  @line
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10375
10376
10377
10378
10379
10380
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10375

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