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