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.



2485
2486
2487
# File 'lib/google/apis/dlp_v2/classes.rb', line 2485

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



2472
2473
2474
# File 'lib/google/apis/dlp_v2/classes.rb', line 2472

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. * Amazon S3: maps 1:1 with a bucket. Corresponds to the JSON property fileStoreProfile



2478
2479
2480
# File 'lib/google/apis/dlp_v2/classes.rb', line 2478

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



2483
2484
2485
# File 'lib/google/apis/dlp_v2/classes.rb', line 2483

def table_profile
  @table_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2490
2491
2492
2493
2494
# File 'lib/google/apis/dlp_v2/classes.rb', line 2490

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