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.



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

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



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

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



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

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



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

def table_profile
  @table_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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