Class: Google::Apis::ChatV1::AttachedGif

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#uriString

Output only. The URL that hosts the GIF image. Corresponds to the JSON property uri

Returns:

  • (String)


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