Class: Google::Apis::MerchantapiReportsV1beta::ItemIssueType
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReportsV1beta::ItemIssueType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_reports_v1beta/classes.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb
Overview
Issue type.
Instance Attribute Summary collapse
-
#canonical_attribute ⇒ String
Canonical attribute name for attribute-specific issues.
-
#code ⇒ String
Error code of the issue, equivalent to the
code
of Product issues.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ItemIssueType
constructor
A new instance of ItemIssueType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ItemIssueType
Returns a new instance of ItemIssueType.
707 708 709 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 707 def initialize(**args) update!(**args) end |
Instance Attribute Details
#canonical_attribute ⇒ String
Canonical attribute name for attribute-specific issues.
Corresponds to the JSON property canonicalAttribute
699 700 701 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 699 def canonical_attribute @canonical_attribute end |
#code ⇒ String
Error code of the issue, equivalent to the code
of Product issues.
Corresponds to the JSON property code
705 706 707 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 705 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
712 713 714 715 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 712 def update!(**args) @canonical_attribute = args[:canonical_attribute] if args.key?(:canonical_attribute) @code = args[:code] if args.key?(:code) end |