# Google Cloud Data Catalog Lineage V1 Client - Class GetConfigRequest (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.1 1.0.3 0.5.5 0.4.0 0.3.1 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class GetConfigRequest.

Request message for GetConfig RPC.

Generated from protobuf message `google.cloud.datacatalog.lineage.configmanagement.v1.GetConfigRequest`

## Namespace

Google \\ Cloud \\ DataCatalog \\ Lineage \\ ConfigManagement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. REQUIRED: The resource name of the config to be fetched. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config` |

### getName

Required. REQUIRED: The resource name of the config to be fetched.

Format:
`organizations/{organization_id}/locations/global/config`
`folders/{folder_id}/locations/global/config`
`projects/{project_id}/locations/global/config`
`projects/{project_number}/locations/global/config`

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

### setName

Required. REQUIRED: The resource name of the config to be fetched.

Format:
`organizations/{organization_id}/locations/global/config`
`folders/{folder_id}/locations/global/config`
`projects/{project_id}/locations/global/config`
`projects/{project_number}/locations/global/config`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. REQUIRED: The resource name of the config to be fetched. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config` Please see ConfigManagementServiceClient::configName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datacatalog-lineage/latest/ConfigManagement.V1.GetConfigRequest` |   |