Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class RenderProductIssuesRequest.
Request to provide an issue resolution content and actions for product issues of business's product.
Generated from protobuf message google.shopping.merchant.issueresolution.v1.RenderProductIssuesRequest
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the product to fetch issues for. Format: |
↳ language_code |
string
Optional. The IETF BCP-47 language code used to localize an issue resolution content. If not set, the result will be in default language |
↳ time_zone |
string
Optional. The IANA timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC. |
↳ payload |
RenderIssuesRequestPayload
Optional. The payload for configuring how the content should be rendered. |
getName
Required. The name of the product to fetch issues for.
Format: accounts/{account}/products/{product}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the product to fetch issues for.
Format: accounts/{account}/products/{product}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLanguageCode
Optional. The IETF BCP-47 language
code used to localize an issue resolution content. If not set, the result
will be in default language en-US
.
Returns | |
---|---|
Type | Description |
string |
setLanguageCode
Optional. The IETF BCP-47 language
code used to localize an issue resolution content. If not set, the result
will be in default language en-US
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTimeZone
Optional. The IANA timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.
Returns | |
---|---|
Type | Description |
string |
setTimeZone
Optional. The IANA timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPayload
Optional. The payload for configuring how the content should be rendered.
Returns | |
---|---|
Type | Description |
RenderIssuesRequestPayload|null |
hasPayload
clearPayload
setPayload
Optional. The payload for configuring how the content should be rendered.
Parameter | |
---|---|
Name | Description |
var |
RenderIssuesRequestPayload
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the product to fetch issues for.
Format: |
Returns | |
---|---|
Type | Description |
RenderProductIssuesRequest |