Google Shopping Merchant Reports V1beta Client - Class SearchResponse (0.1.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResults

Rows that matched the search query.

Parameter
NameDescription
var array<Google\Shopping\Merchant\Reports\V1beta\ReportRow>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this