Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Enum InputType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
InputType
ウィジェットの入力タイプを定義する列挙型。
InputType.TEXT は、すべての文字を含む通常のテキストを入力できることを意味します。
InputType.INTEGER は、入力が整数を受け入れることを意味します。
InputType.FLOAT は、入力が浮動小数点数を受け入れることを意味します。
InputType.EMAIL は、入力でメールアドレスが受け入れられることを意味します。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
CardService.InputType.INTEGER です。
プロパティ
| プロパティ | タイプ | 説明 |
TEXT | Enum | 通常のテキストを使用できます。 |
INTEGER | Enum | 整数で指定します。 |
FLOAT | Enum | 浮動小数点数で指定します。 |
EMAIL | Enum | メールアドレスを受け付けます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2026-04-13 UTC。
[null,null,["最終更新日 2026-04-13 UTC。"],[],["`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"]]