Class AddOnsResponseService

บริการตอบกลับส่วนเสริม

AddOnsResponseService ช่วยให้สร้างการตอบกลับสำหรับส่วนเสริมของ Google Workspace ที่ขยาย Google Workspace Flows ได้

พร้อมให้บริการผ่านโปรแกรม Gemini เวอร์ชันอัลฟ่า เท่านั้นสำหรับส่วนเสริม Google Workspace ที่ขยาย Google Workspace Flows

ตัวอย่างการใช้งาน

function myFunction() {
  return AddOnsResponseService.newChatDataActionBuilder();
}

เมธอด

วิธีการประเภทการแสดงผลรายละเอียดแบบย่อ
newAction()Actionสร้าง Action ใหม่
newNavigation()Navigationสร้าง Navigation ใหม่
newRenderActionBuilder()RenderActionBuilderสร้าง RenderActionBuilder ใหม่

เอกสารโดยละเอียด

newAction()

สร้าง Action ใหม่

รีเทิร์น

Action — การดำเนินการที่ว่างเปล่า


newNavigation()

สร้าง Navigation ใหม่

รีเทิร์น

Navigation — การนำทางที่ว่างเปล่า


newRenderActionBuilder()

สร้าง RenderActionBuilder ใหม่

รีเทิร์น

RenderActionBuilder — RenderActionBuilder ที่ว่างเปล่า