UpdateDraftSubjectAction

Updates the subject line of an email draft.

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/add-ons-response-service/update-draft-subject-action#addUpdateSubject(String)` | `https://developers.google.com/apps-script/reference/add-ons-response-service/update-draft-subject-action#` | Updates the subject line of an email draft. |

## Detailed documentation

### `addUpdateSubject(subject)`

Updates the subject line of an email draft.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `subject` | `String` | The subject line to insert to the email draft. |

#### Return


`https://developers.google.com/apps-script/reference/add-ons-response-service/update-draft-subject-action#` --- This object, for chaining.