Class: Google::Apis::AlertcenterV1beta1::DlpRuleViolation
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::DlpRuleViolation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb
Overview
Alerts that get triggered on violations of Data Loss Prevention (DLP) rules.
Instance Attribute Summary collapse
-
#rule_violation_info ⇒ Google::Apis::AlertcenterV1beta1::RuleViolationInfo
Common alert information about violated rules that are configured by Google Workspace administrators.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DlpRuleViolation
constructor
A new instance of DlpRuleViolation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DlpRuleViolation
Returns a new instance of DlpRuleViolation.
1077 1078 1079 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rule_violation_info ⇒ Google::Apis::AlertcenterV1beta1::RuleViolationInfo
Common alert information about violated rules that are configured by Google
Workspace administrators.
Corresponds to the JSON property ruleViolationInfo
1075 1076 1077 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1075 def rule_violation_info @rule_violation_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1082 1083 1084 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1082 def update!(**args) @rule_violation_info = args[:rule_violation_info] if args.key?(:rule_violation_info) end |