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.



10529
10530
10531
# File 'lib/google/apis/content_v2_1/classes.rb', line 10529

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



10517
10518
10519
# File 'lib/google/apis/content_v2_1/classes.rb', line 10517

def issue_type
  @issue_type
end

#resolutionString

Item issue resolution. Corresponds to the JSON property resolution

Returns:

  • (String)


10522
10523
10524
# File 'lib/google/apis/content_v2_1/classes.rb', line 10522

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



10527
10528
10529
# File 'lib/google/apis/content_v2_1/classes.rb', line 10527

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10534
10535
10536
10537
10538
# File 'lib/google/apis/content_v2_1/classes.rb', line 10534

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