# Google Cloud Storage Control V2 Client - Class UpdateProjectIntelligenceConfigRequest (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.3 1.5.0 1.4.1 1.3.0 1.1.0 1.0.3 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Storage Control V2 Client class UpdateProjectIntelligenceConfigRequest.

Request message to update the `IntelligenceConfig` resource associated with
your project.

**IAM Permissions** :
Requires `storage.intelligenceConfigs.update`
[IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on
the folder.

Generated from protobuf message `google.storage.control.v2.UpdateProjectIntelligenceConfigRequest`

## Namespace

Google \\ Cloud \\ Storage \\ Control \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ intelligence_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig` Required. The `IntelligenceConfig` resource to be updated. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The `update_mask` that specifies the fields within the `IntelligenceConfig` resource that should be modified by this update. Only the listed fields are updated. |
| `↳ request_id` | `string` Optional. The ID that uniquely identifies the request, preventing duplicate processing. |

### getIntelligenceConfig

Required. The `IntelligenceConfig` resource to be updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig|null` |   |

### hasIntelligenceConfig

### clearIntelligenceConfig

### setIntelligenceConfig

Required. The `IntelligenceConfig` resource to be updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig` |

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

### getUpdateMask

Required. The `update_mask` that specifies the fields within the
`IntelligenceConfig` resource that should be modified by this update. Only
the listed fields are updated.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. The `update_mask` that specifies the fields within the
`IntelligenceConfig` resource that should be modified by this update. Only
the listed fields are updated.

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

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

### getRequestId

Optional. The ID that uniquely identifies the request, preventing duplicate
processing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRequestId

Optional. The ID that uniquely identifies the request, preventing duplicate
processing.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `intelligenceConfig` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig` Required. The `IntelligenceConfig` resource to be updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The `update_mask` that specifies the fields within the `IntelligenceConfig` resource that should be modified by this update. Only the listed fields are updated. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.UpdateProjectIntelligenceConfigRequest` |   |