Class UpdateVisibilityAction

更新瀏覽權限動作

更新資訊卡小工具的顯示設定,使其顯示或隱藏。

僅適用於擴充 Google Workspace Studio 的 Google Workspace 外掛程式。

const updateVisibilityAction = CardService.newUpdateVisibilityAction()
.setVisibility(CardService.Visibility.VISIBLE);

方法

方法傳回類型簡短說明
setVisibility(visibility)UpdateVisibilityAction將小工具設為顯示或隱藏。

內容詳盡的說明文件

setVisibility(visibility)

將小工具設為顯示或隱藏。

參數

名稱類型說明
visibilityVisibility小工具的瀏覽權限。

回攻員

UpdateVisibilityAction - UpdateVisibilityAction,用於鏈結。