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

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setProducts

The Product resources computed from the resource context.

Parameter
Name Description
var array<Google\Cloud\PrivateCatalog\V1beta1\Product>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this