diff --git a/clients/chat/lib/google_api/chat/v1/api/spaces.ex b/clients/chat/lib/google_api/chat/v1/api/spaces.ex index f073a7338b..03c66b1caa 100644 --- a/clients/chat/lib/google_api/chat/v1/api/spaces.ex +++ b/clients/chat/lib/google_api/chat/v1/api/spaces.ex @@ -913,7 +913,7 @@ defmodule GoogleApi.Chat.V1.Api.Spaces do end @doc """ - 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. + 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. ## Parameters diff --git a/clients/chat/lib/google_api/chat/v1/metadata.ex b/clients/chat/lib/google_api/chat/v1/metadata.ex index 8e05b20d0f..fbd2f6f92b 100644 --- a/clients/chat/lib/google_api/chat/v1/metadata.ex +++ b/clients/chat/lib/google_api/chat/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.Chat.V1 do API client metadata for GoogleApi.Chat.V1. """ - @discovery_revision "20241029" + @discovery_revision "20241031" def discovery_revision(), do: @discovery_revision end diff --git a/clients/chat/lib/google_api/chat/v1/model/emoji.ex b/clients/chat/lib/google_api/chat/v1/model/emoji.ex index 28ceca4a75..f8739432ee 100644 --- a/clients/chat/lib/google_api/chat/v1/model/emoji.ex +++ b/clients/chat/lib/google_api/chat/v1/model/emoji.ex @@ -22,7 +22,7 @@ defmodule GoogleApi.Chat.V1.Model.Emoji do ## Attributes * `customEmoji` (*type:* `GoogleApi.Chat.V1.Model.CustomEmoji.t`, *default:* `nil`) - Output only. A custom emoji. - * `unicode` (*type:* `String.t`, *default:* `nil`) - A basic emoji represented by a unicode string. + * `unicode` (*type:* `String.t`, *default:* `nil`) - Optional. A basic emoji represented by a unicode string. """ use GoogleApi.Gax.ModelBase diff --git a/clients/chat/lib/google_api/chat/v1/model/emoji_reaction_summary.ex b/clients/chat/lib/google_api/chat/v1/model/emoji_reaction_summary.ex index fac0871ea6..3919261355 100644 --- a/clients/chat/lib/google_api/chat/v1/model/emoji_reaction_summary.ex +++ b/clients/chat/lib/google_api/chat/v1/model/emoji_reaction_summary.ex @@ -21,8 +21,8 @@ defmodule GoogleApi.Chat.V1.Model.EmojiReactionSummary do ## Attributes - * `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - Emoji associated with the reactions. - * `reactionCount` (*type:* `integer()`, *default:* `nil`) - The total number of reactions using the associated emoji. + * `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - Output only. Emoji associated with the reactions. + * `reactionCount` (*type:* `integer()`, *default:* `nil`) - Output only. The total number of reactions using the associated emoji. """ use GoogleApi.Gax.ModelBase diff --git a/clients/chat/lib/google_api/chat/v1/model/reaction.ex b/clients/chat/lib/google_api/chat/v1/model/reaction.ex index 9199425a51..9cf744716f 100644 --- a/clients/chat/lib/google_api/chat/v1/model/reaction.ex +++ b/clients/chat/lib/google_api/chat/v1/model/reaction.ex @@ -21,8 +21,8 @@ defmodule GoogleApi.Chat.V1.Model.Reaction do ## Attributes - * `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - The emoji used in the reaction. - * `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}` + * `emoji` (*type:* `GoogleApi.Chat.V1.Model.Emoji.t`, *default:* `nil`) - Required. The emoji used in the reaction. + * `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the reaction. Format: `spaces/{space}/messages/{message}/reactions/{reaction}` * `user` (*type:* `GoogleApi.Chat.V1.Model.User.t`, *default:* `nil`) - Output only. The user who created the reaction. """ diff --git a/clients/chat/mix.exs b/clients/chat/mix.exs index c5629bacbf..9e756e56cf 100644 --- a/clients/chat/mix.exs +++ b/clients/chat/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.Chat.Mixfile do use Mix.Project - @version "0.41.1" + @version "0.41.2" def project() do [