public final class TrafficStats
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 Gmail Postmaster Tools 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 |
|---|
TrafficStats() |
| Modifier and Type | Method and Description |
|---|---|
TrafficStats |
clone() |
List<DeliveryError> |
getDeliveryErrors()
Delivery errors for the domain.
|
Double |
getDkimSuccessRatio()
The ratio of mail that successfully authenticated with DKIM vs.
|
Double |
getDmarcSuccessRatio()
The ratio of mail that passed [DMARC](https://dmarc.org/) alignment checks vs all mail received
from the domain that successfully authenticated with either of [SPF](http://www.openspf.org/)
or [DKIM](http://www.dkim.org/).
|
String |
getDomainReputation()
Reputation of the domain.
|
Double |
getInboundEncryptionRatio()
The ratio of incoming mail (to Gmail), that passed secure transport (TLS) vs all mail received
from that domain.
|
List<IpReputation> |
getIpReputations()
Reputation information pertaining to the IP addresses of the email servers for the domain.
|
String |
getName()
The resource name of the traffic statistics.
|
Double |
getOutboundEncryptionRatio()
The ratio of outgoing mail (from Gmail) that was accepted over secure transport (TLS).
|
List<FeedbackLoop> |
getSpammyFeedbackLoops()
Spammy [Feedback loop identifiers] (https://support.google.com/mail/answer/6254652) with their
individual spam rates.
|
Double |
getSpfSuccessRatio()
The ratio of mail that successfully authenticated with SPF vs.
|
Double |
getUserReportedSpamRatio()
The ratio of user-report spam vs.
|
Double |
getUserReportedSpamRatioLowerBound()
The lower bound of the confidence interval for the user reported spam ratio.
|
Double |
getUserReportedSpamRatioUpperBound()
The upper bound of the confidence interval for the user reported spam ratio.
|
TrafficStats |
set(String fieldName,
Object value) |
TrafficStats |
setDeliveryErrors(List<DeliveryError> deliveryErrors)
Delivery errors for the domain.
|
TrafficStats |
setDkimSuccessRatio(Double dkimSuccessRatio)
The ratio of mail that successfully authenticated with DKIM vs.
|
TrafficStats |
setDmarcSuccessRatio(Double dmarcSuccessRatio)
The ratio of mail that passed [DMARC](https://dmarc.org/) alignment checks vs all mail received
from the domain that successfully authenticated with either of [SPF](http://www.openspf.org/)
or [DKIM](http://www.dkim.org/).
|
TrafficStats |
setDomainReputation(String domainReputation)
Reputation of the domain.
|
TrafficStats |
setInboundEncryptionRatio(Double inboundEncryptionRatio)
The ratio of incoming mail (to Gmail), that passed secure transport (TLS) vs all mail received
from that domain.
|
TrafficStats |
setIpReputations(List<IpReputation> ipReputations)
Reputation information pertaining to the IP addresses of the email servers for the domain.
|
TrafficStats |
setName(String name)
The resource name of the traffic statistics.
|
TrafficStats |
setOutboundEncryptionRatio(Double outboundEncryptionRatio)
The ratio of outgoing mail (from Gmail) that was accepted over secure transport (TLS).
|
TrafficStats |
setSpammyFeedbackLoops(List<FeedbackLoop> spammyFeedbackLoops)
Spammy [Feedback loop identifiers] (https://support.google.com/mail/answer/6254652) with their
individual spam rates.
|
TrafficStats |
setSpfSuccessRatio(Double spfSuccessRatio)
The ratio of mail that successfully authenticated with SPF vs.
|
TrafficStats |
setUserReportedSpamRatio(Double userReportedSpamRatio)
The ratio of user-report spam vs.
|
TrafficStats |
setUserReportedSpamRatioLowerBound(Double userReportedSpamRatioLowerBound)
The lower bound of the confidence interval for the user reported spam ratio.
|
TrafficStats |
setUserReportedSpamRatioUpperBound(Double userReportedSpamRatioUpperBound)
The upper bound of the confidence interval for the user reported spam ratio.
|
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<DeliveryError> getDeliveryErrors()
null for nonepublic TrafficStats setDeliveryErrors(List<DeliveryError> deliveryErrors)
deliveryErrors - deliveryErrors or null for nonepublic Double getDkimSuccessRatio()
null for nonepublic TrafficStats setDkimSuccessRatio(Double dkimSuccessRatio)
dkimSuccessRatio - dkimSuccessRatio or null for nonepublic Double getDmarcSuccessRatio()
null for nonepublic TrafficStats setDmarcSuccessRatio(Double dmarcSuccessRatio)
dmarcSuccessRatio - dmarcSuccessRatio or null for nonepublic String getDomainReputation()
null for nonepublic TrafficStats setDomainReputation(String domainReputation)
domainReputation - domainReputation or null for nonepublic Double getInboundEncryptionRatio()
null for nonepublic TrafficStats setInboundEncryptionRatio(Double inboundEncryptionRatio)
inboundEncryptionRatio - inboundEncryptionRatio or null for nonepublic List<IpReputation> getIpReputations()
null for nonepublic TrafficStats setIpReputations(List<IpReputation> ipReputations)
ipReputations - ipReputations or null for nonepublic String getName()
null for nonepublic TrafficStats setName(String name)
name - name or null for nonepublic Double getOutboundEncryptionRatio()
null for nonepublic TrafficStats setOutboundEncryptionRatio(Double outboundEncryptionRatio)
outboundEncryptionRatio - outboundEncryptionRatio or null for nonepublic List<FeedbackLoop> getSpammyFeedbackLoops()
null for nonepublic TrafficStats setSpammyFeedbackLoops(List<FeedbackLoop> spammyFeedbackLoops)
spammyFeedbackLoops - spammyFeedbackLoops or null for nonepublic Double getSpfSuccessRatio()
null for nonepublic TrafficStats setSpfSuccessRatio(Double spfSuccessRatio)
spfSuccessRatio - spfSuccessRatio or null for nonepublic Double getUserReportedSpamRatio()
null for nonepublic TrafficStats setUserReportedSpamRatio(Double userReportedSpamRatio)
userReportedSpamRatio - userReportedSpamRatio or null for nonepublic Double getUserReportedSpamRatioLowerBound()
null for nonepublic TrafficStats setUserReportedSpamRatioLowerBound(Double userReportedSpamRatioLowerBound)
userReportedSpamRatioLowerBound - userReportedSpamRatioLowerBound or null for nonepublic Double getUserReportedSpamRatioUpperBound()
null for nonepublic TrafficStats setUserReportedSpamRatioUpperBound(Double userReportedSpamRatioUpperBound)
userReportedSpamRatioUpperBound - userReportedSpamRatioUpperBound or null for nonepublic TrafficStats set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TrafficStats clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.