ออก
ตัวสร้างสำหรับออบเจ็กต์ Remove นักพัฒนาแอปสามารถนำส่วนออกจากบัตรได้โดย
ส่ง Remove ไปยัง Modify
ใช้ได้เฉพาะกับส่วนเสริมของ Google Workspace ที่ขยาย Google Workspace Studio
ตัวอย่างการใช้งาน
const removeSection = AddOnsResponseService.newRemoveSection().setSectionId('sample_id'); const modifyCard = AddOnsResponseService.newModifyCard().setRemoveSection(removeSection);
เมธอด
| วิธีการ | ประเภทการแสดงผล | รายละเอียดแบบย่อ |
|---|---|---|
set | Remove | ตั้งค่ารหัสส่วนของส่วนที่จะนำออก |
เอกสารโดยละเอียด
set Section Id(sectionId)
ตั้งค่ารหัสส่วนของส่วนที่จะนำออก
พารามิเตอร์
| ชื่อ | ประเภท | คำอธิบาย |
|---|---|---|
section | String | รหัสของส่วนที่จะนำออก |
รีเทิร์น
Remove — This remove section object, for chaining.