Google Shopping Merchant Reports V1beta Client - Class SearchResponse (0.8.0)

Reference documentation and code samples for the Google Shopping Merchant Reports V1beta Client class SearchResponse.

Response message for the ReportService.Search method.

Generated from protobuf message google.shopping.merchant.reports.v1beta.SearchResponse

Namespace

Google \ Shopping \ Merchant \ Reports \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ results array<Google\Shopping\Merchant\Reports\V1beta\ReportRow>

Rows that matched the search query.

↳ next_page_token string

Token which can be sent as page_token to retrieve the next page. If omitted, there are no subsequent pages.

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<Google\Shopping\Merchant\Reports\V1beta\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