Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileBigQueryRowSchema

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

The schema of data to be saved to the BigQuery table when the DataProfileAction is enabled.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfileBigQueryRowSchema

Returns a new instance of GooglePrivacyDlpV2DataProfileBigQueryRowSchema.



2009
2010
2011
# File 'lib/google/apis/dlp_v2/classes.rb', line 2009

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

Instance Attribute Details

#column_profileGoogle::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile

The profile for a scanned column within a table. Corresponds to the JSON property columnProfile



2002
2003
2004
# File 'lib/google/apis/dlp_v2/classes.rb', line 2002

def column_profile
  @column_profile
end

#table_profileGoogle::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile

The profile for a scanned table. Corresponds to the JSON property tableProfile



2007
2008
2009
# File 'lib/google/apis/dlp_v2/classes.rb', line 2007

def table_profile
  @table_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2014
2015
2016
2017
# File 'lib/google/apis/dlp_v2/classes.rb', line 2014

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