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.



10548
10549
10550
# File 'lib/google/apis/content_v2_1/classes.rb', line 10548

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)


10541
10542
10543
# File 'lib/google/apis/content_v2_1/classes.rb', line 10541

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



10546
10547
10548
# File 'lib/google/apis/content_v2_1/classes.rb', line 10546

def severity_per_destination
  @severity_per_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10553
10554
10555
10556
# File 'lib/google/apis/content_v2_1/classes.rb', line 10553

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