# Class CELExpression (0.8.0)

0.8.0 (latest) 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    CELExpression(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Common Expression Language (CEL) expression that's used to
create a rule.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `resource_types_values` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-cloudsecuritycompliance/latest/google.cloud.cloudsecuritycompliance_v1.types.StringList` The resource instance types on which this expression is defined. The format is . For example: `compute.googleapis.com/Instance` This field is a member of `oneof`_ `criteria`. |
| `expression` | `str` Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see \`CEL expression |