Class: Google::Apis::ChatV1::GoogleAppsCardV1Condition
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1Condition
- 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 condition that can be used to trigger an action. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.
Instance Attribute Summary collapse
-
#action_rule_id ⇒ String
The unique identifier of the ActionRule.
-
#expression_data_condition ⇒ Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition
Represents a condition that is evaluated using CEL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1Condition
constructor
A new instance of GoogleAppsCardV1Condition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1Condition
Returns a new instance of GoogleAppsCardV1Condition.
2438 2439 2440 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_rule_id ⇒ String
The unique identifier of the ActionRule.
Corresponds to the JSON property actionRuleId
2429 2430 2431 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2429 def action_rule_id @action_rule_id end |
#expression_data_condition ⇒ Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition
Represents a condition that is evaluated using CEL. Available for Google
Workspace add-ons that extend Google Workspace Studio. Unavailable for Google
Chat apps.
Corresponds to the JSON property expressionDataCondition
2436 2437 2438 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2436 def expression_data_condition @expression_data_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2443 2444 2445 2446 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2443 def update!(**args) @action_rule_id = args[:action_rule_id] if args.key?(:action_rule_id) @expression_data_condition = args[:expression_data_condition] if args.key?(:expression_data_condition) end |