Reference documentation and code samples for the Google Shopping Merchant Reviews V1beta Client class ListProductReviewsRequest.
Request message for the ListProductReviews method.
Generated from protobuf message google.shopping.merchant.reviews.v1beta.ListProductReviewsRequest
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 to list product reviews for. Format: accounts/{account} |
↳ page_size |
int
Optional. The maximum number of products to return. The service may return fewer than this value. |
↳ page_token |
string
Optional. A page token, received from a previous |
getParent
Required. The account to list product reviews for.
Format: accounts/{account}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The account to list product reviews for.
Format: accounts/{account}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageSize
Optional. The maximum number of products to return. The service may return fewer than this value.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPageSize
Optional. The maximum number of products to return. The service may return fewer than this value.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPageToken
Optional. A page token, received from a previous ListProductReviews call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListProductReviews
must match the call that provided the page token.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPageToken
Optional. A page token, received from a previous ListProductReviews call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListProductReviews
must match the call that provided the page token.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
parent |
string
Required. The account to list product reviews for. Format: accounts/{account} Please see ProductReviewsServiceClient::accountName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
ListProductReviewsRequest |
|