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

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ severity_per_reporting_context array<Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSeverityPerReportingContext

Issue severity per reporting context.

Parameter
NameDescription
var array<Google\Shopping\Merchant\Reports\V1beta\ProductView\ItemIssue\ItemIssueSeverity\IssueSeverityPerReportingContext>
Returns
TypeDescription
$this

getAggregatedSeverity

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

This field can be used for filtering the results.

Returns
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this