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.



6790
6791
6792
# File 'lib/google/apis/dlp_v2/classes.rb', line 6790

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



6762
6763
6764
# File 'lib/google/apis/dlp_v2/classes.rb', line 6762

def data_risk_level
  @data_risk_level
end

#nameString

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

Returns:

  • (String)


6767
6768
6769
# File 'lib/google/apis/dlp_v2/classes.rb', line 6767

def name
  @name
end

#profile_last_generatedString

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

Returns:

  • (String)


6772
6773
6774
# File 'lib/google/apis/dlp_v2/classes.rb', line 6772

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



6777
6778
6779
# File 'lib/google/apis/dlp_v2/classes.rb', line 6777

def profile_status
  @profile_status
end

#project_idString

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

Returns:

  • (String)


6782
6783
6784
# File 'lib/google/apis/dlp_v2/classes.rb', line 6782

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



6788
6789
6790
# File 'lib/google/apis/dlp_v2/classes.rb', line 6788

def sensitivity_score
  @sensitivity_score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6795
6796
6797
6798
6799
6800
6801
6802
# File 'lib/google/apis/dlp_v2/classes.rb', line 6795

def update!(**args)
  @data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
  @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)
end