# Google Cloud Retail V2 Client - Class ServingConfigList (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.1 2.1.3 2.0.0 1.7.0 1.6.4 1.5.0 1.4.2 1.3.1 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Retail V2 Client class ServingConfigList.

Represents an ordered combination of valid serving configs, which
can be used for `PAGE_OPTIMIZATION` recommendations.

Generated from protobuf message `google.cloud.retail.v2.Model.ServingConfigList`

## Namespace

Google \\ Cloud \\ Retail \\ V2 \\ Model

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ serving_config_ids` | `string[]` Optional. A set of valid serving configs that may be used for `PAGE_OPTIMIZATION`. |

### getServingConfigIds

Optional. A set of valid serving configs that may be used for
`PAGE_OPTIMIZATION`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setServingConfigIds

Optional. A set of valid serving configs that may be used for
`PAGE_OPTIMIZATION`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |