Class: Google::Apis::AlertcenterV1beta1::RuleViolationInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::RuleViolationInfo
- 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
Common alert information about violated rules that are configured by G Suite administrators.
Instance Attribute Summary collapse
-
#data_source ⇒ String
Source of the data.
-
#match_info ⇒ Array<Google::Apis::AlertcenterV1beta1::MatchInfo>
List of matches that were found in the resource content.
-
#recipients ⇒ Array<String>
Resource recipients.
-
#resource_info ⇒ Google::Apis::AlertcenterV1beta1::ResourceInfo
Proto that contains resource information.
-
#rule_info ⇒ Google::Apis::AlertcenterV1beta1::RuleInfo
Proto that contains rule information.
-
#suppressed_action_types ⇒ Array<String>
Actions suppressed due to other actions with higher priority.
-
#trigger ⇒ String
Trigger of the rule.
-
#triggered_action_types ⇒ Array<String>
Actions applied as a consequence of the rule being triggered.
-
#triggering_user_email ⇒ String
Email of the user who caused the violation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RuleViolationInfo
constructor
A new instance of RuleViolationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RuleViolationInfo
Returns a new instance of RuleViolationInfo.
1309 1310 1311 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source ⇒ String
Source of the data.
Corresponds to the JSON property dataSource
1260 1261 1262 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1260 def data_source @data_source end |
#match_info ⇒ Array<Google::Apis::AlertcenterV1beta1::MatchInfo>
List of matches that were found in the resource content.
Corresponds to the JSON property matchInfo
1265 1266 1267 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1265 def match_info @match_info end |
#recipients ⇒ Array<String>
Resource recipients.
For Drive, they are grantees that the Drive file was shared with at the
time of rule triggering. Valid values include user emails, group emails,
domains, or 'anyone' if the file was publicly accessible. If the file was
private the recipients list will be empty.
For Gmail, they are emails of the users or groups that the Gmail message
was sent to.
Corresponds to the JSON property recipients
1276 1277 1278 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1276 def recipients @recipients end |
#resource_info ⇒ Google::Apis::AlertcenterV1beta1::ResourceInfo
Proto that contains resource information.
Corresponds to the JSON property resourceInfo
1281 1282 1283 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1281 def resource_info @resource_info end |
#rule_info ⇒ Google::Apis::AlertcenterV1beta1::RuleInfo
Proto that contains rule information.
Corresponds to the JSON property ruleInfo
1286 1287 1288 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1286 def rule_info @rule_info end |
#suppressed_action_types ⇒ Array<String>
Actions suppressed due to other actions with higher priority.
Corresponds to the JSON property suppressedActionTypes
1291 1292 1293 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1291 def suppressed_action_types @suppressed_action_types end |
#trigger ⇒ String
Trigger of the rule.
Corresponds to the JSON property trigger
1296 1297 1298 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1296 def trigger @trigger end |
#triggered_action_types ⇒ Array<String>
Actions applied as a consequence of the rule being triggered.
Corresponds to the JSON property triggeredActionTypes
1301 1302 1303 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1301 def triggered_action_types @triggered_action_types end |
#triggering_user_email ⇒ String
Email of the user who caused the violation. Value could be empty if not
applicable, for example, a violation found by drive continuous scan.
Corresponds to the JSON property triggeringUserEmail
1307 1308 1309 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1307 def triggering_user_email @triggering_user_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1314 def update!(**args) @data_source = args[:data_source] if args.key?(:data_source) @match_info = args[:match_info] if args.key?(:match_info) @recipients = args[:recipients] if args.key?(:recipients) @resource_info = args[:resource_info] if args.key?(:resource_info) @rule_info = args[:rule_info] if args.key?(:rule_info) @suppressed_action_types = args[:suppressed_action_types] if args.key?(:suppressed_action_types) @trigger = args[:trigger] if args.key?(:trigger) @triggered_action_types = args[:triggered_action_types] if args.key?(:triggered_action_types) @triggering_user_email = args[:triggering_user_email] if args.key?(:triggering_user_email) end |