Class RemoveSection

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 - 此移除部分对象,用于链接。