# Google Cloud Ces V1 Client - Class PythonCodeCondition (0.2.0)

0.2.0 (latest) 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class PythonCodeCondition.

Python code block to evaluate the condition.

Generated from protobuf message `google.cloud.ces.v1.PythonCodeCondition`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ python_code` | `string` Required. The python code to execute. |

### getPythonCode

Required. The python code to execute.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPythonCode

Required. The python code to execute.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |