Google Cloud Private Catalog V1beta1 Client - Class SearchProductsResponse (0.3.3)

Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class SearchProductsResponse.

Response message for PrivateCatalog.SearchProducts.

Generated from protobuf message google.cloud.privatecatalog.v1beta1.SearchProductsResponse

Namespace

Google \ Cloud \ PrivateCatalog \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ products array<Google\Cloud\PrivateCatalog\V1beta1\Product>

The Product resources computed from the resource context.

↳ next_page_token string

A pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.

getProducts

The Product resources computed from the resource context.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setProducts

The Product resources computed from the resource context.

Parameter
NameDescription
var array<Google\Cloud\PrivateCatalog\V1beta1\Product>
Returns
TypeDescription
$this

getNextPageToken

A pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.

Returns
TypeDescription
string

setNextPageToken

A pagination token returned from a previous call to SearchProducts that indicates from where listing should continue.

Parameter
NameDescription
var string
Returns
TypeDescription
$this