diff --git a/clients/gmail_postmaster_tools/README.md b/clients/gmail_postmaster_tools/README.md index 73fdd49d91..5bc92782c0 100644 --- a/clients/gmail_postmaster_tools/README.md +++ b/clients/gmail_postmaster_tools/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_gmail_postmaster_tools, "~> 0.5"}] + [{:google_api_gmail_postmaster_tools, "~> 0.6"}] end ``` diff --git a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/metadata.ex b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/metadata.ex index 14be064545..513814127c 100644 --- a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/metadata.ex +++ b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.GmailPostmasterTools.V1 do API client metadata for GoogleApi.GmailPostmasterTools.V1. """ - @discovery_revision "20211207" + @discovery_revision "20240310" def discovery_revision(), do: @discovery_revision end diff --git a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/model/traffic_stats.ex b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/model/traffic_stats.ex index e060694ad1..0b0a38f1b5 100644 --- a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/model/traffic_stats.ex +++ b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1/model/traffic_stats.ex @@ -31,7 +31,9 @@ defmodule GoogleApi.GmailPostmasterTools.V1.Model.TrafficStats do * `outboundEncryptionRatio` (*type:* `float()`, *default:* `nil`) - The ratio of outgoing mail (from Gmail) that was accepted over secure transport (TLS). * `spammyFeedbackLoops` (*type:* `list(GoogleApi.GmailPostmasterTools.V1.Model.FeedbackLoop.t)`, *default:* `nil`) - Spammy [Feedback loop identifiers] (https://support.google.com/mail/answer/6254652) with their individual spam rates. This metric only pertains to traffic that is authenticated by [DKIM](http://www.dkim.org/). * `spfSuccessRatio` (*type:* `float()`, *default:* `nil`) - The ratio of mail that successfully authenticated with SPF vs. all mail that attempted to authenticate with [SPF](http://www.openspf.org/). Spoofed mail is excluded. - * `userReportedSpamRatio` (*type:* `float()`, *default:* `nil`) - The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + * `userReportedSpamRatio` (*type:* `float()`, *default:* `nil`) - The ratio of user-report spam vs. email that was sent to the inbox. This is potentially inexact -- users may want to refer to the description of the interval fields userReportedSpamRatioLowerBound and userReportedSpamRatioUpperBound for more explicit accuracy guarantees. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + * `userReportedSpamRatioLowerBound` (*type:* `float()`, *default:* `nil`) - The lower bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this lower bound and the corresponding upper bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + * `userReportedSpamRatioUpperBound` (*type:* `float()`, *default:* `nil`) - The upper bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this upper bound and the corresponding lower bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). """ use GoogleApi.Gax.ModelBase @@ -49,7 +51,9 @@ defmodule GoogleApi.GmailPostmasterTools.V1.Model.TrafficStats do :spammyFeedbackLoops => list(GoogleApi.GmailPostmasterTools.V1.Model.FeedbackLoop.t()) | nil, :spfSuccessRatio => float() | nil, - :userReportedSpamRatio => float() | nil + :userReportedSpamRatio => float() | nil, + :userReportedSpamRatioLowerBound => float() | nil, + :userReportedSpamRatioUpperBound => float() | nil } field(:deliveryErrors, as: GoogleApi.GmailPostmasterTools.V1.Model.DeliveryError, type: :list) @@ -68,6 +72,8 @@ defmodule GoogleApi.GmailPostmasterTools.V1.Model.TrafficStats do field(:spfSuccessRatio) field(:userReportedSpamRatio) + field(:userReportedSpamRatioLowerBound) + field(:userReportedSpamRatioUpperBound) end defimpl Poison.Decoder, for: GoogleApi.GmailPostmasterTools.V1.Model.TrafficStats do diff --git a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex index 0ca5b691a8..70620be0e9 100644 --- a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex +++ b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.GmailPostmasterTools.V1beta1 do API client metadata for GoogleApi.GmailPostmasterTools.V1beta1. """ - @discovery_revision "20211207" + @discovery_revision "20240310" def discovery_revision(), do: @discovery_revision end diff --git a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/model/traffic_stats.ex b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/model/traffic_stats.ex index 349e01f232..670dc4e20c 100644 --- a/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/model/traffic_stats.ex +++ b/clients/gmail_postmaster_tools/lib/google_api/gmail_postmaster_tools/v1beta1/model/traffic_stats.ex @@ -31,7 +31,9 @@ defmodule GoogleApi.GmailPostmasterTools.V1beta1.Model.TrafficStats do * `outboundEncryptionRatio` (*type:* `float()`, *default:* `nil`) - The ratio of outgoing mail (from Gmail) that was accepted over secure transport (TLS). * `spammyFeedbackLoops` (*type:* `list(GoogleApi.GmailPostmasterTools.V1beta1.Model.FeedbackLoop.t)`, *default:* `nil`) - Spammy [Feedback loop identifiers] (https://support.google.com/mail/answer/6254652) with their individual spam rates. This metric only pertains to traffic that is authenticated by [DKIM](http://www.dkim.org/). * `spfSuccessRatio` (*type:* `float()`, *default:* `nil`) - The ratio of mail that successfully authenticated with SPF vs. all mail that attempted to authenticate with [SPF](http://www.openspf.org/). Spoofed mail is excluded. - * `userReportedSpamRatio` (*type:* `float()`, *default:* `nil`) - The ratio of user-report spam vs. email that was sent to the inbox. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + * `userReportedSpamRatio` (*type:* `float()`, *default:* `nil`) - The ratio of user-report spam vs. email that was sent to the inbox. This is potentially inexact -- users may want to refer to the description of the interval fields userReportedSpamRatioLowerBound and userReportedSpamRatioUpperBound for more explicit accuracy guarantees. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + * `userReportedSpamRatioLowerBound` (*type:* `float()`, *default:* `nil`) - The lower bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this lower bound and the corresponding upper bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). + * `userReportedSpamRatioUpperBound` (*type:* `float()`, *default:* `nil`) - The upper bound of the confidence interval for the user reported spam ratio. If this field is set, then the value of userReportedSpamRatio is set to the midpoint of this interval and is thus inexact. However, the true ratio is guaranteed to be in between this upper bound and the corresponding lower bound 95% of the time. This metric only pertains to emails authenticated by [DKIM](http://www.dkim.org/). """ use GoogleApi.Gax.ModelBase @@ -50,7 +52,9 @@ defmodule GoogleApi.GmailPostmasterTools.V1beta1.Model.TrafficStats do :spammyFeedbackLoops => list(GoogleApi.GmailPostmasterTools.V1beta1.Model.FeedbackLoop.t()) | nil, :spfSuccessRatio => float() | nil, - :userReportedSpamRatio => float() | nil + :userReportedSpamRatio => float() | nil, + :userReportedSpamRatioLowerBound => float() | nil, + :userReportedSpamRatioUpperBound => float() | nil } field(:deliveryErrors, @@ -75,6 +79,8 @@ defmodule GoogleApi.GmailPostmasterTools.V1beta1.Model.TrafficStats do field(:spfSuccessRatio) field(:userReportedSpamRatio) + field(:userReportedSpamRatioLowerBound) + field(:userReportedSpamRatioUpperBound) end defimpl Poison.Decoder, for: GoogleApi.GmailPostmasterTools.V1beta1.Model.TrafficStats do diff --git a/clients/gmail_postmaster_tools/mix.exs b/clients/gmail_postmaster_tools/mix.exs index b52e99b6c5..24538f6681 100644 --- a/clients/gmail_postmaster_tools/mix.exs +++ b/clients/gmail_postmaster_tools/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.GmailPostmasterTools.Mixfile do use Mix.Project - @version "0.5.0" + @version "0.6.0" def project() do [