HostApp
Google Workspace 外掛程式或 Google Chat 應用程式的 Google Workspace 應用程式。
對於外掛程式,則是 Google Workspace 外掛程式啟動的 Workspace 應用程式。對於 Chat 應用程式,主機應用程式一律為 CHAT
。
列舉 |
UNSPECIFIED_HOST_APP |
Google 無法辨識主機應用程式。 |
GMAIL |
外掛程式會從 Gmail 啟動。 |
CALENDAR |
外掛程式會從 Google 日曆啟動。 |
DRIVE |
外掛程式會從 Google 雲端硬碟啟動。 |
DEMO |
未使用。 |
DOCS |
外掛程式會從 Google 文件啟動。 |
MEET |
外掛程式會透過 Google Meet 啟動。 |
SHEETS |
外掛程式會從 Google 試算表啟動。 |
SLIDES |
外掛程式會透過 Google 簡報啟動。 |
DRAWINGS |
外掛程式會從 Google 繪圖啟動。 |
CHAT |
Google Chat 應用程式。不適用於 Google Workspace 外掛程式。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-04 (世界標準時間)。
[null,null,["上次更新時間:2025-02-04 (世界標準時間)。"],[[["The `HostApp` enum indicates the Google Workspace application from which a Google Workspace Add-on or Google Chat app launches."],["For add-ons, the `HostApp` specifies the originating application like Gmail, Calendar, or Drive, while for Chat apps, it's always `CHAT`."],["`UNSPECIFIED_HOST_APP` is used when Google cannot identify the host app, and `DEMO` is not utilized."]]],["The content defines the host applications for Google Workspace add-ons and Google Chat apps. For add-ons, host apps include Gmail, Calendar, Drive, Docs, Meet, Sheets, Slides, and Drawings. Each of these indicates where the add-on is launched from. For Chat apps, the host app is always `CHAT`. An `UNSPECIFIED_HOST_APP` means Google can't identify the host. `DEMO` is listed but not used for either add-ons or Chat apps.\n"]]