Class: Google::Apis::SecuritycenterV1::CloudDlpDataProfile
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::CloudDlpDataProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Overview
The data profile associated with the finding.
Instance Attribute Summary collapse
-
#data_profile ⇒ String
Name of the data profile, for example,
projects/123/locations/europe/ tableProfiles/8383929
. -
#parent_type ⇒ String
The resource hierarchy level at which the data profile was generated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudDlpDataProfile
constructor
A new instance of CloudDlpDataProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudDlpDataProfile
Returns a new instance of CloudDlpDataProfile.
1269 1270 1271 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_profile ⇒ String
Name of the data profile, for example, projects/123/locations/europe/
tableProfiles/8383929
.
Corresponds to the JSON property dataProfile
1262 1263 1264 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1262 def data_profile @data_profile end |
#parent_type ⇒ String
The resource hierarchy level at which the data profile was generated.
Corresponds to the JSON property parentType
1267 1268 1269 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1267 def parent_type @parent_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1274 1275 1276 1277 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1274 def update!(**args) @data_profile = args[:data_profile] if args.key?(:data_profile) @parent_type = args[:parent_type] if args.key?(:parent_type) end |