# Google Cloud Data Catalog V1 Client - Class OrganizationConfig (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class OrganizationConfig.

The configuration related to the migration from Data Catalog to Dataplex that
has been applied to an organization and any projects under it. It is the
response message for
RetrieveConfig.

Generated from protobuf message `google.cloud.datacatalog.v1.OrganizationConfig`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ config` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Map of organizations and project resource names and their configuration. The format for the map keys is `organizations/{organizationId}` or `projects/{projectId}`. |

### getConfig

Map of organizations and project resource names and their configuration.

The format for the map keys is `organizations/{organizationId}` or
`projects/{projectId}`.

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

### setConfig

Map of organizations and project resource names and their configuration.

The format for the map keys is `organizations/{organizationId}` or
`projects/{projectId}`.

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

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