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