Class RenderAction

RenderAction

執行 Action 以回應使用者互動,進而算繪或更新資訊卡。

僅適用於透過 Gemini Alpha 計畫取得的 Google Workspace 外掛程式,可擴充 Google Workspace Flows。

用法範例:

const renderAction = AddOnsResponseService.newRenderActionBuilder()
.setAction(AddOnsResponseService.newAction().setLink(AddOnsResponseService.newLink().setUrl('https://www.google.com')))
.build();

方法

方法傳回類型簡短說明
printJson()String列印這個物件的 JSON 表示法。

內容詳盡的說明文件

printJson()

列印這個物件的 JSON 表示法。這項設定僅適用於偵錯。

回攻員

String