Reference documentation and code samples for the Google Shopping Merchant Issue Resolution V1 Client class TriggerActionRequest.
Request to start the selected action
Generated from protobuf message google.shopping.merchant.issueresolution.v1.TriggerActionRequest
Namespace
Google \ Shopping \ Merchant \ IssueResolution \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The business's account that is triggering the action. Format: |
↳ payload |
TriggerActionPayload
Required. The payload for the triggered action. |
↳ language_code |
string
Optional. Language code IETF BCP 47 syntax used to localize the response. If not set, the result will be in default language |
getName
Required. The business's account that is triggering the action.
Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The business's account that is triggering the action.
Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPayload
Required. The payload for the triggered action.
| Returns | |
|---|---|
| Type | Description |
TriggerActionPayload|null |
|
hasPayload
clearPayload
setPayload
Required. The payload for the triggered action.
| Parameter | |
|---|---|
| Name | Description |
var |
TriggerActionPayload
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLanguageCode
Optional. Language code IETF BCP 47 syntax used to localize the response.
If not set, the result will be in default language en-US.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLanguageCode
Optional. Language code IETF BCP 47 syntax used to localize the response.
If not set, the result will be in default language en-US.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The business's account that is triggering the action.
Format: |
| Returns | |
|---|---|
| Type | Description |
TriggerActionRequest |
|