Class: Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/gmailpostmastertools_v1beta1/classes.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb

Overview

Email traffic statistics pertaining to a specific date.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrafficStats

Returns a new instance of TrafficStats.



289
290
291
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 289

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#delivery_errorsArray<Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError>

Delivery errors for the domain. This metric only pertains to traffic that passed SPF or DKIM. Corresponds to the JSON property deliveryErrors



218
219
220
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 218

def delivery_errors
  @delivery_errors
end

#dkim_success_ratioFloat

The ratio of mail that successfully authenticated with DKIM vs. all mail that attempted to authenticate with DKIM. Spoofed mail is excluded. Corresponds to the JSON property dkimSuccessRatio

Returns:

  • (Float)


225
226
227
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 225

def dkim_success_ratio
  @dkim_success_ratio
end

#dmarc_success_ratioFloat

The ratio of mail that passed DMARC alignment checks vs all mail received from the domain that successfully authenticated with either of SPF or DKIM. Corresponds to the JSON property dmarcSuccessRatio

Returns:

  • (Float)


232
233
234
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 232

def dmarc_success_ratio
  @dmarc_success_ratio
end

#domain_reputationString

Reputation of the domain. Corresponds to the JSON property domainReputation

Returns:

  • (String)


237
238
239
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 237

def domain_reputation
  @domain_reputation
end

#inbound_encryption_ratioFloat

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 or DKIM. Corresponds to the JSON property inboundEncryptionRatio

Returns:

  • (Float)


244
245
246
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 244

def inbound_encryption_ratio
  @inbound_encryption_ratio
end

#ip_reputationsArray<Google::Apis::GmailpostmastertoolsV1beta1::IpReputation>

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



251
252
253
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 251

def ip_reputations
  @ip_reputations
end

#nameString

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 propertyname`

Returns:

  • (String)


261
262
263
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 261

def name
  @name
end

#outbound_encryption_ratioFloat

The ratio of outgoing mail (from Gmail) that was accepted over secure transport (TLS). Corresponds to the JSON property outboundEncryptionRatio

Returns:

  • (Float)


267
268
269
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 267

def outbound_encryption_ratio
  @outbound_encryption_ratio
end

#spammy_feedback_loopsArray<Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop>

Spammy Feedback loop identifiers with their individual spam rates. This metric only pertains to traffic that is authenticated by DKIM. Corresponds to the JSON property spammyFeedbackLoops



274
275
276
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 274

def spammy_feedback_loops
  @spammy_feedback_loops
end

#spf_success_ratioFloat

The ratio of mail that successfully authenticated with SPF vs. all mail that attempted to authenticate with SPF. Spoofed mail is excluded. Corresponds to the JSON property spfSuccessRatio

Returns:

  • (Float)


281
282
283
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 281

def spf_success_ratio
  @spf_success_ratio
end

#user_reported_spam_ratioFloat

The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails authenticated by DKIM. Corresponds to the JSON property userReportedSpamRatio

Returns:

  • (Float)


287
288
289
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 287

def user_reported_spam_ratio
  @user_reported_spam_ratio
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



294
295
296
297
298
299
300
301
302
303
304
305
306
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 294

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