File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ message RichLinkMetadata {
139139
140140 // A Google Drive rich link type.
141141 DRIVE_FILE = 1 ;
142+
143+ // A Chat space rich link type. For example, a space smart chip.
144+ CHAT_SPACE = 2 ;
142145 }
143146
144147 // The URI of this link.
@@ -151,6 +154,9 @@ message RichLinkMetadata {
151154 oneof data {
152155 // Data for a drive link.
153156 DriveLinkData drive_link_data = 3 ;
157+
158+ // Data for a chat space link.
159+ ChatSpaceLinkData chat_space_link_data = 4 ;
154160 }
155161}
156162
@@ -165,6 +171,29 @@ message DriveLinkData {
165171 string mime_type = 2 ;
166172}
167173
174+ // Data for Chat space links.
175+ message ChatSpaceLinkData {
176+ // The space of the linked Chat space resource.
177+ //
178+ // Format: `spaces/{space}`
179+ string space = 1
180+ [(google.api.resource_reference ) = { type : "chat.googleapis.com/Space" }];
181+
182+ // The thread of the linked Chat space resource.
183+ //
184+ // Format: `spaces/{space}/threads/{thread}`
185+ string thread = 2 [
186+ (google.api.resource_reference ) = { type : "chat.googleapis.com/Thread" }
187+ ];
188+
189+ // The message of the linked Chat space resource.
190+ //
191+ // Format: `spaces/{space}/messages/{message}`
192+ string message = 3 [
193+ (google.api.resource_reference ) = { type : "chat.googleapis.com/Message" }
194+ ];
195+ }
196+
168197// Type of the annotation.
169198enum AnnotationType {
170199 // Default value for the enum. Don't use.
You can’t perform that action at this time.
0 commit comments