Class DataProfileAction (3.13.0)

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

A task to execute when a data profile has been generated.

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

NameDescription
export_data google.cloud.dlp_v2.types.DataProfileAction.Export
Export data profiles into a provided location. This field is a member of oneof_ action.
pub_sub_notification google.cloud.dlp_v2.types.DataProfileAction.PubSubNotification
Publish a message into the Pub/Sub topic. This field is a member of oneof_ action.

Classes

EventType

EventType(value)

Types of event that can trigger an action.

Values: EVENT_TYPE_UNSPECIFIED (0): Unused. NEW_PROFILE (1): New profile (not a re-profile). CHANGED_PROFILE (2): Changed one of the following profile metrics:

    -  Table data risk score
    -  Table sensitivity score
    -  Table resource visibility
    -  Table encryption type
    -  Table predicted infoTypes
    -  Table other infoTypes
SCORE_INCREASED (3):
    Table data risk score or sensitivity score
    increased.
ERROR_CHANGED (4):
    A user (non-internal) error occurred.

Export

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

If set, the detailed data profiles will be persisted to the location of your choice whenever updated.

PubSubNotification

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

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.