- JSON representation
- Export
- PubSubNotification
- EventType
- DataProfilePubSubCondition
- PubSubExpressions
- PubSubLogicalOperator
- PubSubCondition
- ProfileScoreBucket
- DetailLevel
A task to execute when a data profile has been generated.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field action . Type of action to execute when a profile is generated. action can be only one of the following: |
|
exportData |
Export data profiles into a provided location. |
pubSubNotification |
Publish a message into the Pub/Sub topic. |
Export
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
JSON representation |
---|
{
"profileTable": {
object ( |
Fields | |
---|---|
profileTable |
Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery. |
PubSubNotification
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
.
JSON representation |
---|
{ "topic": string, "event": enum ( |
Fields | |
---|---|
topic |
Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}. |
event |
The type of event that triggers a Pub/Sub. At most one |
pubsubCondition |
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub. |
detailOfMessage |
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resourceName and fetch the profile fields they wish to. Per table profile (not per column). |
EventType
Types of event that can trigger an action.
Enums | |
---|---|
EVENT_TYPE_UNSPECIFIED |
Unused. |
NEW_PROFILE |
New profile (not a re-profile). |
CHANGED_PROFILE |
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 |
Table data risk score or sensitivity score increased. |
ERROR_CHANGED |
A user (non-internal) error occurred. |
DataProfilePubSubCondition
A condition for determining whether a Pub/Sub should be triggered.
JSON representation |
---|
{
"expressions": {
object ( |
Fields | |
---|---|
expressions |
An expression. |
PubSubExpressions
An expression, consisting of an operator and conditions.
JSON representation |
---|
{ "logicalOperator": enum ( |
Fields | |
---|---|
logicalOperator |
The operator to apply to the collection of conditions. |
conditions[] |
Conditions to apply to the expression. |
PubSubLogicalOperator
Logical operators for conditional checks.
Enums | |
---|---|
LOGICAL_OPERATOR_UNSPECIFIED |
Unused. |
OR |
Conditional OR. |
AND |
Conditional AND. |
PubSubCondition
A condition consisting of a value.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field value . The value for the condition to trigger. value can be only one of the following: |
|
minimumRiskScore |
The minimum data risk score that triggers the condition. |
minimumSensitivityScore |
The minimum sensitivity level that triggers the condition. |
ProfileScoreBucket
Various score levels for resources.
Enums | |
---|---|
PROFILE_SCORE_BUCKET_UNSPECIFIED |
Unused. |
HIGH |
High risk/sensitivity detected. |
MEDIUM_OR_HIGH |
Medium or high risk/sensitivity detected. |
DetailLevel
The levels of detail that can be included in the Pub/Sub message.
Enums | |
---|---|
DETAIL_LEVEL_UNSPECIFIED |
Unused. |
TABLE_PROFILE |
The full table data profile. |
RESOURCE_NAME |
The resource name of the table. |