Class: Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueSeverity
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueSeverity
- 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
Severity of an issue per destination in a region, and aggregated severity.
Instance Attribute Summary collapse
-
#aggregated_severity ⇒ String
Severity of an issue aggregated for destination.
-
#severity_per_destination ⇒ Array<Google::Apis::ContentV2_1::ProductViewItemIssueIssueSeverityPerDestination>
Item issue severity for every destination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductViewItemIssueItemIssueSeverity
constructor
A new instance of ProductViewItemIssueItemIssueSeverity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductViewItemIssueItemIssueSeverity
Returns a new instance of ProductViewItemIssueItemIssueSeverity.
10539 10540 10541 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregated_severity ⇒ String
Severity of an issue aggregated for destination.
Corresponds to the JSON property aggregatedSeverity
10532 10533 10534 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10532 def aggregated_severity @aggregated_severity end |
#severity_per_destination ⇒ Array<Google::Apis::ContentV2_1::ProductViewItemIssueIssueSeverityPerDestination>
Item issue severity for every destination.
Corresponds to the JSON property severityPerDestination
10537 10538 10539 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10537 def severity_per_destination @severity_per_destination end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10544 10545 10546 10547 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10544 def update!(**args) @aggregated_severity = args[:aggregated_severity] if args.key?(:aggregated_severity) @severity_per_destination = args[:severity_per_destination] if args.key?(:severity_per_destination) end |