public final class BadWhitelist
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 |
|---|
BadWhitelist() |
| Modifier and Type | Method and Description |
|---|---|
BadWhitelist |
clone() |
DomainId |
getDomainId()
The domain ID.
|
MaliciousEntity |
getMaliciousEntity()
The entity whose actions triggered a Gmail phishing alert.
|
List<GmailMessageInfo> |
getMessages()
The list of messages contained by this alert.
|
String |
getSourceIp()
The source IP address of the malicious email, for example, `127.0.0.1`.
|
BadWhitelist |
set(String fieldName,
Object value) |
BadWhitelist |
setDomainId(DomainId domainId)
The domain ID.
|
BadWhitelist |
setMaliciousEntity(MaliciousEntity maliciousEntity)
The entity whose actions triggered a Gmail phishing alert.
|
BadWhitelist |
setMessages(List<GmailMessageInfo> messages)
The list of messages contained by this alert.
|
BadWhitelist |
setSourceIp(String sourceIp)
The source IP address of the malicious email, for example, `127.0.0.1`.
|
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 DomainId getDomainId()
null for nonepublic BadWhitelist setDomainId(DomainId domainId)
domainId - domainId or null for nonepublic MaliciousEntity getMaliciousEntity()
null for nonepublic BadWhitelist setMaliciousEntity(MaliciousEntity maliciousEntity)
maliciousEntity - maliciousEntity or null for nonepublic List<GmailMessageInfo> getMessages()
null for nonepublic BadWhitelist setMessages(List<GmailMessageInfo> messages)
messages - messages or null for nonepublic String getSourceIp()
null for nonepublic BadWhitelist setSourceIp(String sourceIp)
sourceIp - sourceIp or null for nonepublic BadWhitelist set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic BadWhitelist clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.