Class: Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition
- 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 is evaluated using CEL. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.
Instance Attribute Summary collapse
-
#condition_type ⇒ String
The type of the condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1ExpressionDataCondition
constructor
A new instance of GoogleAppsCardV1ExpressionDataCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1ExpressionDataCondition
Returns a new instance of GoogleAppsCardV1ExpressionDataCondition.
2761 2762 2763 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition_type ⇒ String
The type of the condition.
Corresponds to the JSON property conditionType
2759 2760 2761 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2759 def condition_type @condition_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2766 2767 2768 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2766 def update!(**args) @condition_type = args[:condition_type] if args.key?(:condition_type) end |