Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile

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

An aggregated profile for this project, based on the resources profiled within it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ProjectDataProfile

Returns a new instance of GooglePrivacyDlpV2ProjectDataProfile.



7131
7132
7133
# File 'lib/google/apis/dlp_v2/classes.rb', line 7131

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_risk_levelGoogle::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



7093
7094
7095
# File 'lib/google/apis/dlp_v2/classes.rb', line 7093

def data_risk_level
  @data_risk_level
end

#file_store_data_profile_countFixnum

The number of file store data profiles generated for this project. Corresponds to the JSON property fileStoreDataProfileCount

Returns:

  • (Fixnum)


7098
7099
7100
# File 'lib/google/apis/dlp_v2/classes.rb', line 7098

def file_store_data_profile_count
  @file_store_data_profile_count
end

#nameString

The resource name of the profile. Corresponds to the JSON property name

Returns:

  • (String)


7103
7104
7105
# File 'lib/google/apis/dlp_v2/classes.rb', line 7103

def name
  @name
end

#profile_last_generatedString

The last time the profile was generated. Corresponds to the JSON property profileLastGenerated

Returns:

  • (String)


7108
7109
7110
# File 'lib/google/apis/dlp_v2/classes.rb', line 7108

def profile_last_generated
  @profile_last_generated
end

#profile_statusGoogle::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus

Success or errors for the profile generation. Corresponds to the JSON property profileStatus



7113
7114
7115
# File 'lib/google/apis/dlp_v2/classes.rb', line 7113

def profile_status
  @profile_status
end

#project_idString

Project ID that was profiled. Corresponds to the JSON property projectId

Returns:

  • (String)


7118
7119
7120
# File 'lib/google/apis/dlp_v2/classes.rb', line 7118

def project_id
  @project_id
end

#sensitivity_scoreGoogle::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



7124
7125
7126
# File 'lib/google/apis/dlp_v2/classes.rb', line 7124

def sensitivity_score
  @sensitivity_score
end

#table_data_profile_countFixnum

The number of table data profiles generated for this project. Corresponds to the JSON property tableDataProfileCount

Returns:

  • (Fixnum)


7129
7130
7131
# File 'lib/google/apis/dlp_v2/classes.rb', line 7129

def table_data_profile_count
  @table_data_profile_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
# File 'lib/google/apis/dlp_v2/classes.rb', line 7136

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