# Recommender V1 Client - Class UpdateInsightTypeConfigRequest (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 UpdateInsightTypeConfigRequest.

Request for the `UpdateInsightTypeConfig` method.

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

## Namespace

Google \\ Cloud \\ Recommender \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ insight_type_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommender/latest/V1.InsightTypeConfig` Required. The InsightTypeConfig to update. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to be updated. |
| `↳ validate_only` | `bool` If true, validate the request and preview the change, but do not actually update it. |

### getInsightTypeConfig

Required. The InsightTypeConfig to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-recommender/latest/V1.InsightTypeConfig|null` |   |

### hasInsightTypeConfig

### clearInsightTypeConfig

### setInsightTypeConfig

Required. The InsightTypeConfig to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommender/latest/V1.InsightTypeConfig` |

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

### getUpdateMask

The list of fields to be updated.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

The list of fields to be updated.

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

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

### getValidateOnly

If true, validate the request and preview the change, but do not actually
update it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setValidateOnly

If true, validate the request and preview the change, but do not actually
update it.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `insightTypeConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-recommender/latest/V1.InsightTypeConfig` Required. The InsightTypeConfig to update. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The list of fields to be updated. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-recommender/latest/V1.UpdateInsightTypeConfigRequest` |   |