Class: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCardV1OpenLink

Returns a new instance of GoogleAppsCardV1OpenLink.



1568
1569
1570
# File 'lib/google/apis/chat_v1/classes.rb', line 1568

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#on_closeString

Corresponds to the JSON property onClose

Returns:

  • (String)


1556
1557
1558
# File 'lib/google/apis/chat_v1/classes.rb', line 1556

def on_close
  @on_close
end

#open_asString

Corresponds to the JSON property openAs

Returns:

  • (String)


1561
1562
1563
# File 'lib/google/apis/chat_v1/classes.rb', line 1561

def open_as
  @open_as
end

#urlString

The URL to open. Corresponds to the JSON property url

Returns:

  • (String)


1566
1567
1568
# File 'lib/google/apis/chat_v1/classes.rb', line 1566

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1573
1574
1575
1576
1577
# File 'lib/google/apis/chat_v1/classes.rb', line 1573

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