Ek simgeleri sağlayın
Takvim eklentileri, geliştiricilerin EventAttachmentTrigger'ı kullanarak Takvim etkinliklerine özel ekler eklemelerine olanak tanır.
Bu özel ekler isteğe bağlı olarak, takvim etkinliğinde ekin simgesi olarak gösterilen bir resim URL'si belirtebilir. Bu resimler doğrudan Takvim'de kullanıldığı için Google'ın altyapısında barındırmanız gerekir.
Daha açık belirtmek gerekirse, eklentilerin Google Workspace Marketplace mağaza girişinde kullandığınız simgeyi kullanmanız gerekir.
attachment.iconUrl
olarak kullanılabilecek bir resim URL'si almak için:
- Google Cloud Console'u açın.
- Gerekirse eklentinizi barındıran projeye geçin.
- Sol üstte Menü menu > API'ler ve Hizmetler'i tıklayın.
- Alt kısımdaki listeden Google Workspace Marketplace SDK'sı'nı tıklayın.
- Mağaza Girişi sekmesini seçin.
- Grafik Öğeleri bölümünde, ek simgesinin resmini Uygulama Simgesi 32x32 olarak yükleyin.
- Elde edilen resim URL'sini kopyalayın ve
attachment.iconUrl
olarak kullanın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-02-16 UTC.
[null,null,["Son güncelleme tarihi: 2025-02-16 UTC."],[[["Calendar add-ons allow developers to add custom attachments with optional icons to Calendar events using the EventAttachmentTrigger."],["Attachment icons must be hosted on Google's infrastructure and be the same icon used for the add-on's Google Workspace Marketplace store listing."],["To obtain the image URL for attachment icons, developers need to upload the icon as an \"Application Icon 32x32\" in the Google Cloud console's Google Workspace Marketplace SDK Store Listing section and use the resulting URL."]]],["Developers can add custom attachments to Calendar events using the `EventAttachmentTrigger`. These attachments can have icons, which must be hosted on Google's infrastructure. To get a valid icon URL, navigate to the Google Cloud console, switch to the add-on's project, and access the Google Workspace Marketplace SDK. In the \"Store Listing\" tab's \"Graphics Assets\" section, upload the icon image (32x32) as an \"Application Icon\", then copy and use the generated image URL as the `attachment.iconUrl`.\n"]]