# Google Cloud Storage Control V2 Client - Class EffectiveIntelligenceConfig (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 EffectiveIntelligenceConfig.

The effective `IntelligenceConfig` for the resource.

Generated from protobuf message `google.storage.control.v2.IntelligenceConfig.EffectiveIntelligenceConfig`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ effective_edition` | `int` Output only. The `IntelligenceConfig` edition that is applicable for the resource. |
| `↳ intelligence_config` | `string` Output only. The `IntelligenceConfig` resource that is applied for the target resource. Format: `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig` |

### getEffectiveEdition

Output only. The `IntelligenceConfig` edition that is applicable for the
resource.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [EffectiveEdition](https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig.EffectiveIntelligenceConfig.EffectiveEdition). |

### setEffectiveEdition

Output only. The `IntelligenceConfig` edition that is applicable for the
resource.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [EffectiveEdition](https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig.EffectiveIntelligenceConfig.EffectiveEdition). |

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

### getIntelligenceConfig

Output only. The `IntelligenceConfig` resource that is applied for the
target resource. Format:
`{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig`

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

### setIntelligenceConfig

Output only. The `IntelligenceConfig` resource that is applied for the
target resource. Format:
`{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig`

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

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