# Class Action (0.11.0)

0.11.0 (latest) 0.10.0 0.9.0 0.8.0 0.7.16 0.6.0 0.5.1 0.4.1 0.3.1 0.2.1 0.1.0

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

Represents the action triggered by Rule Engine when the rule
is true.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `action_id` | `str` ID of the action. Managed internally. |
| `access_control` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.AccessControlAction` Action triggering access control operations. This field is a member of `oneof`_ `action`. |
| `data_validation` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.DataValidationAction` Action triggering data validation operations. This field is a member of `oneof`_ `action`. |
| `data_update` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.DataUpdateAction` Action triggering data update operations. This field is a member of `oneof`_ `action`. |
| `add_to_folder` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.AddToFolderAction` Action triggering create document link operation. This field is a member of `oneof`_ `action`. |
| `publish_to_pub_sub` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.PublishAction` Action publish to Pub/Sub operation. This field is a member of `oneof`_ `action`. |
| `remove_from_folder_action` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.RemoveFromFolderAction` Action removing a document from a folder. This field is a member of `oneof`_ `action`. |
| `delete_document_action` | `https://docs.cloud.google.com/python/docs/reference/contentwarehouse/latest/google.cloud.contentwarehouse_v1.types.DeleteDocumentAction` Action deleting the document. This field is a member of `oneof`_ `action`. |