Class: Google::Apis::ChatV1::GoogleAppsCardV1ExpressionDataCondition

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 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

Instance Method Summary collapse

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_typeString

The type of the condition. Corresponds to the JSON property conditionType

Returns:

  • (String)


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