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.



4086
4087
4088
# File 'lib/google/apis/chat_v1/classes.rb', line 4086

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)


4084
4085
4086
# File 'lib/google/apis/chat_v1/classes.rb', line 4084

def action_rule_id
  @action_rule_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4091
4092
4093
# File 'lib/google/apis/chat_v1/classes.rb', line 4091

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