# Recommender V1 Client - Class InsightTypeGenerationConfig (2.2.0)

2.2.0 (latest) 2.1.3 2.0.5 1.11.5 1.10.0 1.9.1 1.8.2 1.7.8 Reference documentation and code samples for the Recommender V1 Client class InsightTypeGenerationConfig.

A configuration to customize the generation of insights.

Eg, customizing the lookback period considered when generating a
insight.

Generated from protobuf message `google.cloud.recommender.v1.InsightTypeGenerationConfig`

## Namespace

Google \\ Cloud \\ Recommender \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ params` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Struct` Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes. |

### getParams

Parameters for this InsightTypeGenerationConfig. These configs can be used
by or are applied to all subtypes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Struct|null` |   |

### hasParams

### clearParams

### setParams

Parameters for this InsightTypeGenerationConfig. These configs can be used
by or are applied to all subtypes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Struct` |

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