Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
- 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
An aggregated profile for this project, based on the resources profiled within it.
Instance Attribute Summary collapse
-
#data_risk_level ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel
Score is a summary of all elements in the data profile.
-
#file_store_data_profile_count ⇒ Fixnum
The number of file store data profiles generated for this project.
-
#name ⇒ String
The resource name of the profile.
-
#profile_last_generated ⇒ String
The last time the profile was generated.
-
#profile_status ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus
Success or errors for the profile generation.
-
#project_id ⇒ String
Project ID that was profiled.
-
#sensitivity_score ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore
Score is calculated from of all elements in the data profile.
-
#table_data_profile_count ⇒ Fixnum
The number of table data profiles generated for this project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ProjectDataProfile
constructor
A new instance of GooglePrivacyDlpV2ProjectDataProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ProjectDataProfile
Returns a new instance of GooglePrivacyDlpV2ProjectDataProfile.
7468 7469 7470 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7468 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_risk_level ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel
Score is a summary of all elements in the data profile. A higher number means
more risk.
Corresponds to the JSON property dataRiskLevel
7430 7431 7432 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7430 def data_risk_level @data_risk_level end |
#file_store_data_profile_count ⇒ Fixnum
The number of file store data profiles generated for this project.
Corresponds to the JSON property fileStoreDataProfileCount
7435 7436 7437 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7435 def file_store_data_profile_count @file_store_data_profile_count end |
#name ⇒ String
The resource name of the profile.
Corresponds to the JSON property name
7440 7441 7442 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7440 def name @name end |
#profile_last_generated ⇒ String
The last time the profile was generated.
Corresponds to the JSON property profileLastGenerated
7445 7446 7447 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7445 def profile_last_generated @profile_last_generated end |
#profile_status ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus
Success or errors for the profile generation.
Corresponds to the JSON property profileStatus
7450 7451 7452 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7450 def profile_status @profile_status end |
#project_id ⇒ String
Project ID that was profiled.
Corresponds to the JSON property projectId
7455 7456 7457 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7455 def project_id @project_id end |
#sensitivity_score ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore
Score is calculated from of all elements in the data profile. A higher level
means the data is more sensitive.
Corresponds to the JSON property sensitivityScore
7461 7462 7463 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7461 def sensitivity_score @sensitivity_score end |
#table_data_profile_count ⇒ Fixnum
The number of table data profiles generated for this project.
Corresponds to the JSON property tableDataProfileCount
7466 7467 7468 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7466 def table_data_profile_count @table_data_profile_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7473 def update!(**args) @data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level) @file_store_data_profile_count = args[:file_store_data_profile_count] if args.key?(:file_store_data_profile_count) @name = args[:name] if args.key?(:name) @profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated) @profile_status = args[:profile_status] if args.key?(:profile_status) @project_id = args[:project_id] if args.key?(:project_id) @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score) @table_data_profile_count = args[:table_data_profile_count] if args.key?(:table_data_profile_count) end |