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

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
NameDescription
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
TypeDescription
int

hasReportingContext

clearReportingContext

setReportingContext

Reporting context the issue applies to.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDisapprovedCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDisapprovedCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getDemotedCountries

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDemotedCountries

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this