Skip to content

Commit 06551e1

Browse files
fix(chat): update the API
#### chat:v1 The following keys were changed: - schemas.GoogleAppsCardV1Card.properties.expressionData.description - schemas.GoogleAppsCardV1CommonWidgetAction.description - schemas.GoogleAppsCardV1Condition.description - schemas.GoogleAppsCardV1DataSourceConfig.description - schemas.GoogleAppsCardV1DateTimePicker.properties.hostAppDataSource.description - schemas.GoogleAppsCardV1EventAction.description - schemas.GoogleAppsCardV1ExpressionData.description - schemas.GoogleAppsCardV1ExpressionDataCondition.description - schemas.GoogleAppsCardV1Section.properties.id.description - schemas.GoogleAppsCardV1SelectionInput.properties.dataSourceConfigs.description - schemas.GoogleAppsCardV1SelectionInput.properties.hintText.description - schemas.GoogleAppsCardV1TextInput.properties.hostAppDataSource.description - schemas.GoogleAppsCardV1Trigger.description - schemas.GoogleAppsCardV1UpdateVisibilityAction.description - schemas.GoogleAppsCardV1Widget.properties.eventActions.description - schemas.GoogleAppsCardV1Widget.properties.id.description - schemas.GoogleAppsCardV1Widget.properties.visibility.description
1 parent 9871097 commit 06551e1

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

discovery/chat-v1.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@
15351535
}
15361536
}
15371537
},
1538-
"revision": "20251029",
1538+
"revision": "20251106",
15391539
"rootUrl": "https://chat.googleapis.com/",
15401540
"schemas": {
15411541
"AccessSettings": {
@@ -2649,7 +2649,7 @@
26492649
"type": "string"
26502650
},
26512651
"expressionData": {
2652-
"description": "The expression data for the card. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
2652+
"description": "The expression data for the card. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
26532653
"items": {
26542654
"$ref": "GoogleAppsCardV1ExpressionData"
26552655
},
@@ -2961,7 +2961,7 @@
29612961
"type": "object"
29622962
},
29632963
"GoogleAppsCardV1CommonWidgetAction": {
2964-
"description": "Represents an action that is not specific to a widget. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
2964+
"description": "Represents an action that is not specific to a widget. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
29652965
"id": "GoogleAppsCardV1CommonWidgetAction",
29662966
"properties": {
29672967
"updateVisibilityAction": {
@@ -2972,7 +2972,7 @@
29722972
"type": "object"
29732973
},
29742974
"GoogleAppsCardV1Condition": {
2975-
"description": "Represents a condition that can be used to trigger an action. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
2975+
"description": "Represents a condition that can be used to trigger an action. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
29762976
"id": "GoogleAppsCardV1Condition",
29772977
"properties": {
29782978
"actionRuleId": {
@@ -2987,7 +2987,7 @@
29872987
"type": "object"
29882988
},
29892989
"GoogleAppsCardV1DataSourceConfig": {
2990-
"description": "A configuration object that helps configure the data sources for a widget. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
2990+
"description": "A configuration object that helps configure the data sources for a widget. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
29912991
"id": "GoogleAppsCardV1DataSourceConfig",
29922992
"properties": {
29932993
"platformDataSource": {
@@ -3007,7 +3007,7 @@
30073007
"properties": {
30083008
"hostAppDataSource": {
30093009
"$ref": "HostAppDataSourceMarkup",
3010-
"description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. Only supported by Google Workspace Workflows, but not Google Chat API or Google Workspace Add-ons."
3010+
"description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps."
30113011
},
30123012
"label": {
30133013
"description": "The text that prompts users to input a date, a time, or a date and time. For example, if users are scheduling an appointment, use a label such as `Appointment date` or `Appointment date and time`.",
@@ -3131,7 +3131,7 @@
31313131
"type": "object"
31323132
},
31333133
"GoogleAppsCardV1EventAction": {
3134-
"description": "Represents an actionthat can be performed on an ui element. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3134+
"description": "Represents an actionthat can be performed on an ui element. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
31353135
"id": "GoogleAppsCardV1EventAction",
31363136
"properties": {
31373137
"actionRuleId": {
@@ -3153,7 +3153,7 @@
31533153
"type": "object"
31543154
},
31553155
"GoogleAppsCardV1ExpressionData": {
3156-
"description": "Represents the data that is used to evaluate an expression. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3156+
"description": "Represents the data that is used to evaluate an expression. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
31573157
"id": "GoogleAppsCardV1ExpressionData",
31583158
"properties": {
31593159
"conditions": {
@@ -3182,7 +3182,7 @@
31823182
"type": "object"
31833183
},
31843184
"GoogleAppsCardV1ExpressionDataCondition": {
3185-
"description": "Represents a condition that is evaluated using CEL. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3185+
"description": "Represents a condition that is evaluated using CEL. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
31863186
"id": "GoogleAppsCardV1ExpressionDataCondition",
31873187
"properties": {
31883188
"conditionType": {
@@ -3560,7 +3560,7 @@
35603560
"type": "string"
35613561
},
35623562
"id": {
3563-
"description": "A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3563+
"description": "A unique ID assigned to the section that's used to identify the section to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+`. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
35643564
"type": "string"
35653565
},
35663566
"uncollapsibleWidgetsCount": {
@@ -3583,7 +3583,7 @@
35833583
"id": "GoogleAppsCardV1SelectionInput",
35843584
"properties": {
35853585
"dataSourceConfigs": {
3586-
"description": "Optional. The data source configs for the selection control. This field provides more fine-grained control over the data source. If specified, the `multi_select_max_selected_items` field, `multi_select_min_query_length` field, `external_data_source` field and `platform_data_source` field are ignored. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3586+
"description": "Optional. The data source configs for the selection control. This field provides more fine-grained control over the data source. If specified, the `multi_select_max_selected_items` field, `multi_select_min_query_length` field, `external_data_source` field and `platform_data_source` field are ignored. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
35873587
"items": {
35883588
"$ref": "GoogleAppsCardV1DataSourceConfig"
35893589
},
@@ -3594,7 +3594,7 @@
35943594
"description": "An external data source, such as a relational database."
35953595
},
35963596
"hintText": {
3597-
"description": "Optional. Text that appears below the selection input field meant to assist users by prompting them to enter a certain value. This text is always visible. Only supported by Google Workspace Workflows, but not Google Chat API or Google Workspace Add-ons.",
3597+
"description": "Optional. Text that appears below the selection input field meant to assist users by prompting them to enter a certain value. This text is always visible. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
35983598
"type": "string"
35993599
},
36003600
"items": {
@@ -3753,7 +3753,7 @@
37533753
},
37543754
"hostAppDataSource": {
37553755
"$ref": "HostAppDataSourceMarkup",
3756-
"description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons."
3756+
"description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps."
37573757
},
37583758
"initialSuggestions": {
37593759
"$ref": "GoogleAppsCardV1Suggestions",
@@ -3829,7 +3829,7 @@
38293829
"type": "object"
38303830
},
38313831
"GoogleAppsCardV1Trigger": {
3832-
"description": "Represents a trigger. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3832+
"description": "Represents a trigger. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
38333833
"id": "GoogleAppsCardV1Trigger",
38343834
"properties": {
38353835
"actionRuleId": {
@@ -3840,7 +3840,7 @@
38403840
"type": "object"
38413841
},
38423842
"GoogleAppsCardV1UpdateVisibilityAction": {
3843-
"description": "Represents an action that updates the visibility of a widget. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3843+
"description": "Represents an action that updates the visibility of a widget. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
38443844
"id": "GoogleAppsCardV1UpdateVisibilityAction",
38453845
"properties": {
38463846
"visibility": {
@@ -3925,7 +3925,7 @@
39253925
"description": "Displays a horizontal line divider between widgets. For example, the following JSON creates a divider: ``` \"divider\": { } ```"
39263926
},
39273927
"eventActions": {
3928-
"description": "Specifies the event actions that can be performed on the widget. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3928+
"description": "Specifies the event actions that can be performed on the widget. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
39293929
"items": {
39303930
"$ref": "GoogleAppsCardV1EventAction"
39313931
},
@@ -3952,7 +3952,7 @@
39523952
"type": "string"
39533953
},
39543954
"id": {
3955-
"description": "A unique ID assigned to the widget that's used to identify the widget to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+` and. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3955+
"description": "A unique ID assigned to the widget that's used to identify the widget to be mutated. The ID has a character limit of 64 characters and should be in the format of `[a-zA-Z0-9-]+` and. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
39563956
"type": "string"
39573957
},
39583958
"image": {
@@ -3972,7 +3972,7 @@
39723972
"description": "Displays a text paragraph. Supports simple HTML formatted text. For more information about formatting text, see [Formatting text in Google Chat apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) and [Formatting text in Google Workspace add-ons](https://developers.google.com/apps-script/add-ons/concepts/widgets#text_formatting). For example, the following JSON creates a bolded text: ``` \"textParagraph\": { \"text\": \" *bold text*\" } ```"
39733973
},
39743974
"visibility": {
3975-
"description": "Specifies whether the widget is visible or hidden. The default value is `VISIBLE`. Only supported by Google Workspace Workflow, but not Google Chat apps or Google Workspace add-ons.",
3975+
"description": "Specifies whether the widget is visible or hidden. The default value is `VISIBLE`. Available for Google Workspace add-ons that extend Google Workspace flows, which is available as part of the [Gemini Alpha program](https://support.google.com/a/answer/14170809). Unavailable for Google Chat apps.",
39763976
"enum": [
39773977
"VISIBILITY_UNSPECIFIED",
39783978
"VISIBLE",

0 commit comments

Comments
 (0)