Google Chat V1 API - Class Google::Apps::Chat::V1::WidgetMarkup::FormAction (v0.6.0)

Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::WidgetMarkup::FormAction.

A form action describes the behavior when the form is submitted. For example, you can invoke Apps Script to handle the form.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action_method_name

def action_method_name() -> ::String
Returns
  • (::String) — The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.

#action_method_name=

def action_method_name=(value) -> ::String
Parameter
  • value (::String) — The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.
Returns
  • (::String) — The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.

#parameters

def parameters() -> ::Array<::Google::Apps::Chat::V1::WidgetMarkup::FormAction::ActionParameter>
Returns

#parameters=

def parameters=(value) -> ::Array<::Google::Apps::Chat::V1::WidgetMarkup::FormAction::ActionParameter>
Parameter
Returns