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.
254 255 256 |
# File 'lib/google/apis/chat_v1/classes.rb', line 254 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
252 253 254 |
# File 'lib/google/apis/chat_v1/classes.rb', line 252 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
259 260 261 |
# File 'lib/google/apis/chat_v1/classes.rb', line 259 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |