Skip to content

Commit 550aafa

Browse files
feat: [chat] Add DeletionType.SPACE_MEMBER. This is returned when a message sent by an app is deleted by a human in a space (#6030)
* docs: Update Google chat app command documentation PiperOrigin-RevId: 725724155 Source-Link: googleapis/googleapis@07f74b1 Source-Link: googleapis/googleapis-gen@df2205d Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNoYXQvLk93bEJvdC55YW1sIiwiaCI6ImRmMjIwNWQ0MDQwYzE5ZTUzMmNlMjkwYmIwZGNiNTE5ZDMzZGE2YTMifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Add DeletionType.SPACE_MEMBER. This is returned when a message sent by an app is deleted by a human in a space PiperOrigin-RevId: 728310777 Source-Link: googleapis/googleapis@3f4b623 Source-Link: googleapis/googleapis-gen@378b909 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNoYXQvLk93bEJvdC55YW1sIiwiaCI6IjM3OGI5MDk0OWVmNjQ2MDZlNWFiZGZiNWEyOGM0Zjc1M2Y4ZGQ5YWMifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 5e8cba4 commit 550aafa

7 files changed

Lines changed: 110 additions & 97 deletions

File tree

packages/google-chat/protos/google/chat/v1/deletion_metadata.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ message DeletionMetadata {
5151

5252
// A Chat app deleted the message on behalf of the space owner.
5353
SPACE_OWNER_VIA_APP = 6;
54+
55+
// A member of the space deleted the message. Human users can delete
56+
// messages sent by apps.
57+
SPACE_MEMBER = 7;
5458
}
5559

5660
// Indicates who deleted the message.

packages/google-chat/protos/google/chat/v1/slash_command.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ option php_namespace = "Google\\Apps\\Chat\\V1";
2626
option ruby_package = "Google::Apps::Chat::V1";
2727

2828
// A [slash
29-
// command](https://developers.google.com/workspace/chat/slash-commands) in
29+
// command](https://developers.google.com/workspace/chat/commands) in
3030
// Google Chat.
3131
message SlashCommand {
3232
// The ID of the slash command invoked.

packages/google-chat/protos/protos.d.ts

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-chat/protos/protos.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-chat/protos/protos.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-chat/src/v1/chat_service_client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3346,7 +3346,7 @@ export class ChatServiceClient {
33463346
}
33473347

33483348
/**
3349-
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
3349+
* Equivalent to `listMessages`, but returns a NodeJS Stream object.
33503350
* @param {Object} request
33513351
* The request object that will be sent.
33523352
* @param {string} request.parent
@@ -3761,7 +3761,7 @@ export class ChatServiceClient {
37613761
}
37623762

37633763
/**
3764-
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
3764+
* Equivalent to `listMemberships`, but returns a NodeJS Stream object.
37653765
* @param {Object} request
37663766
* The request object that will be sent.
37673767
* @param {string} request.parent
@@ -4149,7 +4149,7 @@ export class ChatServiceClient {
41494149
}
41504150

41514151
/**
4152-
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
4152+
* Equivalent to `listSpaces`, but returns a NodeJS Stream object.
41534153
* @param {Object} request
41544154
* The request object that will be sent.
41554155
* @param {number} [request.pageSize]
@@ -4498,7 +4498,7 @@ export class ChatServiceClient {
44984498
}
44994499

45004500
/**
4501-
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
4501+
* Equivalent to `searchSpaces`, but returns a NodeJS Stream object.
45024502
* @param {Object} request
45034503
* The request object that will be sent.
45044504
* @param {boolean} request.useAdminAccess
@@ -4962,7 +4962,7 @@ export class ChatServiceClient {
49624962
}
49634963

49644964
/**
4965-
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
4965+
* Equivalent to `listReactions`, but returns a NodeJS Stream object.
49664966
* @param {Object} request
49674967
* The request object that will be sent.
49684968
* @param {string} request.parent
@@ -5328,7 +5328,7 @@ export class ChatServiceClient {
53285328
}
53295329

53305330
/**
5331-
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
5331+
* Equivalent to `listSpaceEvents`, but returns a NodeJS Stream object.
53325332
* @param {Object} request
53335333
* The request object that will be sent.
53345334
* @param {string} request.parent

0 commit comments

Comments
 (0)