Class: Google::Apis::DfareportingV2_8::ConversionError
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_8::ConversionError
- 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
-
#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) ⇒ ConversionError
constructor
A new instance of ConversionError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ConversionError
Returns a new instance of ConversionError
2467 2468 2469 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The error code.
Corresponds to the JSON property code
2454 2455 2456 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2454 def code @code end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#conversionError".
Corresponds to the JSON property kind
2460 2461 2462 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2460 def kind @kind end |
#message ⇒ String
A description of the error.
Corresponds to the JSON property message
2465 2466 2467 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2465 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2472 2473 2474 2475 2476 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 2472 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 |