public final class RuleViolationInfo
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Workspace Alert Center API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RuleViolationInfo() |
| Modifier and Type | Method and Description |
|---|---|
RuleViolationInfo |
clone() |
String |
getDataSource()
Source of the data.
|
String |
getEventType()
Event associated with this alert after applying the rule.
|
List<MatchInfo> |
getMatchInfo()
List of matches that were found in the resource content.
|
List<String> |
getRecipients()
Resource recipients.
|
ResourceInfo |
getResourceInfo()
Details of the resource which violated the rule.
|
RuleInfo |
getRuleInfo()
Details of the violated rule.
|
List<String> |
getSuppressedActionTypes()
Actions suppressed due to other actions with higher priority.
|
String |
getTrigger()
Trigger of the rule.
|
List<ActionInfo> |
getTriggeredActionInfo()
Metadata related to the triggered actions.
|
List<String> |
getTriggeredActionTypes()
Actions applied as a consequence of the rule being triggered.
|
String |
getTriggeringUserEmail()
Email of the user who caused the violation.
|
RuleViolationInfo |
set(String fieldName,
Object value) |
RuleViolationInfo |
setDataSource(String dataSource)
Source of the data.
|
RuleViolationInfo |
setEventType(String eventType)
Event associated with this alert after applying the rule.
|
RuleViolationInfo |
setMatchInfo(List<MatchInfo> matchInfo)
List of matches that were found in the resource content.
|
RuleViolationInfo |
setRecipients(List<String> recipients)
Resource recipients.
|
RuleViolationInfo |
setResourceInfo(ResourceInfo resourceInfo)
Details of the resource which violated the rule.
|
RuleViolationInfo |
setRuleInfo(RuleInfo ruleInfo)
Details of the violated rule.
|
RuleViolationInfo |
setSuppressedActionTypes(List<String> suppressedActionTypes)
Actions suppressed due to other actions with higher priority.
|
RuleViolationInfo |
setTrigger(String trigger)
Trigger of the rule.
|
RuleViolationInfo |
setTriggeredActionInfo(List<ActionInfo> triggeredActionInfo)
Metadata related to the triggered actions.
|
RuleViolationInfo |
setTriggeredActionTypes(List<String> triggeredActionTypes)
Actions applied as a consequence of the rule being triggered.
|
RuleViolationInfo |
setTriggeringUserEmail(String triggeringUserEmail)
Email of the user who caused the violation.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDataSource()
null for nonepublic RuleViolationInfo setDataSource(String dataSource)
dataSource - dataSource or null for nonepublic String getEventType()
null for nonepublic RuleViolationInfo setEventType(String eventType)
eventType - eventType or null for nonepublic List<MatchInfo> getMatchInfo()
null for nonepublic RuleViolationInfo setMatchInfo(List<MatchInfo> matchInfo)
matchInfo - matchInfo or null for nonepublic List<String> getRecipients()
null for nonepublic RuleViolationInfo setRecipients(List<String> recipients)
recipients - recipients or null for nonepublic ResourceInfo getResourceInfo()
null for nonepublic RuleViolationInfo setResourceInfo(ResourceInfo resourceInfo)
resourceInfo - resourceInfo or null for nonepublic RuleInfo getRuleInfo()
null for nonepublic RuleViolationInfo setRuleInfo(RuleInfo ruleInfo)
ruleInfo - ruleInfo or null for nonepublic List<String> getSuppressedActionTypes()
null for nonepublic RuleViolationInfo setSuppressedActionTypes(List<String> suppressedActionTypes)
suppressedActionTypes - suppressedActionTypes or null for nonepublic String getTrigger()
null for nonepublic RuleViolationInfo setTrigger(String trigger)
trigger - trigger or null for nonepublic List<ActionInfo> getTriggeredActionInfo()
null for nonepublic RuleViolationInfo setTriggeredActionInfo(List<ActionInfo> triggeredActionInfo)
triggeredActionInfo - triggeredActionInfo or null for nonepublic List<String> getTriggeredActionTypes()
null for nonepublic RuleViolationInfo setTriggeredActionTypes(List<String> triggeredActionTypes)
triggeredActionTypes - triggeredActionTypes or null for nonepublic String getTriggeringUserEmail()
null for nonepublic RuleViolationInfo setTriggeringUserEmail(String triggeringUserEmail)
triggeringUserEmail - triggeringUserEmail or null for nonepublic RuleViolationInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RuleViolationInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.