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.



3908
3909
3910
# File 'lib/google/apis/chat_v1/classes.rb', line 3908

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)


3906
3907
3908
# File 'lib/google/apis/chat_v1/classes.rb', line 3906

def action_rule_id
  @action_rule_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3913
3914
3915
# File 'lib/google/apis/chat_v1/classes.rb', line 3913

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