# Google Cloud Storage Transfer V1 Client - Class DeleteTransferJobRequest (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class DeleteTransferJobRequest.

Request passed to DeleteTransferJob.

Generated from protobuf message `google.storagetransfer.v1.DeleteTransferJobRequest`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ job_name` | `string` Required. The job to delete. |
| `↳ project_id` | `string` Required. The ID of the Google Cloud project that owns the job. |

### getJobName

Required. The job to delete.

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

### setJobName

Required. The job to delete.

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

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

### getProjectId

Required. The ID of the Google Cloud project that owns the
job.

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

### setProjectId

Required. The ID of the Google Cloud project that owns the
job.

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

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