Class: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile
- 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
-
#data_profile ⇒ String
Corresponds to the JSON property
dataProfile. -
#info_types ⇒ Array<Google::Apis::SecuritycenterV1beta1::InfoType>
Corresponds to the JSON property
infoTypes. -
#parent_type ⇒ String
Corresponds to the JSON property
parentType.
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.
1177 1178 1179 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1177 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_profile ⇒ String
Corresponds to the JSON property dataProfile
1165 1166 1167 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1165 def data_profile @data_profile end |
#info_types ⇒ Array<Google::Apis::SecuritycenterV1beta1::InfoType>
Corresponds to the JSON property infoTypes
1170 1171 1172 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1170 def info_types @info_types end |
#parent_type ⇒ String
Corresponds to the JSON property parentType
1175 1176 1177 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1175 def parent_type @parent_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1182 1183 1184 1185 1186 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 1182 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 |