# Google Cloud Dataform V1 Client - Class CreateFolderRequest (0.11.0)

0.11.0 (latest) 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataform V1 Client class CreateFolderRequest.

`CreateFolder` request message.

Generated from protobuf message `google.cloud.dataform.v1.CreateFolderRequest`

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getParent

Required. The location in which to create the Folder. Must be in the format
`projects/*/locations/*`.

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

### setParent

Required. The location in which to create the Folder. Must be in the format
`projects/*/locations/*`.

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

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

### getFolder

Required. The Folder to create.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Folder|null` |   |

### hasFolder

### clearFolder

### setFolder

Required. The Folder to create.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Folder` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The location in which to create the Folder. Must be in the format `projects/*/locations/*`. Please see DataformClient::locationName() for help formatting this field. |
| `folder` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Folder` Required. The Folder to create. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.CreateFolderRequest` |   |