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.



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

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)


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