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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudDlpDataProfile

Returns a new instance of CloudDlpDataProfile.



1474
1475
1476
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1474

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

Instance Attribute Details

#data_profileString

Corresponds to the JSON property dataProfile

Returns:

  • (String)


1462
1463
1464
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1462

def data_profile
  @data_profile
end

#info_typesArray<Google::Apis::SecuritycenterV1::InfoType>

Corresponds to the JSON property infoTypes



1467
1468
1469
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1467

def info_types
  @info_types
end

#parent_typeString

Corresponds to the JSON property parentType

Returns:

  • (String)


1472
1473
1474
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1472

def parent_type
  @parent_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1479
1480
1481
1482
1483
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1479

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