Class: Google::Apis::AlertcenterV1beta1::DlpRuleViolation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_infoGoogle::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