Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Class Action
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
操作
Google Workspace 插件(用于扩展 Google Workspace Studio)可使用此操作来呈现新卡片。
仅适用于扩展 Google Workspace Studio 的 Google Workspace 插件。
const link = AddOnsResponseService.newLink().setUrl('https://www.google.com');
const action =
AddOnsResponseService.newAction()
.setLink(link);
const renderAction = AddOnsResponseService.newRenderActionBuilder().setAction(action).build();
详细文档
addModifyCard(modifyCard)
向操作添加 ModifyCard 操作。
参数
返回
Action - 此操作对象,用于链式调用。
addNavigation(navigation)
向操作添加卡片导航。
参数
返回
Action - 此操作对象,用于链式调用。
抛出
Error - 如果导航实参无效。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-04-13。
[null,null,["最后更新时间 (UTC):2026-04-13。"],[],[]]