A builder for Remove objects. Developers can remove a section from the card by
passing a Remove to Modify
Only available for Google Workspace add-ons that extend Google Workspace Studio.
Sample usage:
const removeSection = AddOnsResponseService.newRemoveSection().setSectionId('sample_id'); const modifyCard = AddOnsResponseService.newModifyCard().setRemoveSection(removeSection);
Methods
| Method | Return type | Brief description |
|---|---|---|
set | Remove | Sets the section ID of the section to be removed. |
Detailed documentation
setSectionId(sectionId)
Sets the section ID of the section to be removed.
Parameters
| Name | Type | Description |
|---|---|---|
section | String | The ID of the section to be removed. |
Return
Remove — This remove section object, for chaining.