Class: Google::Apis::DfareportingV2_8::ConversionError

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

Overview

The error code and description for a conversion that failed to insert or update.

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) ⇒ ConversionError

Returns a new instance of ConversionError



2457
2458
2459
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2457

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

Instance Attribute Details

#codeString

The error code. Corresponds to the JSON property code

Returns:

  • (String)


2444
2445
2446
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2444

def code
  @code
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#conversionError". Corresponds to the JSON property kind

Returns:

  • (String)


2450
2451
2452
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2450

def kind
  @kind
end

#messageString

A description of the error. Corresponds to the JSON property message

Returns:

  • (String)


2455
2456
2457
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2455

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2462
2463
2464
2465
2466
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2462

def update!(**args)
  @code = args[:code] if args.key?(:code)
  @kind = args[:kind] if args.key?(:kind)
  @message = args[:message] if args.key?(:message)
end