Package google.apps.script.type.drive
DriveAddOnManifest
ドライブ アドオンの外観と実行をカスタマイズするプロパティ。
DriveExtensionPoint
ドライブ アドオンのトリガーを宣言するための一般的な形式です。
フィールド |
runFunction |
string
必須。拡張機能ポイントが有効になったときに実行されるエンドポイント。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-27 UTC。
[null,null,["最終更新日 2025-02-27 UTC。"],[[["Drive add-ons can be customized through the `DriveAddOnManifest`, affecting their look and execution."],["`DriveAddOnManifest` allows customization of the add-on's homepage and behavior when items are selected in Drive views."],["`DriveExtensionPoint` provides a structure for defining triggers that activate specific functions within the add-on."],["When a Drive extension point is triggered, the specified `runFunction` is executed."]]],["The `DriveAddOnManifest` configures a Drive add-on's appearance and behavior. It allows specifying a `homepageTrigger` to override the common homepage and an `onItemsSelectedTrigger` for actions when items are selected in Drive. `DriveExtensionPoint` defines a trigger, including the required `runFunction`, which is an endpoint executed when the trigger is activated. The triggers define actions and behaviors.\n"]]