Class: Google::Apis::ContentV2_1::ProductViewItemIssue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ProductViewItemIssue
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Item issue associated with the product.
Instance Attribute Summary collapse
-
#issue_type ⇒ Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueType
Type of the item issue.
-
#resolution ⇒ String
Item issue resolution.
-
#severity ⇒ Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueSeverity
Severity of an issue per destination in a region, and aggregated severity.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductViewItemIssue
constructor
A new instance of ProductViewItemIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductViewItemIssue
Returns a new instance of ProductViewItemIssue.
10491 10492 10493 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issue_type ⇒ Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueType
Type of the item issue.
Corresponds to the JSON property issueType
10479 10480 10481 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10479 def issue_type @issue_type end |
#resolution ⇒ String
Item issue resolution.
Corresponds to the JSON property resolution
10484 10485 10486 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10484 def resolution @resolution end |
#severity ⇒ Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueSeverity
Severity of an issue per destination in a region, and aggregated severity.
Corresponds to the JSON property severity
10489 10490 10491 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10489 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10496 10497 10498 10499 10500 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10496 def update!(**args) @issue_type = args[:issue_type] if args.key?(:issue_type) @resolution = args[:resolution] if args.key?(:resolution) @severity = args[:severity] if args.key?(:severity) end |