Reference documentation and code samples for the Google Shopping Merchant Reports V1 Client class IssueSeverityPerReportingContext.
Issue severity per reporting context.
Generated from protobuf message google.shopping.merchant.reports.v1.ProductView.ItemIssue.ItemIssueSeverity.IssueSeverityPerReportingContext
Namespace
Google \ Shopping \ Merchant \ Reports \ V1 \ ProductView \ ItemIssue \ ItemIssueSeverityMethods
__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 |
|