Enum Icon
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırı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-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003ePredefined icons are available for use in UI objects like ImageButtons and DecoratedText widgets within Google Workspace Add-ons and Google Chat apps.\u003c/p\u003e\n"],["\u003cp\u003eThese icons are accessed by calling their parent class, name, and property, for example: \u003ccode\u003eCardService.Icon.BOOKMARK\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eA variety of icons are offered, including but not limited to: airplane, bookmark, bus, car, clock, and confirmation number.\u003c/p\u003e\n"],["\u003cp\u003eBy default, no icon is applied unless specified using an enum value other than \u003ccode\u003eNONE\u003c/code\u003e.\u003c/p\u003e\n"]]],["Predefined icons are available for UI objects like ImageButton and DecoratedText in Google Workspace add-ons and Chat apps. These icons are accessed via the `CardService.Icon` class, followed by the icon's name (e.g., `CardService.Icon.BOOKMARK`). Available icons include `NONE` (default), `AIRPLANE`, `BOOKMARK`, `BUS`, `CAR`, and others relating to common items, up to `VIDEO_PLAY`.\n"],null,["# Enum Icon\n\nIcon\n\nPredefined icons that can be used in various UI objects, such as [ImageButton](/apps-script/reference/card-service/image-button) or [DecoratedText](/apps-script/reference/card-service/decorated-text) widgets.\n\nAvailable for Google Workspace add-ons and Google Chat apps.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCardService.Icon.BOOKMARK`. \n\n### Properties\n\n| Property | Type | Description |\n|----------------------------|--------|-------------------|\n| `NONE` | `Enum` | No icon. Default. |\n| `AIRPLANE` | `Enum` | |\n| `BOOKMARK` | `Enum` | |\n| `BUS` | `Enum` | |\n| `CAR` | `Enum` | |\n| `CLOCK` | `Enum` | |\n| `CONFIRMATION_NUMBER_ICON` | `Enum` | |\n| `DOLLAR` | `Enum` | |\n| `DESCRIPTION` | `Enum` | |\n| `EMAIL` | `Enum` | |\n| `EVENT_PERFORMER` | `Enum` | |\n| `EVENT_SEAT` | `Enum` | |\n| `FLIGHT_ARRIVAL` | `Enum` | |\n| `FLIGHT_DEPARTURE` | `Enum` | |\n| `HOTEL` | `Enum` | |\n| `HOTEL_ROOM_TYPE` | `Enum` | |\n| `INVITE` | `Enum` | |\n| `MAP_PIN` | `Enum` | |\n| `MEMBERSHIP` | `Enum` | |\n| `MULTIPLE_PEOPLE` | `Enum` | |\n| `OFFER` | `Enum` | |\n| `PERSON` | `Enum` | |\n| `PHONE` | `Enum` | |\n| `RESTAURANT_ICON` | `Enum` | |\n| `SHOPPING_CART` | `Enum` | |\n| `STAR` | `Enum` | |\n| `STORE` | `Enum` | |\n| `TICKET` | `Enum` | |\n| `TRAIN` | `Enum` | |\n| `VIDEO_CAMERA` | `Enum` | |\n| `VIDEO_PLAY` | `Enum` | |"]]