Enum UpdateDraftBodyType
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
업데이트초안본문유형
UpdateDraftBodyAction
의 유형을 지정하는 enum 값입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
CardService.UpdateDraftBodyType.IN_PLACE_INSERT
입니다.
속성
속성 | 유형 | 설명 |
IN_PLACE_INSERT | Enum | 기본값입니다. 업데이트 작업은 현재 커서 위치에 콘텐츠를 삽입하여 선택한 콘텐츠를 대체합니다. |
INSERT_AT_START | Enum | 업데이트 작업은 메일 본문 시작 부분에 콘텐츠를 삽입합니다. |
INSERT_AT_END | Enum | 업데이트 작업은 메시지 본문 끝에 콘텐츠를 삽입합니다. 이메일 서명이 있는 경우 웹용 Gmail에서 업데이트 작업이 사용자의 서명 뒤에 삽입됩니다. Gmail 모바일 앱에서는 업데이트 작업이 사용자의 서명 앞에 삽입됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eUpdateDraftBodyType\u003c/code\u003e is an enum used within \u003ccode\u003eUpdateDraftBodyAction\u003c/code\u003e to specify how the draft body of a message is modified.\u003c/p\u003e\n"],["\u003cp\u003eIt offers three options: \u003ccode\u003eIN_PLACE_INSERT\u003c/code\u003e (default, replaces selected content or inserts at cursor), \u003ccode\u003eINSERT_AT_START\u003c/code\u003e (inserts at the beginning), and \u003ccode\u003eINSERT_AT_END\u003c/code\u003e (inserts at the end, respecting email signatures).\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, call them using the format: \u003ccode\u003eCardService.UpdateDraftBodyType.[Property Name]\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum UpdateDraftBodyType\n\nUpdateDraftBodyType\n\nAn enum value that specifies the type of an [UpdateDraftBodyAction](/apps-script/reference/card-service/update-draft-body-action).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.UpdateDraftBodyType.IN_PLACE_INSERT`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `IN_PLACE_INSERT` | `Enum` | Default. Update actions insert content at the current cursor position, replacing any selected content. |\n| `INSERT_AT_START` | `Enum` | Update actions insert content at the start of message body. |\n| `INSERT_AT_END` | `Enum` | Update actions insert content at the end of the message body. If an email signature is present, in Gmail on the web, the update action inserts after the user's signature. In the Gmail mobile app, the update action inserts before the user's signature. |"]]