TextModuleData
텍스트 모듈용 데이터입니다. 모든 입력란은 선택사항입니다. 사용 가능한 경우 헤더가 표시되고, 다양한 유형의 본문이 정의된 경우 연결됩니다.
JSON 표현 |
{
"header": string,
"body": string,
"localizedHeader": {
object (LocalizedString )
},
"localizedBody": {
object (LocalizedString )
},
"id": string
} |
필드 |
body |
string
텍스트 모듈의 본문으로, 중단 없는 문자열로 정의됩니다. 전체 문자열이 작은 화면에 표시될 수 있도록 권장되는 최대 길이는 500자(바이트)입니다.
|
localizedBody |
object (LocalizedString )
본문의 번역된 문자열입니다. 전체 문자열이 작은 화면에도 표시될 수 있도록 권장되는 최대 길이는 500자(영문 기준)입니다.
|
id |
string
텍스트 모듈과 연결된 ID입니다. 이 필드는 텍스트 모듈을 쉽게 관리하고 템플릿 재정의에서 참조할 수 있도록 하기 위한 필드입니다. ID에는 영숫자 문자, '_' 또는 '-'만 포함되어야 합니다. 마침표는 템플릿 재정의의 FieldReference.fieldPaths 내에서 필드를 구분하는 데 사용되므로 마침표는 포함할 수 없습니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-13(UTC)
[null,null,["최종 업데이트: 2024-11-13(UTC)"],[[["Text modules consist of a header and body, with optional localized versions for each."],["The `header` and `body` fields are strings with recommended maximum lengths for display purposes."],["Localized content can be provided using the `localizedHeader` and `localizedBody` fields, which accept LocalizedString objects."],["Each text module can have a unique `id` for management and referencing within templates, using only alphanumeric characters, '_', or '-'."]]],["The provided data defines the structure of a Text module using a JSON format. Key fields include `header`, `body`, `localizedHeader`, `localizedBody`, and `id`, all optional. Headers and bodies can be defined as strings or localized objects with recommended maximum lengths of 35 and 500 characters, respectively. The `id` field, for management, must be alphanumeric, using '_' or '-' and not '.'. Different body types will be combined, if provided.\n"]]