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.



8534
8535
8536
# File 'lib/google/apis/dlp_v2/classes.rb', line 8534

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



8532
8533
8534
# File 'lib/google/apis/dlp_v2/classes.rb', line 8532

def log_to_big_query
  @log_to_big_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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