Class: Google::Apis::ContentV2_1::ProductViewItemIssue

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductViewItemIssue

Returns a new instance of ProductViewItemIssue.



10629
10630
10631
# File 'lib/google/apis/content_v2_1/classes.rb', line 10629

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#issue_typeGoogle::Apis::ContentV2_1::ProductViewItemIssueItemIssueType

Type of the item issue. Corresponds to the JSON property issueType



10617
10618
10619
# File 'lib/google/apis/content_v2_1/classes.rb', line 10617

def issue_type
  @issue_type
end

#resolutionString

Item issue resolution. Corresponds to the JSON property resolution

Returns:

  • (String)


10622
10623
10624
# File 'lib/google/apis/content_v2_1/classes.rb', line 10622

def resolution
  @resolution
end

#severityGoogle::Apis::ContentV2_1::ProductViewItemIssueItemIssueSeverity

Severity of an issue per destination in a region, and aggregated severity. Corresponds to the JSON property severity



10627
10628
10629
# File 'lib/google/apis/content_v2_1/classes.rb', line 10627

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10634
10635
10636
10637
10638
# File 'lib/google/apis/content_v2_1/classes.rb', line 10634

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