更新資訊卡小工具的顯示設定,使其顯示或隱藏。
僅適用於透過 Gemini Alpha 計畫取得的 Google Workspace 外掛程式,可擴充 Google Workspace Flows。
const updateVisibilityAction = CardService.newUpdateVisibilityAction() .setVisibility(CardService.Visibility.VISIBLE);
方法
| 方法 | 傳回類型 | 簡短說明 | 
|---|---|---|
| set | Update | 將小工具設為顯示或隱藏。 | 
內容詳盡的說明文件
set
將小工具設為顯示或隱藏。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| visibility | Visibility | 小工具的瀏覽權限。 | 
回攻員
Update - The UpdateVisibilityAction,用於鏈結。