Class: Google::Apis::DfareportingV3_4::CustomEventError

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 custom event that failed to insert.

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

Returns a new instance of CustomEventError.



4783
4784
4785
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4783

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

Instance Attribute Details

#codeString

The error code. Corresponds to the JSON property code

Returns:

  • (String)


4770
4771
4772
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4770

def code
  @code
end

#kindString

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

Returns:

  • (String)


4776
4777
4778
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4776

def kind
  @kind
end

#messageString

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

Returns:

  • (String)


4781
4782
4783
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4781

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4788
4789
4790
4791
4792
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4788

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