Show / Hide Table of Contents

Class GoogleAppsCardV1OnClick

Represents how to respond when users click an interactive element on a card, such as a button. Google Workspace add-ons and Chat apps:

Inheritance
object
GoogleAppsCardV1OnClick
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class GoogleAppsCardV1OnClick : IDirectResponseSchema

Properties

Action

If specified, an action is triggered by this onClick.

Declaration
[JsonProperty("action")]
public virtual GoogleAppsCardV1Action Action { get; set; }
Property Value
Type Description
GoogleAppsCardV1Action

Card

A new card is pushed to the card stack after clicking if specified. Google Workspace add-ons:

Declaration
[JsonProperty("card")]
public virtual GoogleAppsCardV1Card Card { get; set; }
Property Value
Type Description
GoogleAppsCardV1Card

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

OpenDynamicLinkAction

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:

Declaration
[JsonProperty("openDynamicLinkAction")]
public virtual GoogleAppsCardV1Action OpenDynamicLinkAction { get; set; }
Property Value
Type Description
GoogleAppsCardV1Action

OpenLink

If specified, this onClick triggers an open link action.

Declaration
[JsonProperty("openLink")]
public virtual GoogleAppsCardV1OpenLink OpenLink { get; set; }
Property Value
Type Description
GoogleAppsCardV1OpenLink

OverflowMenu

If specified, this onClick opens an overflow menu.

Declaration
[JsonProperty("overflowMenu")]
public virtual GoogleAppsCardV1OverflowMenu OverflowMenu { get; set; }
Property Value
Type Description
GoogleAppsCardV1OverflowMenu

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX