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.



2338
2339
2340
# File 'lib/google/apis/dlp_v2/classes.rb', line 2338

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



2326
2327
2328
# File 'lib/google/apis/dlp_v2/classes.rb', line 2326

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



2331
2332
2333
# File 'lib/google/apis/dlp_v2/classes.rb', line 2331

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



2336
2337
2338
# File 'lib/google/apis/dlp_v2/classes.rb', line 2336

def table_profile
  @table_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2343
2344
2345
2346
2347
# File 'lib/google/apis/dlp_v2/classes.rb', line 2343

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