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

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

A rich link to a resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

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. 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. 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. 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. 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. 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. 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.