Skip to content

Commit

Permalink
feat: Automated regeneration of gmailpostmastertools v1beta1 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 25, 2020
1 parent 10c1ee6 commit 74a0708
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Expand Up @@ -108795,6 +108795,7 @@
"/gmailpostmastertools:v1beta1/FeedbackLoop/id": id
"/gmailpostmastertools:v1beta1/FeedbackLoop/spamRatio": spam_ratio
"/gmailpostmastertools:v1beta1/IpReputation": ip_reputation
"/gmailpostmastertools:v1beta1/IpReputation/ipCount": ip_count
"/gmailpostmastertools:v1beta1/IpReputation/numIps": num_ips
"/gmailpostmastertools:v1beta1/IpReputation/reputation": reputation
"/gmailpostmastertools:v1beta1/IpReputation/sampleIps": sample_ips
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/gmailpostmastertools_v1beta1.rb
Expand Up @@ -27,7 +27,7 @@ module Apis
# @see https://developers.google.com/gmail/postmaster
module GmailpostmastertoolsV1beta1
VERSION = 'V1beta1'
REVISION = '20201012'
REVISION = '20201123'

# See email traffic metrics for the domains you have registered in Gmail Postmaster Tools
AUTH_POSTMASTER_READONLY = 'https://www.googleapis.com/auth/postmaster.readonly'
Expand Down
9 changes: 9 additions & 0 deletions generated/google/apis/gmailpostmastertools_v1beta1/classes.rb
Expand Up @@ -120,6 +120,14 @@ class IpReputation
# Total number of unique IPs in this reputation category. This metric only
# pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http:/
# /www.dkim.org/).
# Corresponds to the JSON property `ipCount`
# @return [Fixnum]
attr_accessor :ip_count

# Total number of unique IPs in this reputation category. This metric only
# pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http:/
# /www.dkim.org/). Deprecated to be complied with ApiLinter for Quantities. Use
# ip_count instead.
# Corresponds to the JSON property `numIps`
# @return [Fixnum]
attr_accessor :num_ips
Expand All @@ -140,6 +148,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@ip_count = args[:ip_count] if args.key?(:ip_count)
@num_ips = args[:num_ips] if args.key?(:num_ips)
@reputation = args[:reputation] if args.key?(:reputation)
@sample_ips = args[:sample_ips] if args.key?(:sample_ips)
Expand Down
Expand Up @@ -93,6 +93,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class IpReputation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_count, :numeric_string => true, as: 'ipCount'
property :num_ips, :numeric_string => true, as: 'numIps'
property :reputation, as: 'reputation'
collection :sample_ips, as: 'sampleIps'
Expand Down
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "10c1ee6b49082bb2826522f908a26f438979c5cf"
}
}
]
Expand Down

0 comments on commit 74a0708

Please sign in to comment.