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

`DeleteRepository` request message.

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

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The repository's name. |
| `↳ force` | `bool` Optional. If set to true, child resources of this repository (compilation results and workflow invocations) will also be deleted. Otherwise, the request will only succeed if the repository has no child resources. **Note:** *This flag doesn't support deletion of workspaces, release configs or workflow configs. If any of such resources exists in the repository, the request will fail.*. |

### getName

Required. The repository's name.

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

### setName

Required. The repository's name.

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

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

### getForce

Optional. If set to true, child resources of this repository (compilation
results and workflow invocations) will also be deleted. Otherwise, the
request will only succeed if the repository has no child resources.

**Note:** *This flag doesn't support deletion of workspaces, release
configs or workflow configs. If any of such resources exists in the
repository, the request will fail.*.

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

### setForce

Optional. If set to true, child resources of this repository (compilation
results and workflow invocations) will also be deleted. Otherwise, the
request will only succeed if the repository has no child resources.

**Note:** *This flag doesn't support deletion of workspaces, release
configs or workflow configs. If any of such resources exists in the
repository, the request will fail.*.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The repository's name. Please see DataformClient::repositoryName() for help formatting this field. |

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