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

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

Instance Method Summary collapse

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