Enum Icon
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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` | |"]]