Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl authored Sep 6, 2024
2 parents 968c1c9 + b61a65d commit f44cbab
Show file tree
Hide file tree
Showing 4 changed files with 474 additions and 6 deletions.
29 changes: 29 additions & 0 deletions packages/google-chat/protos/google/chat/v1/annotation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ message RichLinkMetadata {

// A Google Drive rich link type.
DRIVE_FILE = 1;

// A Chat space rich link type. For example, a space smart chip.
CHAT_SPACE = 2;
}

// The URI of this link.
Expand All @@ -151,6 +154,9 @@ message RichLinkMetadata {
oneof data {
// Data for a drive link.
DriveLinkData drive_link_data = 3;

// Data for a chat space link.
ChatSpaceLinkData chat_space_link_data = 4;
}
}

Expand All @@ -165,6 +171,29 @@ message DriveLinkData {
string mime_type = 2;
}

// Data for Chat space links.
message ChatSpaceLinkData {
// The space of the linked Chat space resource.
//
// Format: `spaces/{space}`
string space = 1
[(google.api.resource_reference) = { type: "chat.googleapis.com/Space" }];

// The thread of the linked Chat space resource.
//
// Format: `spaces/{space}/threads/{thread}`
string thread = 2 [
(google.api.resource_reference) = { type: "chat.googleapis.com/Thread" }
];

// The message of the linked Chat space resource.
//
// Format: `spaces/{space}/messages/{message}`
string message = 3 [
(google.api.resource_reference) = { type: "chat.googleapis.com/Message" }
];
}

// Type of the annotation.
enum AnnotationType {
// Default value for the enum. Don't use.
Expand Down
120 changes: 118 additions & 2 deletions packages/google-chat/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f44cbab

Please sign in to comment.