Class ActionResponse
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
アクションレスポンス
アドオンがカードまたはホスト アプリケーションで使用できるアクション。
Google Chat を拡張する Google Workspace アドオンで利用できます。
constnotification=AddOnsResponseService.newNotification().setText("You closed a dialog!");constnavigation=AddOnsResponseService.newNavigation().setEndNavigation(AddOnsResponseService.EndNavigation.CLOSE_DIALOG);// An action that closes the dialog and shows a notification.constaction=AddOnsResponseService.newActionResponseBuilder().setNavigation(navigation).setNotification(notification).build();