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.



8541
8542
8543
# File 'lib/google/apis/dlp_v2/classes.rb', line 8541

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



8539
8540
8541
# File 'lib/google/apis/dlp_v2/classes.rb', line 8539

def log_to_big_query
  @log_to_big_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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