Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping
- 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
Resource value mapping for Sensitive Data Protection findings If any of these mappings have a resource value that is not unspecified, the resource_value field will be ignored when reading this configuration.
Instance Attribute Summary collapse
-
#high_sensitivity_mapping ⇒ String
Resource value mapping for high-sensitivity Sensitive Data Protection findings Corresponds to the JSON property
highSensitivityMapping
. -
#medium_sensitivity_mapping ⇒ String
Resource value mapping for medium-sensitivity Sensitive Data Protection findings Corresponds to the JSON property
mediumSensitivityMapping
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping
constructor
A new instance of GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping
Returns a new instance of GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping.
7419 7420 7421 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#high_sensitivity_mapping ⇒ String
Resource value mapping for high-sensitivity Sensitive Data Protection findings
Corresponds to the JSON property highSensitivityMapping
7411 7412 7413 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7411 def high_sensitivity_mapping @high_sensitivity_mapping end |
#medium_sensitivity_mapping ⇒ String
Resource value mapping for medium-sensitivity Sensitive Data Protection
findings
Corresponds to the JSON property mediumSensitivityMapping
7417 7418 7419 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7417 def medium_sensitivity_mapping @medium_sensitivity_mapping end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7424 7425 7426 7427 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 7424 def update!(**args) @high_sensitivity_mapping = args[:high_sensitivity_mapping] if args.key?(:high_sensitivity_mapping) @medium_sensitivity_mapping = args[:medium_sensitivity_mapping] if args.key?(:medium_sensitivity_mapping) end |