Class: Google::Apis::DfareportingV3_5::ConversionError
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::ConversionError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/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.
Constructor Details
#initialize(**args) ⇒ ConversionError
Returns a new instance of ConversionError.
2529 2530 2531 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The error code.
Corresponds to the JSON property code
2516 2517 2518 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2516 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
2522 2523 2524 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2522 def kind @kind end |
#message ⇒ String
A description of the error.
Corresponds to the JSON property message
2527 2528 2529 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2527 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2534 2535 2536 2537 2538 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 2534 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 |