|
990 | 990 | } |
991 | 991 | } |
992 | 992 | }, |
993 | | - "revision": "20240310", |
| 993 | + "revision": "20240315", |
994 | 994 | "rootUrl": "https://chat.googleapis.com/", |
995 | 995 | "schemas": { |
996 | 996 | "ActionParameter": { |
|
1559 | 1559 | "type": "object" |
1560 | 1560 | }, |
1561 | 1561 | "DeprecatedEvent": { |
1562 | | - "description": "A Google Chat app interaction event. To learn about interaction events, see [Receive and respond to interactions with your Google Chat app](https://developers.google.com/chat/api/guides/message-formats). To learn about event types and for example event payloads, see [Types of Google Chat app interaction events](https://developers.google.com/chat/api/guides/message-formats/events).", |
| 1562 | + "description": "A Google Chat app interaction event. To learn about interaction events, see [Receive and respond to interactions with your Google Chat app](https://developers.google.com/workspace/chat/api/guides/message-formats). To learn about event types and for example event payloads, see [Types of Google Chat app interaction events](https://developers.google.com/workspace/chat/events). In addition to receiving events from user interactions, Chat apps can receive events about changes to spaces, such as when a new member is added to a space. To learn about space events, see [Work with events from Google Chat](https://developers.google.com/workspace/chat/events-overview).", |
1563 | 1563 | "id": "DeprecatedEvent", |
1564 | 1564 | "properties": { |
1565 | 1565 | "action": { |
|
1616 | 1616 | "type": "string" |
1617 | 1617 | }, |
1618 | 1618 | "type": { |
1619 | | - "description": "The type of interaction event. For details, see [Types of Google Chat app interaction events](https://developers.google.com/chat/api/guides/message-formats/events).", |
| 1619 | + "description": "The type of interaction event. For details, see [Types of Google Chat app interaction events](https://developers.google.com/workspace/chat/events).", |
1620 | 1620 | "enum": [ |
1621 | 1621 | "UNSPECIFIED", |
1622 | 1622 | "MESSAGE", |
|
2282 | 2282 | "knownIcon": { |
2283 | 2283 | "description": "Display one of the built-in icons provided by Google Workspace. For example, to display an airplane icon, specify `AIRPLANE`. For a bus, specify `BUS`. For a full list of supported icons, see [built-in icons](https://developers.google.com/chat/format-messages#builtinicons).", |
2284 | 2284 | "type": "string" |
| 2285 | + }, |
| 2286 | + "materialIcon": { |
| 2287 | + "$ref": "GoogleAppsCardV1MaterialIcon", |
| 2288 | + "description": "Display one of the [Google Material Icons](https://fonts.google.com/icons). For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048), use \"material_icon\": { \"name\": \"check_box\" } Available for Chat apps and in [Developer Preview](https://developers.google.com/workspace/preview) for Google Workspace Add-ons." |
2285 | 2289 | } |
2286 | 2290 | }, |
2287 | 2291 | "type": "object" |
|
2358 | 2362 | }, |
2359 | 2363 | "type": "object" |
2360 | 2364 | }, |
| 2365 | + "GoogleAppsCardV1MaterialIcon": { |
| 2366 | + "description": "A [Google Material Icon](https://fonts.google.com/icons), which includes over 2500+ options. For example, to display a [checkbox icon](https://fonts.google.com/icons?selected=Material%20Symbols%20Outlined%3Acheck_box%3AFILL%400%3Bwght%40400%3BGRAD%400%3Bopsz%4048) with customized weight and grade, write { \"name\": \"check_box\", \"fill\": true, \"weight\": 300, \"grade\": -25 } Available for Chat apps and in [Developer Preview](https://developers.google.com/workspace/preview) for Google Workspace Add-ons.", |
| 2367 | + "id": "GoogleAppsCardV1MaterialIcon", |
| 2368 | + "properties": { |
| 2369 | + "fill": { |
| 2370 | + "description": "Whether it renders a filled icon. Default value is false. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.", |
| 2371 | + "type": "boolean" |
| 2372 | + }, |
| 2373 | + "grade": { |
| 2374 | + "description": "Weight and grade affect a symbol’s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If any other value is specified, a broken image icon is displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.", |
| 2375 | + "format": "int32", |
| 2376 | + "type": "integer" |
| 2377 | + }, |
| 2378 | + "name": { |
| 2379 | + "description": "The icon name defined in the [Google Material Icon Icon](https://fonts.google.com/icons) in snake_case. e.g. \"check_box\". Any invalid names are abandoned and replaced with empty string and results in the icon failing to render.", |
| 2380 | + "type": "string" |
| 2381 | + }, |
| 2382 | + "weight": { |
| 2383 | + "description": "The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, a broken image icon is displayed. See Customization in [Google Font Icon](https://fonts.google.com/icons) for details.", |
| 2384 | + "format": "int32", |
| 2385 | + "type": "integer" |
| 2386 | + } |
| 2387 | + }, |
| 2388 | + "type": "object" |
| 2389 | + }, |
2361 | 2390 | "GoogleAppsCardV1OnClick": { |
2362 | 2391 | "description": "Represents how to respond when users click an interactive element on a card, such as a button. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):", |
2363 | 2392 | "id": "GoogleAppsCardV1OnClick", |
|
0 commit comments