Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudDlpDataProfile

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2CloudDlpDataProfile

Returns a new instance of GoogleCloudSecuritycenterV2CloudDlpDataProfile.



5337
5338
5339
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5337

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

Instance Attribute Details

#data_profileString

Corresponds to the JSON property dataProfile

Returns:

  • (String)


5325
5326
5327
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5325

def data_profile
  @data_profile
end

#info_typesArray<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2InfoType>

Corresponds to the JSON property infoTypes



5330
5331
5332
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5330

def info_types
  @info_types
end

#parent_typeString

Corresponds to the JSON property parentType

Returns:

  • (String)


5335
5336
5337
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5335

def parent_type
  @parent_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5342
5343
5344
5345
5346
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5342

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