class Google::Apis::ChatV1::CommonEventObject
Next available ID = 8
Attributes
The keys are the string IDs associated with the widget and the values are inputs with a widget in the card. Corresponds to the JSON property `formInputs` @return [Hash<String,Google::Apis::ChatV1::Inputs>]
The hostApp enum which indicates the app the add-on is invoked from Corresponds to the JSON property `hostApp` @return [String]
Name of the invoked function associated with the widget. This field is currently only set for chat. Corresponds to the JSON property `invokedFunction` @return [String]
Any additional parameters. Corresponds to the JSON property `parameters` @return [Hash<String,String>]
The platform enum which indicates the platform where the add-on is running. Corresponds to the JSON property `platform` @return [String]
The timezone id and offset. The id is the tz database time zones such as “ America/Toronto”. The user timezone offset, in milliseconds, from Coordinated Universal Time (UTC). Corresponds to the JSON property `timeZone` @return [Google::Apis::ChatV1::TimeZone]
The full locale.displayName in the format of [ISO 639 language code]-[ISO 3166 country/region code] such as “en-US” Corresponds to the JSON property `userLocale` @return [String]
Public Class Methods
# File lib/google/apis/chat_v1/classes.rb, line 511 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/chat_v1/classes.rb, line 516 def update!(**args) @form_inputs = args[:form_inputs] if args.key?(:form_inputs) @host_app = args[:host_app] if args.key?(:host_app) @invoked_function = args[:invoked_function] if args.key?(:invoked_function) @parameters = args[:parameters] if args.key?(:parameters) @platform = args[:platform] if args.key?(:platform) @time_zone = args[:time_zone] if args.key?(:time_zone) @user_locale = args[:user_locale] if args.key?(:user_locale) end