Class UpdateDraftSubjectAction
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Cập nhậtBản nhápTiêu đềThao tác
Cập nhật dòng tiêu đề của một email nháp.
Tài liệu chi tiết
addUpdateSubject(subject)
Cập nhật dòng tiêu đề của một email nháp.
Tham số
Tên | Loại | Mô tả |
subject | String | Dòng tiêu đề để chèn vào email nháp. |
Cầu thủ trả bóng
UpdateDraftSubjectAction
– Đối tượng này, để tạo chuỗi.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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."]]