Google Cloud Retail V2 Client - Class ListServingConfigsResponse (1.0.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.

Generated from protobuf field repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServingConfigs

All the ServingConfigs for a given catalog.

Generated from protobuf field repeated .google.cloud.retail.v2.ServingConfig serving_configs = 1;

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

getNextPageToken

Pagination token, if not returned indicates the last page.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

Pagination token, if not returned indicates the last page.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this