Class: Google::Apis::ChatV1::GoogleAppsCardV1Trigger

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Represents a trigger. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCardV1Trigger

Returns a new instance of GoogleAppsCardV1Trigger.



3981
3982
3983
# File 'lib/google/apis/chat_v1/classes.rb', line 3981

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#action_rule_idString

The unique identifier of the ActionRule. Corresponds to the JSON property actionRuleId

Returns:

  • (String)


3979
3980
3981
# File 'lib/google/apis/chat_v1/classes.rb', line 3979

def action_rule_id
  @action_rule_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3986
3987
3988
# File 'lib/google/apis/chat_v1/classes.rb', line 3986

def update!(**args)
  @action_rule_id = args[:action_rule_id] if args.key?(:action_rule_id)
end