Class: Google::Apis::DfareportingV3_4::CustomEventError
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::CustomEventError
- 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
-
#code ⇒ String
The error code.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#message ⇒ String
A description of the error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomEventError
constructor
A new instance of CustomEventError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomEventError
Returns a new instance of CustomEventError.
4762 4763 4764 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The error code.
Corresponds to the JSON property code
4749 4750 4751 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4749 def code @code end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#customEventError".
Corresponds to the JSON property kind
4755 4756 4757 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4755 def kind @kind end |
#message ⇒ String
A description of the error.
Corresponds to the JSON property message
4760 4761 4762 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4760 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4767 4768 4769 4770 4771 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 4767 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 |