# Google Cloud Workflows V1 Client - Class DeleteWorkflowRequest (1.3.0)

1.3.0 (latest) 1.2.1 1.1.1 1.0.3 0.5.5 0.4.2 0.3.0 0.2.17 Reference documentation and code samples for the Google Cloud Workflows V1 Client class DeleteWorkflowRequest.

Request for the
[DeleteWorkflow](https://docs.cloud.google.com/php/docs/reference/cloud-workflows/latest/V1.Client.WorkflowsClient#_Google_Cloud_Workflows_V1_Client_WorkflowsClient__deleteWorkflow__)
method.

Generated from protobuf message `google.cloud.workflows.v1.DeleteWorkflowRequest`

## Namespace

Google \\ Cloud \\ Workflows \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. Name of the workflow to be deleted. Format: projects/{project}/locations/{location}/workflows/{workflow} |

### getName

Required. Name of the workflow to be deleted.

Format: projects/{project}/locations/{location}/workflows/{workflow}

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

### setName

Required. Name of the workflow to be deleted.

Format: projects/{project}/locations/{location}/workflows/{workflow}

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. Name of the workflow to be deleted. Format: projects/{project}/locations/{location}/workflows/{workflow} Please see WorkflowsClient::workflowName() for help formatting this field. |

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