Skip to content

Commit f979d31

Browse files
feat: Automated regeneration of Chat client (googleapis#12479)
Auto-created at 2024-11-05 13:10:29 +0000 using the toys pull request generator.
1 parent 9cafd30 commit f979d31

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

clients/chat/lib/google_api/chat/v1/api/spaces.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ defmodule GoogleApi.Chat.V1.Api.Spaces do
913913
end
914914

915915
@doc """
916-
Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authorize-import). Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes.
916+
Creates a message in a Google Chat space. For an example, see [Send a message](https://developers.google.com/workspace/chat/create-messages). The `create()` method requires either [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) or [app authentication](https://developers.google.com/workspace/chat/authorize-import). Chat attributes the message sender differently depending on the type of authentication that you use in your request. The following image shows how Chat attributes a message when you use app authentication. Chat displays the Chat app as the message sender. The content of the message can contain text (`text`), cards (`cardsV2`), and accessory widgets (`accessoryWidgets`). ![Message sent with app authentication](https://developers.google.com/workspace/chat/images/message-app-auth.svg) The following image shows how Chat attributes a message when you use user authentication. Chat displays the user as the message sender and attributes the Chat app to the message by displaying its name. The content of message can only contain text (`text`). ![Message sent with user authentication](https://developers.google.com/workspace/chat/images/message-user-auth.svg) The maximum message size, including the message contents, is 32,000 bytes. For [webhook](https://developers.google.com/workspace/chat/quickstart/webhooks) requests, the response doesn't contain the full message. The response only populates the `name` and `thread.name` fields in addition to the information that was in the request.
917917
918918
## Parameters
919919

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 "20241029"
23+
@discovery_revision "20241031"
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ defmodule GoogleApi.Chat.V1.Model.Emoji do
2222
## Attributes
2323
2424
* `customEmoji` (*type:* `GoogleApi.Chat.V1.Model.CustomEmoji.t`, *default:* `nil`) - Output only. A custom emoji.
25-
* `unicode` (*type:* `String.t`, *default:* `nil`) - A basic emoji represented by a unicode string.
25+
* `unicode` (*type:* `String.t`, *default:* `nil`) - Optional. A basic emoji represented by a unicode string.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ defmodule GoogleApi.Chat.V1.Model.EmojiReactionSummary do
2121
2222
## Attributes
2323
24-
* `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - Emoji associated with the reactions.
25-
* `reactionCount` (*type:* `integer()`, *default:* `nil`) - The total number of reactions using the associated emoji.
24+
* `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - Output only. Emoji associated with the reactions.
25+
* `reactionCount` (*type:* `integer()`, *default:* `nil`) - Output only. The total number of reactions using the associated emoji.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ defmodule GoogleApi.Chat.V1.Model.Reaction do
2121
2222
## Attributes
2323
24-
* `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - The emoji used in the reaction.
25-
* `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
24+
* `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - Required. The emoji used in the reaction.
25+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}`
2626
* `user` (*type:* `GoogleApi.Chat.V1.Model.User.t`, *default:* `nil`) - Output only. The user who created the reaction.
2727
"""
2828

clients/chat/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Chat.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.41.1"
21+
@version "0.41.2"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)