Class UpdateDraftSubjectAction
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
內容詳盡的說明文件
addUpdateSubject(subject)
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThe \u003ccode\u003eUpdateDraftSubjectAction\u003c/code\u003e allows modification of an email draft's subject line.\u003c/p\u003e\n"],["\u003cp\u003eThis action is achieved using the \u003ccode\u003eaddUpdateSubject(subject)\u003c/code\u003e method, which takes the new subject as a string parameter.\u003c/p\u003e\n"],["\u003cp\u003eUpon execution, the method returns an \u003ccode\u003eUpdateDraftSubjectAction\u003c/code\u003e object, enabling chained operations.\u003c/p\u003e\n"]]],[],null,["# Class UpdateDraftSubjectAction\n\nUpdateDraftSubjectAction\n\nUpdates the subject line of an email draft. \n\n### Methods\n\n| Method | Return type | Brief description |\n|--------------------------------------------------------|-------------------------------|---------------------------------------------|\n| [addUpdateSubject(subject)](#addUpdateSubject(String)) | [UpdateDraftSubjectAction](#) | Updates the subject line of an email draft. |\n\nDetailed documentation\n----------------------\n\n### `add``Update``Subject(subject)`\n\nUpdates the subject line of an email draft.\n\n#### Parameters\n\n| Name | Type | Description |\n|-----------|----------|------------------------------------------------|\n| `subject` | `String` | The subject line to insert to the email draft. |\n\n#### Return\n\n\n[UpdateDraftSubjectAction](#) --- This object, for chaining."]]