Class: Google::Apis::DfareportingV3_4::ConversionError

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/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

Constructor Details

#initialize(**args) ⇒ ConversionError

Returns a new instance of ConversionError.



2590
2591
2592
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2590

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

Instance Attribute Details

#codeString

The error code. Corresponds to the JSON property code

Returns:

  • (String)


2577
2578
2579
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2577

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)


2583
2584
2585
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2583

def kind
  @kind
end

#messageString

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

Returns:

  • (String)


2588
2589
2590
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2588

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2595
2596
2597
2598
2599
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 2595

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