Class: Google::Apis::DfareportingV4::ConversionError
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::ConversionError
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.
2964 2965 2966 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2964 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The error code.
Corresponds to the JSON property code
2951 2952 2953 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2951 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
2957 2958 2959 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2957 def kind @kind end |
#message ⇒ String
A description of the error.
Corresponds to the JSON property message
2962 2963 2964 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2962 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2969 2970 2971 2972 2973 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2969 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 |