GoogleApi.Chat.V1.Model.GoogleAppsCardV1CardAction (google_api_chat v0.26.0) View Source

A card action is the action associated with the card. For example, an invoice card might include actions such as delete invoice, email invoice, or open the invoice in a browser.

Attributes

  • actionLabel (type: String.t, default: nil) - The label that displays as the action menu item.
  • onClick (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t, default: nil) - The onclick action for this action item.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1CardAction{
  actionLabel: String.t() | nil,
  onClick: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.