# Google Cloud Dataform V1 Client - Class DeleteTeamFolderTreeRequest (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 DeleteTeamFolderTreeRequest.

`DeleteTeamFolderTree` request message.

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

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder} |
| `↳ force` | `bool` Optional. If `false` (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs. If `true`: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources. |

### getName

Required. The TeamFolder's name.

Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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

### setName

Required. The TeamFolder's name.

Format: projects/{project}/locations/{location}/teamFolders/{team_folder}

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

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

### getForce

Optional. If `false` (default): The operation will fail if any
Repository within the folder hierarchy has associated Release Configs or
Workflow Configs.

If `true`: The operation will attempt to delete everything, including any
Release Configs and Workflow Configs linked to Repositories within the
folder hierarchy. This permanently removes schedules and resources.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setForce

Optional. If `false` (default): The operation will fail if any
Repository within the folder hierarchy has associated Release Configs or
Workflow Configs.

If `true`: The operation will attempt to delete everything, including any
Release Configs and Workflow Configs linked to Repositories within the
folder hierarchy. This permanently removes schedules and resources.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The TeamFolder's name. Format: projects/{project}/locations/{location}/teamFolders/{team_folder} Please see DataformClient::teamFolderName() for help formatting this field. |
| `force` | `bool` Optional. If `false` (default): The operation will fail if any Repository within the folder hierarchy has associated Release Configs or Workflow Configs. If `true`: The operation will attempt to delete everything, including any Release Configs and Workflow Configs linked to Repositories within the folder hierarchy. This permanently removes schedules and resources. |

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