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

The `IntelligenceConfig` resource associated with your organization, folder,
or project.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The name of the `IntelligenceConfig` resource associated with your organization, folder, or project. The name format varies based on the GCP resource hierarchy as follows: \* \* For project: `projects/{project_number}/locations/global/intelligenceConfig` \* \* For organization: `organizations/{org_id}/locations/global/intelligenceConfig` \* \* For folder: `folders/{folder_id}/locations/global/intelligenceConfig` |
| `↳ edition_config` | `int` Optional. The edition configuration of the `IntelligenceConfig` resource. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The time at which the `IntelligenceConfig` resource is last updated. |
| `↳ filter` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig.Filter` Optional. Filter over location and bucket. |
| `↳ effective_intelligence_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig.EffectiveIntelligenceConfig` Output only. The `IntelligenceConfig` resource that is applicable for the resource. |
| `↳ trial_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.IntelligenceConfig.TrialConfig` The trial configuration of the `IntelligenceConfig` resource. |

### getName

Identifier. The name of the `IntelligenceConfig` resource associated with
your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

- For project: `projects/{project_number}/locations/global/intelligenceConfig`
- For organization: `organizations/{org_id}/locations/global/intelligenceConfig`
- For folder: `folders/{folder_id}/locations/global/intelligenceConfig`

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

### setName

Identifier. The name of the `IntelligenceConfig` resource associated with
your organization, folder, or project.

The name format varies based on the GCP resource hierarchy as follows:

- For project: `projects/{project_number}/locations/global/intelligenceConfig`
- For organization: `organizations/{org_id}/locations/global/intelligenceConfig`
- For folder: `folders/{folder_id}/locations/global/intelligenceConfig`

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

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

### getEditionConfig

Optional. The edition configuration of the `IntelligenceConfig` resource.

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

### setEditionConfig

Optional. The edition configuration of the `IntelligenceConfig` resource.

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

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

### getUpdateTime

Output only. The time at which the `IntelligenceConfig` resource is last
updated.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The time at which the `IntelligenceConfig` resource is last
updated.

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

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

### getFilter

Optional. Filter over location and bucket.

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

### hasFilter

### clearFilter

### setFilter

Optional. Filter over location and bucket.

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

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

### getEffectiveIntelligenceConfig

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

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

### hasEffectiveIntelligenceConfig

### clearEffectiveIntelligenceConfig

### setEffectiveIntelligenceConfig

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

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

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

### getTrialConfig

The trial configuration of the `IntelligenceConfig` resource.

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

### hasTrialConfig

### clearTrialConfig

### setTrialConfig

The trial configuration of the `IntelligenceConfig` resource.

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

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