Google Classroom アドオンの一般提供が開始されました。詳しくは、
アドオンのドキュメントをご覧ください。
アップグレード iframe をリンクする
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
リンクのアップグレード iframe は、教師がリンク アタッチメントをアドオン アタッチメントにアップグレードすることに同意したときに表示されるビューです。この機能の詳細については、リンクをアドオン アタッチメントにアップグレードするをご覧ください。
リンクのアップグレード フロー
教師は課題作成ページの [リンクを追加] ダイアログでリンクを追加できます。

図 1. 教師が課題作成ページでリンク アタッチメントを作成するために表示されるダイアログ。
リンクが指定したURL パターンと一致する場合、教師には、リンクをアドオン アタッチメントにアップグレードするよう求めるダイアログが表示されます。同意すると、関連する iframe クエリ パラメータとともにリンク アップグレード iframe が開きます。アタッチメントが作成されると、iframe が閉じられ、教師には課題作成ページにアタッチメントが含まれていることが示されます。
このフローのユーザー エクスペリエンスに関する考慮事項については、リンクをアドオン アタッチメントにアップグレードするガイドの推奨されるユーザー エクスペリエンスのセクションをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Link Upgrade iframe\n\nThe **Link Upgrade iframe** is the view that teachers see when they agree to\nupgrade a Link attachment to an add-on attachment. For additional details about\nthis feature, see the guide on [upgrading links to add-on attachments](/workspace/classroom/add-ons/developer-guides/upgrade-links-to-addons).\n\nLink Upgrade flow\n-----------------\n\nFrom the assignment creation page, the teacher can include a link in the Add\nlink dialog.\n\n**Figure 1.** The dialog that's displayed on the assignment creation page for a\nteacher to create a [Link attachment](/workspace/classroom/reference/rest/v1/Link).\n\nIf the Link matches a [URL pattern](/workspace/classroom/add-ons/developer-guides/upgrade-links-to-addons#configuration_details) that you have provided, the teacher sees a\ndialog that prompts them to upgrade the Link to an add-on attachment. If they\nagree, the Link Upgrade iframe opens with the relevant [iframe query\nparameters](/workspace/classroom/add-ons/developer-guides/iframes). Once the attachment has been created, the iframe closes and the\nteacher sees the attachment included on the assignment creation page.\n\nSee the [Recommended user experience section](/workspace/classroom/add-ons/developer-guides/upgrade-links-to-addons#recommended_user_experience) of the guide on upgrading links to\nadd-on attachments for details on user experience considerations in this flow."]]