Class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagCondition
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2TagCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
The tag to attach to profiles matching the condition. At most one
TagCondition
can be specified per sensitivity level.
Instance Attribute Summary collapse
-
#sensitivity_score ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore
Score is calculated from of all elements in the data profile.
-
#tag ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TagValue
A value of a tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2TagCondition
constructor
A new instance of GooglePrivacyDlpV2TagCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2TagCondition
Returns a new instance of GooglePrivacyDlpV2TagCondition.
9747 9748 9749 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9747 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sensitivity_score ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore
Score is calculated from of all elements in the data profile. A higher level
means the data is more sensitive.
Corresponds to the JSON property sensitivityScore
9740 9741 9742 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9740 def sensitivity_score @sensitivity_score end |
#tag ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2TagValue
A value of a tag.
Corresponds to the JSON property tag
9745 9746 9747 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9745 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9752 9753 9754 9755 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9752 def update!(**args) @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score) @tag = args[:tag] if args.key?(:tag) end |