-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(all): auto-regenerate discovery clients (#2120)
- Loading branch information
1 parent
85e7e70
commit fd53dce
Showing
38 changed files
with
5,205 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -955,7 +955,7 @@ | |
} | ||
} | ||
}, | ||
"revision": "20230806", | ||
"revision": "20230816", | ||
"rootUrl": "https://chat.googleapis.com/", | ||
"schemas": { | ||
"ActionParameter": { | ||
|
@@ -1496,7 +1496,7 @@ | |
"type": "object" | ||
}, | ||
"DeprecatedEvent": { | ||
"description": "Google Chat events. To learn how to use events, see [Receive and respond to Google Chat events](https://developers.google.com/chat/api/guides/message-formats).", | ||
"description": "Google Chat app interaction events. To learn about interaction events, see [Receive and respond to Google Chat app interaction events](https://developers.google.com/chat/api/guides/message-formats).", | ||
"id": "DeprecatedEvent", | ||
"properties": { | ||
"action": { | ||
|
@@ -1512,48 +1512,48 @@ | |
"type": "string" | ||
}, | ||
"dialogEventType": { | ||
"description": "The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) event received.", | ||
"description": "The type of [dialog](https://developers.google.com/chat/how-tos/dialogs) interaction event received.", | ||
"enum": [ | ||
"TYPE_UNSPECIFIED", | ||
"REQUEST_DIALOG", | ||
"SUBMIT_DIALOG", | ||
"CANCEL_DIALOG" | ||
], | ||
"enumDescriptions": [ | ||
"This could be used when the corresponding event is not dialog related. For example an @mention.", | ||
"This could be used when the corresponding interaction event is not dialog related. For example an @mention.", | ||
"Any user action that opens a [dialog](https://developers.google.com/chat/how-tos/dialogs).", | ||
"A card click event from a [dialog](https://developers.google.com/chat/how-tos/dialogs).", | ||
"A card click interaction event from a [dialog](https://developers.google.com/chat/how-tos/dialogs).", | ||
"The [dialog](https://developers.google.com/chat/how-tos/dialogs) was cancelled." | ||
], | ||
"type": "string" | ||
}, | ||
"eventTime": { | ||
"description": "The timestamp indicating when the event occurred.", | ||
"description": "The timestamp indicating when the interaction event occurred.", | ||
"format": "google-datetime", | ||
"type": "string" | ||
}, | ||
"isDialogEvent": { | ||
"description": "True when the event is related to [dialogs](https://developers.google.com/chat/how-tos/dialogs).", | ||
"description": "True when the interaction event is related to [dialogs](https://developers.google.com/chat/how-tos/dialogs).", | ||
"type": "boolean" | ||
}, | ||
"message": { | ||
"$ref": "Message", | ||
"description": "The message that triggered the event, if applicable." | ||
"description": "The message that triggered the interaction event, if applicable." | ||
}, | ||
"space": { | ||
"$ref": "Space", | ||
"description": "The space in which the event occurred." | ||
"description": "The space in which the interaction event occurred." | ||
}, | ||
"threadKey": { | ||
"description": "The Chat app-defined key for the thread related to the event. See [`spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.FIELDS.thread_key) for more information.", | ||
"description": "The Chat app-defined key for the thread related to the interaction event. See [`spaces.messages.thread.threadKey`](/chat/api/reference/rest/v1/spaces.messages#Thread.FIELDS.thread_key) for more information.", | ||
"type": "string" | ||
}, | ||
"token": { | ||
"description": "A secret value that legacy Chat apps can use to verify if a request is from Google. Google randomly generates the token, and its value remains static. You can obtain, revoke, or regenerate the token from the [Chat API configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat) in the Google Cloud Console. Modern Chat apps don't use this field. It is absent from API responses and the [Chat API configuration page](https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat).", | ||
"type": "string" | ||
}, | ||
"type": { | ||
"description": "The type of the event.", | ||
"description": "The type of the interaction event.", | ||
"enum": [ | ||
"UNSPECIFIED", | ||
"MESSAGE", | ||
|
@@ -1572,7 +1572,7 @@ | |
}, | ||
"user": { | ||
"$ref": "User", | ||
"description": "The user that triggered the event." | ||
"description": "The user that triggered the interaction event." | ||
} | ||
}, | ||
"type": "object" | ||
|
@@ -1807,7 +1807,7 @@ | |
"type": "object" | ||
}, | ||
"GoogleAppsCardV1Card": { | ||
"description": "Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. In Google Chat, cards appear in several places: - As stand-alone messages. - Accompanying a text message, just beneath the text message. - As a [dialog](https://developers.google.com/chat/how-tos/dialogs). The following example JSON creates a \"contact card\" that features: - A header with the contact's name, job title, and avatar picture. - A section with the contact information, including formatted text. - Buttons that users can click to share the contact, or see more or less information. For more examples, see [Design dynamic, interactive, and consistent UIs with cards](https://developers.google.com/chat/ui). ![Example contact card](https://developers.google.com/chat/images/card_api_reference.png) ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\", }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\", }, \"text\": \"[email protected]\", } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\", }, \"text\": \"Online\", }, }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\", }, \"text\": \"+1 (555) 555-1234\", } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\", } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\", } ], } } }, ], } }, ], }, ], }, } ], } ```", | ||
"description": "Cards support a defined layout, interactive UI elements like buttons, and rich media like images. Use cards to present detailed information, gather information from users, and guide users to take a next step. In Google Chat, cards appear in several places: - As stand-alone messages. - Accompanying a text message, just beneath the text message. - As a [dialog](https://developers.google.com/chat/how-tos/dialogs). Only Google Chat apps can create card messages in Google Chat. If your Chat app uses [user authentication](https://developers.google.com/chat/api/guides/auth/users) to send messages on behalf of users, the messages can't contain cards. The following example JSON creates a \"contact card\" that features: - A header with the contact's name, job title, and avatar picture. - A section with the contact information, including formatted text. - Buttons that users can click to share the contact, or see more or less information. For more examples, see [Design dynamic, interactive, and consistent UIs with cards](https://developers.google.com/chat/ui). ![Example contact card](https://developers.google.com/chat/images/card_api_reference.png) ``` { \"cardsV2\": [ { \"cardId\": \"unique-card-id\", \"card\": { \"header\": { \"title\": \"Sasha\", \"subtitle\": \"Software Engineer\", \"imageUrl\": \"https://developers.google.com/chat/images/quickstart-app-avatar.png\", \"imageType\": \"CIRCLE\", \"imageAltText\": \"Avatar for Sasha\", }, \"sections\": [ { \"header\": \"Contact Info\", \"collapsible\": true, \"uncollapsibleWidgetsCount\": 1, \"widgets\": [ { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"EMAIL\", }, \"text\": \"[email protected]\", } }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PERSON\", }, \"text\": \"Online\", }, }, { \"decoratedText\": { \"startIcon\": { \"knownIcon\": \"PHONE\", }, \"text\": \"+1 (555) 555-1234\", } }, { \"buttonList\": { \"buttons\": [ { \"text\": \"Share\", \"onClick\": { \"openLink\": { \"url\": \"https://example.com/share\", } } }, { \"text\": \"Edit\", \"onClick\": { \"action\": { \"function\": \"goToView\", \"parameters\": [ { \"key\": \"viewType\", \"value\": \"EDIT\", } ], } } }, ], } }, ], }, ], }, } ], } ```", | ||
"id": "GoogleAppsCardV1Card", | ||
"properties": { | ||
"cardActions": { | ||
|
@@ -2288,7 +2288,7 @@ | |
}, | ||
"card": { | ||
"$ref": "GoogleAppsCardV1Card", | ||
"description": "A new card is pushed to the card stack after clicking if specified. Supported by Google Workspace Add-ons, but not Chat apps." | ||
"description": "A new card is pushed to the card stack after clicking if specified. Supported by Google Workspace Add-ons, but not Google Chat apps." | ||
}, | ||
"openDynamicLinkAction": { | ||
"$ref": "GoogleAppsCardV1Action", | ||
|
@@ -2543,7 +2543,7 @@ | |
"properties": { | ||
"autoCompleteAction": { | ||
"$ref": "GoogleAppsCardV1Action", | ||
"description": "Optional. Specify what action to take when the text input field provides suggestions to users who interact with it. If unspecified, the suggestions are set by `initialSuggestions` and are processed by the client. If specified, the app takes the action specified here, such as running a custom function. Supported by Google Workspace Add-ons, but not Chat apps." | ||
"description": "Optional. Specify what action to take when the text input field provides suggestions to users who interact with it. If unspecified, the suggestions are set by `initialSuggestions` and are processed by the client. If specified, the app takes the action specified here, such as running a custom function. Supported by Google Workspace Add-ons, but not Google Chat apps." | ||
}, | ||
"hintText": { | ||
"description": "Text that appears below the text input field meant to assist users by prompting them to enter a certain value. This text is always visible. Required if `label` is unspecified. Otherwise, optional.", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.