Class: Google::Apps::Chat::V1::RichLinkMetadata
- Inherits:
-
Object
- Object
- Google::Apps::Chat::V1::RichLinkMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/chat/v1/annotation.rb
Overview
A rich link to a resource. Rich links can be associated with the plain-text
body of the message or represent chips that link to Google Workspace
resources like Google Docs or Sheets with start_index and length
of 0.
Defined Under Namespace
Modules: RichLinkType
Instance Attribute Summary collapse
-
#calendar_event_link_data ⇒ ::Google::Apps::Chat::V1::CalendarEventLinkData
Data for a Calendar event link.
-
#chat_space_link_data ⇒ ::Google::Apps::Chat::V1::ChatSpaceLinkData
Data for a chat space link.
-
#drive_link_data ⇒ ::Google::Apps::Chat::V1::DriveLinkData
Data for a drive link.
-
#meet_space_link_data ⇒ ::Google::Apps::Chat::V1::MeetSpaceLinkData
Data for a Meet space link.
-
#rich_link_type ⇒ ::Google::Apps::Chat::V1::RichLinkMetadata::RichLinkType
The rich link type.
-
#uri ⇒ ::String
The URI of this link.
Instance Attribute Details
#calendar_event_link_data ⇒ ::Google::Apps::Chat::V1::CalendarEventLinkData
Returns Data for a Calendar event link.
Note: The following fields are mutually exclusive: calendar_event_link_data, drive_link_data, chat_space_link_data, meet_space_link_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 173 class RichLinkMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The rich link type. More types might be added in the future. module RichLinkType # Default value for the enum. Don't use. RICH_LINK_TYPE_UNSPECIFIED = 0 # A Google Drive rich link type. DRIVE_FILE = 1 # A Chat space rich link type. For example, a space smart chip. CHAT_SPACE = 2 # A Meet message rich link type. For example, a Meet chip. MEET_SPACE = 4 # A Calendar message rich link type. For example, a Calendar chip. CALENDAR_EVENT = 5 end end |
#chat_space_link_data ⇒ ::Google::Apps::Chat::V1::ChatSpaceLinkData
Returns Data for a chat space link.
Note: The following fields are mutually exclusive: chat_space_link_data, drive_link_data, meet_space_link_data, calendar_event_link_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 173 class RichLinkMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The rich link type. More types might be added in the future. module RichLinkType # Default value for the enum. Don't use. RICH_LINK_TYPE_UNSPECIFIED = 0 # A Google Drive rich link type. DRIVE_FILE = 1 # A Chat space rich link type. For example, a space smart chip. CHAT_SPACE = 2 # A Meet message rich link type. For example, a Meet chip. MEET_SPACE = 4 # A Calendar message rich link type. For example, a Calendar chip. CALENDAR_EVENT = 5 end end |
#drive_link_data ⇒ ::Google::Apps::Chat::V1::DriveLinkData
Returns Data for a drive link.
Note: The following fields are mutually exclusive: drive_link_data, chat_space_link_data, meet_space_link_data, calendar_event_link_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 173 class RichLinkMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The rich link type. More types might be added in the future. module RichLinkType # Default value for the enum. Don't use. RICH_LINK_TYPE_UNSPECIFIED = 0 # A Google Drive rich link type. DRIVE_FILE = 1 # A Chat space rich link type. For example, a space smart chip. CHAT_SPACE = 2 # A Meet message rich link type. For example, a Meet chip. MEET_SPACE = 4 # A Calendar message rich link type. For example, a Calendar chip. CALENDAR_EVENT = 5 end end |
#meet_space_link_data ⇒ ::Google::Apps::Chat::V1::MeetSpaceLinkData
Returns Data for a Meet space link.
Note: The following fields are mutually exclusive: meet_space_link_data, drive_link_data, chat_space_link_data, calendar_event_link_data. If a field in that set is populated, all other fields in the set will automatically be cleared.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 173 class RichLinkMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The rich link type. More types might be added in the future. module RichLinkType # Default value for the enum. Don't use. RICH_LINK_TYPE_UNSPECIFIED = 0 # A Google Drive rich link type. DRIVE_FILE = 1 # A Chat space rich link type. For example, a space smart chip. CHAT_SPACE = 2 # A Meet message rich link type. For example, a Meet chip. MEET_SPACE = 4 # A Calendar message rich link type. For example, a Calendar chip. CALENDAR_EVENT = 5 end end |
#rich_link_type ⇒ ::Google::Apps::Chat::V1::RichLinkMetadata::RichLinkType
Returns The rich link type.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 173 class RichLinkMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The rich link type. More types might be added in the future. module RichLinkType # Default value for the enum. Don't use. RICH_LINK_TYPE_UNSPECIFIED = 0 # A Google Drive rich link type. DRIVE_FILE = 1 # A Chat space rich link type. For example, a space smart chip. CHAT_SPACE = 2 # A Meet message rich link type. For example, a Meet chip. MEET_SPACE = 4 # A Calendar message rich link type. For example, a Calendar chip. CALENDAR_EVENT = 5 end end |
#uri ⇒ ::String
Returns The URI of this link.
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 |
# File 'proto_docs/google/chat/v1/annotation.rb', line 173 class RichLinkMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The rich link type. More types might be added in the future. module RichLinkType # Default value for the enum. Don't use. RICH_LINK_TYPE_UNSPECIFIED = 0 # A Google Drive rich link type. DRIVE_FILE = 1 # A Chat space rich link type. For example, a space smart chip. CHAT_SPACE = 2 # A Meet message rich link type. For example, a Meet chip. MEET_SPACE = 4 # A Calendar message rich link type. For example, a Calendar chip. CALENDAR_EVENT = 5 end end |