Class: Google::Apps::Chat::V1::RichLinkMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/annotation.rb

Overview

A rich link to a resource.

Defined Under Namespace

Modules: RichLinkType

Instance Attribute Summary collapse

Instance Attribute Details

Returns Data for a chat space link.

Returns:



144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'proto_docs/google/chat/v1/annotation.rb', line 144

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

Returns Data for a drive link.

Returns:



144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'proto_docs/google/chat/v1/annotation.rb', line 144

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

Returns The rich link type.



144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'proto_docs/google/chat/v1/annotation.rb', line 144

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

#uri::String

Returns The URI of this link.

Returns:

  • (::String)

    The URI of this link.



144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'proto_docs/google/chat/v1/annotation.rb', line 144

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