Class: Google::Apis::ChatV1::GoogleAppsCardV1OpenLink
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1OpenLink
- 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
-
#on_close ⇒ String
Corresponds to the JSON property
onClose. -
#open_as ⇒ String
Corresponds to the JSON property
openAs. -
#url ⇒ String
The URL to open.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1OpenLink
constructor
A new instance of GoogleAppsCardV1OpenLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1OpenLink
Returns a new instance of GoogleAppsCardV1OpenLink.
1700 1701 1702 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1700 def initialize(**args) update!(**args) end |
Instance Attribute Details
#on_close ⇒ String
Corresponds to the JSON property onClose
1688 1689 1690 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1688 def on_close @on_close end |
#open_as ⇒ String
Corresponds to the JSON property openAs
1693 1694 1695 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1693 def open_as @open_as end |
#url ⇒ String
The URL to open.
Corresponds to the JSON property url
1698 1699 1700 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1698 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1705 1706 1707 1708 1709 |
# File 'lib/google/apis/chat_v1/classes.rb', line 1705 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 |