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.



242
243
244
# File 'lib/google/apis/chat_v1/classes.rb', line 242

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)


240
241
242
# File 'lib/google/apis/chat_v1/classes.rb', line 240

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



247
248
249
# File 'lib/google/apis/chat_v1/classes.rb', line 247

def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
end