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.



2316
2317
2318
# File 'lib/google/apis/dlp_v2/classes.rb', line 2316

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



2304
2305
2306
# File 'lib/google/apis/dlp_v2/classes.rb', line 2304

def column_profile
  @column_profile
end

#file_store_profileGoogle::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile

The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. Corresponds to the JSON property fileStoreProfile



2309
2310
2311
# File 'lib/google/apis/dlp_v2/classes.rb', line 2309

def file_store_profile
  @file_store_profile
end

#table_profileGoogle::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile

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



2314
2315
2316
# File 'lib/google/apis/dlp_v2/classes.rb', line 2314

def table_profile
  @table_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2321
2322
2323
2324
2325
# File 'lib/google/apis/dlp_v2/classes.rb', line 2321

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