Reference documentation and code samples for the Google Shopping Merchant Reviews V1beta Client class InsertMerchantReviewRequest.
Request message for the InsertMerchantReview method.
Generated from protobuf message google.shopping.merchant.reviews.v1beta.InsertMerchantReviewRequest
Namespace
Google \ Shopping \ Merchant \ Reviews \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The account where the merchant review will be inserted. Format: accounts/{account} |
↳ merchant_review |
MerchantReview
Required. The merchant review to insert. |
↳ data_source |
string
Required. The data source of the merchantreview Format: |
getParent
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The account where the merchant review will be inserted.
Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMerchantReview
Required. The merchant review to insert.
| Returns | |
|---|---|
| Type | Description |
MerchantReview|null |
|
hasMerchantReview
clearMerchantReview
setMerchantReview
Required. The merchant review to insert.
| Parameter | |
|---|---|
| Name | Description |
var |
MerchantReview
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataSource
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDataSource
Required. The data source of the
merchantreview
Format:
accounts/{account}/dataSources/{datasource}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|