Class: Google::Apis::MerchantapiReportsV1beta::ItemIssue
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiReportsV1beta::ItemIssue
- 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
Item issue associated with the product.
Instance Attribute Summary collapse
-
#resolution ⇒ String
Item issue resolution.
-
#severity ⇒ Google::Apis::MerchantapiReportsV1beta::ItemIssueSeverity
How the issue affects the serving of the product.
-
#type ⇒ Google::Apis::MerchantapiReportsV1beta::ItemIssueType
Issue type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ItemIssue
constructor
A new instance of ItemIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ItemIssue
Returns a new instance of ItemIssue.
654 655 656 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resolution ⇒ String
Item issue resolution.
Corresponds to the JSON property resolution
642 643 644 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 642 def resolution @resolution end |
#severity ⇒ Google::Apis::MerchantapiReportsV1beta::ItemIssueSeverity
How the issue affects the serving of the product.
Corresponds to the JSON property severity
647 648 649 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 647 def severity @severity end |
#type ⇒ Google::Apis::MerchantapiReportsV1beta::ItemIssueType
Issue type.
Corresponds to the JSON property type
652 653 654 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 652 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
659 660 661 662 663 |
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 659 def update!(**args) @resolution = args[:resolution] if args.key?(:resolution) @severity = args[:severity] if args.key?(:severity) @type = args[:type] if args.key?(:type) end |