Class: Google::Apis::ChatV1::AttachedGif
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::AttachedGif
- 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 GIF image that's specified by a URL.
Instance Attribute Summary collapse
-
#uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttachedGif
constructor
A new instance of AttachedGif.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AttachedGif
Returns a new instance of AttachedGif.
246 247 248 |
# File 'lib/google/apis/chat_v1/classes.rb', line 246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
Output only. The URL that hosts the GIF image.
Corresponds to the JSON property uri
244 245 246 |
# File 'lib/google/apis/chat_v1/classes.rb', line 244 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
251 252 253 |
# File 'lib/google/apis/chat_v1/classes.rb', line 251 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |