RemoveSection 物件的建構工具。開發人員可以將 RemoveSection 傳遞至 ModifyCard,從資訊卡中移除區段:
僅適用於擴充 Google Workspace Studio 的 Google Workspace 外掛程式。
用法範例:
const removeSection = AddOnsResponseService.newRemoveSection().setSectionId('sample_id'); const modifyCard = AddOnsResponseService.newModifyCard().setRemoveSection(removeSection);
方法
| 方法 | 傳回類型 | 簡短說明 |
|---|---|---|
set | Remove | 設定要移除的區塊 ID。 |
內容詳盡的說明文件
setSectionId(sectionId)
設定要移除的區塊 ID。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
section | String | 要移除的區塊 ID。 |
回攻員
RemoveSection - This remove section object, for chaining.