Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(chat): update the api
#### chat:v1

The following keys were added:
- resources.media.methods.download.scopes (Total Keys: 1)
- resources.spaces.resources.messages.methods.create.scopes (Total Keys: 1)
- resources.spaces.resources.messages.methods.delete.scopes (Total Keys: 1)
- resources.spaces.resources.messages.methods.get.scopes (Total Keys: 1)
- resources.spaces.resources.messages.methods.update.scopes (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Nov 8, 2022
1 parent e16758c commit d28f469
Showing 1 changed file with 32 additions and 5 deletions.
37 changes: 32 additions & 5 deletions googleapiclient/discovery_cache/documents/chat.v1.json
Expand Up @@ -4,6 +4,15 @@
"scopes": {
"https://www.googleapis.com/auth/chat.memberships": {
"description": "View, add, and remove members from conversations in Google Chat"
},
"https://www.googleapis.com/auth/chat.messages": {
"description": "View, compose, send, update, and delete messages, and add, view, and delete reactions to messages."
},
"https://www.googleapis.com/auth/chat.messages.create": {
"description": "Compose and send messages in Google Chat"
},
"https://www.googleapis.com/auth/chat.messages.readonly": {
"description": "view messages and reactions in Google Chat"
}
}
}
Expand Down Expand Up @@ -303,6 +312,10 @@
"response": {
"$ref": "Media"
},
"scopes": [
"https://www.googleapis.com/auth/chat.messages",
"https://www.googleapis.com/auth/chat.messages.readonly"
],
"supportsMediaDownload": true
}
}
Expand Down Expand Up @@ -707,7 +720,11 @@
},
"response": {
"$ref": "Message"
}
},
"scopes": [
"https://www.googleapis.com/auth/chat.messages",
"https://www.googleapis.com/auth/chat.messages.create"
]
},
"delete": {
"description": "Deletes a message. For example usage, see [Delete a message](https://developers.google.com/chat/api/guides/crudl/messages#delete_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` authorization scope.",
Expand All @@ -729,7 +746,10 @@
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
}
},
"scopes": [
"https://www.googleapis.com/auth/chat.messages"
]
},
"get": {
"description": "Returns a message. For example usage, see [Read a message](https://developers.google.com/chat/api/guides/crudl/messages#read_a_message). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [Service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts). Supports [user authentication](https://developers.google.com/chat/api/guides/auth/users) as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview), which grants early access to certain features. [User authentication](https://developers.google.com/chat/api/guides/auth/users) requires the `chat.messages` or `chat.messages.readonly` authorization scope. Note: Might return a message from a blocked member or space.",
Expand All @@ -751,7 +771,11 @@
"path": "v1/{+name}",
"response": {
"$ref": "Message"
}
},
"scopes": [
"https://www.googleapis.com/auth/chat.messages",
"https://www.googleapis.com/auth/chat.messages.readonly"
]
},
"update": {
"description": "Updates a message. For example usage, see [Update a message](https://developers.google.com/chat/api/guides/crudl/messages#update_a_message). Requires [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts).",
Expand Down Expand Up @@ -787,7 +811,10 @@
},
"response": {
"$ref": "Message"
}
},
"scopes": [
"https://www.googleapis.com/auth/chat.messages"
]
}
},
"resources": {
Expand Down Expand Up @@ -822,7 +849,7 @@
}
}
},
"revision": "20221027",
"revision": "20221103",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down

0 comments on commit d28f469

Please sign in to comment.