Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A task to execute when a data profile has been generated.
Instance Attribute Summary collapse
-
#export_data ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Export
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
-
#pub_sub_notification ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation.
-
#publish_to_chronicle ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle
Message expressing intention to publish to Google Security Operations.
-
#publish_to_scc ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter
If set, a summary finding will be created/updated in SCC for each profile.
-
#tag_resources ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources
If set, attaches the tags provided to profiled resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfileAction
constructor
A new instance of GooglePrivacyDlpV2DataProfileAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfileAction
Returns a new instance of GooglePrivacyDlpV2DataProfileAction.
2450 2451 2452 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2450 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export_data ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Export
If set, the detailed data profiles will be persisted to the location of your
choice whenever updated.
Corresponds to the JSON property exportData
2422 2423 2424 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2422 def export_data @export_data end |
#pub_sub_notification ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification
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
.
Corresponds to the JSON property pubSubNotification
2429 2430 2431 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2429 def pub_sub_notification @pub_sub_notification end |
#publish_to_chronicle ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle
Message expressing intention to publish to Google Security Operations.
Corresponds to the JSON property publishToChronicle
2434 2435 2436 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2434 def publish_to_chronicle @publish_to_chronicle end |
#publish_to_scc ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter
If set, a summary finding will be created/updated in SCC for each profile.
Corresponds to the JSON property publishToScc
2439 2440 2441 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2439 def publish_to_scc @publish_to_scc end |
#tag_resources ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources
If set, attaches the tags provided to profiled resources. Tags support access
control. You can
conditionally grant or deny access to a resource based on whether the resource
has a specific tag.
Corresponds to the JSON property tagResources
2448 2449 2450 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2448 def tag_resources @tag_resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2455 2456 2457 2458 2459 2460 2461 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2455 def update!(**args) @export_data = args[:export_data] if args.key?(:export_data) @pub_sub_notification = args[:pub_sub_notification] if args.key?(:pub_sub_notification) @publish_to_chronicle = args[:publish_to_chronicle] if args.key?(:publish_to_chronicle) @publish_to_scc = args[:publish_to_scc] if args.key?(:publish_to_scc) @tag_resources = args[:tag_resources] if args.key?(:tag_resources) end |