AI-generated Key Takeaways
-
InputType is an enum defining the accepted input type for a widget, such as text, integer, float, or email.
-
To utilize an enum, reference its parent class, name, and property, for instance:
CardService.InputType.INTEGER
. -
This feature is currently in Developer Preview and accessible through the Google Workspace Developer Preview Program.
An enum that defines the input type of the widget.
Input
means that the input accepts regular text including all characters.
Input
means that the input accepts an integer.
Input
means that the input accepts a floating-point number.
Input
means that the input accepts an email address.
To call an enum, you call its parent class, name, and property. For example,
CardService.InputType.INTEGER
.
Properties
Property | Type | Description |
---|---|---|
TEXT | Enum | Accept regular text. |
INTEGER | Enum | Accept an integer. |
FLOAT | Enum | Accept a floating-point number. |
EMAIL | Enum | Accept an email address. |