Google Chat V1 API - Class Google::Apps::Card::V1::OnClick (v0.2.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Card::V1::OnClick.

Represents how to respond when users click an interactive element on a card, such as a button.

Google Workspace Add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::Google::Apps::Card::V1::Action
Returns

#action=

def action=(value) -> ::Google::Apps::Card::V1::Action
Parameter
Returns

#card

def card() -> ::Google::Apps::Card::V1::Card
Returns

#card=

def card=(value) -> ::Google::Apps::Card::V1::Card
Parameter
Returns
def open_dynamic_link_action() -> ::Google::Apps::Card::V1::Action
Returns
  • (::Google::Apps::Card::V1::Action) — An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back.

    Google Workspace Add-ons:

def open_dynamic_link_action=(value) -> ::Google::Apps::Card::V1::Action
Parameter
  • value (::Google::Apps::Card::V1::Action) — An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back.

    Google Workspace Add-ons:

Returns
  • (::Google::Apps::Card::V1::Action) — An add-on triggers this action when the action needs to open a link. This differs from the open_link above in that this needs to talk to server to get the link. Thus some preparation work is required for web client to do before the open link action response comes back.

    Google Workspace Add-ons:

def open_link() -> ::Google::Apps::Card::V1::OpenLink
Returns
def open_link=(value) -> ::Google::Apps::Card::V1::OpenLink
Parameter
Returns