Reference documentation and code samples for the Google Shopping Merchant Reports V1 Client class SearchResponse.
Response message for the ReportService.Search method.
Generated from protobuf message google.shopping.merchant.reports.v1.SearchResponse
Namespace
Google \ Shopping \ Merchant \ Reports \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ results |
array<ReportRow>
Rows that matched the search query. |
↳ next_page_token |
string
Token which can be sent as |
getResults
Rows that matched the search query.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setResults
Rows that matched the search query.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ReportRow>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
Token which can be sent as page_token to retrieve the next page. If
omitted, there are no subsequent pages.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
Token which can be sent as page_token to retrieve the next page. If
omitted, there are no subsequent pages.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|