Class: Google::Apis::CesV1::PythonCodeCondition
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::PythonCodeCondition
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Python code block to evaluate the condition.
Instance Attribute Summary collapse
-
#python_code ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PythonCodeCondition
constructor
A new instance of PythonCodeCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PythonCodeCondition
Returns a new instance of PythonCodeCondition.
5786 5787 5788 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#python_code ⇒ String
Required. The python code to execute.
Corresponds to the JSON property pythonCode
5784 5785 5786 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5784 def python_code @python_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5791 5792 5793 |
# File 'lib/google/apis/ces_v1/classes.rb', line 5791 def update!(**args) @python_code = args[:python_code] if args.key?(:python_code) end |