|
347 | 347 | ],
|
348 | 348 | "parameters": {
|
349 | 349 | "name": {
|
350 |
| - "description": "Required. Resource name of the space, in the form \"spaces/*\". Format: `spaces/{space}`", |
| 350 | + "description": "Required. Resource name of the space, in the form `spaces/{space}`. Format: `spaces/{space}`", |
351 | 351 | "location": "path",
|
352 | 352 | "pattern": "^spaces/[^/]+$",
|
353 | 353 | "required": true,
|
|
365 | 365 | ]
|
366 | 366 | },
|
367 | 367 | "list": {
|
368 |
| - "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. ", |
| 368 | + "description": "Lists spaces the caller is a member of. Group chats and DMs aren't listed until the first message is sent. For an example, see [List spaces](https://developers.google.com/workspace/chat/list-spaces). Requires [authentication](https://developers.google.com/workspace/chat/authenticate-authorize). Supports [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) and [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). Lists spaces visible to the caller or authenticated user. Group chats and DMs aren't listed until the first message is sent. To list all named spaces by Google Workspace organization, use the `spaces.search()` method using Workspace administrator privileges instead.", |
369 | 369 | "flatPath": "v1/spaces",
|
370 | 370 | "httpMethod": "GET",
|
371 | 371 | "id": "chat.spaces.list",
|
|
550 | 550 | ],
|
551 | 551 | "parameters": {
|
552 | 552 | "filter": {
|
553 |
| - "description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", |
| 553 | + "description": "Optional. A query filter. You can filter memberships by a member's role ([`role`](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces.members#membershiprole)) and type ([`member.type`](https://developers.google.com/workspace/chat/api/reference/rest/v1/User#type)). To filter by role, set `role` to `ROLE_MEMBER` or `ROLE_MANAGER`. To filter by type, set `member.type` to `HUMAN` or `BOT`. Developer Preview: You can also filter for `member.type` using the `!=` operator. To filter by both role and type, use the `AND` operator. To filter by either role or type, use the `OR` operator. Either `member.type = \"HUMAN\"` or `member.type != \"BOT\"` is required when `use_admin_access` is set to true. Other member type filters will be rejected. For example, the following queries are valid: ``` role = \"ROLE_MANAGER\" OR role = \"ROLE_MEMBER\" member.type = \"HUMAN\" AND role = \"ROLE_MANAGER\" member.type != \"BOT\" ``` The following queries are invalid: ``` member.type = \"HUMAN\" AND member.type = \"BOT\" role = \"ROLE_MANAGER\" AND role = \"ROLE_MEMBER\" ``` Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.", |
554 | 554 | "location": "query",
|
555 | 555 | "type": "string"
|
556 | 556 | },
|
|
903 | 903 | ],
|
904 | 904 | "parameters": {
|
905 | 905 | "name": {
|
906 |
| - "description": "Required. Resource name of the attachment, in the form `spaces/*/messages/*/attachments/*`.", |
| 906 | + "description": "Required. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", |
907 | 907 | "location": "path",
|
908 | 908 | "pattern": "^spaces/[^/]+/messages/[^/]+/attachments/[^/]+$",
|
909 | 909 | "required": true,
|
|
1215 | 1215 | }
|
1216 | 1216 | }
|
1217 | 1217 | },
|
1218 |
| - "revision": "20240509", |
| 1218 | + "revision": "20240519", |
1219 | 1219 | "rootUrl": "https://chat.googleapis.com/",
|
1220 | 1220 | "schemas": {
|
1221 | 1221 | "AccessoryWidget": {
|
|
1424 | 1424 | "readOnly": true
|
1425 | 1425 | },
|
1426 | 1426 | "name": {
|
1427 |
| - "description": "Resource name of the attachment, in the form `spaces/*/messages/*/attachments/*`.", |
| 1427 | + "description": "Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", |
1428 | 1428 | "type": "string"
|
1429 | 1429 | },
|
1430 | 1430 | "source": {
|
|
0 commit comments