Class UpdateDraftSubjectAction
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
详细文档
addUpdateSubject(subject)
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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."]]