Enum InputType
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
입력유형
위젯의 입력 유형을 정의하는 enum입니다.
InputType.TEXT
은 입력에서 모든 문자를 포함한 일반 텍스트를 허용함을 의미합니다.
InputType.INTEGER
는 입력이 정수를 허용함을 의미합니다.
InputType.FLOAT
은 입력이 부동 소수점 숫자를 허용함을 의미합니다.
InputType.EMAIL
는 입력에서 이메일 주소를 허용함을 의미합니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다. 예를 들면
CardService.InputType.INTEGER
입니다.
속성
속성 | 유형 | 설명 |
TEXT | Enum | 일반 텍스트를 허용합니다. |
INTEGER | Enum | 정수를 허용합니다. |
FLOAT | Enum | 부동 소수점 숫자를 허용합니다. |
EMAIL | Enum | 이메일 주소를 수락합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eInputType is an enum defining the accepted input type for a widget, such as text, integer, float, or email.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize an enum, reference its parent class, name, and property, for instance: \u003ccode\u003eCardService.InputType.INTEGER\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is currently in Developer Preview and accessible through the Google Workspace Developer Preview Program.\u003c/p\u003e\n"]]],["`InputType` is an enum defining acceptable input types for a widget. It includes `TEXT` for all characters, `INTEGER` for whole numbers, `FLOAT` for decimal numbers, and `EMAIL` for email addresses. Each type is called using its parent class, name, and property, like `CardService.InputType.INTEGER`. This feature is part of the Google Workspace Developer Preview Program. Each Input Type Property can be referenced in a table to explain it in detail, such as Type, and Description.\n"],null,["# Enum InputType\n\nInputType\n\nAn enum that defines the input type of the widget.\n\n\n`Input``Type.TEXT` means that the input accepts regular text including all characters.\n\n\n`Input``Type.INTEGER` means that the input accepts an integer.\n\n\n`Input``Type.FLOAT` means that the input accepts a floating-point number.\n\n\n`Input``Type.EMAIL` means that the input accepts an email address.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.InputType.INTEGER`.\n\n\n| **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features.\n\n\u003cbr /\u003e\n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|---------------------------------|\n| `TEXT` | `Enum` | Accept regular text. |\n| `INTEGER` | `Enum` | Accept an integer. |\n| `FLOAT` | `Enum` | Accept a floating-point number. |\n| `EMAIL` | `Enum` | Accept an email address. |"]]