Google Chat V1 API - Class Google::Apps::Card::V1::Action::ActionParameter (v0.7.0)

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

List of string parameters to supply when the action method is invoked. For example, consider three snooze buttons: snooze now, snooze one day, or snooze next week. You might use action method = snooze(), passing the snooze type and snooze time in the list of string parameters.

To learn more, see CommonEventObject.

Google Workspace Add-ons and Chat apps:

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key

def key() -> ::String
Returns
  • (::String) — The name of the parameter for the action script.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — The name of the parameter for the action script.
Returns
  • (::String) — The name of the parameter for the action script.

#value

def value() -> ::String
Returns
  • (::String) — The value of the parameter.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — The value of the parameter.
Returns
  • (::String) — The value of the parameter.