Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::OpenLink.
Represents an onClick
event that opens a hyperlink.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#on_close
def on_close() -> ::Google::Apps::Card::V1::OpenLink::OnClose
Returns
-
(::Google::Apps::Card::V1::OpenLink::OnClose) — Whether the client forgets about a link after opening it, or observes it
until the window closes.
#on_close=
def on_close=(value) -> ::Google::Apps::Card::V1::OpenLink::OnClose
Parameter
-
value (::Google::Apps::Card::V1::OpenLink::OnClose) — Whether the client forgets about a link after opening it, or observes it
until the window closes.
Returns
-
(::Google::Apps::Card::V1::OpenLink::OnClose) — Whether the client forgets about a link after opening it, or observes it
until the window closes.
#open_as
def open_as() -> ::Google::Apps::Card::V1::OpenLink::OpenAs
Returns
-
(::Google::Apps::Card::V1::OpenLink::OpenAs) — How to open a link.
#open_as=
def open_as=(value) -> ::Google::Apps::Card::V1::OpenLink::OpenAs
Parameter
-
value (::Google::Apps::Card::V1::OpenLink::OpenAs) — How to open a link.
Returns
-
(::Google::Apps::Card::V1::OpenLink::OpenAs) — How to open a link.
#url
def url() -> ::String
Returns
- (::String) — The URL to open.
#url=
def url=(value) -> ::String
Parameter
- value (::String) — The URL to open.
Returns
- (::String) — The URL to open.