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.
2372 2373 2374 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2372 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
2363 2364 2365 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2363 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
2370 2371 2372 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2370 def expression_data_condition @expression_data_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2377 2378 2379 2380 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2377 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 |