Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LoggingConfig

Inherits:
Object
  • Object
show all
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 single logging configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2LoggingConfig

Returns a new instance of GooglePrivacyDlpV2LoggingConfig.



8545
8546
8547
# File 'lib/google/apis/dlp_v2/classes.rb', line 8545

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#log_to_big_queryGoogle::Apis::DlpV2::GooglePrivacyDlpV2LogToBigQuery

Configuration for logging content policy actions to BigQuery. Corresponds to the JSON property logToBigQuery



8543
8544
8545
# File 'lib/google/apis/dlp_v2/classes.rb', line 8543

def log_to_big_query
  @log_to_big_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8550
8551
8552
# File 'lib/google/apis/dlp_v2/classes.rb', line 8550

def update!(**args)
  @log_to_big_query = args[:log_to_big_query] if args.key?(:log_to_big_query)
end