class Google::Apis::GmailpostmastertoolsV1::TrafficStats

Email traffic statistics pertaining to a specific date.

Attributes

delivery_errors[RW]

Delivery errors for the domain. This metric only pertains to traffic that passed [SPF](www.openspf.org/) or [DKIM](www.dkim.org/). Corresponds to the JSON property `deliveryErrors` @return [Array<Google::Apis::GmailpostmastertoolsV1::DeliveryError>]

dkim_success_ratio[RW]

The ratio of mail that successfully authenticated with DKIM vs. all mail that attempted to authenticate with [DKIM](www.dkim.org/). Spoofed mail is excluded. Corresponds to the JSON property `dkimSuccessRatio` @return [Float]

dmarc_success_ratio[RW]

The ratio of mail that passed [DMARC](dmarc.org/) alignment checks vs all mail received from the domain that successfully authenticated with either of [SPF](www.openspf.org/) or [DKIM](www.dkim.org/). Corresponds to the JSON property `dmarcSuccessRatio` @return [Float]

domain_reputation[RW]

Reputation of the domain. Corresponds to the JSON property `domainReputation` @return [String]

inbound_encryption_ratio[RW]

The ratio of incoming mail (to Gmail), that passed secure transport (TLS) vs all mail received from that domain. This metric only pertains to traffic that passed [SPF](www.openspf.org/) or [DKIM](www.dkim.org/). Corresponds to the JSON property `inboundEncryptionRatio` @return [Float]

ip_reputations[RW]

Reputation information pertaining to the IP addresses of the email servers for the domain. There is exactly one entry for each reputation category except REPUTATION_CATEGORY_UNSPECIFIED. Corresponds to the JSON property `ipReputations` @return [Array<Google::Apis::GmailpostmastertoolsV1::IpReputation>]

name[RW]

The resource name of the traffic statistics. Traffic statistic names have the form `domains/`domain`/trafficStats/`date“, where domain_name is the fully qualified domain name (i.e., mymail.mydomain.com) of the domain this traffic statistics pertains to and date is the date in yyyymmdd format that these statistics corresponds to. For example: domains/mymail.mydomain.com/ trafficStats/20160807 Corresponds to the JSON property `name` @return [String]

outbound_encryption_ratio[RW]

The ratio of outgoing mail (from Gmail) that was accepted over secure transport (TLS). Corresponds to the JSON property `outboundEncryptionRatio` @return [Float]

spammy_feedback_loops[RW]

Spammy [Feedback loop identifiers] (support.google.com/mail/answer/ 6254652) with their individual spam rates. This metric only pertains to traffic that is authenticated by [DKIM](www.dkim.org/). Corresponds to the JSON property `spammyFeedbackLoops` @return [Array<Google::Apis::GmailpostmastertoolsV1::FeedbackLoop>]

spf_success_ratio[RW]

The ratio of mail that successfully authenticated with SPF vs. all mail that attempted to authenticate with [SPF](www.openspf.org/). Spoofed mail is excluded. Corresponds to the JSON property `spfSuccessRatio` @return [Float]

user_reported_spam_ratio[RW]

The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails authenticated by [DKIM](www.dkim.org/). Corresponds to the JSON property `userReportedSpamRatio` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gmailpostmastertools_v1/classes.rb, line 280
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gmailpostmastertools_v1/classes.rb, line 285
def update!(**args)
  @delivery_errors = args[:delivery_errors] if args.key?(:delivery_errors)
  @dkim_success_ratio = args[:dkim_success_ratio] if args.key?(:dkim_success_ratio)
  @dmarc_success_ratio = args[:dmarc_success_ratio] if args.key?(:dmarc_success_ratio)
  @domain_reputation = args[:domain_reputation] if args.key?(:domain_reputation)
  @inbound_encryption_ratio = args[:inbound_encryption_ratio] if args.key?(:inbound_encryption_ratio)
  @ip_reputations = args[:ip_reputations] if args.key?(:ip_reputations)
  @name = args[:name] if args.key?(:name)
  @outbound_encryption_ratio = args[:outbound_encryption_ratio] if args.key?(:outbound_encryption_ratio)
  @spammy_feedback_loops = args[:spammy_feedback_loops] if args.key?(:spammy_feedback_loops)
  @spf_success_ratio = args[:spf_success_ratio] if args.key?(:spf_success_ratio)
  @user_reported_spam_ratio = args[:user_reported_spam_ratio] if args.key?(:user_reported_spam_ratio)
end