Google Shopping Merchant Reports V1beta Client - Class ItemIssueSeverity (0.8.2)

Reference documentation and code samples for the Google Shopping Merchant Reports V1beta Client class ItemIssueSeverity.

How the issue affects the serving of the product.

Generated from protobuf message google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity

Namespace

Google \ Shopping \ Merchant \ Reports \ V1beta \ ProductView \ ItemIssue

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ severity_per_reporting_context array<ItemIssueSeverity\IssueSeverityPerReportingContext>

Issue severity per reporting context.

↳ aggregated_severity int

Aggregated severity of the issue for all reporting contexts it affects. This field can be used for filtering the results.

getSeverityPerReportingContext

Issue severity per reporting context.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSeverityPerReportingContext

Issue severity per reporting context.

Parameter
Name Description
var array<ItemIssueSeverity\IssueSeverityPerReportingContext>
Returns
Type Description
$this

getAggregatedSeverity

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

Returns
Type Description
int

hasAggregatedSeverity

clearAggregatedSeverity

setAggregatedSeverity

Aggregated severity of the issue for all reporting contexts it affects.

This field can be used for filtering the results.

Parameter
Name Description
var int
Returns
Type Description
$this