Skip to content

Commit 127445a

Browse files
yoshi-automationsofisl
authored andcommitted
feat(chat): update the API
#### chat:v1 The following keys were added: - schemas.GoogleAppsCardV1SelectionInput.properties.hintText.description - schemas.GoogleAppsCardV1SelectionInput.properties.hintText.type The following keys were changed: - schemas.DeprecatedEvent.description
1 parent 02abe6b commit 127445a

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

discovery/chat-v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,7 +1528,7 @@
15281528
}
15291529
}
15301530
},
1531-
"revision": "20250619",
1531+
"revision": "20250706",
15321532
"rootUrl": "https://chat.googleapis.com/",
15331533
"schemas": {
15341534
"AccessSettings": {
@@ -2234,7 +2234,7 @@
22342234
"type": "object"
22352235
},
22362236
"DeprecatedEvent": {
2237-
"description": "A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). 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).",
2237+
"description": " A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). 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). Note: This event is only used for [Chat interaction events](https://developers.google.com/workspace/chat/receive-respond-interactions). If your Chat app is built as a [Google Workspace add-on](https://developers.google.com/workspace/add-ons/chat/build), see [Chat event objects](https://developers.google.com/workspace/add-ons/concepts/event-objects#chat-event-object) in the add-ons documentation.",
22382238
"id": "DeprecatedEvent",
22392239
"properties": {
22402240
"action": {
@@ -3408,6 +3408,10 @@
34083408
"$ref": "GoogleAppsCardV1Action",
34093409
"description": "An external data source, such as a relational database."
34103410
},
3411+
"hintText": {
3412+
"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.",
3413+
"type": "string"
3414+
},
34113415
"items": {
34123416
"description": "An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.",
34133417
"items": {

src/apis/chat/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ export namespace chat_v1 {
575575
deletionType?: string | null;
576576
}
577577
/**
578-
* A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). 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).
578+
* A Google Chat app interaction event that represents and contains data about a user's interaction with a Chat app. To configure your Chat app to receive interaction events, see [Receive and respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-interactions). 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). Note: This event is only used for [Chat interaction events](https://developers.google.com/workspace/chat/receive-respond-interactions). If your Chat app is built as a [Google Workspace add-on](https://developers.google.com/workspace/add-ons/chat/build), see [Chat event objects](https://developers.google.com/workspace/add-ons/concepts/event-objects#chat-event-object) in the add-ons documentation.
579579
*/
580580
export interface Schema$DeprecatedEvent {
581581
/**
@@ -1386,6 +1386,10 @@ export namespace chat_v1 {
13861386
* An external data source, such as a relational database.
13871387
*/
13881388
externalDataSource?: Schema$GoogleAppsCardV1Action;
1389+
/**
1390+
* 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.
1391+
*/
1392+
hintText?: string | null;
13891393
/**
13901394
* An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.
13911395
*/

0 commit comments

Comments
 (0)