Skip to content

Commit 4b6ec2a

Browse files
feat(chat): update the api
#### chat:v1 The following keys were added: - resources.spaces.methods.get.scopes (Total Keys: 1) - resources.spaces.methods.list.scopes (Total Keys: 1)
1 parent 9d8a28d commit 4b6ec2a

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

googleapiclient/discovery_cache/documents/chat.v1.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
},
1414
"https://www.googleapis.com/auth/chat.messages.readonly": {
1515
"description": "View messages and reactions in Google Chat"
16+
},
17+
"https://www.googleapis.com/auth/chat.spaces": {
18+
"description": "Create conversations and spaces and view or update metadata (including history settings) in Google Chat"
19+
},
20+
"https://www.googleapis.com/auth/chat.spaces.readonly": {
21+
"description": "View chat and spaces in Google Chat"
1622
}
1723
}
1824
}
@@ -517,7 +523,11 @@
517523
"path": "v1/{+name}",
518524
"response": {
519525
"$ref": "Space"
520-
}
526+
},
527+
"scopes": [
528+
"https://www.googleapis.com/auth/chat.spaces",
529+
"https://www.googleapis.com/auth/chat.spaces.readonly"
530+
]
521531
},
522532
"list": {
523533
"description": "Lists spaces the caller is a member of. 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.spaces` or `chat.spaces.readonly` authorization scope. Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent.",
@@ -541,7 +551,11 @@
541551
"path": "v1/spaces",
542552
"response": {
543553
"$ref": "ListSpacesResponse"
544-
}
554+
},
555+
"scopes": [
556+
"https://www.googleapis.com/auth/chat.spaces",
557+
"https://www.googleapis.com/auth/chat.spaces.readonly"
558+
]
545559
},
546560
"webhooks": {
547561
"description": "Legacy path for creating message. Calling these will result in a BadRequest response.",
@@ -888,7 +902,7 @@
888902
}
889903
}
890904
},
891-
"revision": "20221204",
905+
"revision": "20221206",
892906
"rootUrl": "https://chat.googleapis.com/",
893907
"schemas": {
894908
"ActionParameter": {

0 commit comments

Comments
 (0)