執行 Action 以回應使用者互動,進而算繪或更新資訊卡。
僅適用於透過 Gemini Alpha 計畫取得的 Google Workspace 外掛程式,可擴充 Google Workspace Flows。
用法範例:
const renderAction = AddOnsResponseService.newRenderActionBuilder() .setAction(AddOnsResponseService.newAction().setLink(AddOnsResponseService.newLink().setUrl('https://www.google.com'))) .build();
方法
| 方法 | 傳回類型 | 簡短說明 |
|---|---|---|
print | String | 列印這個物件的 JSON 表示法。 |
內容詳盡的說明文件
print Json()
列印這個物件的 JSON 表示法。這項設定僅適用於偵錯。
回攻員
String