# Class Action (2.20.0)

2.20.0 (latest) 2.19.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.2 2.9.0 2.8.0 2.7.1 2.6.0 2.5.0 2.4.0 2.3.1 2.2.2 2.1.0 2.0.1 1.13.0 1.12.3 1.11.0 1.10.0 1.9.0 1.8.1 1.7.0 1.6.2 1.5.1 1.4.3 1.3.0 1.2.0 1.1.3 1.0.1 0.2.1 0.1.0

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

Action represents an issue requiring administrator action for
resolution.

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** |
| `category` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.Category` The category of issue associated with the action. |
| `issue` | `str` Detailed description of the issue requiring action. |
| `detect_time` | `google.protobuf.timestamp_pb2.Timestamp` The time that the issue was detected. |
| `name` | `str` Output only. The relative resource name of the action, of the form: `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}` `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}` `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`. |
| `lake` | `str` Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. |
| `zone` | `str` Output only. The relative resource name of the zone, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. |
| `asset` | `str` Output only. The relative resource name of the asset, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. |
| `data_locations` | `MutableSequence[str]` The list of data locations associated with this action. Cloud Storage locations are represented as URI paths(E.g. `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to resource names(E.g. `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`). |
| `invalid_data_format` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.InvalidDataFormat` Details for issues related to invalid or unsupported data formats. This field is a member of `oneof`_ `details`. |
| `incompatible_data_schema` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.IncompatibleDataSchema` Details for issues related to incompatible schemas detected within data. This field is a member of `oneof`_ `details`. |
| `invalid_data_partition` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.InvalidDataPartition` Details for issues related to invalid or unsupported data partition structure. This field is a member of `oneof`_ `details`. |
| `missing_data` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.MissingData` Details for issues related to absence of data within managed resources. This field is a member of `oneof`_ `details`. |
| `missing_resource` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.MissingResource` Details for issues related to absence of a managed resource. This field is a member of `oneof`_ `details`. |
| `unauthorized_resource` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.UnauthorizedResource` Details for issues related to lack of permissions to access data resources. This field is a member of `oneof`_ `details`. |
| `failed_security_policy_apply` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.FailedSecurityPolicyApply` Details for issues related to applying security policy. This field is a member of `oneof`_ `details`. |
| `invalid_data_organization` | `https://docs.cloud.google.com/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Action.InvalidDataOrganization` Details for issues related to invalid data arrangement. This field is a member of `oneof`_ `details`. |

## Classes

### Category

    Category(value)

The category of issues.

### FailedSecurityPolicyApply

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

Failed to apply security policy to the managed resource(s)
under a lake, zone or an asset. For a lake or zone resource, one
or more underlying assets has a failure applying security policy
to the associated managed resource.

### IncompatibleDataSchema

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

Action details for incompatible schemas detected by
discovery.

### InvalidDataFormat

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

Action details for invalid or unsupported data files detected
by discovery.

### InvalidDataOrganization

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

Action details for invalid data arrangement.

### InvalidDataPartition

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

Action details for invalid or unsupported partitions detected
by discovery.

### MissingData

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

Action details for absence of data detected by discovery.

### MissingResource

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

Action details for resource references in assets that cannot
be located.

### UnauthorizedResource

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

Action details for unauthorized resource issues raised to
indicate that the service account associated with the lake
instance is not authorized to access or manage the resource
associated with an asset.