Google Shopping Merchant DataSources V1beta Client - Class Issue (0.2.2)

Reference documentation and code samples for the Google Shopping Merchant DataSources V1beta Client class Issue.

An error occurring in the data source, like "invalid price".

Generated from protobuf message google.shopping.merchant.datasources.v1beta.FileUpload.Issue

Namespace

Google \ Shopping \ Merchant \ DataSources \ V1beta \ FileUpload

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ title string

Output only. The title of the issue, for example, "Item too big".

↳ description string

Output only. The error description, for example, "Your data source contains items which have too many attributes, or are too big. These items will be dropped".

↳ code string

Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown.

↳ count int|string

Output only. The number of occurrences of the error in the file upload.

↳ severity int

Output only. The severity of the issue.

↳ documentation_uri string

Output only. Link to the documentation explaining the issue in more details, if available.

getTitle

Output only. The title of the issue, for example, "Item too big".

Returns
Type Description
string

setTitle

Output only. The title of the issue, for example, "Item too big".

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Output only. The error description, for example, "Your data source contains items which have too many attributes, or are too big. These items will be dropped".

Returns
Type Description
string

setDescription

Output only. The error description, for example, "Your data source contains items which have too many attributes, or are too big. These items will be dropped".

Parameter
Name Description
var string
Returns
Type Description
$this

getCode

Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown.

Returns
Type Description
string

setCode

Output only. The code of the error, for example, "validation/invalid_value". Returns "?" if the code is unknown.

Parameter
Name Description
var string
Returns
Type Description
$this

getCount

Output only. The number of occurrences of the error in the file upload.

Returns
Type Description
int|string

setCount

Output only. The number of occurrences of the error in the file upload.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getSeverity

Output only. The severity of the issue.

Returns
Type Description
int

setSeverity

Output only. The severity of the issue.

Parameter
Name Description
var int
Returns
Type Description
$this

getDocumentationUri

Output only. Link to the documentation explaining the issue in more details, if available.

Returns
Type Description
string

setDocumentationUri

Output only. Link to the documentation explaining the issue in more details, if available.

Parameter
Name Description
var string
Returns
Type Description
$this