添付ファイル アイコンを提供する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
カレンダー アドオンを使用すると、デベロッパーは EventAttachmentTrigger を使用してカレンダーの予定にカスタム アタッチメントを追加できます。カスタムの添付ファイルに画像 URL を指定することもできます。その場合は、カレンダーの予定内の添付ファイルのアイコンとして表示されます。これらのイメージはカレンダー内で直接使用されるため、Google のインフラストラクチャ上でホストする必要があります。具体的には、アドオンの Google Workspace Marketplace のストアの掲載情報と同じアイコンを使用する必要があります。
attachment.iconUrl
として使用できる画像の URL を取得するには:
- Google Cloud Console を開きます。
- 必要に応じて、アドオンをホストしているプロジェクトに切り替えます。
- 左上のメニュー アイコン menu & gt; [API とサービス] の順にクリックします。
- 下部のリストで、[Google Workspace Marketplace SDK] をクリックします。
- [ストアの掲載情報] タブを選択します。
- [Graphics Assets] セクションで、目的の添付ファイルのアイコン画像をアプリアイコン 32×32 としてアップロードします。
- 生成された画像の URL をコピーし、
attachment.iconUrl
として使用します。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-01-10 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]