Google Shopping Merchant Reports V1beta Client - Class IssueSeverityPerReportingContext (0.7.1)

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

Issue severity per reporting context.

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

Namespace

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reporting_context int

Reporting context the issue applies to.

↳ disapproved_countries array

List of disapproved countries in the reporting context, represented in ISO 3166 format.

↳ demoted_countries array

List of demoted countries in the reporting context, represented in ISO 3166 format.

getReportingContext

Reporting context the issue applies to.

Returns
Type Description
int

hasReportingContext

clearReportingContext

setReportingContext

Reporting context the issue applies to.

Parameter
Name Description
var int
Returns
Type Description
$this

getDisapprovedCountries

List of disapproved countries in the reporting context, represented in ISO 3166 format.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

List of disapproved countries in the reporting context, represented in ISO 3166 format.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getDemotedCountries

List of demoted countries in the reporting context, represented in ISO 3166 format.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDemotedCountries

List of demoted countries in the reporting context, represented in ISO 3166 format.

Parameter
Name Description
var string[]
Returns
Type Description
$this