public final class ActivityRule
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 |
|---|
ActivityRule() |
| Modifier and Type | Method and Description |
|---|---|
ActivityRule |
clone() |
List<String> |
getActionNames()
List of action names associated with the rule threshold.
|
String |
getCreateTime()
Rule create timestamp.
|
String |
getDescription()
Description of the rule.
|
String |
getDisplayName()
Alert display name.
|
String |
getName()
Rule name.
|
String |
getQuery()
Query that is used to get the data from the associated source.
|
List<String> |
getSupersededAlerts()
List of alert IDs superseded by this alert.
|
String |
getSupersedingAlert()
Alert ID superseding this alert.
|
String |
getThreshold()
Alert threshold is for example “COUNT > 5”.
|
String |
getTriggerSource()
The trigger sources for this rule.
|
String |
getUpdateTime()
The timestamp of the last update to the rule.
|
String |
getWindowSize()
Rule window size.
|
ActivityRule |
set(String fieldName,
Object value) |
ActivityRule |
setActionNames(List<String> actionNames)
List of action names associated with the rule threshold.
|
ActivityRule |
setCreateTime(String createTime)
Rule create timestamp.
|
ActivityRule |
setDescription(String description)
Description of the rule.
|
ActivityRule |
setDisplayName(String displayName)
Alert display name.
|
ActivityRule |
setName(String name)
Rule name.
|
ActivityRule |
setQuery(String query)
Query that is used to get the data from the associated source.
|
ActivityRule |
setSupersededAlerts(List<String> supersededAlerts)
List of alert IDs superseded by this alert.
|
ActivityRule |
setSupersedingAlert(String supersedingAlert)
Alert ID superseding this alert.
|
ActivityRule |
setThreshold(String threshold)
Alert threshold is for example “COUNT > 5”.
|
ActivityRule |
setTriggerSource(String triggerSource)
The trigger sources for this rule.
|
ActivityRule |
setUpdateTime(String updateTime)
The timestamp of the last update to the rule.
|
ActivityRule |
setWindowSize(String windowSize)
Rule window size.
|
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 List<String> getActionNames()
null for nonepublic ActivityRule setActionNames(List<String> actionNames)
actionNames - actionNames or null for nonepublic String getCreateTime()
null for nonepublic ActivityRule setCreateTime(String createTime)
createTime - createTime or null for nonepublic String getDescription()
null for nonepublic ActivityRule setDescription(String description)
description - description or null for nonepublic String getDisplayName()
null for nonepublic ActivityRule setDisplayName(String displayName)
displayName - displayName or null for nonepublic String getName()
null for nonepublic ActivityRule setName(String name)
name - name or null for nonepublic String getQuery()
null for nonepublic ActivityRule setQuery(String query)
query - query or null for nonepublic List<String> getSupersededAlerts()
null for nonepublic ActivityRule setSupersededAlerts(List<String> supersededAlerts)
supersededAlerts - supersededAlerts or null for nonepublic String getSupersedingAlert()
null for nonepublic ActivityRule setSupersedingAlert(String supersedingAlert)
supersedingAlert - supersedingAlert or null for nonepublic String getThreshold()
null for nonepublic ActivityRule setThreshold(String threshold)
threshold - threshold or null for nonepublic String getTriggerSource()
null for nonepublic ActivityRule setTriggerSource(String triggerSource)
triggerSource - triggerSource or null for nonepublic String getUpdateTime()
null for nonepublic ActivityRule setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic String getWindowSize()
null for nonepublic ActivityRule setWindowSize(String windowSize)
windowSize - windowSize or null for nonepublic ActivityRule set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ActivityRule clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.