Google Chat V1 API - Class Google::Apps::Chat::V1::RichLinkMetadata (v0.13.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::RichLinkMetadata.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def calendar_event_link_data() -> ::Google::Apps::Chat::V1::CalendarEventLinkData
Returns
  • (::Google::Apps::Chat::V1::CalendarEventLinkData) — 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.

def calendar_event_link_data=(value) -> ::Google::Apps::Chat::V1::CalendarEventLinkData
Parameter
  • value (::Google::Apps::Chat::V1::CalendarEventLinkData) — 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.

Returns
  • (::Google::Apps::Chat::V1::CalendarEventLinkData) — 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.

def chat_space_link_data() -> ::Google::Apps::Chat::V1::ChatSpaceLinkData
Returns
  • (::Google::Apps::Chat::V1::ChatSpaceLinkData) — 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.

def chat_space_link_data=(value) -> ::Google::Apps::Chat::V1::ChatSpaceLinkData
Parameter
  • value (::Google::Apps::Chat::V1::ChatSpaceLinkData) — 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.

Returns
  • (::Google::Apps::Chat::V1::ChatSpaceLinkData) — 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.

def drive_link_data() -> ::Google::Apps::Chat::V1::DriveLinkData
Returns
  • (::Google::Apps::Chat::V1::DriveLinkData) — 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.

def drive_link_data=(value) -> ::Google::Apps::Chat::V1::DriveLinkData
Parameter
  • value (::Google::Apps::Chat::V1::DriveLinkData) — 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.

Returns
  • (::Google::Apps::Chat::V1::DriveLinkData) — 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.

def meet_space_link_data() -> ::Google::Apps::Chat::V1::MeetSpaceLinkData
Returns
  • (::Google::Apps::Chat::V1::MeetSpaceLinkData) — 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.

def meet_space_link_data=(value) -> ::Google::Apps::Chat::V1::MeetSpaceLinkData
Parameter
  • value (::Google::Apps::Chat::V1::MeetSpaceLinkData) — 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.

Returns
  • (::Google::Apps::Chat::V1::MeetSpaceLinkData) — 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.

def rich_link_type() -> ::Google::Apps::Chat::V1::RichLinkMetadata::RichLinkType
def rich_link_type=(value) -> ::Google::Apps::Chat::V1::RichLinkMetadata::RichLinkType
Parameter

#uri

def uri() -> ::String
Returns
  • (::String) — The URI of this link.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — The URI of this link.
Returns
  • (::String) — The URI of this link.