Class: Google::Apis::AlertcenterV1beta1::DlpRuleViolation
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::DlpRuleViolation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/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 G Suite 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.
711 712 713 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 711 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 G Suite
administrators.
Corresponds to the JSON property ruleViolationInfo
709 710 711 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 709 def rule_violation_info @rule_violation_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
716 717 718 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 716 def update!(**args) @rule_violation_info = args[:rule_violation_info] if args.key?(:rule_violation_info) end |