Class: Google::Apps::Chat::V1::WidgetMarkup::FormAction::ActionParameter

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/widgets.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#key::String

Returns The name of the parameter for the action script.

Returns:

  • (::String)

    The name of the parameter for the action script.



241
242
243
244
# File 'proto_docs/google/chat/v1/widgets.rb', line 241

class ActionParameter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns The value of the parameter.

Returns:

  • (::String)

    The value of the parameter.



241
242
243
244
# File 'proto_docs/google/chat/v1/widgets.rb', line 241

class ActionParameter
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end