Reference documentation and code samples for the Data Loss Prevention V2 Client class DataProfileAction.
A task to execute when a data profile has been generated.
Generated from protobuf message google.privacy.dlp.v2.DataProfileAction
Namespace
Google \ Cloud \ Dlp \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ export_data |
DataProfileAction\Export
Export data profiles into a provided location. |
↳ pub_sub_notification |
DataProfileAction\PubSubNotification
Publish a message into the Pub/Sub topic. |
↳ publish_to_chronicle |
DataProfileAction\PublishToChronicle
Publishes generated data profiles to Google Security Operations. For more information, see Use Sensitive Data Protection data in context-aware analytics. |
↳ publish_to_scc |
DataProfileAction\PublishToSecurityCommandCenter
Publishes findings to Security Command Center for each data profile. |
↳ tag_resources |
DataProfileAction\TagResources
Tags the profiled resources with the specified tag values. |
↳ publish_to_dataplex_catalog |
DataProfileAction\PublishToDataplexCatalog
Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data Protection Profile. |
getExportData
Export data profiles into a provided location.
| Returns | |
|---|---|
| Type | Description |
DataProfileAction\Export|null |
|
hasExportData
setExportData
Export data profiles into a provided location.
| Parameter | |
|---|---|
| Name | Description |
var |
DataProfileAction\Export
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPubSubNotification
Publish a message into the Pub/Sub topic.
| Returns | |
|---|---|
| Type | Description |
DataProfileAction\PubSubNotification|null |
|
hasPubSubNotification
setPubSubNotification
Publish a message into the Pub/Sub topic.
| Parameter | |
|---|---|
| Name | Description |
var |
DataProfileAction\PubSubNotification
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPublishToChronicle
Publishes generated data profiles to Google Security Operations.
For more information, see Use Sensitive Data Protection data in context-aware analytics.
| Returns | |
|---|---|
| Type | Description |
DataProfileAction\PublishToChronicle|null |
|
hasPublishToChronicle
setPublishToChronicle
Publishes generated data profiles to Google Security Operations.
For more information, see Use Sensitive Data Protection data in context-aware analytics.
| Parameter | |
|---|---|
| Name | Description |
var |
DataProfileAction\PublishToChronicle
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPublishToScc
Publishes findings to Security Command Center for each data profile.
| Returns | |
|---|---|
| Type | Description |
DataProfileAction\PublishToSecurityCommandCenter|null |
|
hasPublishToScc
setPublishToScc
Publishes findings to Security Command Center for each data profile.
| Parameter | |
|---|---|
| Name | Description |
var |
DataProfileAction\PublishToSecurityCommandCenter
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTagResources
Tags the profiled resources with the specified tag values.
| Returns | |
|---|---|
| Type | Description |
DataProfileAction\TagResources|null |
|
hasTagResources
setTagResources
Tags the profiled resources with the specified tag values.
| Parameter | |
|---|---|
| Name | Description |
var |
DataProfileAction\TagResources
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPublishToDataplexCatalog
Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data Protection Profile.
| Returns | |
|---|---|
| Type | Description |
DataProfileAction\PublishToDataplexCatalog|null |
|
hasPublishToDataplexCatalog
setPublishToDataplexCatalog
Publishes a portion of each profile to Dataplex Catalog with the aspect type Sensitive Data Protection Profile.
| Parameter | |
|---|---|
| Name | Description |
var |
DataProfileAction\PublishToDataplexCatalog
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAction
| Returns | |
|---|---|
| Type | Description |
string |
|