Enum InputType
    
    
      
    
    
      
      透過集合功能整理內容
    
    
      
      你可以依據偏好儲存及分類內容。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
輸入內容類型
定義小工具輸入類型的列舉。
InputType.TEXT 表示輸入內容可接受包含所有字元的一般文字。
InputType.INTEGER 表示輸入內容可接受整數。
InputType.FLOAT 表示輸入內容可接受浮點數。
InputType.EMAIL 表示輸入內容可接受電子郵件地址。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如 
CardService.InputType.INTEGER。
 
屬性
| 屬性 | 類型 | 說明 | 
TEXT | Enum | 接受一般文字。 | 
INTEGER | Enum | 接受整數。 | 
FLOAT | Enum | 接受浮點數。 | 
EMAIL | Enum | 接受電子郵件地址。 | 
 
 
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
  上次更新時間:2025-07-26 (世界標準時間)。
  
  
  
    
      [null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],["`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"]]