Class: Google::Apis::ContentV2_1::ProductViewItemIssueItemIssueSeverity

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

Severity of an issue per destination in a region, and aggregated severity.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_severityString

Severity of an issue aggregated for destination. Corresponds to the JSON property aggregatedSeverity

Returns:

  • (String)


10532
10533
10534
# File 'lib/google/apis/content_v2_1/classes.rb', line 10532

def aggregated_severity
  @aggregated_severity
end

#severity_per_destinationArray<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