Google Chat V1 API - Class Google::Apps::Card::V1::OpenLink (v0.5.0)

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.

Google Workspace Add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

def on_close() -> ::Google::Apps::Card::V1::OpenLink::OnClose
Returns
def on_close=(value) -> ::Google::Apps::Card::V1::OpenLink::OnClose
Parameter
Returns
def open_as() -> ::Google::Apps::Card::V1::OpenLink::OpenAs
def open_as=(value) -> ::Google::Apps::Card::V1::OpenLink::OpenAs
Parameter
def url() -> ::String
Returns
  • (::String) — The URL to open.
def url=(value) -> ::String
Parameter
  • value (::String) — The URL to open.
Returns
  • (::String) — The URL to open.