Google Cloud Retail V2 Client - Class ListServingConfigsResponse (1.1.1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class ListServingConfigsResponse.

Response for ListServingConfigs method.

Generated from protobuf message google.cloud.retail.v2.ListServingConfigsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ serving_configs array<Google\Cloud\Retail\V2\ServingConfig>

All the ServingConfigs for a given catalog.

↳ next_page_token string

Pagination token, if not returned indicates the last page.

getServingConfigs

All the ServingConfigs for a given catalog.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServingConfigs

All the ServingConfigs for a given catalog.

Parameter
NameDescription
var array<Google\Cloud\Retail\V2\ServingConfig>
Returns
TypeDescription
$this

getNextPageToken

Pagination token, if not returned indicates the last page.

Returns
TypeDescription
string

setNextPageToken

Pagination token, if not returned indicates the last page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this