Class: Google::Apis::ChatV1::MatchedUrl
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::MatchedUrl
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
A matched URL in a Chat message. Chat apps can preview matched URLs. For more information, see Preview links.
Instance Attribute Summary collapse
-
#url ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MatchedUrl
constructor
A new instance of MatchedUrl.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MatchedUrl
Returns a new instance of MatchedUrl.
3890 3891 3892 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3890 def initialize(**args) update!(**args) end |
Instance Attribute Details
#url ⇒ String
Output only. The URL that was matched.
Corresponds to the JSON property url
3888 3889 3890 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3888 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3895 3896 3897 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3895 def update!(**args) @url = args[:url] if args.key?(:url) end |