Reference documentation and code samples for the Google Shopping Merchant Reviews V1beta Client class InsertProductReviewRequest.
Request message for the InsertProductReview
method.
Generated from protobuf message google.shopping.merchant.reviews.v1beta.InsertProductReviewRequest
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 product review will be inserted. Format: accounts/{account} |
↳ product_review |
ProductReview
Required. The product review to insert. |
↳ data_source |
string
Required. Format: |
getParent
Required. The account where the product review will be inserted.
Format: accounts/{account}
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The account where the product review will be inserted.
Format: accounts/{account}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProductReview
Required. The product review to insert.
Returns | |
---|---|
Type | Description |
ProductReview|null |
hasProductReview
clearProductReview
setProductReview
Required. The product review to insert.
Parameter | |
---|---|
Name | Description |
var |
ProductReview
|
Returns | |
---|---|
Type | Description |
$this |
getDataSource
Required. Format:
accounts/{account}/dataSources/{datasource}
.
Returns | |
---|---|
Type | Description |
string |
setDataSource
Required. Format:
accounts/{account}/dataSources/{datasource}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |