Skip to content

Commit

Permalink
feat: Automated regeneration of GmailPostmasterTools client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent 9e554ee commit 44c6051
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion clients/gmail_postmaster_tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion clients/gmail_postmaster_tools/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.GmailPostmasterTools.Mixfile do
use Mix.Project

@version "0.5.0"
@version "0.6.0"

def project() do
[
Expand Down

0 comments on commit 44c6051

Please sign in to comment.