@@ -5094,7 +5094,14 @@ public Delete set(String parameterName, Object value) {
50945094 * message](https://developers.google.com/workspace/chat/get-messages). Supports the following types
50955095 * of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App
50965096 * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
5097- * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
5097+ * with one of the following authorization scopes: - `https://www.googleapis.com/auth/chat.bot`:
5098+ * When using this authorization scope, this method returns details about a message the Chat app has
5099+ * access to, like direct messages and [slash
5100+ * commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat app.
5101+ * - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator
5102+ * approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer
5103+ * Preview](https://developers.google.com/workspace/preview)). When using this authentication scope,
5104+ * this method returns details about a public message in a space. - [User
50985105 * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
50995106 * with one of the following authorization scopes: -
51005107 * `https://www.googleapis.com/auth/chat.messages.readonly` -
@@ -5130,7 +5137,14 @@ public class Get extends HangoutsChatRequest<com.google.api.services.chat.v1.mod
51305137 * message](https://developers.google.com/workspace/chat/get-messages). Supports the following
51315138 * types of [authentication](https://developers.google.com/workspace/chat/authenticate-authorize):
51325139 * - [App authentication](https://developers.google.com/workspace/chat/authenticate-authorize-
5133- * chat-app) with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - [User
5140+ * chat-app) with one of the following authorization scopes: -
5141+ * `https://www.googleapis.com/auth/chat.bot`: When using this authorization scope, this method
5142+ * returns details about a message the Chat app has access to, like direct messages and [slash
5143+ * commands](https://developers.google.com/workspace/chat/slash-commands) that invoke the Chat
5144+ * app. - `https://www.googleapis.com/auth/chat.app.messages.readonly` with [administrator
5145+ * approval](https://support.google.com/a?p=chat-app-auth) (available in [Developer
5146+ * Preview](https://developers.google.com/workspace/preview)). When using this authentication
5147+ * scope, this method returns details about a public message in a space. - [User
51345148 * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
51355149 * with one of the following authorization scopes: -
51365150 * `https://www.googleapis.com/auth/chat.messages.readonly` -
@@ -5266,13 +5280,19 @@ public Get set(String parameterName, Object value) {
52665280 }
52675281 /**
52685282 * Lists messages in a space that the caller is a member of, including messages from blocked members
5269- * and spaces. If you list messages from a space with no messages, the response is an empty object.
5270- * When using a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an
5271- * example, see [List
5272- * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires
5273- * [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
5274- * user) with one of the following [authorization
5275- * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
5283+ * and spaces. System messages, like those announcing new space members, aren't included. If you
5284+ * list messages from a space with no messages, the response is an empty object. When using a
5285+ * REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see [List
5286+ * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Supports the
5287+ * following types of [authentication](https://developers.google.com/workspace/chat/authenticate-
5288+ * authorize): - [App authentication](https://developers.google.com/workspace/chat/authenticate-
5289+ * authorize-chat-app) with [administrator approval](https://support.google.com/a?p=chat-app-auth)
5290+ * in [Developer Preview](https://developers.google.com/workspace/preview) with the authorization
5291+ * scope: - `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this
5292+ * authentication scope, this method only returns public messages in a space. It doesn't include
5293+ * private messages. - [User
5294+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
5295+ * with one of the following authorization scopes: -
52765296 * `https://www.googleapis.com/auth/chat.messages.readonly` -
52775297 * `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import`
52785298 * (import mode spaces only)
@@ -5300,13 +5320,19 @@ public class List extends HangoutsChatRequest<com.google.api.services.chat.v1.mo
53005320
53015321 /**
53025322 * Lists messages in a space that the caller is a member of, including messages from blocked
5303- * members and spaces. If you list messages from a space with no messages, the response is an
5304- * empty object. When using a REST/HTTP interface, the response contains an empty JSON object,
5305- * `{}`. For an example, see [List
5306- * messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list). Requires
5307- * [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
5308- * user) with one of the following [authorization
5309- * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
5323+ * members and spaces. System messages, like those announcing new space members, aren't included.
5324+ * If you list messages from a space with no messages, the response is an empty object. When using
5325+ * a REST/HTTP interface, the response contains an empty JSON object, `{}`. For an example, see
5326+ * [List messages](https://developers.google.com/workspace/chat/api/guides/v1/messages/list).
5327+ * Supports the following types of
5328+ * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [App
5329+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
5330+ * with [administrator approval](https://support.google.com/a?p=chat-app-auth) in [Developer
5331+ * Preview](https://developers.google.com/workspace/preview) with the authorization scope: -
5332+ * `https://www.googleapis.com/auth/chat.app.messages.readonly`. When using this authentication
5333+ * scope, this method only returns public messages in a space. It doesn't include private
5334+ * messages. - [User authentication](https://developers.google.com/workspace/chat/authenticate-
5335+ * authorize-chat-user) with one of the following authorization scopes: -
53105336 * `https://www.googleapis.com/auth/chat.messages.readonly` -
53115337 * `https://www.googleapis.com/auth/chat.messages` - `https://www.googleapis.com/auth/chat.import`
53125338 * (import mode spaces only)
0 commit comments