Skip to content

Commit 91d8a7f

Browse files
feat: Automated regeneration of Chat client (googleapis#12751)
Auto-created at 2024-12-20 13:14:31 +0000 using the toys pull request generator.
1 parent 490986d commit 91d8a7f

14 files changed

+17
-17
lines changed

clients/chat/lib/google_api/chat/v1/connection.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,22 @@ defmodule GoogleApi.Chat.V1.Connection do
6969
# View members in Google Chat conversations.
7070
"https://www.googleapis.com/auth/chat.memberships.readonly",
7171

72-
# See, compose, send, update, and delete messages as well as their message content; add, see, and delete reactions to messages.
72+
# See, compose, send, update, and delete messages and their associated attachments, and add, see, and delete reactions to messages.
7373
"https://www.googleapis.com/auth/chat.messages",
7474

7575
# Compose and send messages in Google Chat
7676
"https://www.googleapis.com/auth/chat.messages.create",
7777

78-
# See, add, and delete reactions as well as their reaction content to messages in Google Chat
78+
# See, add, and delete reactions to messages in Google Chat
7979
"https://www.googleapis.com/auth/chat.messages.reactions",
8080

8181
# Add reactions to messages in Google Chat
8282
"https://www.googleapis.com/auth/chat.messages.reactions.create",
8383

84-
# View reactions as well as their reaction content to messages in Google Chat
84+
# View reactions to messages in Google Chat
8585
"https://www.googleapis.com/auth/chat.messages.reactions.readonly",
8686

87-
# See messages as well as their reactions and message content in Google Chat
87+
# See messages and their associated reactions and attachments in Google Chat
8888
"https://www.googleapis.com/auth/chat.messages.readonly",
8989

9090
# Create conversations and spaces and see or update metadata (including history settings and access settings) in Google Chat

clients/chat/lib/google_api/chat/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Chat.V1 do
2020
API client metadata for GoogleApi.Chat.V1.
2121
"""
2222

23-
@discovery_revision "20241208"
23+
@discovery_revision "20241217"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_button.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button do
2727
* `icon` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1Icon.t`, *default:* `nil`) - An icon displayed inside the button. If both `icon` and `text` are set, then the icon appears before the text.
2828
* `onClick` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t`, *default:* `nil`) - Required. The action to perform when a user clicks the button, such as opening a hyperlink or running a custom function.
2929
* `text` (*type:* `String.t`, *default:* `nil`) - The text displayed inside the button.
30-
* `type` (*type:* `String.t`, *default:* `nil`) - Optional. The type of a button. If unset, button type defaults to `OUTLINED`. If the `color` field is set, the button type is forced to `FILLED` and any value set for this field is ignored. [Google Chat apps](https://developers.google.com/workspace/chat):
30+
* `type` (*type:* `String.t`, *default:* `nil`) - Optional. The type of a button. If unset, button type defaults to `OUTLINED`. If the `color` field is set, the button type is forced to `FILLED` and any value set for this field is ignored.
3131
"""
3232

3333
use GoogleApi.Gax.ModelBase

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_chip.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1Chip do
1919
@moduledoc """
20-
A text, icon, or text and icon chip that users can click. [Google Chat apps](https://developers.google.com/workspace/chat):
20+
A text, icon, or text and icon chip that users can click. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
2121
2222
## Attributes
2323

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_chip_list.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1ChipList do
1919
@moduledoc """
20-
A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Chat apps](https://developers.google.com/workspace/chat):
20+
A list of chips layed out horizontally, which can either scroll horizontally or wrap to the next line. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
2121
2222
## Attributes
2323

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_collapse_control.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1CollapseControl do
1919
@moduledoc """
20-
Represent an expand and collapse control. [Google Chat apps](https://developers.google.com/workspace/chat):
20+
Represent an expand and collapse control. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
2121
2222
## Attributes
2323

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_on_click.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick do
2525
* `card` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1Card.t`, *default:* `nil`) - A new card is pushed to the card stack after clicking if specified. [Google Workspace Add-ons](https://developers.google.com/workspace/add-ons):
2626
* `openDynamicLinkAction` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1Action.t`, *default:* `nil`) - An add-on triggers this action when the action needs to open a link. This differs from the `open_link` above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back. [Google Workspace Add-ons](https://developers.google.com/workspace/add-ons):
2727
* `openLink` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1OpenLink.t`, *default:* `nil`) - If specified, this `onClick` triggers an open link action.
28-
* `overflowMenu` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenu.t`, *default:* `nil`) - If specified, this `onClick` opens an overflow menu. [Google Chat apps](https://developers.google.com/workspace/chat):
28+
* `overflowMenu` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenu.t`, *default:* `nil`) - If specified, this `onClick` opens an overflow menu.
2929
"""
3030

3131
use GoogleApi.Gax.ModelBase

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_overflow_menu.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenu do
1919
@moduledoc """
20-
A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, specify this widget in the `OnClick` action of widgets that support it. For example, in a `Button`. [Google Chat apps](https://developers.google.com/workspace/chat):
20+
A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, specify this widget in the `OnClick` action of widgets that support it. For example, in a `Button`. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
2121
2222
## Attributes
2323

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_overflow_menu_item.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenuItem do
1919
@moduledoc """
20-
An option that users can invoke in an overflow menu. [Google Chat apps](https://developers.google.com/workspace/chat):
20+
An option that users can invoke in an overflow menu. [Google Workspace Add-ons and Chat apps](https://developers.google.com/workspace/extend):
2121
2222
## Attributes
2323

clients/chat/lib/google_api/chat/v1/model/google_apps_card_v1_section.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.Chat.V1.Model.GoogleAppsCardV1Section do
2121
2222
## Attributes
2323
24-
* `collapseControl` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1CollapseControl.t`, *default:* `nil`) - Optional. Define the expand and collapse button of the section. This button will be shown only if the section is collapsible. If this field isn't set, the default button is used. [Google Chat apps](https://developers.google.com/workspace/chat):
24+
* `collapseControl` (*type:* `GoogleApi.Chat.V1.Model.GoogleAppsCardV1CollapseControl.t`, *default:* `nil`) - Optional. Define the expand and collapse button of the section. This button will be shown only if the section is collapsible. If this field isn't set, the default button is used.
2525
* `collapsible` (*type:* `boolean()`, *default:* `nil`) - Indicates whether this section is collapsible. Collapsible sections hide some or all widgets, but users can expand the section to reveal the hidden widgets by clicking **Show more**. Users can hide the widgets again by clicking **Show less**. To determine which widgets are hidden, specify `uncollapsibleWidgetsCount`.
2626
* `header` (*type:* `String.t`, *default:* `nil`) - Text that appears at the top of a section. 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).
2727
* `uncollapsibleWidgetsCount` (*type:* `integer()`, *default:* `nil`) - The number of uncollapsible widgets which remain visible even when a section is collapsed. For example, when a section contains five widgets and the `uncollapsibleWidgetsCount` is set to `2`, the first two widgets are always shown and the last three are collapsed by default. The `uncollapsibleWidgetsCount` is taken into account only when `collapsible` is `true`.

0 commit comments

Comments
 (0)