Class: Google::Apis::MerchantapiReportsV1beta::ItemIssueSeverity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_reports_v1beta/classes.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb

Overview

How the issue affects the serving of the product.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ItemIssueSeverity

Returns a new instance of ItemIssueSeverity.



681
682
683
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 681

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

Instance Attribute Details

#aggregated_severityString

Aggregated severity of the issue for all reporting contexts it affects. This field can be used for filtering the results. Corresponds to the JSON property aggregatedSeverity

Returns:

  • (String)


674
675
676
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 674

def aggregated_severity
  @aggregated_severity
end

#severity_per_reporting_contextArray<Google::Apis::MerchantapiReportsV1beta::IssueSeverityPerReportingContext>

Issue severity per reporting context. Corresponds to the JSON property severityPerReportingContext



679
680
681
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 679

def severity_per_reporting_context
  @severity_per_reporting_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



686
687
688
689
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 686

def update!(**args)
  @aggregated_severity = args[:aggregated_severity] if args.key?(:aggregated_severity)
  @severity_per_reporting_context = args[:severity_per_reporting_context] if args.key?(:severity_per_reporting_context)
end