Class: Google::Apis::SecuritycenterV1::CloudDlpDataProfile

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudDlpDataProfile

Returns a new instance of CloudDlpDataProfile.



1125
1126
1127
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1125

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

Instance Attribute Details

#data_profileString

Name of the data profile, for example, projects/123/locations/europe/ tableProfiles/8383929. Corresponds to the JSON property dataProfile

Returns:

  • (String)


1118
1119
1120
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1118

def data_profile
  @data_profile
end

#parent_typeString

The resource hierarchy level at which the data profile was generated. Corresponds to the JSON property parentType

Returns:

  • (String)


1123
1124
1125
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1123

def parent_type
  @parent_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1130
1131
1132
1133
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1130

def update!(**args)
  @data_profile = args[:data_profile] if args.key?(:data_profile)
  @parent_type = args[:parent_type] if args.key?(:parent_type)
end