Class RemoveSection

RemoveSection

A builder for RemoveSection objects. Developers can remove a section from the card by passing a RemoveSection to ModifyCard

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
Remove Section 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 Id
String The ID of the section to be removed.

Return

RemoveSection — This remove section object, for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: