Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

The data profile associated with the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudDlpDataProfile

Returns a new instance of GoogleCloudSecuritycenterV2CloudDlpDataProfile.



3352
3353
3354
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3352

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

Returns:

  • (String)


3345
3346
3347
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3345

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

Returns:

  • (String)


3350
3351
3352
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3350

def parent_type
  @parent_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3357
3358
3359
3360
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3357

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