Class RemoveSection

移除章節

RemoveSection 物件的建構工具。開發人員可以將 RemoveSection 傳遞至 ModifyCard,從資訊卡中移除區段:

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

用法範例:

const removeSection = AddOnsResponseService.newRemoveSection().setSectionId('sample_id');

const modifyCard = AddOnsResponseService.newModifyCard().setRemoveSection(removeSection);

方法

方法傳回類型簡短說明
setSectionId(sectionId)RemoveSection設定要移除的區塊 ID。

內容詳盡的說明文件

setSectionId(sectionId)

設定要移除的區塊 ID。

參數

名稱類型說明
sectionIdString要移除的區塊 ID。

回攻員

RemoveSection - This remove section object, for chaining.